diff options
author | rillig <rillig@pkgsrc.org> | 2020-01-11 13:04:21 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-01-11 13:04:21 +0000 |
commit | 0048b6effca60343e01ab99bb71aec6ae0ce9ca6 (patch) | |
tree | aaffd11e4841963f1e0e1a240ebfe3973542bad0 /regress | |
parent | 21b429bd4b22e7e200911d08a3a7de04e2a35f84 (diff) | |
download | pkgsrc-0048b6effca60343e01ab99bb71aec6ae0ce9ca6.tar.gz |
regress/plus_build_version: document obvious uses of RCS Ids
Diffstat (limited to 'regress')
-rw-r--r-- | regress/plus_build_version/spec | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/regress/plus_build_version/spec b/regress/plus_build_version/spec index d99fb982da2..8ca292b44ed 100644 --- a/regress/plus_build_version/spec +++ b/regress/plus_build_version/spec @@ -1,15 +1,29 @@ #! /bin/sh -# $NetBSD: spec,v 1.1 2020/01/11 12:24:32 rillig Exp $ +# $NetBSD: spec,v 1.2 2020/01/11 13:04:21 rillig Exp $ # This test demonstrates how the RCS Ids from the package files end up in # the +BUILD_VERSION file of the binary package. # # There are several places in pkgsrc that make use of these RCS Ids: # -# * The SHA1 hash for a patch file ignores RCS Id lines. -# * The RCS Ids end up in the +BUILD_VERSION of the binary package. -# * The pbulk checks the RCS Ids to see whether the package needs to be -# built again. +# mk/checksum/checksum, search for "NetBSD": +# When computing the SHA1 hash for a patch file (before it is applied +# to the extracted distfile), the RCS Id lines are ignored. +# +# mk/checksum/distinfo.awk, function patchsum: +# When generating the patches part of the distinfo file. +# Same as in mk/checksum/checksum. +# +# mk/pkgformat/pkg/metadata.mk, search for "NetBSD": +# The RCS Ids end up in the +BUILD_VERSION of the binary package. +# +# pkgtools/pbulk/files/pbulk/scripts/pkg-up-to-date, search for "NetBSD": +# RCS Ids from the source package are extracted and then compared +# to the RCS Ids from the binary package, to see whether the package +# needs to be built again. +# +# pkgtools/pkglint/files/distinfo.go, function computePatchSha1Hex: +# Same as mk/checksum/checksum. # # All these places must use the same patterns for extracting the RCS Ids. # As of January 2020, they don't. |