NetBSD/external
joerg 2a95db84d8 When MKDEBUG is use, build LLVM with -g1 to significantly reduce debug
information. This still includes types and line tables, but skips e.g.
local variables and inline tracking.
2022-02-28 16:30:10 +00:00
..
amdgpu-firmware Add amdgpu firmware build goo (disabled) 2021-12-12 20:33:21 +00:00
apache2 When MKDEBUG is use, build LLVM with -g1 to significantly reduce debug 2022-02-28 16:30:10 +00:00
atheros
broadcom Make Raspberry PI 3 Model A+ use bwfm config for Model B+ 2021-02-09 11:57:20 +00:00
bsd explain CRON_WITHIN better. 2022-02-26 17:02:47 +00:00
cddl lockstat(4): KNF. No functional change intended. 2022-02-27 14:16:32 +00:00
gpl2 fix bug in the original code I copied from to scan_ffs 2022-01-20 14:46:06 +00:00
gpl3 fix lint 2021-12-15 13:29:14 +00:00
historical
ibm-public postfix: enable lint again 2021-12-25 13:30:42 +00:00
intel-fw-eula
intel-fw-public
lgpl3 libgmp: remove trailing whitespace 2021-12-07 19:14:05 +00:00
mit Do not assume we have a SYS_getrandom for the tools build. 2022-02-27 12:27:22 +00:00
mpl Add some more debugging to collect information about the sequence of events. 2022-01-30 19:49:30 +00:00
nvidia-firmware Don't install a symlink for when there's already a file. 2021-12-14 22:47:07 +00:00
ofl
public-domain Update to tzdata2021e (with much of 2020b still omitted) 2021-10-22 21:01:06 +00:00
realtek
zlib/pigz
Makefile Add amdgpu firmware build goo (disabled) 2021-12-12 20:33:21 +00:00
README

README

$NetBSD: README,v 1.18 2020/11/10 11:00:02 gson 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.

	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.

	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.

	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 <core@NetBSD.org> 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.