* linux-headers@4.15: new formula

* linux-headers: rename to linux-headers@4.4

* linux-headers@4.4: renamed from linux-headers

* linux-headers: make alias to linux-headers@4.4

* formula_renames.json: rename linux-headers to linux-headers@4.4

* versioned_keg_only_allowlist: add linux-headers@4.4

* glibc: use linux-headers@4.4

* strace: use linux-headers@4.4
master
Daniel Nachun 2021-07-20 23:17:59 -07:00 committed by GitHub
parent a4d3042974
commit d770327399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 25 additions and 7 deletions

1
Aliases/linux-headers Symbolic link
View File

@ -0,0 +1 @@
../Formula/linux-headers@4.4.rb

View File

@ -95,7 +95,7 @@ class Glibc < Formula
depends_on "binutils" => :build depends_on "binutils" => :build
depends_on GawkRequirement => :build depends_on GawkRequirement => :build
depends_on "linux-headers" => :build depends_on "linux-headers@4.4" => :build
depends_on MakeRequirement => :build depends_on MakeRequirement => :build
depends_on SedRequirement => :build depends_on SedRequirement => :build
depends_on BrewedGlibcNotOlderRequirement depends_on BrewedGlibcNotOlderRequirement

View File

@ -0,0 +1,19 @@
class LinuxHeadersAT415 < Formula
desc "Header files of the Linux kernel"
homepage "https://kernel.org/"
url "https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.15.18.tar.gz"
sha256 "ca13fa5c6e3a6b434556530d92bc1fc86532c2f4f5ae0ed766f6b709322d6495"
license "GPL-2.0-only"
keg_only :versioned_formula
depends_on :linux
def install
system "make", "headers_install", "INSTALL_HDR_PATH=#{prefix}"
rm Dir[prefix/"**/{.install,..install.cmd}"]
end
test do
assert_match "KERNEL_VERSION", File.read(include/"linux/version.h")
end
end

View File

@ -1,14 +1,10 @@
class LinuxHeaders < Formula class LinuxHeadersAT44 < Formula
desc "Header files of the Linux kernel" desc "Header files of the Linux kernel"
homepage "https://kernel.org/" homepage "https://kernel.org/"
url "https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.80.tar.gz" url "https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.80.tar.gz"
sha256 "291d844619b5e7c43bd5aa0b2c286274fc5ffe31494ba475f167a21157e88186" sha256 "291d844619b5e7c43bd5aa0b2c286274fc5ffe31494ba475f167a21157e88186"
license "GPL-2.0-only" license "GPL-2.0-only"
bottle do
sha256 cellar: :any_skip_relocation, x86_64_linux: "a726f1ea608c17987bb444c0d42add7d1a225ad16897b21cf33ae599926b933e"
end
depends_on :linux depends_on :linux
def install def install

View File

@ -16,7 +16,7 @@ class Strace < Formula
end end
depends_on :linux depends_on :linux
depends_on "linux-headers" depends_on "linux-headers@4.4"
def install def install
system "./bootstrap" if build.head? system "./bootstrap" if build.head?

View File

@ -16,6 +16,7 @@
"libsigc++@2", "libsigc++@2",
"libxml++@4", "libxml++@4",
"libxml++@5", "libxml++@5",
"linux-headers@4.4",
"lua@5.1", "lua@5.1",
"numpy@1.16", "numpy@1.16",
"openssl@1.1", "openssl@1.1",

View File

@ -86,6 +86,7 @@
"libcppa": "caf", "libcppa": "caf",
"libmongoclient": "mongo-cxx-driver", "libmongoclient": "mongo-cxx-driver",
"libsasl2": "cyrus-sasl", "libsasl2": "cyrus-sasl",
"linux-headers": "linux-headers@4.4",
"lua51": "lua@5.1", "lua51": "lua@5.1",
"mat": "mat2", "mat": "mat2",
"maven32": "maven@3.2", "maven32": "maven@3.2",