Install SSL libraries from sources. Like you do.
- openssl
This cookbook uses the openssl website for source files. This is not particularly safe or stable.
First of all, grab a copy of the source tarball and stick it into your own mirror. Keeping source caches in Manta is fantastic and easy, if you have an account:
mlogin
......
cd ~
wget https://www.openssl.org/source/openssl-1.0.1g.tar.gz
openssl dgst -sha1 openssl-1.0.1g.tar.gz
mput -f openssl-1.0.1g.tar.gz ~~/public/path/to/my/source/caches/
exit
Now somewhere in your Chef repository set the following node attribute:
node['ssl']['openssl']['mirror'] =
'https://us-east.manta.joyent.com/my-account/public/path/to/my/source/caches'
Save the SHA1 that you generated for updating attributes later.
include_recipe 'ssl::openssl'
This will first install openssl via the local package system, then compile the specified version over the package.
Attributes:
node['ssl']['openssl']['version'] = '1.0.1g'
node['ssl']['openssl']['sha1'] = '...'
This assumes that the file name matches openssl-%{version}.tar.gz
.
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
- Tag @sax on any pull requests, to make sure I see it!