NetBSD/external
jmcneill e578db34f0 Need sys/atomic.h on NetBSD 2019-12-01 20:26:31 +00:00
..
apache2 Use -fno-strict-aliasing unconditionally for the cross compiler. 2019-11-28 23:01:22 +00:00
atheros introduce MKFIRMWARE that controls where (most) of the contents 2018-05-31 05:27:45 +00:00
broadcom Move bcm43xx firmware back to /usr/libdata/firmware. 2019-07-24 06:53:42 +00:00
bsd Fix always false test (typo). Note by joerg@ 2019-11-16 21:41:02 +00:00
cddl Need sys/atomic.h on NetBSD 2019-12-01 20:26:31 +00:00
gpl2 Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
gpl3 Fix 'nm /dev/ksyms' (noticed by ryo). 2019-11-30 22:50:11 +00:00
historical Add translators for \v and \a per posix. 2019-08-01 13:17:42 +00:00
ibm-public Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
intel-fw-eula introduce MKFIRMWARE that controls where (most) of the contents 2018-05-31 05:27:45 +00:00
intel-fw-public introduce MKFIRMWARE that controls where (most) of the contents 2018-05-31 05:27:45 +00:00
lgpl3 remove obsolete comments. 2019-06-01 08:29:16 +00:00
mit Restrict -Wl,-z,defs to x86 and aarch64 for now to avoid global build 2019-11-20 06:23:31 +00:00
mpl match ifdefs with stats.c atomic selection 2019-11-28 00:18:36 +00:00
nvidia-firmware don't descend into gm20x unless MKNOUVEAUFIRMWARE != "no" 2019-07-20 20:49:06 +00:00
public-domain Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
realtek introduce MKFIRMWARE that controls where (most) of the contents 2018-05-31 05:27:45 +00:00
zlib/pigz introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
Makefile add mpl 2018-04-07 22:39:31 +00:00
README add nvidia-firmware license 2018-04-08 16:57:07 +00:00

README

$NetBSD: README,v 1.17 2018/04/08 16:57:07 jmcneill 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.