pkgsrc/mk
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
..
build Remove USE_X11BASE and X11PREFIX. 2015-07-04 16:18:28 +00:00
buildlink3 Drop _LIBTOOL and _SHLIBTOOL and make LIBTOOL and SHLIBTOOL point to the 2015-05-04 19:23:19 +00:00
check Introduce support for checking Mach-O dynamic libraries. 2015-08-17 17:35:23 +00:00
checksum Ensure failure on failure of depends-fetch and depends-checksum targets. 2013-11-16 15:29:39 +00:00
cmake-Modules/Platform
compiler Ensure the dependency is satisfied by gcc48 rather than potentially pulling 2015-09-11 15:23:21 +00:00
configure Drop _LIBTOOL and _SHLIBTOOL and make LIBTOOL and SHLIBTOOL point to the 2015-05-04 19:23:19 +00:00
defaults describe llvm option 2015-09-12 16:56:21 +00:00
depends Prevent to force creating binary package in ${PACKAGES} for the case installing 2014-02-14 06:39:32 +00:00
emulator Remove NetBSD 0.x and 1.x settings, these have long since been unsupported. 2015-09-08 11:36:34 +00:00
extract Document EXTRACT_ENV 2014-03-02 09:45:42 +00:00
features Use PKG_SKIP_REASON instead of PKG_FAIL_REASON for some cases where 2015-01-01 07:51:47 +00:00
fetch Alter the behaviour of the "fetch" executable to accept zero download sites 2015-09-19 11:45:56 +00:00
gnu-config Sync with upstream 2015-06-03 19:18:41 +00:00
haskell add Haskell Cabal support files. 2014-02-05 07:02:30 +00:00
help Remove USE_X11BASE and X11PREFIX. 2015-07-04 16:18:28 +00:00
install Remove warning about 'make replace' being experimental. 2015-09-07 19:23:47 +00:00
internal
misc Uniq BUILD_DEFS and BUILD_DEFS_EFFECTS before printing. 2015-01-30 16:45:33 +00:00
package prevent to generate binary package in ${PACKAGES} from the side effect of 2013-05-23 13:18:56 +00:00
patch
pbulk Add helper script for simplified pbulk setup. 2014-07-15 21:29:38 +00:00
pkgformat Switch to globbing for package symlinks to delete. This provides significant 2015-09-07 11:02:28 +00:00
pkginstall Construct rc.d scripts in a subdirectory of WRKDIR (.rc.d/) instead of 2015-08-10 05:41:10 +00:00
platform _OPSYS_LIB_DIRS entries must be space-separated, not colon. 2015-09-10 19:49:58 +00:00
plist Support .so.* files if they exist and are explicitly listed in the 2015-09-07 15:30:25 +00:00
scripts Fix 2015-06-13 12:09:32 +00:00
tools Remove NetBSD 0.x and 1.x settings, these have long since been unsupported. 2015-09-08 11:36:34 +00:00
wrapper Introduce _USE_CWRAPPERS logic to ensure consistency, USE_CWRAPPERS could 2015-04-29 14:23:23 +00:00
alternatives.mk
apache.mk Generate a correct error message, instead of referring to a variable 2014-07-04 21:20:52 +00:00
apache.module.mk Move www/apache/module.mk to mk/apache.module.mk and adjust it to use 2014-06-11 12:57:22 +00:00
bdb.buildlink3.mk Add db6 2015-01-01 18:53:56 +00:00
bsd.fast.prefs.mk
bsd.hacks.mk
bsd.makevars.mk
bsd.options.mk Move show-depends-options again, to be worked form non-option packages. 2013-06-07 00:41:39 +00:00
bsd.pkg.barrier.mk prevent to generate binary package in ${PACKAGES} from the side effect of 2013-05-23 13:18:56 +00:00
bsd.pkg.clean.mk /tmp/cvs02076b 2013-06-01 19:31:52 +00:00
bsd.pkg.debug.mk
bsd.pkg.error.mk
bsd.pkg.mk Introduce _USE_CWRAPPERS logic to ensure consistency, USE_CWRAPPERS could 2015-04-29 14:23:23 +00:00
bsd.pkg.readme.mk More SVR4_PKGNAME cleanup. 2014-10-09 13:50:08 +00:00
bsd.pkg.subdir.mk
bsd.pkg.update.mk fixes last commit, delete too aggressively :( 2014-02-14 07:14:23 +00:00
bsd.pkg.use.mk Remove USE_X11BASE and X11PREFIX. 2015-07-04 16:18:28 +00:00
bsd.prefs.mk Ensure OBJECT_FMT is set to ELF on Linux rather than relying on the NetBSD 2015-09-08 12:07:55 +00:00
bsd.utils.mk Split BUILD_DEPENDS into TOOL_DEPENDS and BUILD_DEPENDS in mk/. 2013-05-09 23:37:25 +00:00
compiler.mk Pass down ABI flags for cwrappers too. 2014-12-09 23:43:29 +00:00
curses.buildlink3.mk Ensure that BUILDLINK_PKGNAME.curses is always defined. 2015-02-04 16:35:32 +00:00
curses.builtin.mk Remove NetBSD 0.x and 1.x settings, these have long since been unsupported. 2015-09-08 11:36:34 +00:00
cwrappers.mk Drop _LIBTOOL and _SHLIBTOOL and make LIBTOOL and SHLIBTOOL point to the 2015-05-04 19:23:19 +00:00
db1.builtin.mk Use find-headers instead of find-files to detect builtin header files. 2013-11-23 09:10:14 +00:00
djbware.mk Sanitize environment. 2014-11-27 20:31:22 +00:00
dlopen.buildlink3.mk
dlopen.builtin.mk Use find-headers instead of find-files to detect builtin header files. 2013-11-23 09:10:14 +00:00
endian.mk Fixes system endian header detection. 2014-05-21 01:43:50 +00:00
fam.buildlink3.mk
find-prefix.mk
fuse.buildlink3.mk Improve STEP_MSG. 2015-02-04 23:44:34 +00:00
haskell.mk rpath flag and directory are one option, don't pass the path without 2015-02-17 13:57:47 +00:00
java-env.mk
java-vm.mk Set openjdk8 as default on NetBSD 5 or later. 2015-08-12 01:06:45 +00:00
jpeg.buildlink3.mk
krb5.buildlink3.mk Move platform-specific settings to the platform file. 2013-08-16 12:11:17 +00:00
license.mk Add vera-ttf-license as DEFAULT_ACCEPTABLE_LICENSES. 2015-09-13 11:22:22 +00:00
linux-pam.builtin.mk Always use OpenPAM as fallback PAM implementation if a native one is 2014-06-10 13:52:57 +00:00
motif.buildlink3.mk Retire openmotif support, superseded by x11/motif. 2015-01-11 02:36:31 +00:00
mpi.buildlink3.mk
mysql.buildlink3.mk Add mariadb55 support. 2015-04-16 20:24:15 +00:00
ocaml.mk Add PRINT_PLIST_AWK code to put ${OCAML_SITELIB} into generated PLIST. 2015-04-20 02:36:05 +00:00
omf-scrollkeeper.mk
oss.buildlink3.mk support oss4 compatible boomer on OpenSolaris/Illumos platforms 2014-02-10 12:21:44 +00:00
oss.builtin.mk Use find-headers instead of find-files to detect builtin header files. 2013-11-23 09:10:14 +00:00
pam.buildlink3.mk Always use OpenPAM as fallback PAM implementation if a native one is 2014-06-10 13:52:57 +00:00
pf.buildlink3.mk mk/pf.buildlink3.mk: any modern fbsd version has pf 2015-01-14 20:40:32 +00:00
pgsql.buildlink3.mk PostgreSQL 9.4.0: 2015-01-14 21:01:18 +00:00
pkg-build-options.mk
pthread.buildlink3.mk Use PKG_SKIP_REASON instead of PKG_FAIL_REASON for some cases where 2015-01-01 07:51:47 +00:00
pthread.builtin.mk Use find-headers instead of find-files to detect builtin header files. 2013-11-23 09:10:14 +00:00
readline.buildlink3.mk Change READLINE_DEFAULT to 'readline' if not using a builtin implementation, 2013-08-16 11:31:50 +00:00
readline.builtin.mk Use find-headers instead of find-files to detect builtin header files. 2013-11-23 09:10:14 +00:00
resolv.buildlink3.mk
smf.mk Introduce infrastructure support for SMF. 2014-03-11 14:07:04 +00:00
solaris-pam.builtin.mk Use find-headers instead of find-files to detect builtin header files. 2013-11-23 09:10:14 +00:00
subst.mk Add note to SUBST_SED noting that -E is not a standard sed option. 2013-10-13 21:38:36 +00:00
termcap.buildlink3.mk Fix for older bmake 2013-10-19 19:12:41 +00:00
termcap.builtin.mk Use find-headers instead of find-files to detect builtin header files. 2013-11-23 09:10:14 +00:00
terminfo.buildlink3.mk fixes for old bmake, undefined variable is not treated as empty. 2014-03-11 09:16:57 +00:00
terminfo.builtin.mk Use find-headers instead of find-files to detect builtin header files. 2013-11-23 09:10:14 +00:00
tex.buildlink3.mk
unprivileged.mk
x11.buildlink3.mk
x11.builtin.mk
x11.version.mk Remove USE_X11BASE and X11PREFIX. 2015-07-04 16:18:28 +00:00
xaw.buildlink3.mk