[buildout]
  
parts =    
  slapos-cookbook
  instance-egg
  apache-php
  template-mariadb
  template-boinc
  template-httpd-conf

extends =
  ../../component/boinc/buildout.cfg
  ../../component/python-mysqlclient/buildout.cfg
  ../../component/gzip/buildout.cfg
  ../../component/apache/buildout.cfg
  ../../component/apache-php/buildout.cfg
  ../../component/mariadb/buildout.cfg
  ../../component/dash/buildout.cfg
  ../../component/logrotate/buildout.cfg
  ../../component/lxml-python/buildout.cfg
  ../../component/stunnel/buildout.cfg
  ../../component/dcron/buildout.cfg
  ../../component/pycurl/buildout.cfg
  ../slapos.cfg
  
[instance-egg]
recipe = zc.recipe.egg
eggs =
  ${pycurl:egg}
  ${python-mysqlclient:egg}
  slapos.toolbox

#Because Boinc deamon and Boinc sheduler(with apache) work side by side, we deploy
#Boinc and apache-php in the same partition.
[template-boinc]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-boinc.cfg
output = ${buildout:directory}/template-boinc.cfg
md5sum = 35c1ecb06d81d6d491e17423f5743985 
mode = 0644

#Template for deploying MySQL Database Server
[template-mariadb]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/../lamp/mariadb/instance-mariadb.cfg.in
output = ${buildout:directory}/template-mariadb.cfg
#md5sum = 8142244a3087a23e002a08225579528a  
mode = 0644

[template-httpd-conf]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/template/${:filename}
mode = 0644
filename = apache.in
md5sum = 5d5f49331debc4e3d2a02d8525064f8e
location = ${buildout:parts-directory}/${:_buildout_section_name_}

[boinc-default]
template-result = 
template-wu = 
extension = 
platform = x86_64-pc-linux-gnu

[boinc-application]
app-list = {}

[versions]
pycrypto = 2.6
apache-libcloud = 0.12.4
async = 0.6.1
gitdb = 0.5.4
mysqlclient = 1.3.10
plone.recipe.command = 1.1
slapos.recipe.template = 2.4.2
slapos.toolbox = 0.40.4
smmap = 0.8.2

# Required by:
# slapos.toolbox==0.40.2
GitPython = 2.0.8

# Required by:
# slapos.toolbox==0.40.2
atomize = 0.1.1

# Required by:
# slapos.toolbox==0.40.2
feedparser = 5.1.3

# Required by:
# slapos.toolbox==0.40.2
paramiko = 2.0.1