software.cfg 1.11 KB
Newer Older
1 2 3 4 5 6 7 8 9
[buildout]
versions = versions

parts =
  template
  apache-php
  mariadb
  eggs
  instance-recipe-egg
10 11
  pixelpost-patch
  patch
12 13
  
extends =
14
  ../../stack/lamp.cfg
15

16
[pixelpost-patch]
17
recipe = slapos.recipe.build:download
18
url = ${:_profile_base_location_}/pixelpost_for_mysql5.patch
19
md5sum = 100883ebbe4973883a710996b91f5d23
20
location = ${buildout:parts-directory}/${:_buildout_section_name_}
21
filename = pixelpost_for_mysql5.patch
22

23 24 25 26 27 28 29 30 31 32
[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}
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49

[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}