Author: pebender
Date: Sat May 30 19:57:39 2009
New Revision: 4856

Modified:
    trunk/gar-minimyth/html/minimyth/document-changelog.txt
     
trunk/gar-minimyth/script/meta/minimyth/files/source/mm_local/mm_local_helper

Log:
- Modified mm_local_*
     - Replaced tftp and wget with curl.



Modified: trunk/gar-minimyth/html/minimyth/document-changelog.txt
==============================================================================
--- trunk/gar-minimyth/html/minimyth/document-changelog.txt     (original)
+++ trunk/gar-minimyth/html/minimyth/document-changelog.txt     Sat May 30  
19:57:39 2009
@@ -129,6 +129,9 @@
        in the kernel enough that the problem mentioned here has been fixed:
        <http://www.minimyth.org/forum/viewtopic.php?p=6322>

+Modified mm_local_*
+    - Replaced tftp and wget with curl.
+
  Modified build system
      - Added mm_SOFTWARE value 'vlan' for including VLAN releated software.
      - Added GNU Free Document License 1.3.

Modified:  
trunk/gar-minimyth/script/meta/minimyth/files/source/mm_local/mm_local_helper
==============================================================================
---  
trunk/gar-minimyth/script/meta/minimyth/files/source/mm_local/mm_local_helper   
 
(original)
+++  
trunk/gar-minimyth/script/meta/minimyth/files/source/mm_local/mm_local_helper   
 
Sat May 30 19:57:39 2009
@@ -185,11 +185,11 @@
          message_output 1 "url_http_fetch: argument 'URL' is missing." || \
          return

-    which wget > /dev/null 2>&1                                      || \
-        message_output 1 "url_http_fetch: command 'wget' not found." || \
+    which curl > /dev/null 2>&1                                      || \
+        message_output 1 "url_http_fetch: command 'curl' not found." || \
          return

-    wget "${URL}" -O "${LOCAL_FILE}" > /dev/null 2>&1 || \
+    curl -o "${LOCAL_FILE}" "${URL}" > /dev/null 2>&1 || \
          return
  }

@@ -197,6 +197,7 @@
      local LOCAL_FILE=$1
      local URL_PATH=$2
      local URL_SERVER=$3
+    local URL=$4

      test  
-n "${LOCAL_FILE}"                                                  || \
          message_output 1 "url_tftp_fetch: argument 'LOCAL_FILE' is  
missing." || \
@@ -208,11 +209,11 @@
          message_output 1 "url_tftp_fetch: argument 'URL_SERVER' is  
missing." || \
          return

-    which tftp > /dev/null 2>&1                                      || \
-        message_output 1 "url_tftp_fetch: command 'tftp' not found." || \
+    which curl > /dev/null 2>&1                                      || \
+        message_output 1 "url_tftp_fetch: command 'curl' not found." || \
          return

-    tftp -g -r "${URL_PATH}" -l "${LOCAL_FILE}" "${URL_SERVER}" >  
/dev/null 2>&1 || \
+    curl -o "${LOCAL_FILE}" "${URL}" > /dev/null 2>&1 || \
          return
  }


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to