README revision 1.1
11.1ScgdFrom cgd@alpha.bostic.com Mon Jul 18 02:06:15 1994
21.1ScgdReceived: from alpha.bostic.com (alpha.BOSTIC.COM [198.3.132.5]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with SMTP id CAA18402 for <port-masters@sun-lamp.CS.Berkeley.EDU>; Mon, 18 Jul 1994 02:01:32 -0700
31.1ScgdReceived: by alpha.bostic.com; id AA06610; Mon, 18 Jul 1994 05:02:11 -0400
41.1ScgdMessage-Id: <9407180902.AA06610@alpha.bostic.com>
51.1ScgdTo: port-masters@sun-lamp.CS.Berkeley.EDU
61.1ScgdCc: cgd@alpha.bostic.com
71.1ScgdPrecedence: special-delivery
81.1ScgdX-Notice: Do not redistribute in any form without prior explicit
91.1Scgd          consent of the author.
101.1ScgdSubject: distribution sets, etc...
111.1ScgdDate: Mon, 18 Jul 1994 05:02:11 -0400
121.1ScgdFrom: "Chris G. Demetriou" <cgd@alpha.bostic.com>
131.1ScgdStatus: R
141.1Scgd
151.1Scgd[ this is also going in a README in the 'sets' directory... ]
161.1Scgd
171.1Scgdwell, i've finally sat down and started doing distribution set
181.1Scgdstuff in a "nice, machine-independent way."  Should have done
191.1Scgdit months ago, but too much other stuff going on then...
201.1Scgd
211.1Scgdanyway, grab ~cgd/sets.tar.gz -- it's three scripts, and a bunch
221.1Scgdof files.
231.1Scgd
241.1Scgdthe scripts should be run from the directory where they reside.
251.1Scgd
261.1Scgdmakeflist:	output the list of files that should be in a
271.1Scgd		distribution, according to the contents of the
281.1Scgd		'lists' directory.
291.1Scgd
301.1Scgdcheckflist:	check the file list (as internally generated
311.1Scgd		by makeflist) against the tree living in $DESTDIR.
321.1Scgd		(that tree should be made with 'make distribution'.)
331.1Scgd
341.1Scgdmaketars:	make tarballs of the various sets in the distribution,
351.1Scgd		based on the contents of the lists, the tree in
361.1Scgd		$DESTDIR, and put the tarballs in $RELEASEDIR.
371.1Scgd		Note that this script _doesn't_ create the 'secr'
381.1Scgd		distribution, because (for now) it requires
391.1Scgd		manual intervention to get the binaries right...
401.1Scgd		(i'll add another script to create that dist, later.)
411.1Scgd
421.1Scgdwhat's in 'lists':
431.1Scgd
441.1Scgdlists describing file sets.  There are two sets of lists per file
451.1Scgdset: machine dependent and machine-independent files. (there's
461.1Scgdalso another file in the 'man' dir, which is used by the 'man'
471.1Scgdand 'misc' sets, but that's explained later.)
481.1Scgd
491.1ScgdThere is one machine-independent file, named "mi".  There are
501.1ScgdN machine-dependent files (one per architecture), named "md.${ARCH}".
511.1Scgd
521.1Scgdthe sets are as follows:
531.1Scgd
541.1Scgd	secr:	security software -- the non-exportable bits, i.e.
551.1Scgd		those that actually use crypt, and have it compiled
561.1Scgd		in.
571.1Scgd
581.1Scgd	base:	the base binary set.  excludes everything described
591.1Scgd		below.
601.1Scgd
611.1Scgd	comp:	compiler tools.  All of the tools relating to C, C++,
621.1Scgd		and FORTRAN (yes, there are two!) that are in the
631.1Scgd		tree.  This includes includes, the linker, tool chain,
641.1Scgd		and the .a versions of the libraries.  (obviously,
651.1Scgd		base includes ldd, ld.so, and the shared versions.
661.1Scgd		base also includes 'cpp', because that's used by X11.)
671.1Scgd		includes the man pages for all the binaries contained
681.1Scgd		within.  Also, includes all library and system call
691.1Scgd		manual pages.
701.1Scgd
711.1Scgd	etc:	/etc, and associated files (/var/cron/tabs, /root,
721.1Scgd		etc.).  things that shouldn't be blindly reinstalled
731.1Scgd		on an upgrade.
741.1Scgd
751.1Scgd	games:	the games and their man pages.
761.1Scgd
771.1Scgd	man:	all of the man pages for the system, except those
781.1Scgd		listed elsewhere (e.g. in comp, games, misc, text).
791.1Scgd		Includes machine-dependent man pages for this CPU.
801.1Scgd
811.1Scgd	misc:	share/dict, share/doc, and the machine-dependent
821.1Scgd		man pages for other cpu's which happen to always
831.1Scgd		be installed.
841.1Scgd
851.1Scgd	text:	text processing tools.  groff and all of its friends.
861.1Scgd		includes man pages for all bins contained within.
871.1Scgd
881.1Scgd
891.1Scgdas noted, in addition to the "standard" files in each dir, there's
901.1Scgda file called 'md_share' in lists/man.  it's the list of man pages
911.1Scgdthat are installed from /usr/src/share, which are machine-dependent.
921.1Scgd(note that ones that are installed from elsewhere, and thus are
931.1Scgdinstalled on only one architecture, are listed in the md.${ARCH}
941.1Scgdfile.)  basically, it's grepped through, to see which of the
951.1Scgdmachine-dependent man pages that are always installed should go
961.1Scgdin the 'man' set, and which should go into the 'misc' set.
971.1Scgd
981.1Scgd
991.1ScgdI've made attempts to get the md files for the amiga, i386, hp300,
1001.1Scgdpc532, and sparc done.  I've not attempted the rest (though there
1011.1Scgdare empty files for all architectures except the da30, in the
1021.1Scgdvarious directories).  I think i got the amiga, i386, and sparc
1031.1Scgddone correctly, but i know that (because of weirdnesses in how
1041.1Scgdtheir last snapshots were built) i didn't get hp300 or pc532
1051.1Scgddone right.
1061.1Scgd
1071.1Scgdwhat you folks need to do:
1081.1Scgd
1091.1Scgdrun 'checkflist' on a tree that you've created with 'make
1101.1Scgddistribution'.  send me the output, and i'll take care of putting
1111.1Scgdstuff on the right lists for you.  In the future, you'll get
1121.1Scgdto do it yourselves, as you add programs and include files, but
1131.1Scgdi'd prefer to do it the first time (unless you really want to do it
1141.1Scgdyourself -- in that case, please ask me to check your suggestions
1151.1Scgdre: the appropriate sets for things...)  There should be a minimal
1161.1Scgdlist output by checkflist -- it should all be things that
1171.1Scgd_should_ be on your lsits, but aren't, i.e. machine-dependent
1181.1Scgdbinaries, man pages, and include files.
1191.1Scgd
1201.1ScgdAlso, please look through the lists, and tell me if you think
1211.1Scgdi've put anything in the wrong place.  i think i've
1221.1Scgdtaken care of all of the machine-dependence bugaboos, by
1231.1Scgddoing it for the N architectures, but i'm not _sure_...  8-)
1241.1Scgd
1251.1Scgd
1261.1Scgdthanks,
1271.1Scgd
1281.1Scgdchris
1291.1Scgd
130