4 ${:parts-directory}/slapos.cookbook-repository
5 ${:parts-directory}/cloudooo-repository
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
18 allow-hosts += pybrary.net
21 # Exact version of Zope
22 http://svn.zope.org/repos/main/Zope/tags/2.12.26/versions.cfg
23 ../../stack/slapos.cfg
24 ../../component/logrotate/buildout.cfg
25 ../../component/dcron/buildout.cfg
26 ../../component/file/buildout.cfg
27 ../../component/fonts/buildout.cfg
28 ../../component/ghostscript/buildout.cfg
29 ../../component/git/buildout.cfg
30 ../../component/graphviz/buildout.cfg
31 ../../component/gzip/buildout.cfg
32 ../../component/haproxy/buildout.cfg
33 ../../component/hookbox/buildout.cfg
34 ../../component/librsvg/buildout.cfg
35 ../../component/imagemagick/buildout.cfg
36 ../../component/kumo/buildout.cfg
37 ../../component/libdmtx/buildout.cfg
38 ../../component/libpng/buildout.cfg
39 ../../component/libreoffice-bin/buildout.cfg
40 ../../component/lxml-python/buildout.cfg
41 ../../component/percona-toolkit/buildout.cfg
42 ../../component/mariadb/buildout.cfg
43 ../../component/memcached/buildout.cfg
44 ../../component/mysql-python/buildout.cfg
45 ../../component/pil-python/buildout.cfg
46 ../../component/pycrypto-python/buildout.cfg
47 ../../component/pysvn-python/buildout.cfg
48 ../../component/python-2.6/buildout.cfg
49 ../../component/python-2.7/buildout.cfg
50 ../../component/python-ldap-python/buildout.cfg
51 ../../component/rdiff-backup/buildout.cfg
52 ../../component/subversion/buildout.cfg
53 ../../component/tesseract/buildout.cfg
54 ../../component/varnish/buildout.cfg
55 ../../component/w3-validator/buildout.cfg
56 ../../component/w3m/buildout.cfg
57 ../../component/xorg/buildout.cfg
58 ../../component/poppler/buildout.cfg
59 ../../component/xtrabackup/buildout.cfg
60 ../../component/zabbix/buildout.cfg
61 ../../component/sed/buildout.cfg
62 ../../component/coreutils/buildout.cfg
63 ../../component/grep/buildout.cfg
64 ../../component/dash/buildout.cfg
65 ../../component/wget/buildout.cfg
66 ../../component/aspell/buildout.cfg
67 ../../component/cloudooo/buildout.cfg
120 # Cloudooo specific part
123 # get git repositories
127 # fix products path (Zeo needs ERP5 Products to be available for
128 # conflict resolution)
130 # some additional utils
134 slapos.cookbook-repository
136 slapos.cookbook-python2.6
137 slapos.recipe.template-python2.6
138 # Create instance template
142 [slapos.cookbook-repository]
143 recipe = slapos.recipe.build:gitclone
144 repository = http://git.erp5.org/repos/slapos.git
145 branch = erp5-component
146 git-executable = ${git:location}/bin/git
149 recipe = plone.recipe.command
151 update-command = ${:command}
152 command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
154 [slapos.cookbook-python2.6]
155 recipe = zc.recipe.egg
156 eggs = slapos.cookbook
159 ugly-depend-on = ${slapos.cookbook-repository:repository} ${slapos.cookbook-repository:branch}
161 [slapos.recipe.template-python2.6]
162 recipe = zc.recipe.egg
163 eggs = slapos.recipe.template
167 [template-jinja2-base]
168 recipe = slapos.recipe.template:jinja2
169 template = ${:_profile_base_location_}/${:filename}.in
170 rendered = ${buildout:directory}/${:filename}
171 # XXX: extra-context is needed because we cannot append to a key of an extended
175 key bin_directory buildout:bin-directory
176 key develop_eggs_directory buildout:develop-eggs-directory
177 key eggs_directory buildout:eggs-directory
181 < = template-jinja2-base
182 filename = instance-mariadb.cfg
183 md5sum = 49ae6f1bf97d3755978fe08b8e29fb5a
185 key coreutils_location coreutils:location
186 key dcron_location dcron:location
187 key gettext_location gettext:location
188 key grep_location grep:location
189 key gzip_location gzip:location
190 key logrotate_location logrotate:location
191 key mariadb_location mariadb:location
192 key perl_location perl:location
193 key perl_siteprefix perl:siteprefix
194 key sed_location sed:location
195 key xtrabackup_location xtrabackup:location
198 recipe = slapos.recipe.build:download
199 url = ${:_profile_base_location_}/instance-zope.cfg.in
200 md5sum = 918b972679d5c06082363d41483324a7
204 < = template-jinja2-base
205 filename = instance-kumofs.cfg
206 md5sum = 7e13d689de7163dcab64e8df4711cdd7
208 key dash_location dash:location
209 key dcron_location dcron:location
210 key gzip_location gzip:location
211 key kumo_location kumo:location
212 key logrotate_location logrotate:location
214 [template-tidstorage]
215 recipe = slapos.recipe.build:download
216 url = ${:_profile_base_location_}/instance-tidstorage.cfg.in
217 md5sum = bd5872108f812c6823a8915670e51c4c
221 recipe = slapos.recipe.build:download
222 url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
223 md5sum = 53492e520be57f4c6a9eacd107c8d446
227 recipe = slapos.recipe.build:download
228 url = ${:_profile_base_location_}/zope.conf.in
229 md5sum = bc2154161a1d5baddc4ed4dfaaf94fbe
233 < = template-jinja2-base
234 # XXX: "template.cfg" is hardcoded in instanciation recipe
235 filename = template.cfg
236 template = ${:_profile_base_location_}/instance.cfg.in
237 md5sum = 2576de300d1a74fd1a99388af9723d42
239 key apache_location apache:location
240 key aspell_location aspell:location
241 key buildout_bin_directory buildout:bin-directory
242 key coreutils_location coreutils:location
243 key curl_location curl:location
244 key dash_location dash:location
245 key dcron_location dcron:location
246 key dmtx_utils_location dmtx-utils:location
247 key erp5_location erp5:location
248 key file_location file:location
249 key fontconfig_location fontconfig:location
250 key fonts_location fonts:location
251 key freetype_location freetype:location
252 key git_location git:location
253 key graphviz_location graphviz:location
254 key grep_location grep:location
255 key gzip_location gzip:location
256 key haproxy_location haproxy:location
257 key imagemagick_location imagemagick:location
258 key libICE_location libICE:location
259 key libSM_location libSM:location
260 key libX11_location libX11:location
261 key libXau_location libXau:location
262 key libXdmcp_location libXdmcp:location
263 key libXext_location libXext:location
264 key libXrender_location libXrender:location
265 key libpng12_location libpng12:location
266 key libreoffice_bin_location libreoffice-bin:location
267 key librsvg_location librsvg:location
268 key libxcb_location libxcb:location
269 key local_bt5_repository local-bt5-repository:list
270 key logrotate_location logrotate:location
271 key mariadb_location mariadb:location
272 key openssl_location openssl:location
273 key poppler_location poppler:location
274 key sed_location sed:location
275 key template_cloudooo template-cloudooo:target
276 key template_erp5_single template-erp5-single:target
277 key template_erp5_cluster template-erp5-cluster:target
278 key template_kumofs template-kumofs:rendered
279 key template_mariadb template-mariadb:rendered
280 key template_memcached template-memcached:rendered
281 key template_tidstorage template-tidstorage:target
282 key template_varnish template-varnish:target
283 key template_zope template-zope:target
284 key template_zope_conf template-zope-conf:target
285 key tesseract_location tesseract:location
286 key varnish_location varnish-3.0:location
287 key w3m_location w3m:location
288 key wget_location wget:location
289 key zlib_location zlib:location
292 < = template-jinja2-base
293 filename = instance-memcached.cfg
294 md5sum = 44c507e9eec1003beb99f9063b5e09be
296 key dash_location dash:location
297 key memcached_location memcached:location
299 [template-erp5-single]
300 recipe = slapos.recipe.build:download
301 url = ${:_profile_base_location_}/instance-erp5-single.cfg.in
302 md5sum = 2a4312202a3160f874c4fa3ee9155a1d
305 [template-erp5-cluster]
306 recipe = slapos.recipe.build:download
307 url = ${:_profile_base_location_}/instance-erp5-cluster.cfg.in
308 md5sum = eecde68b9a266d8883042540ac077839
312 recipe = slapos.recipe.build:download
313 url = ${:_profile_base_location_}/instance-varnish.cfg.in
314 md5sum = 17aee2df57b121343b1fd65f4b51ce80
319 # <url or path> [...]
321 # Use absolute paths for local repositories, and URLs for non-local otherwise.
323 list = ${local-bt5-repository:list}
325 [local-bt5-repository]
326 # Same as bt5-repository, but only local repository.
327 # Used to generate bt5lists.
328 list = ${erp5:location}/bt5 ${erp5:location}/product/ERP5/bootstrap
331 recipe = plone.recipe.command
333 genbt5list = ${erp5:location}/product/ERP5/bin/genbt5list
335 ${buildout:executable} ${:genbt5list} ${local-bt5-repository:list}
336 update-command = ${:command}
341 [erp5_repository_list]
342 repository_id_list = erp5
345 recipe = slapos.recipe.build:gitclone
346 repository = http://git.erp5.org/repos/erp5.git
347 branch = erp5-component
348 git-executable = ${git:location}/bin/git
351 recipe = plone.recipe.command
353 dir = ${erp5:location}
355 rm -f "${:dir}/Products" && ln -s product "${:dir}/Products" && touch "${:dir}/product/__init__.py"
356 update-command = ${:command}
359 # XXX: Workaround for fact ERP5Type is not an distribution and does not
360 # expose entry point for test runner
361 recipe = zc.recipe.egg
364 extra-paths = ${eggs:extra-paths}
366 runUnitTest=runUnitTest:main
367 scripts = runUnitTest
369 import glob, imp, os, sys
370 import App # prevent Testing from importing Zope2.App instead of App
372 Products.__path__[:0] = filter(None,
373 os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep))
374 os.environ['SOFTWARE_HOME'] = os.path.abspath(imp.find_module('Zope2')[1])
375 os.environ['ZOPE_SCRIPTS'] = ''
376 parts_directory = '''${buildout:parts-directory}'''
377 repository_id_list = \
378 '''${erp5_repository_list:repository_id_list}'''.split()[::-1]
379 os.environ['erp5_tests_bt5_path'] = ','.join(sum((
380 [bt5_path, os.path.join(bt5_path, '*')]
381 for bt5_path in (os.path.join(parts_directory, x, 'bt5')
382 for x in repository_id_list)), []))
383 extra_path_list = '''${:extra-paths}'''.split()
385 glob.glob(os.path.join(x, 'tests'))
386 for x in extra_path_list), [])
388 glob.glob(os.path.join(x, 'Products', '*', 'tests'))
389 for x in extra_path_list), [])
392 # XXX: Workaround for fact ERP5Type is not an distribution and does not
393 # expose entry point for test runner
394 recipe = zc.recipe.egg
397 extra-paths = ${eggs:extra-paths}
399 runTestSuite=Products.ERP5Type.tests.runTestSuite:main
400 scripts = runTestSuite
405 [Products.__path__.insert(0, p) for p in reversed(os.environ.get('INSERT_PRODUCTS_PATH', '').split(':')) if p]
407 os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__)))
408 os.environ['ZOPE_SCRIPTS'] = ''
409 repository_id_list = list(reversed('''${erp5_repository_list:repository_id_list}'''.split()))
410 sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x]) for x in repository_id_list]
413 recipe = zc.recipe.egg
419 ${python-ldap-python:egg}
421 ${pycrypto-python:egg}
436 pyPdf # should be replaced by PyPDF2, but it is not installable
458 # Zope acquisition patch
461 # Other Zope 2 packages
462 Products.PluggableAuthService
463 Products.PluginRegistry
466 Products.CMFActionIcons
473 Products.GenericSetup
474 five.localsitemanager
477 Products.DCWorkflowGraph
478 Products.MimetypesRegistry
479 Products.ExternalEditor
481 Products.LongRequestLogger
483 # Currently forked in our repository
484 # Products.PortalTransforms
485 # Dependency for our fork of PortalTransforms
488 # Needed for parsing .po files from our Localizer subset
491 # parameterizing the version of the generated python interpreter name by the
492 # python section version causes dependency between this egg section and the
493 # installation of python, which we don't want on an instance
494 interpreter = python2.6
501 web_checker_utility = erp5.util.webchecker:web_checker_utility
506 [cloudooo-repository]
508 revision = 6629837c96ae58e96cac019044ce95d19cb7a659
526 recipe = zc.recipe.egg
527 python = ${eggs:python}
531 slapos.toolbox[zodbpack]
539 # pin Acquisition and Products.DCWorkflow to Nexedi flavour of eggs
540 Acquisition = 2.13.7nxd001
541 Products.DCWorkflow = 2.2.3nxd002
543 # specify dev version to be sure that an old released version is not used
546 # use newer version than specified in ZTK
549 # Known version with works
552 # test_UserManagerInterfaces in testERP5Security fails with 1.10.0.
553 Products.PluggableAuthService = 1.9.0
555 # official pysvn egg does not supports --include-dirs and
556 # --library-dirs, so we use our modified version
559 # modified version to support ipv6
560 python-memcached = 1.47-ipv6-1
562 # use newest version of pytz
565 # Patched version which support python 2.6
568 # we are still using this old stable version.
572 setuptools = 0.6c12dev-r88846
574 # use newest version of slapos.cookbook
577 # modified version that works fine for buildout installation
578 SOAPpy = 0.12.0nxd001
580 # CMF 2.3 requries Zope 2.13.
581 Products.CMFCalendar = 2.2.2
582 Products.CMFCore = 2.2.6
583 Products.CMFDefault = 2.2.2
584 Products.CMFTopic = 2.2.1
585 Products.CMFUid = 2.2.1
589 GitPython = 0.3.2.RC1
595 Products.CMFActionIcons = 2.1.3
596 Products.DCWorkflowGraph = 0.4.1
597 Products.ExternalEditor = 1.1.0
598 Products.GenericSetup = 1.7.3
599 Products.LongRequestLogger = 1.1.0
600 Products.MimetypesRegistry = 2.0.4
601 Products.PluginRegistry = 1.3
602 Products.TIDStorage = 5.4.8
603 Products.Zelenium = 1.0.3
604 StructuredText = 2.11.1
608 apache-libcloud = 0.11.4
612 buildout-versions = 1.7
613 cElementTree = 1.0.5-20051216
617 elementtree = 1.2.7-20070827-preview
618 erp5.recipe.cmmiforcei686 = 0.1.3
623 five.localsitemanager = 2.0.5
627 hexagonit.recipe.cmmi = 1.6
640 plone.recipe.command = 1.1
650 rtjp-eventlet = 0.3.2
652 slapos.libnetworkcache = 0.13.2
653 slapos.recipe.build = 0.11.6
654 slapos.recipe.template = 2.4.2
655 slapos.toolbox = 0.33
665 xml-marshaller = 0.9.7
666 xupdate-processor = 0.4