head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2006.08.31.07.48.40;	author cperciva;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Add FreeBSD Update 2.0 build code.

Some notes:
1. This code only works for FreeBSD {6.0, 5.5} and newer releases (and
for 5.5 and 6.0, some retroactive patches are necessary -- see the
patches named 0-*).  Since FreeBSD 5.[34] will be unsupported at the
end of October and FreeBSD 4.11 will be unsupported at the end of
January, I don't consider this to be a problem.
2. I've only committed build configuration files for FreeBSD/i386; I'm
very confident that this code will work on FreeBSD/amd64 and will commit
the relevant configuration files once I sort out build hardware for the
Security team to use.
3. This code is currently in use on hardware "owned" by the Security
Team, so if I get hit by a bus tomorrow Simon can use it.
4. See USAGE for an explanation of how to use this code (in particular
if you want to distribute customized versions of FreeBSD).

Sponsored by:	FreeBSD security development fundraiser
@
text
@$FreeBSD$

This directory contains FreeBSD Update build code.

File				Description
----				-----------
scripts/build.subr		The routines which do all the work.

scripts/build.conf		Configuration settings.

scripts/*.sh			User-accessible scripts.

scripts/X.Y-Z/bar/build.conf	Configuration for FreeBSD/bar X.Y-Z

scripts/X.Y-Z/build.subr and	These files, if present, can override
scripts/X.Y-Z/bar/build.subr	the routines defined in scripts/build.subr
				in order to provide special treatment for
				a particular release or platform.

src/findstamp.c			Utility for comparing two binaries which
				were built from the same source code and
				printing out the locations where they
				differ due to timestamps.

src/unstamp.c			Utility for erasing timestamps found by
				findstamp.c.

patches/X.Y-Z/0-*		Patches to FreeBSD X.Y-Z which we pretend
				were part of the release.  In FreeBSD 5.5
				and FreeBSD 6.0 some of these are necessary
				in order to get rid of some problematic
				timestamps.

patches/X.Y-Z/W-*		Patches to FreeBSD X.Y-Z.  These are applied
				in order of increasing W (assuming it is an
				integer), so a naming convention of setting
				W equal to the FreeBSD patch level (e.g., 9
				for FreeBSD 6.0-RELEASE-p9) is strongly
				recommended.
@
