version up: nginx 1.7.2
[slapos.git] / component / nginx / buildout.cfg
1 [buildout]
2 extends =
3   ../pcre/buildout.cfg
4   ../zlib/buildout.cfg
5   ../openssl/buildout.cfg
6   ../coreutils/buildout.cfg
7   ../git/buildout.cfg
8
9 parts = nginx-output
10
11 [nginx]
12 recipe = slapos.recipe.cmmi
13 url = http://nginx.org/download/nginx-1.7.2.tar.gz
14 md5sum = 68949a7a0bad4615e9b737fc4e6047f2
15 configure-options=
16   --with-ipv6
17   --with-http_ssl_module
18   --with-mail
19   --with-mail_ssl_module
20   --with-ld-opt="-L ${zlib:location}/lib -L ${openssl:location}/lib -L ${pcre:location}/lib  -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${openssl:location}/lib"
21   --with-cc-opt="-I ${pcre:location}/include -I ${openssl:location}/include -I ${zlib:location}/include"
22
23 [webdav-module]
24 recipe = hexagonit.recipe.download
25 url = https://github.com/arut/nginx-dav-ext-module/archive/master.zip
26 strip-top-level-dir = true
27 #md5sum =
28 mode = 0644
29
30 [nginx-webdav]
31 recipe = slapos.recipe.cmmi
32 url = http://nginx.org/download/nginx-1.5.3.tar.gz
33 md5sum = 1e735dd6a6ade2b5c20e924b67c3d355
34 configure-options =
35   --with-ipv6
36   --with-http_ssl_module
37   --with-mail
38   --with-mail_ssl_module
39   --with-ld-opt="-L ${zlib:location}/lib -L ${openssl:location}/lib -L ${pcre:location}/lib  -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${openssl:location}/lib -L ${libexpat:location}/lib"
40   --with-cc-opt="-I ${pcre:location}/include -I ${openssl:location}/include -I ${zlib:location}/include -I ${libexpat:location}/include"
41   --with-http_dav_module 
42   --add-module='${webdav-module:location}'
43
44 [nginx-output]
45 # Shared binary location to ease migration
46 recipe = plone.recipe.command
47 stop-on-error = true
48 update-command = ${:command}
49 command = ${coreutils-output:test} -x ${:nginx} -a -f ${:mime}
50 nginx = ${nginx:location}/sbin/nginx
51 mime = ${nginx:location}/conf/mime.types
52
53
54 [nginx-unstable]
55 <= nginx
56 url = http://nginx.org/download/nginx-1.3.15.tar.gz
57 md5sum = ded252047393c79a31b0862e9166a065
58
59 [hexaglobe-nginx-module]
60 recipe = hexagonit.recipe.download
61 url = http://easicloud-p.cdn.hexaglobe.net/nginx-easicloud.tar.gz
62 md5sum = 57fe2ceb09740f22b5b1023f29889e0e
63 strip-top-level-dir = true
64
65 [nginx-enable-sub]
66 # Used by Hexaglobe for watermarking
67 <= nginx
68 configure-options=
69   --with-ipv6
70   --with-http_ssl_module
71   --with-ld-opt="-L ${zlib:location}/lib -L ${openssl:location}/lib -L ${pcre:location}/lib  -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${openssl:location}/lib"
72   --with-cc-opt="-I ${pcre:location}/include -I ${openssl:location}/include -I ${zlib:location}/include"
73   --add-module=${hexaglobe-nginx-module:location}/sub_module
74 # --add-module=${hexaglobe-nginx-module:location}/nginx-upstream-fair
75
76 [nginx-push-stream-module]
77 recipe = slapos.recipe.build:gitclone
78 repository = https://github.com/wandenberg/nginx-push-stream-module.git
79 revision = 3d3a204177d3a7ab8a2858e04e792a6d11bf133f
80 git-executable = ${git:location}/bin/git
81
82 [nginx-push-stream]
83 <= nginx
84 configure-options=
85   --with-ipv6
86   --with-http_ssl_module
87   --with-ld-opt="-L ${zlib:location}/lib -L ${openssl:location}/lib -L ${pcre:location}/lib  -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${openssl:location}/lib"
88   --with-cc-opt="-I ${pcre:location}/include -I ${openssl:location}/include -I ${zlib:location}/include"
89   --add-module=${nginx-push-stream-module:location}
90
91 [nginx-push-stream-output]
92 <= nginx-output
93 nginx = ${nginx-push-stream:location}/sbin/nginx
94 mime = ${nginx-push-stream:location}/conf/mime.types