version up : percona-toolkit 2.2.10.
[slapos.git] / component / apache / buildout.cfg
1 [buildout]
2 parts =
3   apache
4   apache-antiloris
5
6 extends =
7   ../gdbm/buildout.cfg
8   ../libexpat/buildout.cfg
9   ../libuuid/buildout.cfg
10   ../libxml2/buildout.cfg
11   ../openssl/buildout.cfg
12   ../pcre/buildout.cfg
13   ../perl/buildout.cfg
14   ../pkgconfig/buildout.cfg
15   ../sqlite3/buildout.cfg
16   ../zlib/buildout.cfg
17
18 [apr]
19 recipe = hexagonit.recipe.download
20 version = 1.5.0
21 md5sum = cc93bd2c12d0d037f68e21cc6385dc31
22 url = https://archive.apache.org/dist/apr/apr-${:version}.tar.bz2
23
24 [apr-util]
25 recipe = hexagonit.recipe.download
26 version = 1.5.3
27 url = https://archive.apache.org/dist/apr/apr-util-${:version}.tar.bz2
28 md5sum = 6f3417691c7a27090f36e7cf4d94b36e
29
30 [apache]
31 # inspired on http://old.aclark.net/team/aclark/blog/a-lamp-buildout-for-wordpress-and-other-php-apps/
32 recipe = slapos.recipe.cmmi
33 version = 2.4.10
34 url = https://archive.apache.org/dist/httpd/httpd-${:version}.tar.bz2
35 md5sum = 44543dff14a4ebc1e9e2d86780507156
36 configure-command = cp -ar ${apr:location}/apr-${apr:version} srclib/apr/; cp -ar ${apr-util:location}/apr-util-${apr-util:version} srclib/apr-util; ./configure
37 configure-options = --prefix=${buildout:parts-directory}/${:_buildout_section_name_}
38                     --disable-static
39                     --enable-authn-alias
40                     --enable-bucketeer
41                     --enable-cache
42                     --enable-case-filter
43                     --enable-case-filter-in
44                     --enable-cgid
45                     --enable-charset-lite
46                     --enable-disk-cache
47                     --enable-mem-cache
48                     --enable-echo
49                     --enable-exception-hook
50                     --enable-mods-shared=all
51                     --enable-optional-fn-export
52                     --enable-optional-fn-import
53                     --enable-optional-hook-export
54                     --enable-optional-hook-import
55                     --enable-proxy
56                     --enable-proxy-ajp
57                     --enable-proxy-balancer
58                     --enable-proxy-connect
59                     --enable-proxy-ftp
60                     --enable-proxy-http
61                     --enable-proxy-scgi
62                     --enable-dav
63                     --enable-dav-fs
64                     --enable-so
65                     --enable-ssl
66                     --disable-lua
67                     --with-included-apr
68                     --with-ssl=${openssl:location}
69                     --with-z=${zlib:location}
70                     --with-expat=${libexpat:location}
71                     --with-libxml2=${libxml2:location}/include/libxml2
72                     --with-pcre=${pcre:location}
73                     --with-sqlite3=${sqlite3:location}
74                     --with-gdbm=${gdbm:location}
75                     --without-lber
76                     --without-ldap
77                     --without-ndbm
78                     --without-berkeley-db
79                     --without-pgsql
80                     --without-mysql
81                     --without-sqlite2
82                     --without-oracle
83                     --without-freedts
84                     --without-odbc
85                     --without-iconv
86
87 environment =
88   PATH=${perl:location}/bin:${pkgconfig:location}/bin:%(PATH)s
89   PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig
90   CPPFLAGS =-I${libuuid:location}/include -I${openssl:location}/include
91   LDFLAGS =-Wl,-rpath=${zlib:location}/lib -Wl,-rpath=${openssl:location}/lib -L${libuuid:location}/lib -Wl,-rpath=${libuuid:location}/lib -L${libxml2:location}/lib -Wl,-rpath=${libxml2:location}/lib -Wl,-rpath=${pcre:location}/lib -Wl,-rpath=${sqlite3:location}/lib -Wl,-rpath=${gdbm:location}/lib
92
93 [apache-antiloris]
94 # Note: Shall react on each build of apache and reinstall itself
95 recipe = slapos.recipe.cmmi
96 url = http://downloads.sourceforge.net/project/mod-antiloris/mod_antiloris-0.4.tar.bz2
97 md5sum = 66862bf10e9be3a023e475604a28a0b4
98 patch-options = -p0
99 # http://www.apachelounge.com/viewtopic.php?p=19139
100 # http://www.apachelounge.com/viewtopic.php?p=20551
101 patches =
102   ${:_profile_base_location_}/mod_antiloris-apache-2.4.patch#4f074f035d3b37f3f3e71cd9616440f3
103 configure-command = ${apache:location}/bin/apxs
104 configure-options = -c mod_antiloris.c
105 make-binary = ${:configure-command}
106 make-options = -i -a -n antiloris mod_antiloris.la
107 make-targets =
108
109 [apache-2.2]
110 # inspired on http://old.aclark.net/team/aclark/blog/a-lamp-buildout-for-wordpress-and-other-php-apps/
111 recipe = slapos.recipe.cmmi
112 version = 2.2.27
113 url = https://archive.apache.org/dist/httpd/httpd-${:version}.tar.bz2
114 md5sum = 8faef0decf3fa7e69b2568eb2105a3d8
115 patch-options = -p1
116 configure-options = --disable-static
117                     --enable-authn-alias
118                     --enable-bucketeer
119                     --enable-cache
120                     --enable-case-filter
121                     --enable-case-filter-in
122                     --enable-cgid
123                     --enable-charset-lite
124                     --enable-disk-cache
125                     --enable-mem-cache
126                     --enable-echo
127                     --enable-exception-hook
128                     --enable-mods-shared=all
129                     --enable-optional-fn-export
130                     --enable-optional-fn-import
131                     --enable-optional-hook-export
132                     --enable-optional-hook-import
133                     --enable-proxy
134                     --enable-proxy-ajp
135                     --enable-proxy-balancer
136                     --enable-proxy-connect
137                     --enable-proxy-ftp
138                     --enable-proxy-http
139                     --enable-proxy-scgi
140                     --enable-dav
141                     --enable-dav-fs
142                     --enable-dav-lock
143                     --enable-so
144                     --enable-ssl
145                     --with-included-apr
146                     --with-ssl=${openssl:location}
147                     --with-z=${zlib:location}
148                     --with-expat=${libexpat:location}
149                     --with-pcre=${pcre:location}
150                     --with-sqlite3=${sqlite3:location}
151                     --with-gdbm=${gdbm:location}
152                     --without-lber
153                     --without-ldap
154                     --without-ndbm
155                     --without-berkeley-db
156                     --without-pgsql
157                     --without-mysql
158                     --without-sqlite2
159                     --without-oracle
160                     --without-freedts
161                     --without-odbc
162                     --without-iconv
163
164 environment =
165   PATH=${perl:location}/bin:${pkgconfig:location}/bin:%(PATH)s
166   PKG_CONFIG_PATH=${openssl:location}/lib/pkgconfig
167   CPPFLAGS =-I${libuuid:location}/include
168   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
169
170 [apache-antiloris-apache-2.2]
171 # Note: Shall react on each build of apache and reinstall itself
172 recipe = slapos.recipe.cmmi
173 url = http://downloads.sourceforge.net/project/mod-antiloris/mod_antiloris-0.4.tar.bz2
174 md5sum = 66862bf10e9be3a023e475604a28a0b4
175 configure-command = ${apache-2.2:location}/bin/apxs
176 configure-options = -c mod_antiloris.c
177 make-binary = ${:configure-command}
178 make-options = -i -a -n antiloris mod_antiloris.la
179 make-targets =