From owner-cvs-all Tue Nov 17 10:35:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA21170 for cvs-all-outgoing; Tue, 17 Nov 1998 10:35:14 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from roma.coe.ufrj.br (roma.coe.ufrj.br [146.164.53.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA21163; Tue, 17 Nov 1998 10:35:10 -0800 (PST) (envelope-from jonny@jonny.eng.br) Received: (from jonny@localhost) by roma.coe.ufrj.br (8.8.8/8.8.8) id QAA04180; Tue, 17 Nov 1998 16:34:43 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199811171834.QAA04180@roma.coe.ufrj.br> Subject: Re: cvs commit: ports/databases/gmysql Makefile In-Reply-To: <199811170341.TAA29635@freefall.freebsd.org> from Satoshi Asami at "Nov 16, 98 07:41:45 pm" To: asami@FreeBSD.ORG (Satoshi Asami) Date: Tue, 17 Nov 1998 16:34:42 -0200 (EDT) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk #define quoting(Satoshi Asami) // asami 1998/11/16 19:41:45 PST // // Modified files: // databases/gmysql Makefile // Log: // Add "FETCH_BEFORE_ARGS=-b", otherwise file will be truncated on fetch. Oops !!! And if somebody has changed FETCH_CMD to something more suitable to their needs ? I, for example, use a script that calls wget to fetch files. I've done this because of the high error rates in my network, and needed desperately the "retry" and "continue from where stopped" features of wget. BTW: bsd.port.mk also has a test in which if fetch is not available, it will use ftp in url mode: $Id: bsd.port.mk,v 1.227.2.61 1998/11/14 09:46:12 asami Exp $ .if exists(/usr/bin/fetch) FETCH_CMD?= /usr/bin/fetch #FETCH_BEFORE_ARGS+= $${CKSIZE:+-S $$CKSIZE} .else FETCH_CMD?= /usr/bin/ftp .endif That's where I got the ideia to use wget from. You should probably test if FETCH_CMD is really /usr/bin/fetch, before setting FETCH_BEFORE_ARGS to such value. Jonny PS: ftp in url mode could be enough, if it had command line options to do a reget and to ignore proxies. -- Joao Carlos Mendes Luis M.Sc. Student jonny@jonny.eng.br Universidade Federal do Rio de Janeiro "This .sig is not meant to be politically correct." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message