[buildout] versions = versions parts = template apache-php mariadb eggs instance-recipe-egg lifetype-patch patch extends = ../../stack/lamp.cfg [lifetype-patch] recipe = slapos.recipe.download url = http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/lamp-mayoro:/software/lifetype/lifetype_for_mysql5.patch md5sum = c52bea61ea452b9f3caa82426a5819e5 location = ${buildout:parts-directory}/${:_buildout_section_name_} filename = lifetype_for_mysql5.patch [application] recipe = slapos.recipe.build:download-unpacked url = http://garr.dl.sourceforge.net/project/lifetype/lifetype/lifetype-1.2.11/lifetype-1.2.11.tar.bz2 md5sum = 50e329dfdb6c5876c0600abe30a379fb strip-top-level-dir = true [patch] recipe = iw.recipe.cmd on_install = true on_update = true cmds= patch -d ${application:location} -p1 < ${lifetype-patch:location}/${lifetype-patch:filename} [instance-recipe] egg = slapos.cookbook module = lamp.simple [template] # Default template for the instance. recipe = slapos.recipe.template url = ${:_profile_base_location_}/instance.cfg #md5sum = Student shall put md5 of instance.cfg here output = ${buildout:directory}/template.cfg mode = 0644 [instance-recipe-egg] recipe = zc.recipe.egg eggs = ${mysql-python:egg} ${instance-recipe:egg} slapos.toolbox[lampconfigure]