README revision 1.4 1 1.4 mrg $NetBSD: README,v 1.4 2008/07/29 04:54:58 mrg Exp $
2 1.1 lukem
3 1.1 lukem Organization of Sources:
4 1.1 lukem
5 1.1 lukem This directory hierarchy is using an organization that separates
6 1.1 lukem source for programs that we have obtained from external third
7 1.2 minskim parties (where NetBSD is not the primary maintainer) from the
8 1.1 lukem system source.
9 1.1 lukem
10 1.1 lukem The hierarchy is grouped by license, and then package per license,
11 1.1 lukem and is organized as follows:
12 1.1 lukem
13 1.1 lukem external/
14 1.1 lukem
15 1.1 lukem Makefile
16 1.1 lukem Descend into the license sub-directories.
17 1.1 lukem
18 1.1 lukem <license>/
19 1.1 lukem Per-license sub-directories.
20 1.1 lukem
21 1.1 lukem Makefile
22 1.1 lukem Descend into the package sub-directories.
23 1.1 lukem
24 1.1 lukem <package>/
25 1.1 lukem Per-package sub-directories.
26 1.1 lukem
27 1.1 lukem Makefile
28 1.1 lukem Build the package.
29 1.1 lukem
30 1.1 lukem dist/
31 1.1 lukem The third-party source for a given package.
32 1.1 lukem
33 1.1 lukem bin/
34 1.1 lukem lib/
35 1.1 lukem sbin/
36 1.1 lukem BSD makefiles "reach over" from these into
37 1.1 lukem "../dist/".
38 1.1 lukem
39 1.1 lukem This arrangement allows for packages to be easily disabled or
40 1.3 lukem excised as necessary, either on a per-license or per-package basis.
41 1.1 lukem
42 1.1 lukem The licenses currently used are:
43 1.1 lukem
44 1.1 lukem bsd BSD (or equivalent) licensed software, possibly with
45 1.1 lukem the "advertising clause".
46 1.1 lukem
47 1.3 lukem gpl2 GNU Public License, version 2 (or earlier).
48 1.3 lukem
49 1.4 mrg
50 1.4 mrg mit MIT (X11) style license.
51 1.4 mrg
52 1.3 lukem If a package has components covered by different licenses
53 1.3 lukem (for example, GPL2 and the LGPL), use the <license> subdirectory
54 1.3 lukem for the more restrictive license.
55 1.3 lukem
56 1.3 lukem If a package allows the choice of a license to use, we'll
57 1.3 lukem generally use the less restrictive license.
58 1.3 lukem
59 1.3 lukem If in doubt about where a package should be located, please
60 1.3 lukem contact <core (a] NetBSD.org> for advice.
61 1.3 lukem
62 1.3 lukem
63 1.3 lukem Migration Strategy:
64 1.3 lukem
65 1.1 lukem
66 1.1 lukem Eventually src/dist (and associated framework in other base source
67 1.1 lukem directories) and src/gnu will be migrated to this hierarchy.
68 1.1 lukem
69 1.1 lukem
70 1.1 lukem Maintenance Strategy:
71 1.1 lukem
72 1.1 lukem The sources under src/external/<license>/<package>/dist/ are
73 1.1 lukem generally a combination of a published distribution plus changes
74 1.1 lukem that we submit to the maintainers and that are not yet published
75 1.1 lukem by them.
76 1.1 lukem
77 1.1 lukem Make sure all changes made to the external sources are submitted
78 1.1 lukem to the appropriate maintainer, but only after coordinating with
79 1.1 lukem the NetBSD maintainers.
80