Subject: CVS commit: pkgsrc
To: None <pkgsrc-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: pkgsrc-changes
Date: 07/27/2007 10:43:24
Module Name:	pkgsrc
Committed By:	joerg
Date:		Fri Jul 27 10:43:24 UTC 2007

Modified Files:
	pkgsrc/bootstrap: bootstrap
Added Files:
	pkgsrc/pkgtools/bootstrap-mk-files/files: bootstrap.sh

Log Message:
Split bootstrap into two phases:
- phase one builds the essential tools in the bare minimal version
  needed by the infrastructure to run "make install".
- phase two runs "make install" for all the bootstrap packages.

Set WRKOBJDIR for the second phase, we never want to leave garbage
around.

This increases the time for running bootstrap, but gives more
deterministic results. It also means that e.g. configuration files
in pkg_install can be handled normally. It is a prerequirement to
sanely allow pkg_install some more extended work like building
its own libarchive without having to worry too much about limitations
on some platforms.

This fixes the expansion of @gzcat@ in the download-vulnerability-list
script.

Tested by tnn@ on Interix and myself on DragonFly.


To generate a diff of this commit:
cvs rdiff -r1.100 -r1.101 pkgsrc/bootstrap/bootstrap
cvs rdiff -r0 -r1.1 pkgsrc/pkgtools/bootstrap-mk-files/files/bootstrap.sh

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