Merge branch 'master' into apache
[slapos.git] / component / apache / buildout.cfg
1 [buildout]
2 parts =
3   apache
4   apache-antiloris
5
6 extends =
7   ../libexpat/buildout.cfg
8   ../libuuid/buildout.cfg
9   ../gdbm/buildout.cfg
10   ../openssl/buildout.cfg
11   ../pcre/buildout.cfg
12   ../pkgconfig/buildout.cfg
13   ../sqlite3/buildout.cfg
14   ../zlib/buildout.cfg
15
16 [apache-CVE-2011-3368.patch]
17 recipe = hexagonit.recipe.download
18 md5sum = 1ad598213480ddfc239ce6359b7b2c0b
19 url = http://www.apache.org/dist/httpd/patches/apply_to_2.2.21/CVE-2011-3368.patch
20 filename = ${:_buildout_section_name_}
21 download-only = true
22
23 [apache]
24 # inspired on http://old.aclark.net/team/aclark/blog/a-lamp-buildout-for-wordpress-and-other-php-apps/
25 recipe = hexagonit.recipe.cmmi
26 depends =
27   ${gdbm:version}
28 url = http://mir2.ovh.net/ftp.apache.org/dist//httpd/httpd-2.2.21.tar.bz2
29 md5sum = 1696ae62cd879ab1d4dd9ff021a470f2
30 patches =
31   ${apache-CVE-2011-3368.patch:location}/${apache-CVE-2011-3368.patch:filename}
32 patch-options = -p1
33 configure-options = --disable-static
34                     --enable-authn-alias
35                     --enable-bucketeer
36                     --enable-cache
37                     --enable-case-filter
38                     --enable-case-filter-in
39                     --enable-cgid
40                     --enable-charset-lite
41                     --enable-disk-cache
42                     --enable-echo
43                     --enable-exception-hook
44                     --enable-mods-shared=all
45                     --enable-optional-fn-export
46                     --enable-optional-fn-import
47                     --enable-optional-hook-export
48                     --enable-optional-hook-import
49                     --enable-proxy
50                     --enable-proxy-ajp
51                     --enable-proxy-balancer
52                     --enable-proxy-connect
53                     --enable-proxy-ftp
54                     --enable-proxy-http
55                     --enable-proxy-scgi
56                     --enable-dav
57                     --enable-dav-fs
58                     --enable-so
59                     --enable-ssl
60                     --with-included-apr
61                     --with-ssl=${openssl:location}
62                     --with-z=${zlib:location}
63                     --with-expat=${libexpat:location}
64                     --with-pcre=${pcre:location}
65                     --with-sqlite3=${sqlite3:location}
66                     --with-gdbm=${gdbm:location}
67                     --without-lber
68                     --without-ldap
69                     --without-ndbm
70                     --without-berkeley-db
71                     --without-pgsql
72                     --without-mysql
73                     --without-sqlite2
74                     --without-oracle
75                     --without-freedts
76                     --without-odbc
77                     --without-iconv
78
79 environment =
80   PATH=${pkgconfig:location}/bin:%(PATH)s
81   PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig
82   CPPFLAGS =-I${libuuid:location}/include
83   LDFLAGS =-Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${openssl:location}/lib -L${libuuid:location}/lib -Wl,-rpath=${libuuid:location}/lib -Wl,-rpath=${libexpat:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${sqlite3:location}/lib -Wl,-rpath=${gdbm:location}/lib
84
85 [apache-antiloris]
86 # Note: Shall react on each build of apache and reinstall itself
87 recipe = hexagonit.recipe.cmmi
88 url = http://sourceforge.net/projects/mod-antiloris/files/mod_antiloris-0.4.tar.bz2/download
89 md5sum = 66862bf10e9be3a023e475604a28a0b4
90 configure-command = ${apache:location}/bin/apxs
91 configure-options = -c mod_antiloris.c
92 make-binary = ${:configure-command}
93 make-options = -i -a -n antiloris mod_antiloris.la
94 make-targets =
95
96 [apache-proxy-html]
97 depends = ${apache-xml2enc:location}
98 # Note: Shall react on each build of apache and reinstall itself
99 recipe = hexagonit.recipe.cmmi
100 url = http://apache.webthing.com/mod_proxy_html/mod_proxy_html.tar.bz2
101 #md5sum = 66862bf10e9be3a023e475604a28a0b4
102 configure-command = ${apache:location}/bin/apxs
103 configure-options = -c -I ${libxml2:location}/include/libxml2 -I . mod_proxy_html.c
104 make-binary = ${:configure-command}
105 make-options = -i -a -n proxy_html mod_proxy_html.la
106 make-targets =
107 environment =
108   INC=-I${libxml2:location}/include/libxml2
109
110 [apache-xml2enc]
111 # Note: Shall react on each build of apache and reinstall itself
112 recipe = hexagonit.recipe.cmmi
113 url = http://olex.openlogic.com/content/openlogic/mod_xml2enc/1.0.4/openlogic-mod_xml2enc-1.0.4-all-src-1.zip
114 md5sum = 3c5a8ae6c011849a0a66af3a81d77bc5
115 configure-command = ${apache:location}/bin/apxs
116 configure-options = -c -I ${libxml2:location}/include/libxml2 mod_xml2enc.c
117 make-binary = ${:configure-command}
118 make-options = -i -a -n xml2enc mod_xml2enc.la 
119 make-targets =
120 environment =
121   INC=-I${libxml2:location}/include/libxml2
122