Skip to content

Commit d11e7f1

Browse files
authored
Merge pull request #278309 from tomkel/aria2-no-appletls
aria2: Remove AppleTLS
2 parents 1f0057b + fbf466a commit d11e7f1

1 file changed

Lines changed: 10 additions & 15 deletions

File tree

Formula/a/aria2.rb

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@ class Aria2 < Formula
44
url "https://github.com/aria2/aria2/releases/download/release-1.37.0/aria2-1.37.0.tar.xz"
55
sha256 "60a420ad7085eb616cb6e2bdf0a7206d68ff3d37fb5a956dc44242eb2f79b66b"
66
license "GPL-2.0-or-later"
7-
revision 1
7+
revision 2
88

99
bottle do
10-
rebuild 2
11-
sha256 arm64_tahoe: "95bdbd84198eb00cac090ecedad387eabcfb5815ced97467a24c518020cf48dd"
12-
sha256 arm64_sequoia: "8595dd94303e84f0d359fcdfcb507d1d5bf72254e73f10126b46b3bf1f04e13a"
13-
sha256 arm64_sonoma: "7038fdbb6d201ee9b7ffe0b21e350783c42168d3651f0c8259a2023282c782f5"
14-
sha256 sonoma: "237e81120aa836dac06a16342cad1eda81fd155ae731a683b2a819e27a43c2fb"
15-
sha256 arm64_linux: "ea893dc5171591d4aec0142c384d8b91cbb0766d9bf0b194a9837cee7ae65f1a"
16-
sha256 x86_64_linux: "f23aa8887c144680a5bf5429151d57a2cb8890cfd3e7989daf55ba631e565777"
10+
sha256 arm64_tahoe: "e02198308a07cc13589297bd682c0f63fe2e4ce09ff61d373696f4157eab89e5"
11+
sha256 arm64_sequoia: "b8312eb29cb3a058600a38b560efcb7e2b4ae951de0010e64abfd9194f07392c"
12+
sha256 arm64_sonoma: "8815b6b79395235863349628dc0d753bbee9069e99d94257b7646ffd85615623"
13+
sha256 sonoma: "b88e53b1c54d82af91dea90551fc114b7c02149972d536b9d55a33b12f9a9fd5"
14+
sha256 arm64_linux: "151095fbbfe8819535eb1f3dc63642103f793b79ead0ab8282381baebaad0485"
15+
sha256 x86_64_linux: "f2a416d17d88fdbc5a4dabd1a6520eb736964c6d21cd7a9e2b2591330d74bdf5"
1716
end
1817

1918
depends_on "pkgconf" => :build
@@ -34,6 +33,7 @@ class Aria2 < Formula
3433

3534
def install
3635
ENV.cxx11
36+
ENV.append "LIBS", "-framework Security" if OS.mac?
3737

3838
args = %w[
3939
--disable-silent-rules
@@ -42,14 +42,9 @@ def install
4242
--without-libgmp
4343
--without-libnettle
4444
--without-libgcrypt
45+
--without-appletls
46+
--with-openssl
4547
]
46-
if OS.mac?
47-
args << "--with-appletls"
48-
args << "--without-openssl"
49-
else
50-
args << "--without-appletls"
51-
args << "--with-openssl"
52-
end
5348

5449
system "./configure", *args, *std_configure_args
5550
system "make", "install"

0 commit comments

Comments
 (0)