Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 6 additions & 1 deletion configs/components/openssl-3.0.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
else
configure_flags << 'no-legacy' << 'no-md4'
end
configure_flags << 'enable-fips' if platform.is_fips?

# Patches for OpenSSL CVE fixes released in September, 2026
# Sourced from the debian/bookworm branch of:
Expand Down Expand Up @@ -148,8 +149,12 @@
install_commands = []

# Skip man and html docs
install_commands << "#{platform[:make]} #{install_prefix} install_sw install_ssldirs"
install_targets = 'install_sw install_ssldirs'
install_targets += ' install_fips' if platform.is_fips?
install_commands << "#{platform[:make]} #{install_prefix} #{install_targets}"
install_commands << "rm -f #{settings[:prefix]}/bin/c_rehash"
# The agent package generates fipsmodule.cnf on the host it is installed on
install_commands << "rm -f #{settings[:prefix]}/ssl/fipsmodule.cnf" if platform.is_fips?

pkg.install do
install_commands
Expand Down
7 changes: 6 additions & 1 deletion configs/components/openssl-3.5.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
else
configure_flags << 'no-legacy' << 'no-md4' << 'no-des'
end
configure_flags << 'enable-fips' if platform.is_fips?

# Individual projects may provide their own openssl configure flags:
project_flags = settings[:openssl_extra_configure_flags] || []
Expand Down Expand Up @@ -117,8 +118,12 @@
install_commands = []

# Skip man and html docs
install_commands << "#{platform[:make]} #{install_prefix} install_sw install_ssldirs"
install_targets = 'install_sw install_ssldirs'
install_targets += ' install_fips' if platform.is_fips?
install_commands << "#{platform[:make]} #{install_prefix} #{install_targets}"
install_commands << "rm -f #{settings[:prefix]}/bin/c_rehash"
# The agent package generates fipsmodule.cnf on the host it is installed on
install_commands << "rm -f #{settings[:prefix]}/ssl/fipsmodule.cnf" if platform.is_fips?

pkg.install do
install_commands
Expand Down
Loading