004b23284b
as an acceptable input. Fixes Pkgsrc for users that set PKG_RESUME_TRANSFERS=yes in their mk.conf if installing a package that has an interactive fetch stage, after mk/fetch/fetch.mk revision 1.66. Tested for all combinations of: + PKG_RESUME_TRANSFERS=yes/no; and + interactive fetch=yes/no; and + distfile=downloaded/not downloaded ... with no signs of misbehaviour. The specific case that was broken, and this change fixes, is: + PKG_RESUME_TRANSFERS=yes; and + interactive fetch=yes; and + distfile=downloaded This change was designed with the following considerations: 1. Given it's a freeze, keep it simple. 2. The change in behaviour allows 'fetch' to succeed where it would previously fail fatally, so it's unlikely to affect any (intentional) existing behaviour in Pkgsrc. 3. The behaviour of 'fetch' with zero sites is essentially the same as a fetch where all the possible download sites fail, I.e. Pkgsrc already expects to handle such behaviour. ok gdt@ |
||
---|---|---|
.. | ||
bsd.fetch-vars.mk | ||
bsd.fetch.mk | ||
distclean.mk | ||
fetch | ||
fetch-list.mk | ||
fetch.mk | ||
github.mk | ||
pypi.mk | ||
sites.mk |