summaryrefslogtreecommitdiff
path: root/mk/fetch/bsd.fetch.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-07-18 22:41:06 +0000
committerjlam <jlam@pkgsrc.org>2006-07-18 22:41:06 +0000
commit366479578ee8d470cd9eef2a9bf80e596503e4a1 (patch)
treea6f437d6ce334fc8ca166f678da32fda77be429a /mk/fetch/bsd.fetch.mk
parenta1e7b22c6a546b93c5dcc22eb7cb7915a865720c (diff)
downloadpkgsrc-366479578ee8d470cd9eef2a9bf80e596503e4a1.tar.gz
Overhaul fetch module:
* All the smarts is now encapsulated in the "fetch" script. The fetch script understands how to use the distinfo file (if specified) to look up the size and checksums of the file to fetch and will use that information to verify checksums of the fetched files or resume transfers of interrupted fetches. * Move the default settings for FETCH_RESUME_ARGS and FETCH_OUTPUT_ARGS for "ftp" from mk/defaults/mk.conf into mk/fetch/fetch.mk. We rewrite it to avoid needing conditional statements. * Avoid spawning a new make(1) process just to mirror a distfile. * Split out fetch-list targets into a separate file fetch-list.mk. These targets should probably be moved into a standalone script. * Fix distclean target to properly remove partial downloads.
Diffstat (limited to 'mk/fetch/bsd.fetch.mk')
-rw-r--r--mk/fetch/bsd.fetch.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/fetch/bsd.fetch.mk b/mk/fetch/bsd.fetch.mk
index 0a2f732cc95..6d832f71389 100644
--- a/mk/fetch/bsd.fetch.mk
+++ b/mk/fetch/bsd.fetch.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.fetch.mk,v 1.2 2006/06/06 03:35:42 jlam Exp $
+# $NetBSD: bsd.fetch.mk,v 1.3 2006/07/18 22:41:06 jlam Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and defines the
# relevant variables and targets for the "fetch" step.
@@ -14,4 +14,5 @@
.include "${PKGSRCDIR}/mk/fetch/sites.mk"
.include "${PKGSRCDIR}/mk/fetch/fetch.mk"
+.include "${PKGSRCDIR}/mk/fetch/fetch-list.mk"
.include "${PKGSRCDIR}/mk/fetch/distclean.mk"