README revision 1.19 1 1.19 christos $NetBSD: README,v 1.19 2023/08/15 22:02:36 christos 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.18 gson
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.8 tsarna apache2 Apache 2.0 license.
45 1.9 christos http://www.opensource.org/licenses/apache2.0.php
46 1.8 tsarna
47 1.14 christos atheros Atheros License.
48 1.14 christos
49 1.19 christos broadcom Broadcom licenses for rpi firmware and bfwm. See
50 1.19 christos */dist/LICENSE.broadcom*
51 1.19 christos
52 1.5 joerg bsd BSD (or equivalent) licensed software, possibly with
53 1.5 joerg the "advertising clause".
54 1.9 christos http://www.opensource.org/licenses/bsd-license.php
55 1.9 christos
56 1.9 christos cddl Common Development and Distribution License (the sun
57 1.9 christos license which is based on the Mozilla Public License
58 1.9 christos version 1.1).
59 1.9 christos http://www.opensource.org/licenses/cddl1.php
60 1.1 lukem
61 1.5 joerg gpl2 GNU Public License, version 2 (or earlier).
62 1.9 christos http://www.opensource.org/licenses/gpl-2.0.php
63 1.9 christos
64 1.9 christos gpl3 GNU Public License, version 3.
65 1.9 christos http://www.opensource.org/licenses/gpl-3.0.html
66 1.9 christos
67 1.10 christos historical Lucent's old license:
68 1.10 christos http://www.opensource.org/licenses/historical.php
69 1.18 gson
70 1.9 christos ibm-public IBM's public license:
71 1.9 christos http://www.opensource.org/licenses/ibmpl.php
72 1.3 lukem
73 1.9 christos intel-fw-eula Intel firmware license with redistribution
74 1.5 joerg restricted to OEM.
75 1.4 mrg
76 1.5 joerg intel-fw-public Intel firmware license permitting redistribution with
77 1.7 wiz terms similar to BSD licensed software.
78 1.5 joerg
79 1.6 jmcneill intel-public Intel license permitting redistribution with
80 1.7 wiz terms similar to BSD licensed software.
81 1.6 jmcneill
82 1.19 christos lgpl2 GNU Lesser General Public License, version 2 (or earlier).
83 1.19 christos https://opensource.org/license/lgpl-2-1/
84 1.19 christos
85 1.19 christos lgpl3 GNU Lesser General Public License, version 3 (or earlier).
86 1.19 christos https://opensource.org/license/lgpl-3-0/
87 1.19 christos
88 1.5 joerg mit MIT (X11) style license.
89 1.9 christos http://www.opensource.org/licenses/mit-license.php
90 1.4 mrg
91 1.16 christos mpl Mozilla Public license.
92 1.16 christos https://opensource.org/licenses/MPL-2.0
93 1.16 christos
94 1.17 jmcneill nvidia-firmware NVIDIA firmware license permitting redistribution for
95 1.17 jmcneill use on operating systems distributed under the terms
96 1.17 jmcneill of an OSI-approved open source license.
97 1.17 jmcneill
98 1.19 christos ofl SIL Open Font License
99 1.19 christos https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
100 1.19 christos
101 1.13 joerg public-domain Non-license for code that has been explicitly put
102 1.13 joerg into the Public Domain.
103 1.13 joerg
104 1.15 riz realtek RealTek license.
105 1.15 riz
106 1.12 wiz zlib Zlib (BSD-like) license.
107 1.11 christos http://www.zlib.net/zlib_license.html
108 1.11 christos
109 1.3 lukem If a package has components covered by different licenses
110 1.3 lukem (for example, GPL2 and the LGPL), use the <license> subdirectory
111 1.3 lukem for the more restrictive license.
112 1.3 lukem
113 1.3 lukem If a package allows the choice of a license to use, we'll
114 1.3 lukem generally use the less restrictive license.
115 1.3 lukem
116 1.3 lukem If in doubt about where a package should be located, please
117 1.3 lukem contact <core (a] NetBSD.org> for advice.
118 1.3 lukem
119 1.3 lukem
120 1.3 lukem Migration Strategy:
121 1.3 lukem
122 1.1 lukem
123 1.1 lukem Eventually src/dist (and associated framework in other base source
124 1.1 lukem directories) and src/gnu will be migrated to this hierarchy.
125 1.1 lukem
126 1.1 lukem
127 1.1 lukem Maintenance Strategy:
128 1.1 lukem
129 1.1 lukem The sources under src/external/<license>/<package>/dist/ are
130 1.1 lukem generally a combination of a published distribution plus changes
131 1.1 lukem that we submit to the maintainers and that are not yet published
132 1.1 lukem by them.
133 1.1 lukem
134 1.1 lukem Make sure all changes made to the external sources are submitted
135 1.1 lukem to the appropriate maintainer, but only after coordinating with
136 1.1 lukem the NetBSD maintainers.
137