Patch OpenSSL template file instead of Makefile
In !4056 (merged), we updated the OpenSSL Makefile
, but the OpenSSL source only has templates:
- https://github.com/openssl/openssl/blob/master/Configurations/unix-Makefile.tmpl
- https://github.com/openssl/openssl/blob/master/Configurations/windows-makefile.tmpl
To generate the Makefile
, the recipe runs ./config
first: https://gitlab.com/gitlab-org/omnibus-gitlab/-/blob/master/config/software/openssl.rb#L86
But I'd imagine the output of the Makefile
could depend on what version of Linux you are using. Perhaps we should patch the templates instead?
Maybe the right thing to do is to add a environment variable to skip install_docs
in OpenSSL so we don't have to keep patching this.
/cc: @twk3, @rmarshall