1 # OpenSSL - a toolkit implementing SSL v2/v3 and TLS v1 protocols as
2 # well as a full-strength general purpose cryptography
4 # http://www.openssl.org/
8 ../ca-certificates/buildout.cfg
9 ../coreutils/buildout.cfg
18 recipe = slapos.recipe.cmmi
19 url = https://www.openssl.org/source/openssl-1.0.2f.tar.gz
20 md5sum = b3bf73f507172be9292ea2a8c28b659d
21 location = ${buildout:parts-directory}/${:_buildout_section_name_}
22 # 'prefix' option to override --openssldir/--prefix (which is useful
23 # when combined with INSTALL_PREFIX). Used by slapos.package.git/obs
25 patch-binary = ${patch:location}/bin/patch
27 ${:_profile_base_location_}/openssl-nodoc.patch#a78c14908fe9ec624b1fb9fa97e01bb9
28 ${:_profile_base_location_}/openssl-exlibs.patch#fba5c873cf974ba80a973be41da3c738
29 ${:_profile_base_location_}/openssl-1.0.2d-parallel-build.patch#e4cf66a48a85a0da68fd4842e6fab54b
31 configure-command = ./config
33 -I${zlib:location}/include
34 -L${zlib:location}/lib
35 --openssldir=${:prefix}/etc/ssl
38 shared no-idea no-mdc2 no-rc5 zlib
39 -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${:location}/lib
42 install_sw && x=${:location}/etc/ssl/certs && rm -f $x/* &&
43 for i in ${ca-certificates:location}/certs/*/*.crt; do
44 ln -sv $i $x/`${:location}/bin/openssl x509 -hash -noout -in $i`.0
47 PERL=${perl:location}/bin/perl
50 # Shared binary location to ease migration
51 recipe = plone.recipe.command
53 update-command = ${:command}
54 command = ${coreutils-output:test} -x ${:openssl}
55 openssl = ${openssl:location}/bin/openssl