Skip to content

Commit

Permalink
Use static OpenSSL linking (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ferraz-oliveira authored Jul 23, 2024
1 parent ec1ca5a commit e9736e9
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ name: Nightly
"on":
schedule:
- cron: 0 0 * * *
workflow_dispatch:
workflow_dispatch: {}
push:
branches-ignore:
- main
pull_request:
branches:
- "*"

jobs:
release:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ is_nightly_otp_for() {
fi
}

export_kerl_configuration_option() {
# $1: configuration option

KERL_CONFIGURE_OPTIONS="${KERL_CONFIGURE_OPTIONS:-} $1"
export KERL_CONFIGURE_OPTIONS
}

# Workflow groups

homebrew_install() {
Expand Down Expand Up @@ -115,6 +122,11 @@ kerl_configure() {
KERL_BUILD_DOCS=yes
export KERL_BUILD_DOCS

export_kerl_configuration_option "--disable-dynamic-ssl-lib"
local with_ssl
with_ssl="$(brew --prefix [email protected])"
export_kerl_configuration_option "--with-ssl=${with_ssl}"

local openssl_version
openssl_version=$(openssl version)
echo "OpenSSL is ${openssl_version}"
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ name: Release
"on":
schedule:
- cron: 0 */2 * * *
workflow_dispatch:
workflow_dispatch: {}
push:
branches-ignore:
- main
pull_request:
branches:
- "*"

jobs:
release:
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ aim to stop depending on these in the future.

The images are built with documentation chunks as per `make docs DOC_TARGETS=chunks`.

### OpenSSL

The images are built with static OpenSSL linking, via
`--disable-dynamic-ssl-lib --with-ssl=$(command -v openssl)/../..`.

### Releases

Releases are tagged as `darwin64-${macos_vsn}/OTP-${otp_vsn}`, and available at
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Find below updated information on our security policy.
We take the security of this software seriously.

We don't implement a bug bounty program or bounty rewards, but will work with
you closed to ensure that your findings gets the appropriate handling.
you to ensure that your findings get the appropriate handling.

## Reporting Security Issues

Expand Down

0 comments on commit e9736e9

Please sign in to comment.