Subject: Re: package format policy
To: Gregory McGarry <gmcgarry@lux.sprc.qut.edu.au>
From: Alistair Crooks <azcb0@amdahl.com>
List: current-users
Date: 11/21/1997 01:27:15
Greg,
> What is the policy on package locations and directory tree?
>
> Are all these necessary under /usr/pkg/?
>
> ./dict
> ./doc
> ./examples
> ./misc
> ./nls
> ./nls/C
> ./nls/da_DK.ISO_8859-1
> [...]
[These are all sub-dirs of {PREFIX}/share, BTW.]
share/dict is necessary, especially if we're going to get an ispell
package (we are).
share/doc is used for (on the box here) docs from bing, tkirc, and
unzip, and also (not committed yet) ddd and msql.
share/examples is used for amanda and gm4 packages.
share/misc is used for some rpm cruft
share/nls/* is used for the various language messages - tcsh puts
message files in here for: C, {Austrian, Swiss, Geman} types of
German, Greek, and {Belgian,Canadian,French,Swiss} types of
French.
> Some of the packages, particularly x11/, like to dump themselves in
> /usr/X11R6/. In this case they proceed to create all the directories
> listed above under /usr/X11R6.
There's a new mtree file describing the X11 tree
(src/etc/mtree/BSD.x11.dist), which is on the CVS trunk, but not the 1.3
release branch yet (see the commit messages below). It works fine for
me, so I shall ask the release engineers to pull up the file, and the
necessary modifications to src/share/mk/bsd.port.mk to use this file.
agc
Mon Nov 17 00:17:45 PST 1997
Update of /cvsroot/src/etc/mtree
In directory netbsd1:/var/slash-tmp/cvs-serv17202
Log Message:
Initial import of FreeBSD's X11 mtree file.
Status:
Vendor Tag: FREEBSD
Release Tags: FreeBSD-current-1997-11-17
N src/etc/mtree/BSD.x11.dist
No conflicts created by this import
agc
Wed Nov 19 08:41:22 PST 1997
Update of /cvsroot/src/share/mk
In directory netbsd1:/var/slash-tmp/cvs-serv8120
Modified Files:
bsd.port.mk
Log Message:
Eliminate a nasty and horrible kluge by using the BSD.x11.dist when
checking the directory tree for an X11 package.
> Definitely makes X11 upgrades difficult.
Sorry. Should be better soon,
Alistair