Date: Tue, 26 Mar 2002 21:32:15 -0500 From: Alan Eldridge <alane@geeksrus.net> To: William Evanson <evawil823@hotmail.com> Cc: freebsd-questions@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG Subject: Re: Make Fetch resume (Is is possible to do...) Message-ID: <20020327023215.GA60864@wwweasel.geeksrus.net> In-Reply-To: <F12HZXFZ0stgr3SU0hX00008df4@hotmail.com> References: <F12HZXFZ0stgr3SU0hX00008df4@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 26, 2002 at 08:19:37PM -0600, William Evanson wrote: >I installed wget and added the line >FETCH_CMD="/usr/local/bin/wget" to my /etc/make.conf file. >With the next make install it launched wget and ran fine. >I tried to test the program by stopping the fetch sequence >on one of the sources near the end. When I restarted the >Make Install is knoticed the file was there and tried to >build it without restarting the fetch sequence. Any ideas??? The fundamental problem here is that the *size* of the file is not available in the ports system. Strictly speaking, it's not necessary. But it would help add a little intelligence to the process. However, let's assume we must work within the framework of the current ports system; we can't add the file sizes somewhere. What *can* we do? When is our first chance to notice that we might have an incomplete file? At md5-checking time. How about a knob that says, if you got an md5 error, try to fetch the file again, using a "resume" command appropriate to the protocol by which the file is being fetched? I have not done a survey yet on the existing hordes of PRs requesting a resumption feature to see if anybody figured this out yet. But I will. Comments? Opinions: could you live with having to set a knob on your make command line, like "make -DRESUME_FETCH"? Committers/portmgr@, does this sound like a doable, and minimally invasive way to give people what they want? -- AlanE "When the going gets weird, the weird turn pro." - HST To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020327023215.GA60864>