diff options
| author | Dominyk Tiller | 2015-04-10 18:33:27 +0100 |
|---|---|---|
| committer | Tim D. Smith | 2015-04-10 18:41:12 -0700 |
| commit | 7ce7e26cda6481200b1b2a197e6dfb762c56cb5a (patch) | |
| tree | 811fc329fd74ebff596b45ae3903927e836e7d5f /Library | |
| parent | 1ba22080b4b4881c111ef9689f8893837a51134e (diff) | |
| download | homebrew-7ce7e26cda6481200b1b2a197e6dfb762c56cb5a.tar.bz2 | |
libressl: improve cert handling
Missed the release notes a couple of versions back that LibreSSL had
killed off the useful c_rehash script OpenSSL uses to support custom
added certs and merged it into the OpenSSL command itself, with some
changes.
This PR just allows people to take advantage of it without so much
manual intervention and discovery. Nothing too fancy.
Closes #38521.
Signed-off-by: Tim D. Smith <git@tim-smith.us>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libressl.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/libressl.rb b/Library/Formula/libressl.rb index 17255165a..1354215f8 100644 --- a/Library/Formula/libressl.rb +++ b/Library/Formula/libressl.rb @@ -36,7 +36,7 @@ class Libressl < Formula system "make", "install" # Install the dummy openssl.cnf file to stop runtime warnings. - mkdir_p "#{etc}/libressl" + mkdir_p "#{etc}/libressl/certs" cp "apps/openssl.cnf", "#{etc}/libressl" end @@ -53,7 +53,10 @@ class Libressl < Formula def caveats; <<-EOS.undent A CA file has been bootstrapped using certificates from the system keychain. To add additional certificates, place .pem files in - #{etc}/libressl + #{etc}/libressl/certs + + and run + #{opt_bin}/openssl certhash #{etc}/libressl/certs EOS end |
