Add patch to openssl removing need of pod2man and thus perl
[slapos.git] / component / openssl / buildout.cfg
1 # OpenSSL - a toolkit implementing SSL v2/v3 and TLS v1 protocols as
2 #           well as a full-strength general purpose cryptography
3 #           library.
4 # http://www.openssl.org/
5
6 [buildout]
7 extends =
8   ../zlib/buildout.cfg
9
10 parts =
11   openssl
12
13 [openssl-nodoc.patch]
14 # Disable doc generation part in Makefile 
15 recipe = hexagonit.recipe.download
16 md5sum = b4887a7b4e18402447bc6227d2493b92
17 url = ${:_profile_base_location_}/${:filename}
18 filename = ${:_buildout_section_name_}
19 download-only = true
20
21 [openssl]
22 recipe = hexagonit.recipe.cmmi
23 url = https://www.openssl.org/source/openssl-1.0.0f.tar.gz
24 md5sum = e358705fb4a8827b5e9224a73f442025
25 patches =
26   ${openssl-nodoc.patch:location}/${openssl-nodoc.patch:filename}
27 patch-options = -p0
28 configure-command = ./config
29 configure-options =
30   -I${zlib:location}/include
31   -L${zlib:location}/lib
32   --openssldir=${buildout:parts-directory}/${:_buildout_section_name_}/etc/ssl
33   --prefix=${buildout:parts-directory}/${:_buildout_section_name_}
34   --libdir=lib
35   shared
36   no-zlib
37
38 # it seems that parallel build sometimes fails for openssl.
39 make-options =
40   -j1
41   LDFLAGS="-Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${buildout:parts-directory}/${:_buildout_section_name_}/lib"
42   SHARED_LDFLAGS="-Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${buildout:parts-directory}/${:_buildout_section_name_}/lib"