software.cfg 3.1 KB
Newer Older
1
[buildout]
2 3
find-links +=
    http://www.nexedi.org/static/packages/source/slapos.buildout/
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

# Use only quite well working sites.
allow-hosts =
  *.nexedi.org
  *.python.org
  *.sourceforge.net
  dist.repoze.org
  effbot.org
  github.com
  peak.telecommunity.com
  psutil.googlecode.com
  www.dabeaz.com

versions = versions

19 20 21 22 23
parts =
  template
  apache-php
  mariadb
  eggs
24
  instance-recipe-egg
25
  
26 27 28 29 30
extends =
  ../../component/mariadb/buildout.cfg
  ../../component/apache/buildout.cfg
  ../../component/apache-php/buildout.cfg
  ../../component/dcron/buildout.cfg
31
  ../../component/git/buildout.cfg
32 33 34 35 36 37 38 39 40 41
  ../../component/glib/buildout.cfg
  ../../component/logrotate/buildout.cfg
  ../../component/python-2.7/buildout.cfg
  ../../component/perl/buildout.cfg
  ../../component/sqlite3/buildout.cfg
  ../../component/xtrabackup/buildout.cfg
  ../../component/rdiff-backup/buildout.cfg
  ../../component/lxml-python/buildout.cfg
  ../../component/zlib/buildout.cfg
  
42
[template]
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
43
# Default template for the instance.
44
recipe = slapos.recipe.template
Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
45
url = ${:_profile_base_location_}/instance.cfg
46
md5sum = efdb8509f40c86b1b73924fc1ce92f13
47 48 49 50 51 52 53 54 55 56 57
output = ${buildout:directory}/template.cfg
mode = 0644

[application]
recipe = hexagonit.recipe.download
url = http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.3.10/phpMyAdmin-3.3.10-all-languages.tar.bz2?r=http%3A%2F%2Fwww.phpmyadmin.net%2Fhome_page%2Fdownloads.php&ts=1300959842&use_mirror=sunet
#md5sum = Student may put here md5sum of this file, this is good idea
#If provided tarball does not containt top directory this option shall be changed o false
strip-top-level-dir = true

[application-template]
58
recipe = slapos.recipe.download
59
url = ${:_profile_base_location_}/phpmyadmin.inc.php.in
60 61
#md5sum = Student may put here md5sum of this file, this is good idea
download-only = True
62
filename = template.in
63
mode = 0644
64
location = ${buildout:parts-directory}/${:_buildout_section_name_}
65 66 67 68 69 70 71 72

[application-configuration]
location = config.inc.php

[eggs]
recipe = zc.recipe.egg
eggs =
  ${lxml-python:egg}
73 74 75
  
[instance-recipe]
egg = slapos.cookbook
76
module = osoeslaptraining.simple
77 78 79 80 81

[instance-recipe-egg]
recipe = zc.recipe.egg
python = python2.7
eggs = ${instance-recipe:egg}
82 83 84 85 86 87 88 89 90 91 92 93 94

[downloadcache-workaround]
# workaround irritating problem of hexagonit.recipe.cmmi which automatically
# creates download cache, which in turn switches builout to "semi-offline" mode
recipe = plone.recipe.command
# in hexagonit.recipe.cmmi if there is no ${buildout:download-cache} set it resolves
# to ${buildout:directory}/downloads but this variable is available late, that's
# why it is hardcoded only for required case
download-cache = ${buildout:directory}/downloads
command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
update-command = ${:command}
stop-on-error = True

95
[versions]
96
slapos.cookbook = 0.10
97

98
# Required by slapos.cookbook==0.10
99 100 101 102 103 104 105 106 107 108
slapos.core = 0.8
collective.recipe.template = 1.8
netaddr = 0.7.5
xml-marshaller = 0.9.7
setuptools = 0.6c12dev-r88795

hexagonit.recipe.cmmi = 1.5.0
hexagonit.recipe.download = 1.5.0
plone.recipe.command = 1.1

109
# Use SlapOS patched zc.buildout
110
zc.buildout = 1.5.3-dev-SlapOS-004