Name Date Size #Lines LOC

..11-Feb-2023-

lists/H08-May-2022-98,61098,247

MakefileH A D11-Jun-202310 KiB362250

READMEH A D08-May-20222.7 KiB7956

TODOH A D08-May-2022836 2018

attrsH A D08-May-2022456 2019

checkflistH A D21-Aug-20226.6 KiB294219

commentsH A D21-Aug-202229.7 KiB471470

culldepsH A D08-May-20222.1 KiB8536

depsH A D11-May-202315.3 KiB499498

descrsH A D21-Aug-202253 KiB853852

fmt-listH A D08-Sep-202211.6 KiB460381

getdirs.awkH A D08-May-20222.3 KiB9041

join.awkH A D08-May-20223.2 KiB9750

listpkgsH A D08-May-2022938 5037

makeflistH A D21-Aug-20221.6 KiB8368

makeobsoleteH A D21-Aug-20221.6 KiB8570

makeplistH A D08-May-20223.5 KiB14185

makesrctarsH A D21-Aug-20222.7 KiB143104

makesumsH A D08-May-20222 KiB8051

maketarsH A D11-Jun-20235.6 KiB249202

metalog.subrH A D08-May-20221 KiB8975

mkvars.mkH A D04-Jun-20232.1 KiB11993

regpkgH A D11-Feb-202330.5 KiB1,077655

regpkgsetH A D08-May-20225.6 KiB196109

sets.subrH A D11-Sep-202216.1 KiB726676

sort-listH A D08-May-2022220 1511

syspkgdepsH A D08-May-20223.3 KiB14093

versionsH A D08-May-202222 21

README

1# $NetBSD: README,v 1.16 2021/09/25 08:54:30 maya Exp $
2
3the scripts should be run from the directory where they reside.
4
5makeflist:	output the list of files that should be in a
6		distribution, according to the contents of the
7		'lists' directory.
8
9checkflist:	check the file list (as internally generated
10		by makeflist) against the tree living in $DESTDIR.
11		(that tree should be made with 'make distribution'.)
12
13maketars:	make tarballs of the various sets in the distribution,
14		based on the contents of the lists, the tree in
15		$DESTDIR, and put the tarballs in $RELEASEDIR.
16		Note that this script _doesn't_ create the 'secr'
17		distribution, because (for now) it requires
18		manual intervention to get the binaries right...
19		(i'll add another script to create that dist, later.)
20
21what's in 'lists':
22
23lists describing file sets.  There are two sets of lists per file
24set: machine dependent and machine-independent files. (there's
25also another file in the 'man' dir, which is used by the 'man'
26and 'misc' sets, but that's explained later.)
27
28There is one machine-independent file, named "mi".  There are
29N machine-dependent files (one per architecture), named "md.${ARCH}".
30
31the sets are as follows:
32
33	base:	the base binary set.  excludes everything described
34		below.
35
36	comp:	compiler tools.  All of the tools relating to C, C++,
37		and FORTRAN (yes, there are two!) that are in the
38		tree.  This includes includes, the linker, tool chain,
39		and the .a versions of the libraries.  (obviously,
40		base includes ldd, ld.so, and the shared versions.
41		base also includes 'cpp', because that's used by X11.)
42		includes the man pages for all the binaries contained
43		within.  Also, includes all library and system call
44		manual pages.
45
46	debug:	Debugging libraries (_g.a/MKDEBUGLIB) and (.debug/MKDEBUG)
47		binaries.
48
49	dtb:	Device tree blobs (MKDTB).
50
51	etc:	/etc, and associated files (/var/cron/tabs, /root,
52		etc.).  things that shouldn't be blindly reinstalled
53		on an upgrade.
54
55	games:	the games and their man pages.
56
57	gpufw:	heavy firmware files used by graphical drivers.
58
59	man:	all of the man pages for the system, except those
60		listed elsewhere (e.g. in comp, games, misc, text).
61		Includes machine-dependent man pages for this CPU.
62
63	misc:	share/dict, share/doc, and the machine-dependent
64		man pages for other CPUs which happen to always
65		be installed.
66
67	modules:	stand/${MACHINE}/${OSRELEASE}/modules kernel modules
68
69	rescue:	Standalone system recovery tools.
70
71	tests:	unit, regression, integration and stress tests for the
72		whole system.
73
74	text:	text processing tools.  groff and all of its friends.
75		includes man pages for all bins contained within.
76
77Each set must contain "./etc/mtree/set.<set name>" within the mi
78list.  Failure to add this will break unprivileged builds.
79