This repository was archived by the owner on Dec 16, 2024. It is now read-only.
Commit 520adf2
committed
Don't link Homebrew OpenSSL, use env vars
OpenSSL is a "keg-only crate", which Homebrew 1.0.0 won't link because
```
we may end up linking against the insecure, deprecated system OpenSSL
while using the headers from Homebrew's openssl.
```
Instead, use the `OPENSSL_INCLUDE_DIR` and `OPENSSL_LIB_DIR` to
explicitly pass the paths to the Homebrew OpenSSL. Note that these paths
are currently hardcoded because they are unlikely to change.
For some reason, Homebrew was reporting this error on its stderr
but Salt was not picking it up as and failing the state - possibly
because the exit status seems to have been 0.
saltfs-migration: Run `brew unlink --dry-run openssl` on the Mac
builders, then `brew unlink openssl` once confirming the output is as
expected. This will unlink openssl on the existing builders.1 parent eaf34f2 commit 520adf2
2 files changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 65 | | |
74 | 66 | | |
75 | 67 | | |
| |||
0 commit comments