Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 07/18/2006 22:41:06
Module Name: pkgsrc
Committed By: jlam
Date: Tue Jul 18 22:41:06 UTC 2006
Modified Files:
pkgsrc/mk/defaults: mk.conf
pkgsrc/mk/fetch: bsd.fetch-vars.mk bsd.fetch.mk distclean.mk fetch
fetch.mk
Added Files:
pkgsrc/mk/fetch: fetch-list.mk
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -r1.124 -r1.125 pkgsrc/mk/defaults/mk.conf
cvs rdiff -r1.3 -r1.4 pkgsrc/mk/fetch/bsd.fetch-vars.mk
cvs rdiff -r1.2 -r1.3 pkgsrc/mk/fetch/bsd.fetch.mk \
pkgsrc/mk/fetch/distclean.mk
cvs rdiff -r1.1 -r1.2 pkgsrc/mk/fetch/fetch
cvs rdiff -r0 -r1.1 pkgsrc/mk/fetch/fetch-list.mk
cvs rdiff -r1.9 -r1.10 pkgsrc/mk/fetch/fetch.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.