ports/152620: [patch] bsd.port.mk: Add -F to FETCH_ARGS

Tijl Coosemans tijl at coosemans.org
Sat Nov 27 16:50:10 UTC 2010


>Number:         152620
>Category:       ports
>Synopsis:       [patch] bsd.port.mk: Add -F to FETCH_ARGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 27 16:50:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Tijl Coosemans
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
When resuming an interrupted download fetch(1) often complains
about the local modification time not matching the remote and
exits. In my experience this mismatch has always been harmless
and fetch should just continue the download. If the local or remote
file really has been modified make checksum will catch that.

The attached patch replaces -R with -F in FETCH_ARGS to make fetch
stop complaining.
>How-To-Repeat:
>Fix:

--- ports.fetch_args.diff begins here ---
Index: bsd.port.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.656
diff -u -r1.656 bsd.port.mk
--- bsd.port.mk	24 Nov 2010 23:04:02 -0000	1.656
+++ bsd.port.mk	27 Nov 2010 16:17:39 -0000
@@ -834,7 +834,7 @@
 # FETCH_BINARY	- Path to ftp/http fetch command if not in $PATH.
 #				  Default: "/usr/bin/fetch"
 # FETCH_ARGS	- Arguments to ftp/http fetch command.
-#				  Default: "-ApRr"
+#				  Default: "-AFpr"
 # FETCH_CMD		- ftp/http fetch command.
 #				  Default: ${FETCH_BINARY} ${FETCH_ARGS}
 # FETCH_BEFORE_ARGS
@@ -2313,7 +2313,7 @@
 
 .if exists(/usr/bin/fetch)
 FETCH_BINARY?=	/usr/bin/fetch
-FETCH_ARGS?=	-ApRr
+FETCH_ARGS?=	-AFpr
 FETCH_REGET?=	1
 .if !defined(DISABLE_SIZE)
 FETCH_BEFORE_ARGS+=	$${CKSIZE:+-S $$CKSIZE}
--- ports.fetch_args.diff ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list