2010-10-25 03:38:06 +04:00
|
|
|
$NetBSD: README,v 1.12 2010/10/24 23:38:06 wiz Exp $
|
2008-05-22 16:44:26 +04:00
|
|
|
|
|
|
|
Organization of Sources:
|
|
|
|
|
|
|
|
This directory hierarchy is using an organization that separates
|
|
|
|
source for programs that we have obtained from external third
|
2008-07-06 03:52:33 +04:00
|
|
|
parties (where NetBSD is not the primary maintainer) from the
|
2008-05-22 16:44:26 +04:00
|
|
|
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
|
2008-07-15 17:32:35 +04:00
|
|
|
excised as necessary, either on a per-license or per-package basis.
|
2008-05-22 16:44:26 +04:00
|
|
|
|
|
|
|
The licenses currently used are:
|
|
|
|
|
2009-10-24 07:55:27 +04:00
|
|
|
apache2 Apache 2.0 license.
|
2010-05-01 23:51:33 +04:00
|
|
|
http://www.opensource.org/licenses/apache2.0.php
|
2009-10-24 07:55:27 +04:00
|
|
|
|
2008-10-30 03:27:31 +03:00
|
|
|
bsd BSD (or equivalent) licensed software, possibly with
|
|
|
|
the "advertising clause".
|
2010-05-01 23:51:33 +04:00
|
|
|
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
|
2008-05-22 16:44:26 +04:00
|
|
|
|
2008-10-30 03:27:31 +03:00
|
|
|
gpl2 GNU Public License, version 2 (or earlier).
|
2010-05-01 23:51:33 +04:00
|
|
|
http://www.opensource.org/licenses/gpl-2.0.php
|
|
|
|
|
|
|
|
gpl3 GNU Public License, version 3.
|
|
|
|
http://www.opensource.org/licenses/gpl-3.0.html
|
|
|
|
|
2010-08-26 20:33:09 +04:00
|
|
|
historical Lucent's old license:
|
|
|
|
http://www.opensource.org/licenses/historical.php
|
|
|
|
|
2010-05-01 23:51:33 +04:00
|
|
|
ibm-public IBM's public license:
|
|
|
|
http://www.opensource.org/licenses/ibmpl.php
|
2008-07-15 17:32:35 +04:00
|
|
|
|
2010-05-01 23:51:33 +04:00
|
|
|
intel-fw-eula Intel firmware license with redistribution
|
2008-10-30 03:27:31 +03:00
|
|
|
restricted to OEM.
|
2008-07-29 08:54:58 +04:00
|
|
|
|
2008-10-30 03:27:31 +03:00
|
|
|
intel-fw-public Intel firmware license permitting redistribution with
|
2009-08-19 01:30:31 +04:00
|
|
|
terms similar to BSD licensed software.
|
2008-10-30 03:27:31 +03:00
|
|
|
|
2009-08-18 20:53:29 +04:00
|
|
|
intel-public Intel license permitting redistribution with
|
2009-08-19 01:30:31 +04:00
|
|
|
terms similar to BSD licensed software.
|
2009-08-18 20:53:29 +04:00
|
|
|
|
2008-10-30 03:27:31 +03:00
|
|
|
mit MIT (X11) style license.
|
2010-05-01 23:51:33 +04:00
|
|
|
http://www.opensource.org/licenses/mit-license.php
|
2008-07-29 08:54:58 +04:00
|
|
|
|
2010-10-25 03:38:06 +04:00
|
|
|
zlib Zlib (BSD-like) license.
|
2010-10-24 23:23:22 +04:00
|
|
|
http://www.zlib.net/zlib_license.html
|
|
|
|
|
2008-07-15 17:32:35 +04:00
|
|
|
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 <core@NetBSD.org> for advice.
|
|
|
|
|
|
|
|
|
|
|
|
Migration Strategy:
|
|
|
|
|
2008-05-22 16:44:26 +04:00
|
|
|
|
|
|
|
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.
|