Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 07/13/2006 14:02:35
Module Name:	pkgsrc
Committed By:	jlam
Date:		Thu Jul 13 14:02:35 UTC 2006

Modified Files:
	pkgsrc/mk: bsd.pkg.mk bsd.prefs.mk bsd.utils.mk
	pkgsrc/mk/depends: bsd.depends-vars.mk bsd.depends.mk
	pkgsrc/mk/fetch: bsd.fetch-vars.mk fetch.mk
	pkgsrc/mk/flavor/pkg: depends.mk
	pkgsrc/mk/install: bsd.install-vars.mk
	pkgsrc/mk/patch: bsd.patch-vars.mk patch.mk
	pkgsrc/mk/tools: bsd.tools.mk replace.mk
Added Files:
	pkgsrc/mk/checksum: bsd.checksum-vars.mk bsd.checksum.mk checksum
	    checksum.mk
	pkgsrc/mk/tools: digest.mk

Log Message:
* Add a new stage "bootstrap-depends" that happens before all other
  stages, and that installs dependencies listed in BOOTSTRAP_DEPENDS.
  The bootstrap-depends step works just like the normal depends step
  and honors the value of DEPENDS_TARGET.  It's now possible to add
  dependencies solely to facilitate fetching the distfiles, e.g.

	BOOTSTRAP_DEPENDS+=	curl-[0-9]*:../../www/curl

* Teach the tools framework about ":bootstrap" as a tools modifier
  which indicates the tool should be added as a dependency via
  BOOTSTRAP_DEPENDS.

* Add "digest" to the tools framework.

* Use USE_TOOLS+=digest:bootstrap to force pkgsrc to install digest
  before anything else.  Get rid of unused "uptodate-digest" target
  and related digest version-checking code.

* Finish the refactoring work: split checksum-related code out of
  bsd.pkg.mk and into pkgsrc/mk/checksum and replace the "checksum"
  target command list with a script that does all the real work.

* Make DIGEST_ALGORITHMS and PATCH_DIGEST_ALGORITHM into private
  variables by prepending them with an underscore.  Also, rename
  _PATCH_DIGEST_ALGORITHM to _PATCH_DIGEST_ALGORITHMS and adjust the
  makepatchsum target to allow that variable to contain a list of
  algorithms, all of which are used when creating the patch checksums
  for ${DISTINFO_FILE}.


To generate a diff of this commit:
cvs rdiff -r1.1868 -r1.1869 pkgsrc/mk/bsd.pkg.mk
cvs rdiff -r1.228 -r1.229 pkgsrc/mk/bsd.prefs.mk
cvs rdiff -r1.6 -r1.7 pkgsrc/mk/bsd.utils.mk
cvs rdiff -r0 -r1.1 pkgsrc/mk/checksum/bsd.checksum-vars.mk \
    pkgsrc/mk/checksum/bsd.checksum.mk pkgsrc/mk/checksum/checksum \
    pkgsrc/mk/checksum/checksum.mk
cvs rdiff -r1.3 -r1.4 pkgsrc/mk/depends/bsd.depends-vars.mk
cvs rdiff -r1.8 -r1.9 pkgsrc/mk/depends/bsd.depends.mk
cvs rdiff -r1.2 -r1.3 pkgsrc/mk/fetch/bsd.fetch-vars.mk
cvs rdiff -r1.5 -r1.6 pkgsrc/mk/fetch/fetch.mk
cvs rdiff -r1.9 -r1.10 pkgsrc/mk/flavor/pkg/depends.mk
cvs rdiff -r1.2 -r1.3 pkgsrc/mk/install/bsd.install-vars.mk
cvs rdiff -r1.2 -r1.3 pkgsrc/mk/patch/bsd.patch-vars.mk
cvs rdiff -r1.8 -r1.9 pkgsrc/mk/patch/patch.mk
cvs rdiff -r1.42 -r1.43 pkgsrc/mk/tools/bsd.tools.mk
cvs rdiff -r0 -r1.1 pkgsrc/mk/tools/digest.mk
cvs rdiff -r1.173 -r1.174 pkgsrc/mk/tools/replace.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.