Skip to content
This repository was archived by the owner on Sep 30, 2025. It is now read-only.

Commit 7e4bf60

Browse files
authored
Merge pull request #194 from Homebrew/portable-openssl
portable-openssl 3.3.0
2 parents 687d231 + 4f98102 commit 7e4bf60

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Formula/portable-openssl.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
require File.expand_path("../Abstract/portable-formula", __dir__)
22

33
class PortableOpenssl < PortableFormula
4-
desc "SSL/TLS cryptography library"
4+
desc "Cryptography and SSL/TLS Toolkit"
55
homepage "https://openssl.org/"
6-
url "https://www.openssl.org/source/openssl-3.1.4.tar.gz"
7-
mirror "https://www.mirrorservice.org/sites/ftp.openssl.org/source/openssl-3.1.4.tar.gz"
8-
mirror "https://www.openssl.org/source/old/3.1/openssl-3.1.4.tar.gz"
9-
sha256 "840af5366ab9b522bde525826be3ef0fb0af81c6a9ebd84caa600fea1731eee3"
6+
url "https://github.com/openssl/openssl/releases/download/openssl-3.3.0/openssl-3.3.0.tar.gz"
7+
mirror "https://www.openssl.org/source/openssl-3.3.0.tar.gz"
8+
mirror "http://fresh-center.net/linux/misc/openssl-3.3.0.tar.gz"
9+
sha256 "53e66b043322a606abf0087e7699a0e033a37fa13feb9742df35c3a33b18fb02"
1010
license "Apache-2.0"
1111

1212
resource "cacert" do
1313
# https://curl.se/docs/caextract.html
14-
url "https://curl.se/ca/cacert-2023-08-22.pem"
15-
sha256 "23c2469e2a568362a62eecf1b49ed90a15621e6fa30e29947ded3436422de9b9"
14+
url "https://curl.se/ca/cacert-2024-03-11.pem"
15+
sha256 "1794c1d4f7055b7d02c2170337b61b48a2ef6c90d77e95444fd2596f4cac609f"
1616
end
1717

1818
def openssldir
@@ -52,7 +52,7 @@ def install
5252
# OpenSSL is not fully portable and certificate paths are backed into the library.
5353
# We therefore need to set the certificate path at runtime via an environment variable.
5454
# We however don't want to touch _other_ OpenSSL usages, so we change the variable name to differ.
55-
inreplace "include/internal/cryptlib.h", "\"SSL_CERT_FILE\"", "\"PORTABLE_RUBY_SSL_CERT_FILE\""
55+
inreplace "include/internal/common.h", "\"SSL_CERT_FILE\"", "\"PORTABLE_RUBY_SSL_CERT_FILE\""
5656

5757
openssldir.mkpath
5858
system "perl", "./Configure", *(configure_args + arch_args)

0 commit comments

Comments
 (0)