Author: glen                         Date: Wed May 18 07:05:25 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- allow forcing ipv4/ipv6

---- Files affected:
packages:
   builder (1.646 -> 1.647) 

---- Diffs:

================================================================
Index: packages/builder
diff -u packages/builder:1.646 packages/builder:1.647
--- packages/builder:1.646      Tue Mar 29 17:32:19 2011
+++ packages/builder    Wed May 18 09:05:19 2011
@@ -263,7 +263,9 @@
 [--show-bconds] [--with/--without <feature>] [--define <macro> <value>]
 <package>[.spec][:cvstag]
 
+-4                  - force ipv4 when transferring files
 -5, --update-md5    - update md5 comments in spec, implies -nd -ncs
+-6                  - force ipv6 when transferring files
 -a5, --add-md5      - add md5 comments to URL sources, implies -nc -nd -ncs
 -n5, --no-md5       - ignore md5 comments in spec
 -D, --debug         - enable builder script debugging mode,
@@ -2131,6 +2133,12 @@
 
 while [ $# -gt 0 ]; do
        case "${1}" in
+               -4|-6)
+                       # NOTE: we should be fetcher specific, like fille 
WGET_OPTS, but
+                       # unfortunately $GETURI is already formed
+                       GETURI="$GETURI $1"
+                       shift
+                       ;;
                -5 | --update-md5)
                        COMMAND="update_md5"
                        NODIST="yes"
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/builder?r1=1.646&r2=1.647&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to