Skip to content
Open
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?

# Individual projects may provide their own openssl configure flags:
project_flags = settings[:openssl_extra_configure_flags] || []
Expand Down Expand Up @@ -126,8 +127,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 @@ -84,6 +84,7 @@
]

configure_flags << 'no-legacy' << 'no-md4'
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 @@ -114,8 +115,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