Home | History | Annotate | Line # | Download | only in sets
README revision 1.2
      1  1.2  perry #	$NetBSD: README,v 1.2 1998/01/09 18:56:50 perry Exp $
      2  1.2  perry 
      3  1.1    cgd From cgd (a] alpha.bostic.com Mon Jul 18 02:06:15 1994
      4  1.1    cgd Received: 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 (a] sun-lamp.CS.Berkeley.EDU>; Mon, 18 Jul 1994 02:01:32 -0700
      5  1.1    cgd Received: by alpha.bostic.com; id AA06610; Mon, 18 Jul 1994 05:02:11 -0400
      6  1.1    cgd Message-Id: <9407180902.AA06610 (a] alpha.bostic.com>
      7  1.1    cgd To: port-masters (a] sun-lamp.CS.Berkeley.EDU
      8  1.1    cgd Cc: cgd (a] alpha.bostic.com
      9  1.1    cgd Precedence: special-delivery
     10  1.1    cgd X-Notice: Do not redistribute in any form without prior explicit
     11  1.1    cgd           consent of the author.
     12  1.1    cgd Subject: distribution sets, etc...
     13  1.1    cgd Date: Mon, 18 Jul 1994 05:02:11 -0400
     14  1.1    cgd From: "Chris G. Demetriou" <cgd (a] alpha.bostic.com>
     15  1.1    cgd Status: R
     16  1.1    cgd 
     17  1.1    cgd [ this is also going in a README in the 'sets' directory... ]
     18  1.1    cgd 
     19  1.1    cgd well, i've finally sat down and started doing distribution set
     20  1.1    cgd stuff in a "nice, machine-independent way."  Should have done
     21  1.1    cgd it months ago, but too much other stuff going on then...
     22  1.1    cgd 
     23  1.1    cgd anyway, grab ~cgd/sets.tar.gz -- it's three scripts, and a bunch
     24  1.1    cgd of files.
     25  1.1    cgd 
     26  1.1    cgd the scripts should be run from the directory where they reside.
     27  1.1    cgd 
     28  1.1    cgd makeflist:	output the list of files that should be in a
     29  1.1    cgd 		distribution, according to the contents of the
     30  1.1    cgd 		'lists' directory.
     31  1.1    cgd 
     32  1.1    cgd checkflist:	check the file list (as internally generated
     33  1.1    cgd 		by makeflist) against the tree living in $DESTDIR.
     34  1.1    cgd 		(that tree should be made with 'make distribution'.)
     35  1.1    cgd 
     36  1.1    cgd maketars:	make tarballs of the various sets in the distribution,
     37  1.1    cgd 		based on the contents of the lists, the tree in
     38  1.1    cgd 		$DESTDIR, and put the tarballs in $RELEASEDIR.
     39  1.1    cgd 		Note that this script _doesn't_ create the 'secr'
     40  1.1    cgd 		distribution, because (for now) it requires
     41  1.1    cgd 		manual intervention to get the binaries right...
     42  1.1    cgd 		(i'll add another script to create that dist, later.)
     43  1.1    cgd 
     44  1.1    cgd what's in 'lists':
     45  1.1    cgd 
     46  1.1    cgd lists describing file sets.  There are two sets of lists per file
     47  1.1    cgd set: machine dependent and machine-independent files. (there's
     48  1.1    cgd also another file in the 'man' dir, which is used by the 'man'
     49  1.1    cgd and 'misc' sets, but that's explained later.)
     50  1.1    cgd 
     51  1.1    cgd There is one machine-independent file, named "mi".  There are
     52  1.1    cgd N machine-dependent files (one per architecture), named "md.${ARCH}".
     53  1.1    cgd 
     54  1.1    cgd the sets are as follows:
     55  1.1    cgd 
     56  1.1    cgd 	secr:	security software -- the non-exportable bits, i.e.
     57  1.1    cgd 		those that actually use crypt, and have it compiled
     58  1.1    cgd 		in.
     59  1.1    cgd 
     60  1.1    cgd 	base:	the base binary set.  excludes everything described
     61  1.1    cgd 		below.
     62  1.1    cgd 
     63  1.1    cgd 	comp:	compiler tools.  All of the tools relating to C, C++,
     64  1.1    cgd 		and FORTRAN (yes, there are two!) that are in the
     65  1.1    cgd 		tree.  This includes includes, the linker, tool chain,
     66  1.1    cgd 		and the .a versions of the libraries.  (obviously,
     67  1.1    cgd 		base includes ldd, ld.so, and the shared versions.
     68  1.1    cgd 		base also includes 'cpp', because that's used by X11.)
     69  1.1    cgd 		includes the man pages for all the binaries contained
     70  1.1    cgd 		within.  Also, includes all library and system call
     71  1.1    cgd 		manual pages.
     72  1.1    cgd 
     73  1.1    cgd 	etc:	/etc, and associated files (/var/cron/tabs, /root,
     74  1.1    cgd 		etc.).  things that shouldn't be blindly reinstalled
     75  1.1    cgd 		on an upgrade.
     76  1.1    cgd 
     77  1.1    cgd 	games:	the games and their man pages.
     78  1.1    cgd 
     79  1.1    cgd 	man:	all of the man pages for the system, except those
     80  1.1    cgd 		listed elsewhere (e.g. in comp, games, misc, text).
     81  1.1    cgd 		Includes machine-dependent man pages for this CPU.
     82  1.1    cgd 
     83  1.1    cgd 	misc:	share/dict, share/doc, and the machine-dependent
     84  1.1    cgd 		man pages for other cpu's which happen to always
     85  1.1    cgd 		be installed.
     86  1.1    cgd 
     87  1.1    cgd 	text:	text processing tools.  groff and all of its friends.
     88  1.1    cgd 		includes man pages for all bins contained within.
     89  1.1    cgd 
     90  1.1    cgd 
     91  1.1    cgd as noted, in addition to the "standard" files in each dir, there's
     92  1.1    cgd a file called 'md_share' in lists/man.  it's the list of man pages
     93  1.1    cgd that are installed from /usr/src/share, which are machine-dependent.
     94  1.1    cgd (note that ones that are installed from elsewhere, and thus are
     95  1.1    cgd installed on only one architecture, are listed in the md.${ARCH}
     96  1.1    cgd file.)  basically, it's grepped through, to see which of the
     97  1.1    cgd machine-dependent man pages that are always installed should go
     98  1.1    cgd in the 'man' set, and which should go into the 'misc' set.
     99  1.1    cgd 
    100  1.1    cgd 
    101  1.1    cgd I've made attempts to get the md files for the amiga, i386, hp300,
    102  1.1    cgd pc532, and sparc done.  I've not attempted the rest (though there
    103  1.1    cgd are empty files for all architectures except the da30, in the
    104  1.1    cgd various directories).  I think i got the amiga, i386, and sparc
    105  1.1    cgd done correctly, but i know that (because of weirdnesses in how
    106  1.1    cgd their last snapshots were built) i didn't get hp300 or pc532
    107  1.1    cgd done right.
    108  1.1    cgd 
    109  1.1    cgd what you folks need to do:
    110  1.1    cgd 
    111  1.1    cgd run 'checkflist' on a tree that you've created with 'make
    112  1.1    cgd distribution'.  send me the output, and i'll take care of putting
    113  1.1    cgd stuff on the right lists for you.  In the future, you'll get
    114  1.1    cgd to do it yourselves, as you add programs and include files, but
    115  1.1    cgd i'd prefer to do it the first time (unless you really want to do it
    116  1.1    cgd yourself -- in that case, please ask me to check your suggestions
    117  1.1    cgd re: the appropriate sets for things...)  There should be a minimal
    118  1.1    cgd list output by checkflist -- it should all be things that
    119  1.1    cgd _should_ be on your lsits, but aren't, i.e. machine-dependent
    120  1.1    cgd binaries, man pages, and include files.
    121  1.1    cgd 
    122  1.1    cgd Also, please look through the lists, and tell me if you think
    123  1.1    cgd i've put anything in the wrong place.  i think i've
    124  1.1    cgd taken care of all of the machine-dependence bugaboos, by
    125  1.1    cgd doing it for the N architectures, but i'm not _sure_...  8-)
    126  1.1    cgd 
    127  1.1    cgd 
    128  1.1    cgd thanks,
    129  1.1    cgd 
    130  1.1    cgd chris
    131  1.1    cgd 
    132