Fix mariadb logrotate.
[slapos.git] / stack / erp5 / buildout.cfg
1 [buildout]
2 # Local development
3 develop =
4   ${:parts-directory}/slapos.cookbook-repository
5   ${:parts-directory}/cloudooo-repository
6
7 extensions =
8   slapos.zcbworkarounds
9   mr.developer
10
11 find-links =
12     http://www.nexedi.org/static/packages/source/slapos.buildout/
13     http://www.nexedi.org/static/packages/source/hexagonit.recipe.download/
14     http://dist.repoze.org
15     http://www.nexedi.org/static/packages/source/
16     http://www.owlfish.com/software/wsgiutils/download.html
17
18 extends =
19 # Exact version of Zope
20   http://svn.zope.org/repos/main/Zope/tags/2.12.26/versions.cfg
21   ../../stack/slapos.cfg
22   ../../component/logrotate/buildout.cfg
23   ../../component/dcron/buildout.cfg
24   ../../component/file/buildout.cfg
25   ../../component/fonts/buildout.cfg
26   ../../component/ghostscript/buildout.cfg
27   ../../component/git/buildout.cfg
28   ../../component/graphviz/buildout.cfg
29   ../../component/gzip/buildout.cfg
30   ../../component/haproxy/buildout.cfg
31   ../../component/hookbox/buildout.cfg
32   ../../component/librsvg/buildout.cfg
33   ../../component/imagemagick/buildout.cfg
34   ../../component/kumo/buildout.cfg
35   ../../component/libdmtx/buildout.cfg
36   ../../component/libpng/buildout.cfg
37   ../../component/libreoffice-bin/buildout.cfg
38   ../../component/lxml-python/buildout.cfg
39   ../../component/percona-toolkit/buildout.cfg
40   ../../component/mariadb/buildout.cfg
41   ../../component/memcached/buildout.cfg
42   ../../component/mysql-python/buildout.cfg
43   ../../component/pdftk/buildout.cfg
44   ../../component/pil-python/buildout.cfg
45   ../../component/pycrypto-python/buildout.cfg
46   ../../component/pysvn-python/buildout.cfg
47   ../../component/python-2.6/buildout.cfg
48   ../../component/python-2.7/buildout.cfg
49   ../../component/python-ldap-python/buildout.cfg
50   ../../component/rdiff-backup/buildout.cfg
51   ../../component/subversion/buildout.cfg
52   ../../component/tesseract/buildout.cfg
53   ../../component/varnish/buildout.cfg
54   ../../component/w3-validator/buildout.cfg
55   ../../component/w3m/buildout.cfg
56   ../../component/xorg/buildout.cfg
57   ../../component/poppler/buildout.cfg
58   ../../component/xtrabackup/buildout.cfg
59   ../../component/zabbix/buildout.cfg
60   ../../component/sed/buildout.cfg
61   ../../component/coreutils/buildout.cfg
62   ../../component/grep/buildout.cfg
63   ../../component/dash/buildout.cfg
64   ../../component/wget/buildout.cfg
65   ../../component/aspell/buildout.cfg
66   ../../component/cloudooo/buildout.cfg
67   ../../component/6tunnel/buildout.cfg
68
69 parts =
70   rdiff-backup
71   aspell
72   aspell-en-dictionary
73   apache
74   apache-antiloris
75   file
76   graphviz
77   memcached
78   haproxy
79   varnish-3.0
80   w3m
81   poppler
82   libpng
83   ghostscript
84   mariadb
85   mroonga-mariadb
86   imagemagick
87   libdmtx
88   dmtx-utils
89   kumo
90   libreoffice-bin
91   w3-validator
92   tesseract
93   hookbox
94   bootstrap2.6
95   perl-DBD-mariadb
96   perl-DBI
97   percona-toolkit
98   zabbix-agent
99   pdftk
100   dcron
101   dash
102   wget
103
104 # Buildoutish
105   eggs
106   testrunner
107   test_suite_runner
108
109 # basic Xorg
110   libXdmcp
111   libXext
112   libXau
113   libSM
114   libXrender
115
116 # fonts
117   liberation-fonts
118   ipaex-fonts
119   ocrb-fonts
120
121 # Cloudooo specific part
122   cloudooo
123
124 # get git repositories
125   erp5
126   genbt5list
127
128 # fix products path (Zeo needs ERP5 Products to be available for
129 # conflict resolution)
130   fix-products-paths
131 # some additional utils
132   slapos-toolbox
133
134 # Local development
135   slapos.cookbook-repository
136   check-recipe
137   slapos.cookbook-python2.6
138   slapos.recipe.template-python2.6
139 # Create instance template
140   template
141
142 [download-base]
143 recipe = slapos.recipe.build:download
144 url = ${:_profile_base_location_}/${:filename}
145 mode = 640
146
147 # Local development
148 [slapos.cookbook-repository]
149 recipe = slapos.recipe.build:gitclone
150 repository = http://git.erp5.org/repos/slapos.git
151 branch = erp5-component
152 git-executable = ${git:location}/bin/git
153
154 [check-recipe]
155 recipe = plone.recipe.command
156 stop-on-error = true
157 update-command = ${:command}
158 command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
159
160 [slapos.cookbook-python2.6]
161 recipe = zc.recipe.egg
162 eggs = slapos.cookbook
163 scripts =
164 python = python2.6
165 ugly-depend-on = ${slapos.cookbook-repository:repository} ${slapos.cookbook-repository:branch}
166
167 [slapos.recipe.template-python2.6]
168 recipe = zc.recipe.egg
169 eggs = slapos.recipe.template
170 scripts =
171 python = python2.6
172
173 [template-jinja2-base]
174 recipe = slapos.recipe.template:jinja2
175 template = ${:_profile_base_location_}/${:filename}.in
176 rendered = ${buildout:directory}/${:filename}
177 # XXX: extra-context is needed because we cannot append to a key of an extended
178 # section.
179 extra-context =
180 context =
181     key bin_directory buildout:bin-directory
182     key develop_eggs_directory buildout:develop-eggs-directory
183     key eggs_directory buildout:eggs-directory
184     ${:extra-context}
185
186 [template-mariadb]
187 < = download-base
188 filename = instance-mariadb.cfg.in
189 md5sum = ed3ca668c8b3c4729bf3e1b986c14b5a
190
191 [template-zope]
192 < = download-base
193 filename = instance-zope.cfg.in
194 md5sum = 7b1b6ee1fd122f5590844a90853622dc
195
196 [template-kumofs]
197 < = download-base
198 filename = instance-kumofs.cfg.in
199 md5sum = 62759c4cbb586bd4d0dcf82c08654e7a
200
201 [template-cloudooo]
202 < = download-base
203 filename = instance-cloudoo.cfg.in
204 md5sum = 24fc2dccc7ec20ec317ac4a9530ce6ac
205
206 [template-zope-conf]
207 < = download-base
208 filename = zope.conf.in
209 md5sum = c4c42d06c63d33de703fc03415e34d84
210
211 [template]
212 < = template-jinja2-base
213 # XXX: "template.cfg" is hardcoded in instanciation recipe
214 filename = template.cfg
215 template = ${:_profile_base_location_}/instance.cfg.in
216 md5sum = 2d9fa15edcc5d336b79a602d2c24d7e6
217 extra-context =
218     key apache_location apache:location
219     key aspell_location aspell:location
220     key buildout_bin_directory buildout:bin-directory
221     key coreutils_location coreutils:location
222     key curl_location curl:location
223     key dash_location dash:location
224     key dcron_location dcron:location
225     key dmtx_utils_location dmtx-utils:location
226     key erp5_location erp5:location
227     key file_location file:location
228     key fontconfig_location fontconfig:location
229     key fonts_location fonts:location
230     key freetype_location freetype:location
231     key gettext_location gettext:location
232     key git_location git:location
233     key graphviz_location graphviz:location
234     key grep_location grep:location
235     key gzip_location gzip:location
236     key haproxy_location haproxy:location
237     key imagemagick_location imagemagick:location
238     key kumo_location kumo:location
239     key libICE_location libICE:location
240     key libSM_location libSM:location
241     key libX11_location libX11:location
242     key libXau_location libXau:location
243     key libXdmcp_location libXdmcp:location
244     key libXext_location libXext:location
245     key libXrender_location libXrender:location
246     key libpng12_location libpng12:location
247     key libreoffice_bin_location libreoffice-bin:location
248     key librsvg_location librsvg:location
249     key libxcb_location libxcb:location
250     key local_bt5_repository local-bt5-repository:list
251     key logrotate_location logrotate:location
252     key mariadb_location mariadb:location
253     key memcached_location memcached:location
254     key openssl_location openssl:location
255     key perl_location perl:location
256     key perl_siteprefix perl:siteprefix
257     key pdftk_location pdftk:location
258     key poppler_location poppler:location
259     key sed_location sed:location
260     key template_balancer template-balancer:target
261     key template_cloudooo template-cloudooo:target
262     key template_cluster_zope template-cluster-zope:target
263     key template_erp5_single template-erp5-single:target
264     key template_erp5_cluster template-erp5-cluster:target
265     key template_kumofs template-kumofs:target
266     key template_logrotate_base template-logrotate-base:rendered
267     key template_mariadb template-mariadb:target
268     key template_memcached template-memcached:target
269     key template_varnish template-varnish:target
270     key template_zeo template-zeo:target
271     key template_zope template-zope:target
272     key template_zope_conf template-zope-conf:target
273     key tesseract_location tesseract:location
274     key sixtunnel_location 6tunnel:location
275     key varnish_location varnish-3.0:location
276     key w3m_location w3m:location
277     key wget_location wget:location
278     key xtrabackup_location xtrabackup:location
279     key zlib_location zlib:location
280
281 [template-memcached]
282 < = download-base
283 filename = instance-memcached.cfg.in
284 md5sum = 25bffcb311aa0a202e68399a413fd780
285
286 [template-erp5-single]
287 < = download-base
288 filename = instance-erp5-single.cfg.in
289 md5sum = f82d59347fdf707ffd671654d318ca70
290
291 [template-erp5-cluster]
292 < = download-base
293 filename = instance-erp5-cluster.cfg.in
294 md5sum = b044df76edad94dc5bfc2729e3041573
295
296 [template-zeo]
297 < = download-base
298 filename = instance-zeo.cfg.in
299 md5sum = 9d49e6787600a416545a8ff228abb720
300
301 [template-cluster-zope]
302 < = download-base
303 filename = instance-cluster-zope.cfg.in
304 md5sum = 22c351ae5edd507e8cd3de1abeb705f3
305
306 [template-balancer]
307 < = download-base
308 filename = instance-balancer.cfg.in
309 md5sum = 787fa10c0dc4e607706c572ba8e06386
310
311 [template-logrotate-base]
312 < = template-jinja2-base
313 filename = instance-logrotate-base.cfg
314 md5sum = af19ff0c7817df85987c69738fb083f2
315 extra-context =
316     key dcron_location dcron:location
317     key gzip_location gzip:location
318     key logrotate_location logrotate:location
319
320 [template-varnish]
321 < = download-base
322 filename = instance-varnish.cfg.in
323 md5sum = f7c47ffc3e23e07f81eb4ca172286ccc
324
325 [bt5-repository]
326 # Format:
327 #   <url or path> [...]
328 #
329 # Use absolute paths for local repositories, and URLs for non-local otherwise.
330 #
331 list = ${local-bt5-repository:list}
332
333 [local-bt5-repository]
334 # Same as bt5-repository, but only local repository.
335 # Used to generate bt5lists.
336 list = ${erp5:location}/bt5 ${erp5:location}/product/ERP5/bootstrap
337
338 [genbt5list]
339 recipe = plone.recipe.command
340 stop-on-error = true
341 genbt5list = ${erp5:location}/product/ERP5/bin/genbt5list
342 command =
343   ${buildout:executable} ${:genbt5list} ${local-bt5-repository:list}
344 update-command = ${:command}
345
346 [bootstrap2.6]
347 python = python2.6
348
349 [erp5_repository_list]
350 repository_id_list = erp5
351
352 [erp5]
353 recipe = slapos.recipe.build:gitclone
354 repository = http://git.erp5.org/repos/erp5.git
355 branch = erp5-component
356 git-executable = ${git:location}/bin/git
357
358 [fix-products-paths]
359 recipe = plone.recipe.command
360 stop-on-error = true
361 command =
362   for DIR in "${erp5:location}"; do cd "$DIR"; rm -f Products ; ln -s product Products; touch product/__init__.py; done
363 update-command = ${:command}
364
365 [testrunner]
366 # XXX: Workaround for fact ERP5Type is not an distribution and does not
367 #      expose entry point for test runner
368 recipe = zc.recipe.egg
369 python = python2.6
370 eggs = ${eggs:eggs}
371 extra-paths = ${eggs:extra-paths}
372 entry-points =
373   runUnitTest=runUnitTest:main
374 scripts = runUnitTest
375 initialization =
376   import glob, imp, os, sys
377   import App # prevent Testing from importing Zope2.App instead of App
378   import Products
379   Products.__path__[:0] = filter(None,
380     os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep))
381   os.environ['SOFTWARE_HOME'] = os.path.abspath(imp.find_module('Zope2')[1])
382   os.environ['ZOPE_SCRIPTS'] = ''
383   parts_directory = '''${buildout:parts-directory}'''
384   repository_id_list = \
385     '''${erp5_repository_list:repository_id_list}'''.split()[::-1]
386   os.environ['erp5_tests_bt5_path'] = ','.join(sum((
387     [bt5_path, os.path.join(bt5_path, '*')]
388     for bt5_path in (os.path.join(parts_directory, x, 'bt5')
389                      for x in repository_id_list)), []))
390   extra_path_list = '''${:extra-paths}'''.split()
391   sys.path[:0] = sum((
392     glob.glob(os.path.join(x, 'tests'))
393     for x in extra_path_list), [])
394   sys.path[:0] = sum((
395     glob.glob(os.path.join(x, 'Products', '*', 'tests'))
396     for x in extra_path_list), [])
397
398 [test_suite_runner]
399 # XXX: Workaround for fact ERP5Type is not an distribution and does not
400 #      expose entry point for test runner
401 recipe = zc.recipe.egg
402 python = python2.6
403 eggs = ${eggs:eggs}
404 extra-paths = ${eggs:extra-paths}
405 entry-points =
406   runTestSuite=Products.ERP5Type.tests.runTestSuite:main
407 scripts = runTestSuite
408 initialization =
409   import os
410   import sys
411   import Products
412   [Products.__path__.insert(0, p) for p in reversed(os.environ.get('INSERT_PRODUCTS_PATH', '').split(':')) if p]
413   import Zope2
414   os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__)))
415   os.environ['ZOPE_SCRIPTS'] = ''
416   repository_id_list = list(reversed('''${erp5_repository_list:repository_id_list}'''.split()))
417   sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x]) for x in repository_id_list]
418
419 [eggs]
420 recipe = zc.recipe.egg
421 python = python2.6
422 eggs =
423   ${mysql-python:egg}
424   ${lxml-python:egg}
425   ${pil-python:egg}
426   ${python-ldap-python:egg}
427   ${pysvn-python:egg}
428   ${pycrypto-python:egg}
429   PyXML
430   SOAPpy
431   cElementTree
432   chardet
433   coverage
434   elementtree
435   erp5diff
436   inotifyx
437   ipdb
438   mechanize
439   numpy
440   ordereddict
441   paramiko
442   ply
443   python-magic
444   python-memcached
445   pytz
446   requests
447   threadframe
448   timerserver
449   urlnorm
450   uuid
451   xml_marshaller
452   xupdate_processor
453   feedparser
454   argparse
455   validictory
456   erp5.util
457   huBarcode
458   qrcode
459
460 # Zope
461   ZODB3
462   Zope2
463 # Zope acquisition patch
464   Acquisition
465
466 # Other Zope 2 packages
467   Products.PluggableAuthService
468   Products.PluginRegistry
469
470 # CMF 2.2
471   Products.CMFActionIcons
472   Products.CMFCalendar
473   Products.CMFCore
474   Products.CMFDefault
475   Products.CMFTopic
476   Products.CMFUid
477   Products.DCWorkflow
478   Products.GenericSetup
479   five.localsitemanager
480
481 # Other products
482   Products.DCWorkflowGraph
483   Products.MimetypesRegistry
484   Products.ExternalEditor
485   Products.TIDStorage
486
487 # Currently forked in our repository
488 #    Products.PortalTransforms
489 # Dependency for our fork of PortalTransforms
490   StructuredText
491
492 # Needed for parsing .po files from our Localizer subset
493   polib
494
495 # parameterizing the version of the generated python interpreter name by the
496 # python section version causes dependency between this egg section and the
497 # installation of python, which we don't want on an instance
498 interpreter = python2.6
499 scripts =
500   repozo
501   runzope
502   runzeo
503   tidstoraged
504   tidstorage_repozo
505   web_checker_utility = erp5.util.webchecker:web_checker_utility
506
507 extra-paths =
508   ${erp5:location}
509
510 [cloudooo-repository]
511 branch = master
512 revision = 4cdfffb3f81a0fdbb7b372d92de664e716f12d4b
513
514 [mysql-python]
515 python = python2.6
516
517 [lxml-python]
518 python = python2.6
519
520 [pil-python]
521 python = python2.6
522
523 [python-ldap-python]
524 python = python2.6
525
526 [pysvn-python]
527 python = python2.6
528
529 [slapos-toolbox]
530 recipe = zc.recipe.egg
531 python = ${eggs:python}
532 eggs =
533   ${lxml-python:egg}
534   slapos.toolbox
535   slapos.toolbox[zodbpack]
536
537 scripts =
538   killpidfromfile
539   onetimedownload
540   zodbpack
541
542 [versions]
543 # pin Acquisition and Products.DCWorkflow to Nexedi flavour of eggs
544 Acquisition = 2.13.7nxd001
545 Products.DCWorkflow = 2.2.3nxd002
546
547 # Known version with works
548 numpy = 1.6.2
549 # Patched version which support python 2.6
550 PyXML = 0.8.4nxd001
551 # modified version that works fine for buildout installation
552 SOAPpy = 0.12.0nxd001
553 # we are still using this old stable version.
554 rdiff-backup = 1.0.5
555
556 # official pysvn egg does not supports --include-dirs and
557 # --library-dirs, so we use our modified version
558 pysvn = 1.7.4nxd006
559
560 # CMF 2.3 requries Zope 2.13.
561 Products.CMFCalendar = 2.2.2
562 Products.CMFCore = 2.2.6
563 Products.CMFDefault = 2.2.2
564 Products.CMFTopic = 2.2.1
565 Products.CMFUid = 2.2.1
566
567 # Unpined locally developed egg
568 slapos.cookbook =
569
570 # Pinned versions
571 Flask = 0.9
572 GitPython = 0.3.2.RC1
573 MySQL-python = 1.2.3
574 PIL = 1.1.7
575 Paste = 1.7.5.1
576 PasteDeploy = 1.5.0
577 PasteScript = 1.7.5
578 Products.CMFActionIcons = 2.1.3
579 Products.DCWorkflowGraph = 0.4.1
580 Products.ExternalEditor = 1.1.0
581 Products.GenericSetup = 1.7.2
582 Products.MimetypesRegistry = 2.0.3
583 Products.PluggableAuthService = 1.8.0
584 Products.PluginRegistry = 1.3
585 Products.TIDStorage = 5.4.8
586 Products.Zelenium = 1.0.3
587 StructuredText = 2.11.1
588 WSGIUtils = 0.7
589 Werkzeug = 0.8.3
590 apache-libcloud = 0.11.1
591 argparse = 1.2.1
592 async = 0.6.1
593 atomize = 0.1.1
594 buildout-versions = 1.7
595 cElementTree = 1.0.5-20051216
596 chardet = 1.1
597 coverage = 3.5.2
598 csp-eventlet = 0.7.0
599 elementtree = 1.2.7-20070827-preview
600 erp5.recipe.cmmiforcei686 = 0.1.3
601 erp5.util = 0.4.22
602 erp5diff = 0.8.1.5
603 eventlet = 0.9.17
604 feedparser = 5.1.2
605 five.localsitemanager = 2.0.5
606 fpconst = 0.7.2
607 gitdb = 0.5.4
608 greenlet = 0.4.0
609 hexagonit.recipe.cmmi = 1.6
610 http-parser = 0.7.8
611 huBarcode = 0.63
612 inotifyx = 0.2.0
613 ipdb = 0.7
614 ipython = 0.13
615 meld3 = 0.6.8
616 netaddr = 0.7.9
617 netifaces = 0.8
618 ordereddict = 1.1
619 paramiko = 1.7.7.2
620 plone.recipe.command = 1.1
621 ply = 3.4
622 polib = 1.0.0
623 psutil = 0.6.1
624 python-ldap = 2.4.10
625 python-magic = 0.4.3
626 python-memcached = 1.47-ipv6-1
627 restkit = 4.2.0
628 rtjp-eventlet = 0.3.2
629 setuptools = 0.6c12dev-r88846
630 slapos.core = 0.28
631 slapos.libnetworkcache = 0.13.2
632 slapos.recipe.build = 0.11.4
633 slapos.recipe.template = 2.4.2
634 slapos.toolbox = 0.29
635 smmap = 0.8.2
636 socketpool = 0.5.2
637 supervisor = 3.0a12
638 threadframe = 0.2
639 timerserver = 2.0.2
640 urlnorm = 1.1.2
641 uuid = 1.30
642 validictory = 0.8.3
643 xml-marshaller = 0.9.7
644 xupdate-processor = 0.4
645 mr.developer = 1.21
646 qrcode = 2.4.1
647 requests = 0.13.2