Two things, both found by reading the whole list of files that call
themselves pkgsrc's.
1. The header. `ext/AGENTS.md` now says what the rule is: a file Makronix
wrote carries `#\t$Makronix$' in its first lines, a file taken from pkgsrc
keeps pkgsrc's `$NetBSD: <file>,v <rev> ... Exp $' (the revision says where
it came from), and the unfilled `$NetBSD$' is neither -- it is pkgsrc's
recipe skeleton before the revision is set. Three files carried it:
- ext/src/mcde/pkgsrc-motif/buildlink3.mk, ours throughout
(MCDE_MOTIF_BUILDLINK3_MK, BUILDLINK_TREE mcde-motif, PKGSRCDIR
../../x11/mcde-motif) -- committed there, pushed to kropa.
- PINS: makronix-pins.sh write now writes the header with it, check
still matches.
- distfiles.lst: cmd_list writes three `#' lines; every reader goes
through list_lines() (verify, fetch, stage, the superset merge) and
install-simple.sh skips them, so a comment cannot be read as a package
path. afpfs-ng keeps `$NetBSD: Makefile,v ... wiz Exp $' in its recipe:
that file is upstream's, unchanged (diff against
pkgsrc/filesystems/afpfs-ng is empty), not the template.
2. afpfs-ng's tarball was missing from distfiles.lst. gen_list dropped every
recipe under ext/ -- written when all of them build from their tree -- but
afpfs-ng still builds from afpfs-ng-0.8.1.tar.gz, so the source set
carried a recipe whose distfile it did not. The filter now drops only a
recipe with `DISTFILES= # empty' (the eight that build from ext/src/<name>)
and keeps the one with an archive. distfiles.lst: 2088 archives.
install-simple.sh counted `stage's fork lines on top of distfiles.lst; that
command is gone (nothing is fetched or staged for a tree recipe), the
archive now counts in distfiles.lst itself.
Tested: tools/test-tools.sh 42 ok, 0 bad (six cases added: the header rule
over ext/src/*/pkgsrc*, distfiles.lst's header, four fields a line, afpfs-ng
present). makronix-pins.sh check matches; makronix-distfiles.sh list, verify,
check, stage all green; stage carries distfiles/afpfs-ng-0.8.1.tar.gz and none
of the tree recipes; bmake -C pkgsrc/wm/mcde -V MOTIFLIB still resolves through
mcde-motif's buildlink3.mk.
9 lines
400 B
Plaintext
9 lines
400 B
Plaintext
# $Makronix$
|
|
# The commits this tree belongs to (tools/makronix-pins.sh).
|
|
# src/ is a tracked fork, not a repository: this is the upstream NetBSD commit
|
|
# it was taken from (also src/BASE). refs/netbsd/src is upstream trunk, for
|
|
# watching, not a build input.
|
|
src e523df740a5bedc3e9fab13d5758f22a29f2d3c2
|
|
xsrc 99aacae3060c7409b82101d7e873fc500e602b8b
|
|
pkgsrc 3c1118e9443240d45c83193ab89f92e0eb20b2ff
|