Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 1998 16:34:42 -0200 (EDT)
From:      Joao Carlos Mendes Luis <jonny@jonny.eng.br>
To:        asami@FreeBSD.ORG (Satoshi Asami)
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: ports/databases/gmysql Makefile
Message-ID:  <199811171834.QAA04180@roma.coe.ufrj.br>
In-Reply-To: <199811170341.TAA29635@freefall.freebsd.org> from Satoshi Asami at "Nov 16, 98 07:41:45 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
#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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811171834.QAA04180>