Skip to content

Commit

Permalink
Merge pull request #204084 from edorian/php-build-by-attribution
Browse files Browse the repository at this point in the history
php: Set the `PHP_BUILD_PROVIDER` env variable
  • Loading branch information
BrewTestBot authored Jan 13, 2025
2 parents 837c370 + ea07ec2 commit 560a347
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 24 deletions.
16 changes: 10 additions & 6 deletions Formula/p/php.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ class Php < Formula
end

bottle do
sha256 arm64_sequoia: "c110c708c31ad0d1b137637df611ade4f85c7700be7047b9cd784350db4a8aee"
sha256 arm64_sonoma: "7366b239847965a83a19a3d35d45aeb004e27a0202d403a87fcf40dfb229d747"
sha256 arm64_ventura: "4c4597261c5c368342e5d1d30f154a04e0f96cd05127744d9353bc276d8b474d"
sha256 sonoma: "cfa704f58a4013880868786bfdc0f53fcc13c4dd6e3b59e7f1639b85888a9b7d"
sha256 ventura: "47b3a8fa200f23269f032fb9a2489ed062af563cf14c0253a672a160cfaae439"
sha256 x86_64_linux: "3ec868c8effb40925d4f0b14ff7fbddeb0cfe08a3b568511c177522a5abc2c06"
rebuild 1
sha256 arm64_sequoia: "f28d74d4dc12923376bd95b5039bbcc4afbf2bbe8430b9a4e36b3f39a6ac3a75"
sha256 arm64_sonoma: "4d90208993041872aeeaddedfcf5790f0f1ab5e453c26a91a90e663dabaf6eeb"
sha256 arm64_ventura: "cd9daeea0444e2375a655bba2101f8e43def6cf16af357a43bf21852b5db4e4d"
sha256 sonoma: "d92938ce349806fcc58c9ae8b5e0f5f7e46e99f7ff24d6d3eac72f7e48f16888"
sha256 ventura: "b86b87ddb0c54cafc366d679c35326dde1d880e6dbe242778ced0728606e08ea"
sha256 x86_64_linux: "248d6b2b9d639e08215a3125069f8b7d92be5c819f200fb32d047cd0192ef701"
end

head do
Expand Down Expand Up @@ -100,6 +101,9 @@ def install
# Prevent homebrew from hardcoding path to sed shim in phpize script
ENV["lt_cv_path_SED"] = "sed"

# Identify build provider in php -v output and phpinfo()
ENV["PHP_BUILD_PROVIDER"] = tap.user

# system pkg-config missing
ENV["KERBEROS_CFLAGS"] = " "
if OS.mac?
Expand Down
16 changes: 10 additions & 6 deletions Formula/p/php@8.1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ class PhpAT81 < Formula
end

bottle do
sha256 arm64_sequoia: "2fd310dfbd570b6998906d8f40bd2fd51ba66b6f28a7d8f826ff6dbeef111edc"
sha256 arm64_sonoma: "d0c5eacbbc350721e5d87f301bd3e27e24c7711422bd0af976c077a14ebbff5e"
sha256 arm64_ventura: "69596825a94b96775a0c4904ed335d47a472d281efec950ba4aecf49acce974a"
sha256 sonoma: "2585dac48ab45d53e9cf0cba573aeedab04ab133cb13f7bc4ef21856c2a94b5c"
sha256 ventura: "c459e02507d84d26513063b3b8c8f2985971a077dac54b33ea4c215e79f1ae82"
sha256 x86_64_linux: "ecf74cf457d6b821b6a058a01a5531f2f37711fbfe4ee3e2b9548db6e98c9629"
rebuild 1
sha256 arm64_sequoia: "91f378070315f79e3ea29844fdb760b7c78aa0a3d7ee8b781c0580a6b7a9545e"
sha256 arm64_sonoma: "6ee70538bb6f56be0498bf507f6ba97c15b81d391e3943bee2cf9689bdb11829"
sha256 arm64_ventura: "e209c206738287ca105874ebe5fbfaf2a00f0f374ceca12b39033f830b18246c"
sha256 sonoma: "5c6a7694fb43f99910e2dc33f2a6c2f3fad4cfd2f121b2c7ee8750c1f6f75bba"
sha256 ventura: "fd351cb3f3df68e0455be9ffabf287c97f7ba2090fc5f4467d76d3421399c03f"
sha256 x86_64_linux: "ffbf178e5f53e44970e81ef9ea0f3bd65c94849cb53a141822584896fc668ccc"
end

keg_only :versioned_formula
Expand Down Expand Up @@ -120,6 +121,9 @@ def install
# Prevent homebrew from hardcoding path to sed shim in phpize script
ENV["lt_cv_path_SED"] = "sed"

