---- busybox-1.7.2.orig/archival/Config.in 2007-10-30 15:34:59.000000000 -0500
-+++ busybox-1.7.2/archival/Config.in 2007-10-30 15:35:05.000000000 -0500
-@@ -121,6 +121,15 @@
+--- busybox-1.8.1.orig/archival/Config.in 2007-11-10 17:39:21.063504932 +0100
++++ busybox-1.8.1/archival/Config.in 2007-11-10 17:40:53.320762376 +0100
+@@ -131,6 +131,15 @@
---- busybox-1.7.2.orig/archival/dpkg.c 2007-10-30 15:34:59.000000000 -0500
-+++ busybox-1.7.2/archival/dpkg.c 2007-10-30 15:35:05.000000000 -0500
+--- busybox-1.8.1.orig/archival/dpkg.c 2007-11-10 17:39:21.071505389 +0100
++++ busybox-1.8.1/archival/dpkg.c 2007-11-10 17:40:53.320762376 +0100
static void unpack_package(deb_file_t *deb_file)
{
const char *package_name = name_hashtable[package_hashtable[deb_file->package]->name];
static void unpack_package(deb_file_t *deb_file)
{
const char *package_name = name_hashtable[package_hashtable[deb_file->package]->name];
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+int ipkg_main(int argc, char **argv)
+{
+ return ipkg_op(argc, argv);
+}
+int ipkg_main(int argc, char **argv)
+{
+ return ipkg_op(argc, argv);
+}
---- busybox-1.7.2.orig/archival/Kbuild 2007-10-30 15:34:59.000000000 -0500
-+++ busybox-1.7.2/archival/Kbuild 2007-10-30 15:35:05.000000000 -0500
-@@ -15,6 +15,7 @@
+--- busybox-1.8.1.orig/archival/Kbuild 2007-11-10 17:39:21.083506071 +0100
++++ busybox-1.8.1/archival/Kbuild 2007-11-10 17:40:53.332763058 +0100
+@@ -16,6 +16,7 @@
lib-$(CONFIG_DPKG_DEB) += dpkg_deb.o
lib-$(CONFIG_GUNZIP) += bbunzip.o
lib-$(CONFIG_GZIP) += gzip.o bbunzip.o
lib-$(CONFIG_DPKG_DEB) += dpkg_deb.o
lib-$(CONFIG_GUNZIP) += bbunzip.o
lib-$(CONFIG_GZIP) += gzip.o bbunzip.o
lib-$(CONFIG_RPM2CPIO) += rpm2cpio.o
lib-$(CONFIG_RPM) += rpm.o
lib-$(CONFIG_TAR) += tar.o
lib-$(CONFIG_RPM2CPIO) += rpm2cpio.o
lib-$(CONFIG_RPM) += rpm.o
lib-$(CONFIG_TAR) += tar.o
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+void hash_table_foreach(hash_table_t *hash, void (*f)(const char *key, void *entry, void *data), void *data);
+
+#endif /* _HASH_TABLE_H_ */
+void hash_table_foreach(hash_table_t *hash, void (*f)(const char *key, void *entry, void *data), void *data);
+
+#endif /* _HASH_TABLE_H_ */
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+ sprintf_alloc(&root_filename, "%s%s", (conf->offline_root ? conf->offline_root : ""), filename);
+ return root_filename;
+}
+ sprintf_alloc(&root_filename, "%s%s", (conf->offline_root ? conf->offline_root : ""), filename);
+ return root_filename;
+}
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+int name_mark_dependencies_for_installation(ipkg_conf_t *conf, const char *pkg_name, pkg_vec_t *pkgs_needed);
+
+#endif
+int name_mark_dependencies_for_installation(ipkg_conf_t *conf, const char *pkg_name, pkg_vec_t *pkgs_needed);
+
+#endif
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+extern void ipkg_message(ipkg_conf_t *conf, message_level_t level, const char *fmt, ...);
+
+#endif /* _IPKG_MESSAGE_H_ */
+extern void ipkg_message(ipkg_conf_t *conf, message_level_t level, const char *fmt, ...);
+
+#endif /* _IPKG_MESSAGE_H_ */
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+ new->state_flag |= SF_USER;
+ return ipkg_install_pkg(conf, new,1);
+}
+ new->state_flag |= SF_USER;
+ return ipkg_install_pkg(conf, new,1);
+}
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+IPKG_ARCH:=$(TARGET_ARCH)
+endif
+CFLAGS += -DIPKG_LIB -DIPKGLIBDIR="\"/usr/lib\"" -DHOST_CPU_STR="\"$(IPKG_ARCH)\""
+IPKG_ARCH:=$(TARGET_ARCH)
+endif
+CFLAGS += -DIPKG_LIB -DIPKGLIBDIR="\"/usr/lib\"" -DHOST_CPU_STR="\"$(IPKG_ARCH)\""
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+ qsort(vec->pkgs, vec->len, sizeof(pkg_t *), (compare_fcn_t)compar);
+}
+
+ qsort(vec->pkgs, vec->len, sizeof(pkg_t *), (compare_fcn_t)compar);
+}
+
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+#define sprintf_alloc(str, fmt, args...) *str = xasprintf(fmt, ## args)
+
+#endif
+#define sprintf_alloc(str, fmt, args...) *str = xasprintf(fmt, ## args)
+
+#endif
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
---- busybox-1.7.2.orig/archival/libunarchive/data_extract_all.c 2007-10-30 15:34:59.000000000 -0500
-+++ busybox-1.7.2/archival/libunarchive/data_extract_all.c 2007-10-30 15:35:05.000000000 -0500
+--- busybox-1.8.1.orig/archival/libunarchive/data_extract_all.c 2007-11-10 17:39:21.471528185 +0100
++++ busybox-1.8.1/archival/libunarchive/data_extract_all.c 2007-11-10 17:40:53.404767161 +0100
---- busybox-1.7.2.orig/archival/libunarchive/Kbuild 2007-10-30 15:34:59.000000000 -0500
-+++ busybox-1.7.2/archival/libunarchive/Kbuild 2007-10-30 15:35:05.000000000 -0500
-@@ -55,6 +55,7 @@
+--- busybox-1.8.1.orig/archival/libunarchive/Kbuild 2007-11-10 17:39:21.479528641 +0100
++++ busybox-1.8.1/archival/libunarchive/Kbuild 2007-11-10 17:40:53.408767391 +0100
+@@ -54,6 +54,7 @@
lib-$(CONFIG_FEATURE_GUNZIP_UNCOMPRESS) += decompress_uncompress.o
+lib-$(CONFIG_IPKG) += $(GUNZIP_FILES) get_header_tar.o get_header_tar_gz.o
lib-$(CONFIG_FEATURE_GUNZIP_UNCOMPRESS) += decompress_uncompress.o
+lib-$(CONFIG_IPKG) += $(GUNZIP_FILES) get_header_tar.o get_header_tar_gz.o
- lib-$(CONFIG_RPM2CPIO) += $(GUNZIP_FILES) get_header_cpio.o
- lib-$(CONFIG_RPM) += $(GUNZIP_FILES) get_header_cpio.o
+ lib-$(CONFIG_RPM2CPIO) += decompress_unzip.o get_header_cpio.o
+ lib-$(CONFIG_RPM) += decompress_unzip.o get_header_cpio.o
---- busybox-1.7.2.orig/include/applets.h 2007-10-30 15:35:03.000000000 -0500
-+++ busybox-1.7.2/include/applets.h 2007-10-30 15:35:05.000000000 -0500
-@@ -190,6 +190,7 @@
+--- busybox-1.8.1.orig/include/applets.h 2007-11-10 17:39:21.487529096 +0100
++++ busybox-1.8.1/include/applets.h 2007-11-10 17:40:53.408767391 +0100
+@@ -198,6 +198,7 @@
USE_IPCALC(APPLET(ipcalc, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_IPCRM(APPLET(ipcrm, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS))
USE_IPCS(APPLET(ipcs, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS))
USE_IPCALC(APPLET(ipcalc, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_IPCRM(APPLET(ipcrm, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS))
USE_IPCS(APPLET(ipcs, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS))
USE_IPLINK(APPLET(iplink, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_IPROUTE(APPLET(iproute, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_IPRULE(APPLET(iprule, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_IPLINK(APPLET(iplink, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_IPROUTE(APPLET(iproute, _BB_DIR_BIN, _BB_SUID_NEVER))
USE_IPRULE(APPLET(iprule, _BB_DIR_BIN, _BB_SUID_NEVER))
---- busybox-1.7.2.orig/include/unarchive.h 2007-10-30 15:34:59.000000000 -0500
-+++ busybox-1.7.2/include/unarchive.h 2007-10-30 15:35:05.000000000 -0500
+--- busybox-1.8.1.orig/include/unarchive.h 2007-11-10 17:39:21.495529554 +0100
++++ busybox-1.8.1/include/unarchive.h 2007-11-10 17:40:53.408767391 +0100
extern void data_extract_to_stdout(archive_handle_t *archive_handle);
extern void data_extract_to_buffer(archive_handle_t *archive_handle);
extern void data_extract_to_stdout(archive_handle_t *archive_handle);
extern void data_extract_to_buffer(archive_handle_t *archive_handle);
---- busybox-1.7.2.orig/include/usage.h 2007-10-30 15:35:03.000000000 -0500
-+++ busybox-1.7.2/include/usage.h 2007-10-30 15:35:05.000000000 -0500
-@@ -1226,6 +1226,82 @@
+--- busybox-1.8.1.orig/include/usage.h 2007-11-10 17:40:53.208755993 +0100
++++ busybox-1.8.1/include/usage.h 2007-11-10 17:40:53.412767617 +0100
+@@ -1294,6 +1294,82 @@
"$ ls -la /tmp/busybox*\n" \
"-rw-rw-r-- 1 andersen andersen 554058 Apr 14 17:49 /tmp/busybox.tar.gz\n"
"$ ls -la /tmp/busybox*\n" \
"-rw-rw-r-- 1 andersen andersen 554058 Apr 14 17:49 /tmp/busybox.tar.gz\n"
---- busybox-1.7.2.orig/Makefile 2007-10-30 15:34:59.000000000 -0500
-+++ busybox-1.7.2/Makefile 2007-10-30 15:35:05.000000000 -0500
+--- busybox-1.8.1.orig/Makefile 2007-11-10 17:39:21.511530465 +0100
++++ busybox-1.8.1/Makefile 2007-11-10 17:40:53.412767617 +0100