busybox: wget accept and ignore --no-check-certificate
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 10 Feb 2010 10:35:34 +0000 (10:35 +0000)
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Thu, 4 Mar 2010 14:15:24 +0000 (15:15 +0100)
needed for self-hosting; applied to upstream

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
recipes/busybox/busybox-1.15.3/0000-wget-no-check-certificate.patch [new file with mode: 0644]
recipes/busybox/busybox_1.15.3.bb

diff --git a/recipes/busybox/busybox-1.15.3/0000-wget-no-check-certificate.patch b/recipes/busybox/busybox-1.15.3/0000-wget-no-check-certificate.patch
new file mode 100644 (file)
index 0000000..c737f17
--- /dev/null
@@ -0,0 +1,12 @@
+diff --git a/networking/wget.c b/networking/wget.c
+index 9d813dc..09edd67 100644
+--- a/networking/wget.c
++++ b/networking/wget.c
+@@ -546,6 +546,7 @@ int wget_main(int argc UNUSED_PARAM, char **argv)
+               "passive-ftp\0"      No_argument       "\xff"
+               "header\0"           Required_argument "\xfe"
+               "post-data\0"        Required_argument "\xfd"
++              "no-check-certificate\0" No_argument   "\xfc"
+               ;
+ #endif
index b638f9c..1e1aa1e 100644 (file)
@@ -9,6 +9,7 @@ SRC_URI = "\
   file://B921600.patch;patch=1 \
   file://get_header_tar.patch;patch=1 \
   file://busybox-appletlib-dependency.patch;patch=1 \
+  file://0000-wget-no-check-certificate.patch;patch=1 \
   file://find-touchscreen.sh \
   file://busybox-cron \
   file://busybox-httpd \