Skip to content

Commit 3e45a21

Browse files
committed
curl: add patch to fix netrc parsing regression
For context, see: - curl/curl#15496 - Homebrew/brew#18726 Bumping the revision as this affects a non-trivial number of users.
1 parent 2f8d54e commit 3e45a21

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

Formula/c/curl.rb

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +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.11.0.tar.bz2"
7-
mirror "https://github.com/curl/curl/releases/download/curl-8_11_0/curl-8.11.0.tar.bz2"
8-
mirror "http://fresh-center.net/linux/www/curl-8.11.0.tar.bz2"
9-
mirror "http://fresh-center.net/linux/www/legacy/curl-8.11.0.tar.bz2"
10-
sha256 "c95d5a1368803729345a632ce42cceeefd5f09c3b4d9582f858f6779f4b8b254"
116
license "curl"
7+
revision 1
8+
9+
stable do
10+
url "https://curl.se/download/curl-8.11.0.tar.bz2"
11+
mirror "https://github.com/curl/curl/releases/download/curl-8_11_0/curl-8.11.0.tar.bz2"
12+
mirror "http://fresh-center.net/linux/www/curl-8.11.0.tar.bz2"
13+
mirror "http://fresh-center.net/linux/www/legacy/curl-8.11.0.tar.bz2"
14+
sha256 "c95d5a1368803729345a632ce42cceeefd5f09c3b4d9582f858f6779f4b8b254"
15+
16+
# Fix netrc parsing that affects git.
17+
# Remove with `stable` block on next release.
18+
# https://github.com/curl/curl/issues/15496
19+
patch do
20+
url "https://github.com/curl/curl/commit/d8010d956f09069d1d6b474abdee5864569e6920.patch?full_index=1"
21+
sha256 "98dfd5a21f7de0084163fc1e1f7c0cdd56185dd78a2599c95585a777d06191cd"
22+
end
23+
end
1224

1325
livecheck do
1426
url "https://curl.se/download/"

0 commit comments

Comments
 (0)