Subject: Re: CVS commit: pkgsrc/mk
To: None <tech-pkg@NetBSD.org>
From: Juan RP <xtraeme@netbsd.org>
List: tech-pkg
Date: 07/27/2004 11:59:41
--Signature=_Tue__27_Jul_2004_11_59_41_+0200_yBSGJ5sUETwkVlp8
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Tue, 27 Jul 2004 09:57:58 +0000 (UTC)
"Alistair G. Crooks" <agc@netbsd.org> wrote:

> 
> Module Name:	pkgsrc
> Committed By:	agc
> Date:		Tue Jul 27 09:57:57 UTC 2004
> 
> Modified Files:
> 	pkgsrc/mk: bsd.pkg.mk
> 
> Log Message:
> Fix some problems with REFETCH mods:
> 
> 1. don't hardcode true, echo and [
> 2. Cope with distfiles which are located in a DIST_SUBDIR
> 3. Don't always assume there will be a size field in the ${DISTINFO_FILE}
> 
> XXX The refetch mods make an assumption that an exit code of 0 from a
> ${FETCH_CMD} means that the transfer has been completed successfully,
> and this used not to be the case.  I haven't tested this assumption
> recently.

I was working on this right now, thank BTW.

Do you have any suggestion about how to handle the exit code from a
${FETCH_CMD}? at least I know that it works for wget and NetBSD's ftp.


--Signature=_Tue__27_Jul_2004_11_59_41_+0200_yBSGJ5sUETwkVlp8
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFBBieNypkLYVDran0RAgpJAKCeauVDkIZk9k+7+hFdUGil/qgf5wCgnSfY
wlRjRjwIHnmXVabrE5jRKjA=
=YnuU
-----END PGP SIGNATURE-----

--Signature=_Tue__27_Jul_2004_11_59_41_+0200_yBSGJ5sUETwkVlp8--