Skip to content

Commit b8e0809

Browse files
authored
Merge pull request Homebrew#182591 from Homebrew/zstd-license
zstd: update license
2 parents 857d159 + 006bf51 commit b8e0809

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Formula/z/zstd.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ class Zstd < Formula
55
mirror "http://fresh-center.net/linux/misc/zstd-1.5.6.tar.gz"
66
mirror "http://fresh-center.net/linux/misc/legacy/zstd-1.5.6.tar.gz"
77
sha256 "30f35f71c1203369dc979ecde0400ffea93c27391bfd2ac5a9715d2173d92ff7"
8-
license "BSD-3-Clause"
8+
license all_of: [
9+
{ any_of: ["BSD-3-Clause", "GPL-2.0-only"] },
10+
"BSD-2-Clause", # programs/zstdgrep, lib/libzstd.pc.in
11+
"MIT", # lib/dictBuilder/divsufsort.c
12+
]
913
head "https://github.com/facebook/zstd.git", branch: "dev"
1014

1115
# The upstream repository contains old, one-off tags (5.5.5, 6.6.6) that are
@@ -28,6 +32,7 @@ class Zstd < Formula
2832
depends_on "cmake" => :build
2933
depends_on "lz4"
3034
depends_on "xz"
35+
3136
uses_from_macos "zlib"
3237

3338
def install

0 commit comments

Comments
 (0)