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