Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd: switch to openssl@3 #134261

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Formula/systemd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ class Systemd < Formula
url "https://github.com/systemd/systemd/archive/v253.tar.gz"
sha256 "acbd86d42ebc2b443722cb469ad215a140f504689c7a9133ecf91b235275a491"
license all_of: ["GPL-2.0-or-later", "LGPL-2.1-or-later"]
revision 1
head "https://github.com/systemd/systemd.git", branch: "main"

bottle do
rebuild 1
sha256 x86_64_linux: "5b28e9302d9463be40ef8847bfd663a50578d1d6b553dd1f25dc738149262349"
sha256 x86_64_linux: "12af7e2fc19098ecb3341fe889f10d741c1936cac8048955a0adf00c4ae5e902"
end

depends_on "coreutils" => :build
Expand All @@ -31,7 +31,7 @@ class Systemd < Formula
depends_on "libcap"
depends_on :linux
depends_on "lz4"
depends_on "openssl@1.1"
depends_on "openssl@3"
depends_on "util-linux" # for libmount
depends_on "xz"
depends_on "zstd"
Expand All @@ -42,7 +42,7 @@ def install
ENV["PYTHONPATH"] = Formula["jinja2-cli"].opt_libexec/Language::Python.site_packages("python3.11")
ENV.append "LDFLAGS", "-Wl,-rpath,#{lib}/systemd"

args = std_meson_args + %W[
args = %W[
--sysconfdir=#{etc}
--localstatedir=#{var}
-Drootprefix=#{prefix}
Expand All @@ -56,7 +56,7 @@ def install
-Dgcrypt=false
]

system "meson", "setup", *args, "build"
system "meson", "setup", "build", *args, *std_meson_args
system "meson", "compile", "-C", "build"
system "meson", "install", "-C", "build"
end
Expand Down