From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Nov 27 16:50:10 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0A32106566B for ; Sat, 27 Nov 2010 16:50:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B86F88FC1A for ; Sat, 27 Nov 2010 16:50:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oARGo9qa098937 for ; Sat, 27 Nov 2010 16:50:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oARGo9H2098936; Sat, 27 Nov 2010 16:50:09 GMT (envelope-from gnats) Resent-Date: Sat, 27 Nov 2010 16:50:09 GMT Resent-Message-Id: <201011271650.oARGo9H2098936@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tijl Coosemans Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 117F11065670 for ; Sat, 27 Nov 2010 16:45:18 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay005.isp.belgacom.be (mailrelay005.isp.belgacom.be [195.238.6.171]) by mx1.freebsd.org (Postfix) with ESMTP id 9F2058FC14 for ; Sat, 27 Nov 2010 16:45:17 +0000 (UTC) Received: from 9.235-177-91.adsl-dyn.isp.belgacom.be (HELO hal.tijl.coosemans.org) ([91.177.235.9]) by relay.skynet.be with ESMTP; 27 Nov 2010 17:45:15 +0100 Received: from hal.tijl.coosemans.org (hal.tijl.coosemans.org [127.0.0.1]) by hal.tijl.coosemans.org (8.14.4/8.14.4) with ESMTP id oARGjEHZ004854 for ; Sat, 27 Nov 2010 17:45:15 +0100 (CET) (envelope-from tijl@hal.tijl.coosemans.org) Received: (from tijl@localhost) by hal.tijl.coosemans.org (8.14.4/8.14.4/Submit) id oARGjE6G004853; Sat, 27 Nov 2010 17:45:14 +0100 (CET) (envelope-from tijl) Message-Id: <201011271645.oARGjE6G004853@hal.tijl.coosemans.org> Date: Sat, 27 Nov 2010 17:45:14 +0100 (CET) From: Tijl Coosemans To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/152620: [patch] bsd.port.mk: Add -F to FETCH_ARGS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tijl Coosemans List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Nov 2010 16:50:10 -0000 >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: