Subject: CVS commit: pkgsrc
To: None <>
From: Alistair G. Crooks <>
List: source-changes
Date: 07/09/1999 06:14:28
Module Name:	pkgsrc
Committed By:	agc
Date:		Fri Jul  9 13:14:22 UTC 1999

Modified Files:

Log Message:
Add logic to provide md5 checksums on the patch files, placing them in
a file called files/patch-sum.  This has the benefit of only
attempting to patch packages with official patches.  This should mean
that you can untar a pkgsrc.tar.gz over a previous tree, and still
have it do the right thing, ignoring old patch files.

Patches which have an entry in the files/patch-sum file will be
applied, and then any local patches.  If there are local patches to a
package, these should go in patch files called patches/patch-local-*
(these files are ignored when calculating the files/patch-sum file,
and also when checking the patches/patch-* files).

The calculation of the patch checksum ignores any NetBSD RCS Id in the
patch-* files.  This removes a nasty ordering dependency for developers
making patches to packages.

Patch file checksums will only be checked if the files/patch-sum file

Add a target "makepatchsum", analogous to "makesum", which makes a new
files/patch-sum file.

To generate a diff of this commit:
cvs rdiff -r1.292 -r1.293 pkgsrc/mk/

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