From owner-freebsd-ports Tue Mar 26 22:51: 2 2002 Delivered-To: freebsd-ports@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id 4B34637B419 for ; Tue, 26 Mar 2002 22:50:18 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id IAA45162; Wed, 27 Mar 2002 08:50:14 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from h94.228.dialup.iptcom.net (h94.228.dialup.iptcom.net [212.9.228.94]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id IAA99497; Wed, 27 Mar 2002 08:50:12 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Subject: Re: Make Fetch resume (Is is possible to do...) From: Maxim Sobolev To: Alan Eldridge Cc: freebsd-ports@FreeBSD.org In-Reply-To: <20020327055042.GA63306@wwweasel.geeksrus.net> References: <20020327023215.GA60864@wwweasel.geeksrus.net> <1017200712.260.12.camel@notebook> <20020327055042.GA63306@wwweasel.geeksrus.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-LREBLn7SNs4S9dnFoaPq" Message-Id: <1017211272.40837.23.camel@notebook> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.0.3 Date: 27 Mar 2002 08:49:49 +0200 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=-LREBLn7SNs4S9dnFoaPq Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2002-03-27 at 07:50, Alan Eldridge wrote: > On Wed, Mar 27, 2002 at 05:47:48AM +0200, Maxim Sobolev wrote: > >Well, I think that the best way out is to introduce some new target, say > >fetch-resume, which will compare checksums of all files and if some of > >them don't match it will try to resume download. This will ensure that > >the luser knows what he is doing. Proposed `RESUME_FETCH' knob doesn't > >look as a very good idea for me, because naive users will just define it > >in make.conf and then have a problems each time when checksum changes > >while the name of the distfile remains the same. >=20 > To tie things together a bit, would you see this fitting in the > mainstream bsd.port.mk, or in the proposed bsd.port.utils.mk you > wrote of earlier (in another thread)? The latter, I think. The tricky part is to avoid code duplication, so that hypothetical fetch-resume uses existing fetch target to do actual fetching. -Maxim --=-LREBLn7SNs4S9dnFoaPq Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQA8oWmIoNu5t4iCBa8RAnG6AJ4ksO5Sd/cByVB5/s0g58IU4xk87gCdHSvH /CkhQ4xNfF5sdA/Znfbm+zo= =STAk -----END PGP SIGNATURE----- --=-LREBLn7SNs4S9dnFoaPq-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message