aboutsummaryrefslogtreecommitdiffstats
path: root/package/opkg/patches/010-remove-flag.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-10-22 15:15:19 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-10-22 15:15:19 +0000
commit763644ae933c0869ac49d04cb9eadc0c2bc22282 (patch)
treeff9b954ebfd29b590e1050de5e666cb576b0f14a /package/opkg/patches/010-remove-flag.patch
parent3231dce5aa4afff0c3b4a40f082f13035d9f341f (diff)
downloadupstream-763644ae933c0869ac49d04cb9eadc0c2bc22282.tar.gz
upstream-763644ae933c0869ac49d04cb9eadc0c2bc22282.tar.bz2
upstream-763644ae933c0869ac49d04cb9eadc0c2bc22282.zip
opkg: - re-enable upgrade and restrict it to signle packages, fix usage text - only read package descriptions if they're actually needed (almost never), saves even more space when parsing package lists - refresh patches
SVN-Revision: 18120
Diffstat (limited to 'package/opkg/patches/010-remove-flag.patch')
-rw-r--r--package/opkg/patches/010-remove-flag.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/opkg/patches/010-remove-flag.patch b/package/opkg/patches/010-remove-flag.patch
index d550ec7b31..20bebda4b6 100644
--- a/package/opkg/patches/010-remove-flag.patch
+++ b/package/opkg/patches/010-remove-flag.patch
@@ -1,6 +1,6 @@
--- a/libopkg/args.c
+++ b/libopkg/args.c
-@@ -267,8 +267,6 @@
+@@ -268,8 +268,6 @@
printf("\tinstall <file.opk> Install package <file.opk>\n");
printf("\tconfigure [<pkg>] Configure unpacked packages\n");
printf("\tremove <pkg|regexp> Remove package <pkg|packages following regexp>\n");
@@ -11,23 +11,23 @@
printf("\tlist List available packages and descriptions\n");
--- a/libopkg/opkg_cmd.c
+++ b/libopkg/opkg_cmd.c
-@@ -56,7 +56,6 @@
- static int opkg_list_installed_cmd(opkg_conf_t *conf, int argc, char **argv);
+@@ -58,7 +58,6 @@
+ static int opkg_list_upgradable_cmd(opkg_conf_t *conf, int argc, char **argv);
static int opkg_remove_cmd(opkg_conf_t *conf, int argc, char **argv);
static int opkg_purge_cmd(opkg_conf_t *conf, int argc, char **argv);
-static int opkg_flag_cmd(opkg_conf_t *conf, int argc, char **argv);
static int opkg_files_cmd(opkg_conf_t *conf, int argc, char **argv);
static int opkg_search_cmd(opkg_conf_t *conf, int argc, char **argv);
static int opkg_download_cmd(opkg_conf_t *conf, int argc, char **argv);
-@@ -80,7 +79,6 @@
- {"list", 0, (opkg_cmd_fun_t)opkg_list_cmd},
+@@ -84,7 +83,6 @@
{"list_installed", 0, (opkg_cmd_fun_t)opkg_list_installed_cmd},
+ {"list_upgradable", 0, (opkg_cmd_fun_t)opkg_list_upgradable_cmd},
{"info", 0, (opkg_cmd_fun_t)opkg_info_cmd},
- {"flag", 1, (opkg_cmd_fun_t)opkg_flag_cmd},
{"status", 0, (opkg_cmd_fun_t)opkg_status_cmd},
{"install_pending", 0, (opkg_cmd_fun_t)opkg_install_pending_cmd},
{"install", 1, (opkg_cmd_fun_t)opkg_install_cmd},
-@@ -974,48 +972,6 @@
+@@ -1050,48 +1048,6 @@
return 0;
}