# Identify build provider in phpinfo()
ENV["PHP_BUILD_PROVIDER"] = tap.user

# system pkg-config missing
ENV["KERBEROS_CFLAGS"] = " "
if OS.mac?
Expand Down
16 changes: 10 additions & 6 deletions Formula/p/php@8.2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ class PhpAT82 < Formula
end

bottle do
sha256 arm64_sequoia: "852a432d874662ce4fcbaea8a776b57234f8c88846f4a028b286fe2bdf11f674"
sha256 arm64_sonoma: "c472f30e848d5a0691d42bdc52e8492842f5d902ee864463b50445a23e3a6ed4"
sha256 arm64_ventura: "298ca30a9044eab32a76e09b8b40a4d55d0680fa66c08e9e331fd4dfcb48bef4"
sha256 sonoma: "29ca7a96057f4c598e63b79e89806addf7a6f48ad7746e1859f440f269a39a53"
sha256 ventura: "fa8782917d3e510390469eebe92149a16f8024f56e4c124a63ccb53c47dbcc3c"
sha256 x86_64_linux: "ac74b3be0f519752cd179b9c3cd2ac928cb4ef7baf80c94095354eb09db5f1e9"
rebuild 1
sha256 arm64_sequoia: "2fa84dc0a945c66c512b24247ca7925c07204b376702caf137b41eaae748767a"
sha256 arm64_sonoma: "07f421f411fd1370ed020acc58208dea583939f3256b17fe03b27a2d657d30f1"
sha256 arm64_ventura: "2706084009efa5b4389f70357c45401c65a713d63686bbe80b1c3486a10fd933"
sha256 sonoma: "1f0243d4bb7fabd7026813146279a8d27f2a149b569d621d4179278751ca6b86"
sha256 ventura: "e3db5c81ad9fd886a49ae0924ca9258ad5c4eb9d34ac09b0afd88cb4c3f12c8c"
sha256 x86_64_linux: "e72ea8e94acd9150055659dd033121564f312c1c26b3e2a90fa32e9f6010c1a0"
end

keg_only :versioned_formula
Expand Down Expand Up @@ -103,6 +104,9 @@ def install
# Prevent homebrew from hardcoding path to sed shim in phpize script
ENV["lt_cv_path_SED"] = "sed"

# Identify build provider in phpinfo()
ENV["PHP_BUILD_PROVIDER"] = tap.user

# system pkg-config missing
ENV["KERBEROS_CFLAGS"] = " "
if OS.mac?
Expand Down
16 changes: 10 additions & 6 deletions Formula/p/php@8.3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ class PhpAT83 < Formula
end

bottle do
sha256 arm64_sequoia: "508bc7f3a10b4408713cacb79395036322510125783a874332106aef0f6f4d45"
sha256 arm64_sonoma: "778d2ad8da5f2e9ec0554c9ffd6f9eb632beaaf172756927ca642d16d7ccdee2"
sha256 arm64_ventura: "8395f9fb05cded18c4098e05cda79534b241e4406ce45abd38c4970c65264a3b"
sha256 sonoma: "aa7c3ea39f845972f2291f4196f0745dc3959442ef868b4c4c48ddd85b54d5f3"
sha256 ventura: "3e314556bdf37c1fde5817c02bb7d8793c0058ac47f673daf58ecb415b4d7ff9"
sha256 x86_64_linux: "466a6380a2d52ee8cef68a4821edf69ae23110842766fe4c15b83e73b26cd3b1"
rebuild 1
sha256 arm64_sequoia: "647649c0f5f20709edb0801fc88eb1221f37d9db09bafefd147f65bcb1386b6f"
sha256 arm64_sonoma: "909a0662d756b72601f95a53b16848b5c9ae4fa02b5c537fa2e9aba664ca6333"
sha256 arm64_ventura: "17cb2ab5a518438469685a5bc92609c4f936f364e4ec148633686dadf33fbf00"
sha256 sonoma: "ba80175c10d62f4643bf25ed5faef7765d8b276a3d6352379cdb6b2ce60bdc8b"
sha256 ventura: "85b7b865399f8f9ce0a36e8cb086df0a8622e09367d6c500e84960016e6de20a"
sha256 x86_64_linux: "46e9fbb3e572243d507c429105e6a02e533e509f7820e7bf81b445edebfb122c"
end

keg_only :versioned_formula
Expand Down Expand Up @@ -103,6 +104,9 @@ def install
# Prevent homebrew from hardcoding path to sed shim in phpize script
ENV["lt_cv_path_SED"] = "sed"

# Identify build provider in phpinfo()
ENV["PHP_BUILD_PROVIDER"] = tap.user

# system pkg-config missing
ENV["KERBEROS_CFLAGS"] = " "
if OS.mac?
Expand Down

0 comments on commit 560a347

Please sign in to comment.