software.cfg 1.81 KB
Newer Older
1 2
[buildout]
extends =
3
  buildout.hash.cfg
4 5 6
  ../../component/redis/buildout.cfg
  ../../stack/lamp/buildout.cfg

7 8 9 10 11
[gcc]
# For old version of glibmm.
part = gcc-5.5
max_version = 6

12 13 14 15 16 17 18 19 20 21 22 23
[nc-download-base]
recipe = hexagonit.recipe.download
ignore-existing = true
download-only = true
url = ${:_profile_base_location_}/${:filename}
mode = 0644


[application]
url = https://download.nextcloud.com/server/releases/nextcloud-16.0.3.tar.bz2
md5sum = d81902d2dec5d547779bec6336a438be

24
[template-nextcloud-install.sh] 
25 26 27 28 29
<= nc-download-base

[template-apache-httpd]
<= nc-download-base

30 31 32
[template-nextcloud-config.json]
<= nc-download-base

33 34
[template-nextcloud-instance]
recipe = slapos.recipe.template:jinja2
35
template = ${:_profile_base_location_}/${:filename}
36 37 38 39
rendered = ${buildout:directory}/instance-nextcloud.cfg
extensions = jinja2.ext.do
context = 
          key gzip_location          gzip:location
40
          key python3_location       python3:location
41 42 43 44 45 46
          key news_updater_location  news-updater:location
          key php_location           apache-php:location
          raw redis_bin              ${redis:location}/bin/redis-server
          raw redis_cli              ${redis:location}/bin/redis-cli
          raw nextcloud_install_sh   ${template-nextcloud-install.sh:location}/${template-nextcloud-install.sh:filename}
          raw nextcloud_apache_httpd ${template-apache-httpd:location}/${template-apache-httpd:filename}
47
          raw nextcloud_parameter_json ${template-nextcloud-config.json:location}/${template-nextcloud-config.json:filename}
48 49 50 51 52 53 54 55 56

[custom-application-deployment]
path = ${template-nextcloud-instance:rendered}
part-list = nextcloud-install.sh

[news-updater]
recipe = hexagonit.recipe.download
url = https://github.com/nextcloud/news-updater/archive/10.0.1.tar.gz
md5sum = 37387199c0482e08d01e9294cd95eaad
57
strip-top-level-dir = true