From 73db51bf007b5b52cb33021bf08dbe5eca578da7 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Thu, 20 Aug 2020 23:06:33 +0100 Subject: [PATCH 1/8] wget: add license Sources: - https://www.gnu.org/software/wget/ > GNU Wget is distributed under the GNU General Public License. - https://git.savannah.gnu.org/cgit/wget.git/tree/README > This program is free software; you can redistribute it and/or modify it > under the terms of the GNU General Public License as published by the > Free Software Foundation; either version 3 of the License, > or (at your option) any later version. --- Formula/wget.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/wget.rb b/Formula/wget.rb index 7bd50731aba064..c9643a283f70fd 100644 --- a/Formula/wget.rb +++ b/Formula/wget.rb @@ -3,6 +3,7 @@ class Wget < Formula homepage "https://www.gnu.org/software/wget/" url "https://ftp.gnu.org/gnu/wget/wget-1.20.3.tar.gz" sha256 "31cccfc6630528db1c8e3a06f6decf2a370060b982841cfab2b8677400a5092e" + license "GPL-3.0-or-later" revision 2 livecheck do From 1d6b9e20b7a15a1caaffbee158b40b30b883e8cc Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Wed, 9 Sep 2020 10:12:02 +0100 Subject: [PATCH 2/8] perl: fix license to include GPL Source: - https://dev.perl.org/licenses/ > Perl5 (...) is free software; > you can redistribute it and/or modify it under the terms of either: > a) the GNU General Public License as published by the Free Software Foundation; > either version 1, or (at your option) any later version, or > b) the "Artistic License". --- Formula/perl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/perl.rb b/Formula/perl.rb index 9d9571e45ac1e1..9fc95b438c0d05 100644 --- a/Formula/perl.rb +++ b/Formula/perl.rb @@ -3,7 +3,7 @@ class Perl < Formula homepage "https://www.perl.org/" url "https://www.cpan.org/src/5.0/perl-5.32.0.tar.xz" sha256 "6f436b447cf56d22464f980fac1916e707a040e96d52172984c5d184c09b859b" - license "Artistic-1.0-Perl" + license any_of: ["Artistic-1.0-Perl", "GPL-1.0-or-later"] head "https://github.com/perl/perl5.git", branch: "blead" livecheck do From 7aa57155221ba2e9a75625d103259a4ff9527bff Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Thu, 20 Aug 2020 23:15:08 +0100 Subject: [PATCH 3/8] exiftool: add license Sources: - https://exiftool.org/#license > This is free software; you can redistribute it and/or modify it > under the same terms as Perl itself. - https://dev.perl.org/licenses/ > Perl5 (...) is free software; > you can redistribute it and/or modify it under the terms of either: > a) the GNU General Public License as published by the Free Software Foundation; > either version 1, or (at your option) any later version, or > b) the "Artistic License". --- Formula/exiftool.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/exiftool.rb b/Formula/exiftool.rb index 6863caf51a0b69..b161f216800c1b 100644 --- a/Formula/exiftool.rb +++ b/Formula/exiftool.rb @@ -5,6 +5,7 @@ class Exiftool < Formula # https://exiftool.org/history.html url "https://exiftool.org/Image-ExifTool-12.00.tar.gz" sha256 "d0792cc94ab58a8b3d81b18ccdb8b43848c8fb901b5b7caecdcb68689c6c855a" + license any_of: ["Artistic-1.0-Perl", "GPL-1.0-or-later"] livecheck do url "https://exiftool.org/history.html" From 5cf764883ed5464945a729d2d46480410dc43d87 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Thu, 20 Aug 2020 23:19:20 +0100 Subject: [PATCH 4/8] less: add license Sources: - https://github.com/gwsw/less/blob/master/COPYING - https://github.com/gwsw/less/blob/master/LICENSE - https://github.com/gwsw/less/blob/master/README.VER: > This program is free software. > You may redistribute it and/or modify it under the terms of either: > 1. The GNU General Public License, as published by the Free Software > Foundation; either version 3, or (at your option) any later version. > A copy of this license is in the file COPYING. > or > 2. The Less License, in the file LICENSE. Note about the Less License: The less project is dual-licensed, but the Less License lacks a SPDX identifier. It matches the BSD-2-Clause nearly exactly, but changes the second clause from: > Redistributions in binary form must reproduce the above copyright notice, > this list of conditions and the following disclaimer > in the documentation and/or other materials provided with the distribution. to simply: > Redistributions in binary form must reproduce the above copyright notice > in the documentation and/or other materials provided with the distribution. Notice how "this list of conditions and the following disclaimer" was removed from the clause, so the legal obligations are slightly different If eventually the Less License gets an SPDX identifier, we might change the formula's license expression to include it, but at this point we are unable to represent it accurately, so only the GPL is mentioned (which is allowed in a dual-licensing context). --- Formula/less.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/less.rb b/Formula/less.rb index d5a63a71492a84..750bde064e8a03 100644 --- a/Formula/less.rb +++ b/Formula/less.rb @@ -3,6 +3,7 @@ class Less < Formula homepage "http://www.greenwoodsoftware.com/less/index.html" url "http://www.greenwoodsoftware.com/less/less-551.tar.gz" sha256 "ff165275859381a63f19135a8f1f6c5a194d53ec3187f94121ecd8ef0795fe3d" + license "GPL-3.0-or-later" livecheck do url :homepage From 57f98905cfbeff9cb7544e82c87ace8916b19669 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Thu, 20 Aug 2020 23:29:00 +0100 Subject: [PATCH 5/8] speex: add license Sources: - https://www.xiph.org/licenses/bsd/speex/ - https://github.com/xiph/speex/blob/master/COPYING --- Formula/speex.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/speex.rb b/Formula/speex.rb index f5ccfb8cac84c5..58978092110078 100644 --- a/Formula/speex.rb +++ b/Formula/speex.rb @@ -3,6 +3,7 @@ class Speex < Formula homepage "https://speex.org/" url "https://downloads.xiph.org/releases/speex/speex-1.2.0.tar.gz" sha256 "eaae8af0ac742dc7d542c9439ac72f1f385ce838392dc849cae4536af9210094" + license "BSD-3-Clause" livecheck do url "https://ftp.osuosl.org/pub/xiph/releases/speex/?C=M&O=D" From 6a7c3aa3ab2cd299946844517cdd58c357d3e178 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Wed, 9 Sep 2020 22:15:28 +0100 Subject: [PATCH 6/8] telnet: add license Notes: - All source files use the BSD-4-Clause-UC license, except `krb4-proto.h`, which only has the APSL-1.0 license header; - File `tn3270.c` includes both the BSD-4-Clause-UC and the APSL-1.0 licenses; - File `misc-proto.h` includes both the BSD-4-Clause-UC and a custom MIT-style license. The latter is not encoded in the license field of the formula, because it doesn't have an SPDX identifier. --- Formula/telnet.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/telnet.rb b/Formula/telnet.rb index 937f111a4f3307..3ac42953906d2e 100644 --- a/Formula/telnet.rb +++ b/Formula/telnet.rb @@ -3,6 +3,7 @@ class Telnet < Formula homepage "https://opensource.apple.com/" url "https://opensource.apple.com/tarballs/remote_cmds/remote_cmds-63.tar.gz" sha256 "13858ef1018f41b93026302840e832c2b65289242225c5a19ce5e26f84607f15" + license all_of: ["BSD-4-Clause-UC", "APSL-1.0"] livecheck do url "https://opensource.apple.com/tarballs/remote_cmds/" From 4781280cd56ab87c4b2f7cc8dbb01f73cec7fd6c Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Thu, 20 Aug 2020 23:44:05 +0100 Subject: [PATCH 7/8] telnetd: add license Notes: - All the source files use the BSD-4-Clause-UC license, except for `vasprintf.c` and `strlcpy.c`, which have the BSD-3-Clause license instead; - Unlike `telnet`, none of the files in `telnetd` include the APSL-1.0 license header. --- Formula/telnetd.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/telnetd.rb b/Formula/telnetd.rb index f0a77f7ff2ade6..02a7f7f351a342 100644 --- a/Formula/telnetd.rb +++ b/Formula/telnetd.rb @@ -3,6 +3,7 @@ class Telnetd < Formula homepage "https://opensource.apple.com/" url "https://opensource.apple.com/tarballs/remote_cmds/remote_cmds-63.tar.gz" sha256 "13858ef1018f41b93026302840e832c2b65289242225c5a19ce5e26f84607f15" + license all_of: ["BSD-4-Clause-UC", "BSD-3-Clause"] bottle do cellar :any_skip_relocation From 449558565f1a32b46970f6aee949d263927ec564 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Thu, 20 Aug 2020 23:53:44 +0100 Subject: [PATCH 8/8] utf8proc: add license Sources: - https://github.com/JuliaStrings/utf8proc/blob/master/LICENSE.md - https://juliastrings.github.io/utf8proc > The utf8proc package is licensed under the free/open-source MIT "expat" license > (plus certain Unicode data governed by the similarly permissive Unicode data license); > please see the included LICENSE.md file for more detailed information. --- Formula/utf8proc.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/utf8proc.rb b/Formula/utf8proc.rb index 83cf56d70cf86d..a41360b4ae5f0d 100644 --- a/Formula/utf8proc.rb +++ b/Formula/utf8proc.rb @@ -3,6 +3,7 @@ class Utf8proc < Formula homepage "https://juliastrings.github.io/utf8proc/" url "https://github.com/JuliaStrings/utf8proc/archive/v2.5.0.tar.gz" sha256 "d4e8dfc898cfd062493cb7f42d95d70ccdd3a4cd4d90bec0c71b47cca688f1be" + license all_of: ["MIT", "Unicode-DFS-2015"] bottle do cellar :any