-
Notifications
You must be signed in to change notification settings - Fork 82
/
README
136 lines (91 loc) · 3.8 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
$NetBSD: README,v 1.19 2023/08/15 22:02:36 christos Exp $
Organization of Sources:
This directory hierarchy is using an organization that separates
source for programs that we have obtained from external third
parties (where NetBSD is not the primary maintainer) from the
system source.
The hierarchy is grouped by license, and then package per license,
and is organized as follows:
external/
Makefile
Descend into the license sub-directories.
<license>/
Per-license sub-directories.
Makefile
Descend into the package sub-directories.
<package>/
Per-package sub-directories.
Makefile
Build the package.
dist/
The third-party source for a given package.
bin/
lib/
sbin/
BSD makefiles "reach over" from these into
"../dist/".
This arrangement allows for packages to be easily disabled or
excised as necessary, either on a per-license or per-package basis.
The licenses currently used are:
apache2 Apache 2.0 license.
http://www.opensource.org/licenses/apache2.0.php
atheros Atheros License.
broadcom Broadcom licenses for rpi firmware and bfwm. See
*/dist/LICENSE.broadcom*
bsd BSD (or equivalent) licensed software, possibly with
the "advertising clause".
http://www.opensource.org/licenses/bsd-license.php
cddl Common Development and Distribution License (the sun
license which is based on the Mozilla Public License
version 1.1).
http://www.opensource.org/licenses/cddl1.php
gpl2 GNU Public License, version 2 (or earlier).
http://www.opensource.org/licenses/gpl-2.0.php
gpl3 GNU Public License, version 3.
http://www.opensource.org/licenses/gpl-3.0.html
historical Lucent's old license:
http://www.opensource.org/licenses/historical.php
ibm-public IBM's public license:
http://www.opensource.org/licenses/ibmpl.php
intel-fw-eula Intel firmware license with redistribution
restricted to OEM.
intel-fw-public Intel firmware license permitting redistribution with
terms similar to BSD licensed software.
intel-public Intel license permitting redistribution with
terms similar to BSD licensed software.
lgpl2 GNU Lesser General Public License, version 2 (or earlier).
https://opensource.org/license/lgpl-2-1/
lgpl3 GNU Lesser General Public License, version 3 (or earlier).
https://opensource.org/license/lgpl-3-0/
mit MIT (X11) style license.
http://www.opensource.org/licenses/mit-license.php
mpl Mozilla Public license.
https://opensource.org/licenses/MPL-2.0
nvidia-firmware NVIDIA firmware license permitting redistribution for
use on operating systems distributed under the terms
of an OSI-approved open source license.
ofl SIL Open Font License
https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
public-domain Non-license for code that has been explicitly put
into the Public Domain.
realtek RealTek license.
zlib Zlib (BSD-like) license.
http://www.zlib.net/zlib_license.html
If a package has components covered by different licenses
(for example, GPL2 and the LGPL), use the <license> subdirectory
for the more restrictive license.
If a package allows the choice of a license to use, we'll
generally use the less restrictive license.
If in doubt about where a package should be located, please
contact <[email protected]> for advice.
Migration Strategy:
Eventually src/dist (and associated framework in other base source
directories) and src/gnu will be migrated to this hierarchy.
Maintenance Strategy:
The sources under src/external/<license>/<package>/dist/ are
generally a combination of a published distribution plus changes
that we submit to the maintainers and that are not yet published
by them.
Make sure all changes made to the external sources are submitted
to the appropriate maintainer, but only after coordinating with
the NetBSD maintainers.