moved apache, postgres cfgs in own directories, renamed part
[slapos.git] / stack / lapp / buildout.cfg
1 [buildout]
2 parts =
3   apache-php-postgres
4   eggs
5   template
6   psycopg2
7   template-apache-php
8   template-postgres
9
10
11 extends =
12   ../../component/apache/buildout.cfg
13   ../../component/apache-php/buildout.cfg
14   ../../component/dash/buildout.cfg
15   ../../component/dcron/buildout.cfg
16   ../../component/gzip/buildout.cfg
17   ../../component/logrotate/buildout.cfg
18   ../../component/lxml-python/buildout.cfg
19   ../../component/postgresql/buildout.cfg
20   ../../component/stunnel/buildout.cfg
21   ../slapos.cfg
22
23
24 [application]
25 recipe = hexagonit.recipe.download
26 strip-top-level-dir = true
27
28
29
30 [eggs]
31 recipe = zc.recipe.egg
32 eggs =
33   ${lxml-python:egg}
34   ${psycopg2:egg}
35   slapos.toolbox
36   cns.recipe.symlink
37
38
39
40 [template]
41 recipe = slapos.recipe.template
42 url = ${:_profile_base_location_}/instance.cfg
43 output = ${buildout:directory}/template.cfg
44 #md5sum =
45 mode = 0644
46
47
48 [template-apache-php]
49 recipe = slapos.recipe.template
50 url = ${:_profile_base_location_}/apache/instance-apache-php.cfg.in
51 output = ${buildout:directory}/template-apache-php.cfg
52 #md5sum = 
53 mode = 0644
54
55 [template-postgres]
56 recipe = slapos.recipe.template
57 url = ${:_profile_base_location_}/postgres/instance-postgres.cfg.in
58 output = ${buildout:directory}/template-postgres.cfg
59 #md5sum = 
60 mode = 0644
61
62
63 # Dummy parts in case no application configuration file is needed
64 [application-template]
65 filename =
66 location =
67
68 [application-configuration]
69 location =
70
71 [psycopg2-env]
72 PATH = ${postgresql:location}/bin:%(PATH)s
73
74
75 [psycopg2]
76 recipe = zc.recipe.egg:custom
77 egg = psycopg2
78 define = PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
79 environment = psycopg2-env
80 include-dirs =
81     ${postgresql:location}/include
82 library-dirs =
83     ${postgresql:location}/lib
84 rpath = 
85     ${postgresql:location}/lib
86
87