diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-16 15:20:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-16 15:20:07 +0200 |
commit | 2cbfc08e1b55b8c68fce17662c129f4a1afba259 (patch) | |
tree | b254fb7f33df0bbe2b87bbb03870ee4112a50010 /package | |
parent | 528e35262701ed30a330dc84784aecbab0ab406e (diff) |
allow busybox wget to be used in an OpenADK system for native ADK usage
Diffstat (limited to 'package')
-rw-r--r-- | package/busybox/Makefile | 2 | ||||
-rw-r--r-- | package/busybox/patches/004-wget-accept-long-opts.patch | 23 |
2 files changed, 24 insertions, 1 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile index e246a2a31..2af65a714 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:= busybox PKG_VERSION:= 1.17.0 -PKG_RELEASE:= 2 +PKG_RELEASE:= 3 PKG_MD5SUM:= 2908d1d1ca83ff12bc0b05f0d2a3335c PKG_DESCR:= Core utilities for embedded systems PKG_SECTION:= base diff --git a/package/busybox/patches/004-wget-accept-long-opts.patch b/package/busybox/patches/004-wget-accept-long-opts.patch new file mode 100644 index 000000000..5d3891db0 --- /dev/null +++ b/package/busybox/patches/004-wget-accept-long-opts.patch @@ -0,0 +1,23 @@ +diff -Nur busybox-1.17.0.orig/networking/wget.c busybox-1.17.0/networking/wget.c +--- busybox-1.17.0.orig/networking/wget.c 2010-06-24 04:40:43.000000000 +0200 ++++ busybox-1.17.0/networking/wget.c 2010-07-16 15:00:51.819609996 +0200 +@@ -542,8 +542,8 @@ + "proxy\0" Required_argument "Y" + "user-agent\0" Required_argument "U" + /* Ignored: */ +- // "tries\0" Required_argument "t" +- // "timeout\0" Required_argument "T" ++ "tries\0" Required_argument "t" ++ "timeout\0" Required_argument "T" + /* Ignored (we always use PASV): */ + "passive-ftp\0" No_argument "\xff" + "header\0" Required_argument "\xfe" +@@ -560,7 +560,7 @@ + #endif + /* server.allocated = target.allocated = NULL; */ + opt_complementary = "-1" IF_FEATURE_WGET_LONG_OPTIONS(":\xfe::"); +- opt = getopt32(argv, "csqO:P:Y:U:" /*ignored:*/ "t:T:", ++ opt = getopt32(argv, "csqO:P:Y:U:t:T:", + &fname_out, &dir_prefix, + &proxy_flag, &user_agent, + NULL, /* -t RETRIES */ |