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 https://raw.github.com/zopefoundation/Zope/2.13.21/versions.cfg
23 ../../stack/slapos.cfg
24 ../../component/logrotate/buildout.cfg
25 ../../component/cups/buildout.cfg
26 ../../component/dbus/buildout.cfg
27 ../../component/dcron/buildout.cfg
28 ../../component/file/buildout.cfg
29 ../../component/fonts/buildout.cfg
30 ../../component/ghostscript/buildout.cfg
31 ../../component/git/buildout.cfg
32 ../../component/graphviz/buildout.cfg
33 ../../component/gzip/buildout.cfg
34 ../../component/haproxy/buildout.cfg
35 ../../component/hookbox/buildout.cfg
36 ../../component/librsvg/buildout.cfg
37 ../../component/imagemagick/buildout.cfg
38 ../../component/inkscape/buildout.cfg
39 ../../component/kumo/buildout.cfg
40 ../../component/libdmtx/buildout.cfg
41 ../../component/libffi/buildout.cfg
42 ../../component/libpng/buildout.cfg
43 ../../component/libreoffice-bin/buildout.cfg
44 ../../component/lxml-python/buildout.cfg
45 ../../component/percona-toolkit/buildout.cfg
46 ../../component/mariadb/buildout.cfg
47 ../../component/mysql-python/buildout.cfg
48 ../../component/patch/buildout.cfg
49 ../../component/pil-python/buildout.cfg
50 ../../component/pycrypto-python/buildout.cfg
51 ../../component/pysvn-python/buildout.cfg
52 ../../component/python-2.7/buildout.cfg
53 ../../component/python-ldap-python/buildout.cfg
54 ../../component/rdiff-backup/buildout.cfg
55 ../../component/stunnel/buildout.cfg
56 ../../component/subversion/buildout.cfg
57 ../../component/tesseract/buildout.cfg
58 ../../component/varnish/buildout.cfg
59 ../../component/w3-validator/buildout.cfg
60 ../../component/w3m/buildout.cfg
61 ../../component/xorg/buildout.cfg
62 ../../component/poppler/buildout.cfg
63 ../../component/xtrabackup/buildout.cfg
64 ../../component/zabbix/buildout.cfg
65 ../../component/sed/buildout.cfg
66 ../../component/coreutils/buildout.cfg
67 ../../component/grep/buildout.cfg
68 ../../component/dash/buildout.cfg
69 ../../component/wget/buildout.cfg
70 ../../component/aspell/buildout.cfg
71 ../../component/cloudooo/buildout.cfg
72 ../../component/jsl/buildout.cfg
127 # Cloudooo specific part
130 # get git repositories
134 # fix products path (Zeo needs ERP5 Products to be available for
135 # conflict resolution)
137 # some additional utils
142 slapos.cookbook-repository
144 # Create instance template
148 [slapos.cookbook-repository]
149 recipe = slapos.recipe.build:gitclone
150 repository = http://git.erp5.org/repos/slapos.git
152 git-executable = ${git:location}/bin/git
155 recipe = plone.recipe.command
157 update-command = ${:command}
158 command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
160 [template-jinja2-base]
161 recipe = slapos.recipe.template:jinja2
162 template = ${:_profile_base_location_}/${:filename}.in
163 rendered = ${buildout:directory}/${:filename}
164 # XXX: extra-context is needed because we cannot append to a key of an extended
168 key bin_directory buildout:bin-directory
169 key develop_eggs_directory buildout:develop-eggs-directory
170 key eggs_directory buildout:eggs-directory
171 key slapos_core_version versions:slapos.core
175 < = template-jinja2-base
176 filename = instance-mariadb.cfg
177 md5sum = 49ae6f1bf97d3755978fe08b8e29fb5a
179 key coreutils_location coreutils:location
180 key dcron_location dcron:location
181 key gettext_location gettext:location
182 key grep_location grep:location
183 key gzip_location gzip:location
184 key logrotate_location logrotate:location
185 key mariadb_location mariadb:location
186 key perl_location perl:location
187 key perl_siteprefix perl:siteprefix
188 key sed_location sed:location
189 key xtrabackup_location xtrabackup:location
192 recipe = slapos.recipe.build:download
193 url = ${:_profile_base_location_}/instance-zope.cfg.in
194 md5sum = 23baedc096a3ee046d2efe2195e19b96
198 < = template-jinja2-base
199 filename = instance-kumofs.cfg
200 md5sum = 40817014a41497bceb696e512436e670
202 key dash_location dash:location
203 key dcron_location dcron:location
204 key gzip_location gzip:location
205 key kumo_location kumo:location
206 key logrotate_location logrotate:location
208 [template-tidstorage]
209 recipe = slapos.recipe.build:download
210 url = ${:_profile_base_location_}/instance-tidstorage.cfg.in
211 md5sum = 2bc13fc6cd52c7b8e2b4ddb99a69974b
215 recipe = slapos.recipe.build:download
216 url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
217 md5sum = 45f8a58568fb7e6eb832802551f3ff03
221 recipe = slapos.recipe.build:download
222 url = ${:_profile_base_location_}/zope.conf.in
223 md5sum = bc2154161a1d5baddc4ed4dfaaf94fbe
227 < = template-jinja2-base
228 # XXX: "template.cfg" is hardcoded in instanciation recipe
229 filename = template.cfg
230 template = ${:_profile_base_location_}/instance.cfg.in
231 md5sum = 66a1be44c72437d87a7b609eb58c3526
233 key apache_location apache:location
234 key aspell_location aspell:location
235 key buildout_bin_directory buildout:bin-directory
236 key coreutils_location coreutils:location
237 key cups_location cups:location
238 key curl_location curl:location
239 key dash_location dash:location
240 key dbus_location dbus:location
241 key dbus_glib_location dbus-glib:location
242 key dcron_location dcron:location
243 key dmtx_utils_location dmtx-utils:location
244 key erp5_location erp5:location
245 key file_location file:location
246 key fontconfig_location fontconfig:location
247 key fonts_location fonts:location
248 key freetype_location freetype:location
249 key git_location git:location
250 key graphviz_location graphviz:location
251 key grep_location grep:location
252 key glib_location glib:location
253 key gzip_location gzip:location
254 key haproxy_location haproxy:location
255 key imagemagick_location imagemagick:location
256 key jsl_location jsl:location
257 key libICE_location libICE:location
258 key libSM_location libSM:location
259 key libX11_location libX11:location
260 key libXau_location libXau:location
261 key libXdmcp_location libXdmcp:location
262 key libXext_location libXext:location
263 key libXrender_location libXrender:location
264 key libffi_location libffi: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 stunnel_location stunnel:location
276 key template_cloudooo template-cloudooo:target
277 key template_erp5_single template-erp5-single:target
278 key template_erp5_cluster template-erp5-cluster:target
279 key template_kumofs template-kumofs:rendered
280 key template_mariadb template-mariadb:rendered
281 key template_memcached template-memcached:rendered
282 key template_tidstorage template-tidstorage:target
283 key template_varnish template-varnish:target
284 key template_zope template-zope:target
285 key template_zope_conf template-zope-conf:target
286 key tesseract_location tesseract:location
287 key varnish_location varnish-3.0:location
288 key w3m_location w3m:location
289 key wget_location wget:location
290 key zlib_location zlib:location
293 < = template-jinja2-base
294 filename = instance-memcached.cfg
295 md5sum = 346c864c1f119360eddb5e163f16d4f3
297 key dash_location dash:location
298 key dcron_location dcron:location
299 key gzip_location gzip:location
300 key kumo_location kumo:location
301 key logrotate_location logrotate:location
303 [template-erp5-single]
304 recipe = slapos.recipe.build:download
305 url = ${:_profile_base_location_}/instance-erp5-single.cfg.in
306 md5sum = becf4faf3df849bb90ddf5f587f02d5e
309 [template-erp5-cluster]
310 recipe = slapos.recipe.build:download
311 url = ${:_profile_base_location_}/instance-erp5-cluster.cfg.in
312 md5sum = f4c9cdbbac82232b84db080461bd0007
316 recipe = slapos.recipe.build:download
317 url = ${:_profile_base_location_}/instance-varnish.cfg.in
318 md5sum = ae0465591c22c0cb316c1706965c6b18
323 # <url or path> [...]
325 # Use absolute paths for local repositories, and URLs for non-local otherwise.
327 list = ${local-bt5-repository:list}
329 [local-bt5-repository]
330 # Same as bt5-repository, but only local repository.
331 # Used to generate bt5lists.
332 list = ${erp5:location}/bt5 ${erp5:location}/product/ERP5/bootstrap
335 recipe = plone.recipe.command
337 genbt5list = ${erp5:location}/product/ERP5/bin/genbt5list
339 ${buildout:executable} ${:genbt5list} ${local-bt5-repository:list}
340 update-command = ${:command}
342 [erp5_repository_list]
343 repository_id_list = erp5
346 recipe = slapos.recipe.build:gitclone
347 repository = http://git.erp5.org/repos/erp5.git
349 git-executable = ${git:location}/bin/git
352 recipe = plone.recipe.command
354 dir = ${erp5:location}
356 rm -f "${:dir}/Products" && ln -s product "${:dir}/Products" && touch "${:dir}/product/__init__.py"
357 update-command = ${:command}
360 # XXX: Workaround for fact ERP5Type is not an distribution and does not
361 # expose entry point for test runner
362 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), [])
391 glob.glob(os.path.join(x, 'Products', '*', 'tests'))
392 for x in os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep)), [])
393 os.environ['PATH'] = '${jsl:location}/bin:%s' % os.environ['PATH']
394 os.environ['CGI_PATH'] = '${w3-validator:location}/httpd/cgi-bin'
397 # XXX: Workaround for fact ERP5Type is not an distribution and does not
398 # expose entry point for test runner
399 recipe = zc.recipe.egg
401 extra-paths = ${eggs:extra-paths}
403 runTestSuite=Products.ERP5Type.tests.runTestSuite:main
404 scripts = runTestSuite
409 [Products.__path__.insert(0, p) for p in reversed(os.environ.get('INSERT_PRODUCTS_PATH', '').split(':')) if p]
411 os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__)))
412 os.environ['ZOPE_SCRIPTS'] = ''
413 repository_id_list = list(reversed('''${erp5_repository_list:repository_id_list}'''.split()))
414 sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x]) for x in repository_id_list]
417 recipe = minitage.recipe.egg
422 Acquisition-patches = ${:_profile_base_location_}/../../component/egg-patch/Acquisition/aq_dynamic.patch
423 Acquisition-patch-options = -p1
424 Acquisition-patch-binary = ${patch:location}/bin/patch
425 Products.DCWorkflow-patches = ${:_profile_base_location_}/../../component/egg-patch/Products.DCWorkflow/workflow_method.patch
426 Products.DCWorkflow-patch-options = -p1
427 Products.DCWorkflow-patch-binary = ${patch:location}/bin/patch
428 ZODB3-patches = ${:_profile_base_location_}/../../component/egg-patch/ZODB3-3.10.5.patch
429 ZODB3-patch-options = -p1
430 ZODB3-patch-binary = ${patch:location}/bin/patch
433 recipe = zc.recipe.egg
438 ${python-ldap-python:egg}
440 ${pycrypto-python:egg}
478 # Needed for checking ZODB Components source code
484 # Zope acquisition patch
487 # Other Zope 2 packages
488 Products.PluggableAuthService
489 Products.PluginRegistry
492 Products.CMFActionIcons
499 Products.GenericSetup
500 five.localsitemanager
503 Products.DCWorkflowGraph
504 Products.MimetypesRegistry
505 Products.ExternalEditor
507 Products.LongRequestLogger
509 # BBB: Temporarily keep zope.app.testing awaiting we use newer version of CMF
510 # (for tests like testCookieCrumbler).
513 # Currently forked in our repository
514 # Products.PortalTransforms
515 # Dependency for our fork of PortalTransforms
518 # Needed for parsing .po files from our Localizer subset
521 # parameterizing the version of the generated python interpreter name by the
522 # python section version causes dependency between this egg section and the
523 # installation of python, which we don't want on an instance
524 interpreter = ${buildout:python}
531 web_checker_utility = erp5.util.webchecker:web_checker_utility
537 recipe = zc.recipe.egg
542 zodbanalyze=erp5.util.zodbanalyze:main
543 scripts = zodbanalyze
545 [cloudooo-repository]
547 revision = b91e43a3922160fe5f080eca45e0c51fe5345bcd
550 recipe = zc.recipe.egg
554 slapos.toolbox[zodbpack]
563 Acquisition = 2.13.8-ZMinitagePatched-AqDynamic
564 Products.DCWorkflow = 2.2.4-ZMinitagePatched-WorkflowMethod
565 ZODB3 = 3.10.5-ZMinitagePatched-ZODB33105
567 # specify dev version to be sure that an old released version is not used
570 # use newer version than specified in ZTK
580 # huBarcode 1.0.0 has an issue with importing PIL.
583 # Known version with works
586 # test_UserManagerInterfaces in testERP5Security fails with 1.10.0.
587 Products.PluggableAuthService = 1.9.0
589 # official pysvn egg does not supports --include-dirs and
590 # --library-dirs, so we use our modified version
593 # use newest version of pytz
596 # we are still using this old stable version.
599 # use newest version of slapos.cookbook
602 # we need to define an explicit version of slapos.core that is propagated to instances
605 # modified version that works fine for buildout installation
606 SOAPpy = 0.12.0nxd001
608 # CMF 2.3 is not yet supported.
609 Products.CMFCalendar = 2.2.2
610 Products.CMFCore = 2.2.8
611 Products.CMFDefault = 2.2.3
612 Products.CMFTopic = 2.2.1
613 Products.CMFUid = 2.2.1
615 # newer version requires zope.traversing>=4.0.0a2.
616 zope.app.appsetup = 3.16.0
618 # newer version requires zope.i18n>=4.0.0a3
619 zope.app.publication = 3.14.0
621 # newer version requires zope.testbrowser>=4
622 zope.app.testing = 3.8.1
626 GitPython = 0.3.2.RC1
630 Products.CMFActionIcons = 2.1.3
631 Products.DCWorkflowGraph = 0.4.1
632 Products.ExternalEditor = 1.1.0
633 Products.GenericSetup = 1.7.4
634 Products.LongRequestLogger = 1.1.0
635 Products.MimetypesRegistry = 2.0.5
636 Products.PluginRegistry = 1.3
637 Products.TIDStorage = 5.4.9
638 Products.ZSQLMethods = 2.13.4
640 StructuredText = 2.11.1
643 apache-libcloud = 0.14.1
650 elementtree = 1.2.7-20070827-preview
651 erp5.recipe.cmmiforcei686 = 0.1.3
657 five.localsitemanager = 2.0.5
661 hexagonit.recipe.cmmi = 2.0
668 logilab_common = 0.61.0
670 minitage.core = 2.0.57
671 minitage.recipe.common = 1.90
672 minitage.recipe.egg = 1.107
676 plone.recipe.command = 1.1
683 python-memcached = 1.53
687 rtjp-eventlet = 0.3.2
689 slapos.recipe.build = 0.12
690 slapos.recipe.template = 2.5
691 slapos.toolbox = 0.39
702 xml-marshaller = 0.9.7
703 xupdate-processor = 0.4
704 zope.app.debug = 3.4.1
705 zope.app.dependable = 3.5.1
706 zope.app.form = 4.0.2