pkgsrc/mk/fetch
dsainty 004b23284b Alter the behaviour of the "fetch" executable to accept zero download sites
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@
2015-09-19 11:45:56 +00:00
..
bsd.fetch-vars.mk Introduce IGNORE_INTERACTIVE_FETCH to allow trying to fetch files from 2015-09-13 15:03:57 +00:00
bsd.fetch.mk Enabling handling of pypi packages. No opposing comments received in 2015-07-06 05:03:33 +00:00
distclean.mk
fetch Alter the behaviour of the "fetch" executable to accept zero download sites 2015-09-19 11:45:56 +00:00
fetch-list.mk
fetch.mk Reorder and fix logic snafu. 2015-09-14 08:27:13 +00:00
github.mk '-' is a valid character in github account names 2015-03-12 21:00:01 +00:00
pypi.mk Enabling handling of pypi packages. No opposing comments received in 2015-07-06 05:03:33 +00:00
sites.mk Anonymous ftp service of ftp.mozilla.org is no longer provided. 2015-08-11 23:41:41 +00:00