8000 curl 8.14.0 · Homebrew/homebrew-core@7795d62 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7795d62

Browse files
BrewTestBotchenrui333SMillerDev
committed
curl 8.14.0
curl: update mirror and patches Co-authored-by: Rui Chen <rui@chenrui.dev> Co-authored-by: Sean Molenaar <sean@seanmolenaar.eu>
1 parent 938121a commit 7795d62

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

Formula/c/curl.rb

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,24 @@ class Curl < Formula
33
homepage "https://curl.se"
44
# Don't forget to update both instances of the version in the GitHub mirror URL.
55
# `url` goes below this comment when the `stable` block is removed.
6-
url "https://curl.se/download/curl-8.13.0.tar.bz2"
7-
mirror "https://github.com/curl/curl/releases/download/curl-8_13_0/curl-8.13.0.tar.bz2"
8-
mirror "http://fresh-center.net/linux/www/curl-8.13.0.tar.bz2"
9-
mirror "http://fresh-center.net/linux/www/legacy/curl-8.13.0.tar.bz2"
10-
sha256 "e0d20499260760f9865cb6308928223f4e5128910310c025112f592a168e1473"
6+
117
license "curl"
128

9+
stable do
10+
url "https://curl.se/download/curl-8.14.0.tar.bz2"
11+
mirror "https://github.com/curl/curl/releases/download/curl-8_14_0/curl-8.14.0.tar.bz2"
12+
mirror "http://fresh-center.net/linux/www/curl-8.14.0.tar.bz2"
13+
mirror "http://fresh-center.net/linux/www/legacy/curl-8.14.0.tar.bz2"
14+
sha256 "efa1403c5ac4490c8d50fc0cabe97710abb1bf2a456e375a56d960b20a1cba80"
15+
16+
# fix https://github.com/curl/curl/issues/17473
17+
# curl_multi_add_handle() returning OOM when using more than 400 handles
18+
patch do
19+
url "https://github.com/curl/curl/commit/d16ccbd55de80c271fe822f4ba8b6271fd9166ff.patch?full_index=1"
20+
sha256 "d30d4336e2422bedba66600b4c05a3bed7f9c51c1163b75d9ee8a27424104745"
21+
end
22+
end
23+
1324
livecheck do
1425
url "https://curl.se/download/"
1526
regex(/href=.*?curl[._-]v?(.*?)\.t/i)
@@ -52,18 +63,6 @@ class Curl < Formula
5263
depends_on "libidn2"
5364
end
5465

55-
# Fixes failure to download certdata.txt due to a redirect
56-
patch do
57-
url "https://github.com/curl/curl/commit/eeed87f0563d3ca73ff53813418d1f9f03c81fe5.patch?full_index=1"
58-
sha256 "f7461a8042ca8ef86492338458ccd79ee286d17773487513928d7ed6ae25818c"
59-
end
60-
61-
# Fixes build on macOS 10.12 and earlier
62-
patch do
63-
url "https://github.com/curl/curl/commit/d7914f75aa8ecdd68cdbb130c1351a7432597fe4.patch?full_index=1"
64-
sha256 "2ba45be5c9238abc914c2a47cd604cbd08972583b310c9079b7b7909b352001b"
65-
end
66-
6766
def install
6867
tag_name = "curl-#{version.to_s.tr(".", "_")}"
6968
if build.stable? && stable.mirrors.grep(/github\.com/).first.exclude?(tag_name)

0 commit comments

Comments
 (0)
0