diff options
author | Elizabeth Flanagan <elizabeth.flanagan@intel.com> | 2011-12-03 15:48:29 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-08 15:24:32 +0000 |
commit | 5eeea9e17013c65f3a4dab1b8215ddf2785adb06 (patch) | |
tree | 50331fa1155eb73d9c47db27179f52598752c2dc /meta/recipes-extended | |
parent | cb91ef9310a2450650ec880be6f0fc3a6e2d4a23 (diff) | |
download | poky-5eeea9e17013c65f3a4dab1b8215ddf2785adb06.tar.gz |
OECore license fixes: meta/*
This is a quick audit of only the most obviously wrong licenses
found within OECore. These fixes fall into four areas:
- LICENSE field had incorrect format so that the parser choked
- LICENSE field has a license with no version
- LICENSE field was actually incorrect
- LICENSE field has an imaginary license that didn't exist
This fixes most of the LICENSE warnings thrown, along with my prior
commit adding additional licenses to common-licenses and additional
SPDXLICENSEMAP entries.
HOWEVER..... there is much to be done on the license front.
For a list of recipes with licenses that need obvious fixing see:
https://wiki.yoctoproject.org/wiki/License_Audit
That said, I would suggest another license audit as I've found
enough inconsistencies. A good suggestion is when in doubt, look at
how openSuse or Gentoo or Debian license the package.
(From OE-Core rev: 3083dd70b3a9fa01fcc3cf00373b05502505996e)
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/byacc/byacc_20110908.bb | 10 | ||||
-rw-r--r-- | meta/recipes-extended/bzip2/bzip2_1.0.6.bb | 4 | ||||
-rw-r--r-- | meta/recipes-extended/less/less_444.bb | 7 | ||||
-rw-r--r-- | meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb | 4 | ||||
-rw-r--r-- | meta/recipes-extended/unzip/unzip_6.0.bb | 4 | ||||
-rw-r--r-- | meta/recipes-extended/xinetd/xinetd_2.3.14.bb | 5 | ||||
-rw-r--r-- | meta/recipes-extended/zip/zip.inc | 2 | ||||
-rw-r--r-- | meta/recipes-extended/zip/zip_3.0.bb | 2 |
8 files changed, 24 insertions, 14 deletions
diff --git a/meta/recipes-extended/byacc/byacc_20110908.bb b/meta/recipes-extended/byacc/byacc_20110908.bb index 5969d0abef..5e01c25f72 100644 --- a/meta/recipes-extended/byacc/byacc_20110908.bb +++ b/meta/recipes-extended/byacc/byacc_20110908.bb | |||
@@ -1,5 +1,11 @@ | |||
1 | PR = "r0" | 1 | PR = "r1" |
2 | LICENSE="other-BSD" | 2 | |
3 | # Sigh. This is one of those places where everyone licenses it differently. Someone | ||
4 | # even apply UCB to it (Free/Net/OpenBSD). The maintainer states that: | ||
5 | # "I've found no reliable source which states that byacc must bear a UCB copyright." | ||
6 | # Setting to PD as this is what the upstream has it as. | ||
7 | |||
8 | LICENSE="PD" | ||
3 | LIC_FILES_CHKSUM = "file://package/debian/copyright;md5=4dc4c30f840a7203fb6edf20b3db849e" | 9 | LIC_FILES_CHKSUM = "file://package/debian/copyright;md5=4dc4c30f840a7203fb6edf20b3db849e" |
4 | require byacc.inc | 10 | require byacc.inc |
5 | 11 | ||
diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb index f5b9ac1279..14cd24097d 100644 --- a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb +++ b/meta/recipes-extended/bzip2/bzip2_1.0.6.bb | |||
@@ -4,9 +4,9 @@ Huffman coding. Compression is generally considerably better than that achieved | |||
4 | LZ77/LZ78-based compressors, and approaches the performance of the PPM family of statistical compressors." | 4 | LZ77/LZ78-based compressors, and approaches the performance of the PPM family of statistical compressors." |
5 | HOMEPAGE = "http://www.bzip.org/" | 5 | HOMEPAGE = "http://www.bzip.org/" |
6 | SECTION = "console/utils" | 6 | SECTION = "console/utils" |
7 | LICENSE = "bzip2" | 7 | LICENSE = "BSD-4-Clause" |
8 | LIC_FILES_CHKSUM = "file://LICENSE;beginline=8;endline=37;md5=40d9d1eb05736d1bfc86cfdd9106e6b2" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;beginline=8;endline=37;md5=40d9d1eb05736d1bfc86cfdd9106e6b2" |
9 | PR = "r3" | 9 | PR = "r4" |
10 | 10 | ||
11 | SRC_URI = "http://www.bzip.org/${PV}/${BPN}-${PV}.tar.gz \ | 11 | SRC_URI = "http://www.bzip.org/${PV}/${BPN}-${PV}.tar.gz \ |
12 | file://configure.ac \ | 12 | file://configure.ac \ |
diff --git a/meta/recipes-extended/less/less_444.bb b/meta/recipes-extended/less/less_444.bb index c78dbaa566..f198692724 100644 --- a/meta/recipes-extended/less/less_444.bb +++ b/meta/recipes-extended/less/less_444.bb | |||
@@ -7,11 +7,14 @@ SECTION = "console/utils" | |||
7 | 7 | ||
8 | # (GPLv2+ (<< 418), GPLv3+ (>= 418)) | less | 8 | # (GPLv2+ (<< 418), GPLv3+ (>= 418)) | less |
9 | # less is a 2-clause BSD-like permissive license | 9 | # less is a 2-clause BSD-like permissive license |
10 | LICENSE = "GPLv3+ | less" | 10 | # Reading LICENSE and COPYING indicate that GPL-3+ is suffient. |
11 | # openSuse .spec and Debian seem to agree here. setting to GPL-3+ | ||
12 | |||
13 | LICENSE = "GPLv3+" | ||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ |
12 | file://LICENSE;md5=1237c0f825bb36122b0b2b486ffbe6be" | 15 | file://LICENSE;md5=1237c0f825bb36122b0b2b486ffbe6be" |
13 | DEPENDS = "ncurses" | 16 | DEPENDS = "ncurses" |
14 | PR = "r0" | 17 | PR = "r1" |
15 | 18 | ||
16 | SRC_URI = "http://www.greenwoodsoftware.com/${BPN}/${BPN}-${PV}.tar.gz" | 19 | SRC_URI = "http://www.greenwoodsoftware.com/${BPN}/${BPN}-${PV}.tar.gz" |
17 | 20 | ||
diff --git a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb index 46d9675cb1..985e8484a1 100644 --- a/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb +++ b/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb | |||
@@ -3,9 +3,9 @@ DESCRIPTION = "Tools for monitoring and filtering incoming requests for tcp \ | |||
3 | services." | 3 | services." |
4 | SECTION = "console/network" | 4 | SECTION = "console/network" |
5 | 5 | ||
6 | LICENSE = "tcp-wrappers" | 6 | LICENSE = "BSD" |
7 | LIC_FILES_CHKSUM = "file://DISCLAIMER;md5=071bd69cb78b18888ea5e3da5c3127fa" | 7 | LIC_FILES_CHKSUM = "file://DISCLAIMER;md5=071bd69cb78b18888ea5e3da5c3127fa" |
8 | PR ="r7" | 8 | PR ="r8" |
9 | 9 | ||
10 | 10 | ||
11 | PACKAGES = "${PN}-dbg libwrap libwrap-doc libwrap-dev ${PN} ${PN}-doc" | 11 | PACKAGES = "${PN}-dbg libwrap libwrap-doc libwrap-dev ${PN} ${PN}-doc" |
diff --git a/meta/recipes-extended/unzip/unzip_6.0.bb b/meta/recipes-extended/unzip/unzip_6.0.bb index b9eff435b1..79e450de1b 100644 --- a/meta/recipes-extended/unzip/unzip_6.0.bb +++ b/meta/recipes-extended/unzip/unzip_6.0.bb | |||
@@ -1,10 +1,10 @@ | |||
1 | DESCRIPTION = "A (de)compression library for the ZIP format" | 1 | DESCRIPTION = "A (de)compression library for the ZIP format" |
2 | HOMEPAGE = "http://www.info-zip.org" | 2 | HOMEPAGE = "http://www.info-zip.org" |
3 | SECTION = "console/utils" | 3 | SECTION = "console/utils" |
4 | LICENSE = "Info-ZIP" | 4 | LICENSE = "BSD-3-Clause" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=94caec5a51ef55ef711ee4e8b1c69e29" |
6 | PE = "1" | 6 | PE = "1" |
7 | PR = "r1" | 7 | PR = "r2" |
8 | 8 | ||
9 | SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz \ | 9 | SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz \ |
10 | file://avoid-strip.patch" | 10 | file://avoid-strip.patch" |
diff --git a/meta/recipes-extended/xinetd/xinetd_2.3.14.bb b/meta/recipes-extended/xinetd/xinetd_2.3.14.bb index 159cb2cf26..26ba78f36c 100644 --- a/meta/recipes-extended/xinetd/xinetd_2.3.14.bb +++ b/meta/recipes-extended/xinetd/xinetd_2.3.14.bb | |||
@@ -2,11 +2,12 @@ DESCRIPTION = "Highly configurable, modular and secure inetd" | |||
2 | HOMEPAGE = "http://www.xinetd.org" | 2 | HOMEPAGE = "http://www.xinetd.org" |
3 | 3 | ||
4 | # xinetd is a BSD-like license | 4 | # xinetd is a BSD-like license |
5 | LICENSE = "xinetd" | 5 | # Apple and Gentoo say BSD here. |
6 | LICENSE = "BSD" | ||
6 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8" | 7 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8" |
7 | 8 | ||
8 | DEPENDS = "" | 9 | DEPENDS = "" |
9 | PR ="r0" | 10 | PR ="r1" |
10 | 11 | ||
11 | SRC_URI = "http://www.xinetd.org/xinetd-${PV}.tar.gz \ | 12 | SRC_URI = "http://www.xinetd.org/xinetd-${PV}.tar.gz \ |
12 | file://xinetd.init \ | 13 | file://xinetd.init \ |
diff --git a/meta/recipes-extended/zip/zip.inc b/meta/recipes-extended/zip/zip.inc index 8cce146b18..a3bbc934e0 100644 --- a/meta/recipes-extended/zip/zip.inc +++ b/meta/recipes-extended/zip/zip.inc | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "Archiver for .zip files" | |||
2 | HOMEPAGE = "http://www.info-zip.org" | 2 | HOMEPAGE = "http://www.info-zip.org" |
3 | SECTION = "console/utils" | 3 | SECTION = "console/utils" |
4 | 4 | ||
5 | LICENSE = "Info-ZIP" | 5 | LICENSE = "BSD-3-Clause" |
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=04d43c5d70b496c032308106e26ae17d" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=04d43c5d70b496c032308106e26ae17d" |
7 | 7 | ||
8 | SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/zip${@d.getVar('PV',1).replace('.', '')}.tgz" | 8 | SRC_URI = "ftp://ftp.info-zip.org/pub/infozip/src/zip${@d.getVar('PV',1).replace('.', '')}.tgz" |
diff --git a/meta/recipes-extended/zip/zip_3.0.bb b/meta/recipes-extended/zip/zip_3.0.bb index b009c24fbc..12380715dc 100644 --- a/meta/recipes-extended/zip/zip_3.0.bb +++ b/meta/recipes-extended/zip/zip_3.0.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require zip.inc | 1 | require zip.inc |
2 | 2 | ||
3 | PR="r0" | 3 | PR="r1" |
4 | 4 | ||
5 | # zip-2.32 still uses directory name of zip-2.30 | 5 | # zip-2.32 still uses directory name of zip-2.30 |
6 | S = "${WORKDIR}/zip30" | 6 | S = "${WORKDIR}/zip30" |