General Public License for more details.
*/
-#include "config.h"
-
#include <stdio.h>
#include <unistd.h>
#include <fnmatch.h>
if (opkg_conf_load())
goto err0;
- if (pkg_hash_load_feeds())
+ if (pkg_hash_load_feeds(0))
goto err1;
if (pkg_hash_load_status_files())
}
free(url);
-#if defined(HAVE_GPGME) || defined(HAVE_OPENSSL) || defined(HAVE_USIGN)
+#if defined(HAVE_OPENSSL) || defined(HAVE_USIGN)
if (conf->check_signature) {
char *sig_file_name;
/* download detached signitures to verify the package lists */
/* check architecture */
if (arch) {
- if (sstrcmp(pkg_get_string(pkg, PKG_ARCHITECTURE), arch))
+ if (sstrcmp(pkg_get_architecture(pkg), arch))
continue;
}