-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR looks to build Foreman with a vendored openssl
- Loading branch information
1 parent
f5dde74
commit d84d69a
Showing
9 changed files
with
247 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -x | ||
set -e | ||
|
||
OPENSSL_VER=${OPENSSL_VER:-openssl-1.1.1n} | ||
OPENSSL_DST=${PWD}/${OPENSSL_VER}-install | ||
|
||
if [[ ! -d ${OPENSSL_DST} ]]; then | ||
curl -O https://www.openssl.org/source/${OPENSSL_VER}.tar.gz | ||
tar xzf ${OPENSSL_VER}.tar.gz | ||
cd ${OPENSSL_VER} | ||
./Configure no-shared enable-rc5 zlib darwin64-arm64-cc --prefix=${OPENSSL_DST} --openssldir=${OPENSSL_DST} | ||
make -j2 | ||
make install | ||
cd - | ||
fi | ||
|
||
export OPENSSL_DIR=${OPENSSL_DST} |
Oops, something went wrong.