[buildout] versions = versions parts = template apache-php mariadb eggs instance-recipe-egg pixelpost-patch patch extends = ../../stack/lamp.cfg [pixelpost-patch] recipe = slapos.recipe.download url = ${:_profile_base_location_}/pixelpost_for_mysql5.patch md5sum = 100883ebbe4973883a710996b91f5d23 location = ${buildout:parts-directory}/${:_buildout_section_name_} filename = pixelpost_for_mysql5.patch [application] recipe = slapos.recipe.build:download-unpacked url = http://www.pixelpost.org/releases/pixelpost_v1.7.3.zip md5sum = 457f50312ca6dc682065ce3dbfda1a4f [patch] recipe = iw.recipe.cmd on_install = true on_update = true cmds= patch -d ${application:location} -p1 < ${pixelpost-patch:location}/${pixelpost-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 = ${instance-recipe:egg}