Commit 18415730 authored by Jérome Perrin's avatar Jérome Perrin

software/nextcloud: version up nextcloud 27.1.2 (and plugins)

parent 08a78a47
...@@ -9,8 +9,8 @@ recipe = slapos.recipe.build:download ...@@ -9,8 +9,8 @@ recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:filename} url = ${:_profile_base_location_}/${:filename}
[application] [application]
url = https://download.nextcloud.com/server/releases/nextcloud-16.0.3.tar.bz2 url = https://download.nextcloud.com/server/releases/nextcloud-27.1.2.tar.bz2
md5sum = d81902d2dec5d547779bec6336a438be md5sum = a23afb146993d7449b78395739f27742
[template-nextcloud-install.sh] [template-nextcloud-install.sh]
<= nc-download <= nc-download
...@@ -46,33 +46,33 @@ shared = true ...@@ -46,33 +46,33 @@ shared = true
[news-updater] [news-updater]
<= nc-download-unpacked <= nc-download-unpacked
url = https://github.com/nextcloud/news-updater/archive/10.0.1.tar.gz url = https://github.com/nextcloud/news-updater/archive/11.0.0.tar.gz
md5sum = 37387199c0482e08d01e9294cd95eaad md5sum = 1e75222638cab49d3f66b7c76394f104
[nextcloud-app-spreed] [nextcloud-app-spreed]
<= nc-download-unpacked <= nc-download-unpacked
url = https://github.com/nextcloud/spreed/releases/download/v6.0.5/spreed-6.0.5.tar.gz url = https://github.com/nextcloud/spreed/archive/refs/tags/v17.1.1.tar.gz
md5sum = 002c09e543edc141f6ca848782573376 md5sum = 6e110c7d43adecf76bb7fb9a254108f4
[nextcloud-app-richdocuments] [nextcloud-app-richdocuments]
<= nc-download-unpacked <= nc-download-unpacked
url = https://github.com/nextcloud/richdocuments/releases/download/v3.7.17/richdocuments.tar.gz url = https://github.com/nextcloud/richdocuments/releases/download/v8.2.0/richdocuments.tar.gz
md5sum = 5559cd14a4a0a93d2a39b260538839f8 md5sum = 1e9176b0f08670996488572aea081996
[nextcloud-app-calendar] [nextcloud-app-calendar]
<= nc-download-unpacked <= nc-download-unpacked
url = https://github.com/nextcloud/calendar/releases/download/v1.7.3/calendar.tar.gz url = https://github.com/nextcloud/calendar/archive/refs/tags/v3.3.2.tar.gz
md5sum = ab398d943eb6939e3e71df5b1a1abf87 md5sum = 179039f6a3fbabd6e97da0d1cd3cff50
[nextcloud-app-rainloop] [nextcloud-app-rainloop]
<= nc-download-unpacked <= nc-download-unpacked
url = https://github.com/pierre-alain-b/rainloop-nextcloud/releases/download/6.1.4/rainloop.tar.gz url = https://github.com/pierre-alain-b/rainloop-nextcloud/releases/download/7.2.6-deprecated/rainloop.tar.gz
md5sum = 7cefc3dd3bd52b42d381de7d7447691f md5sum = 944841109189b297514f20fc009a009a
[nextcloud-app-news] [nextcloud-app-news]
<= nc-download-unpacked <= nc-download-unpacked
url = https://github.com/nextcloud/news/releases/download/14.2.2/news.tar.gz url = https://github.com/nextcloud/news/releases/download/24.0.0/news.tar.gz
md5sum = f48d4b5dcbc078131bb86a4ae619da99 md5sum = 8e1a7e3e49e6dbd754bc1b9ff2f85371
[nextcloud-apps] [nextcloud-apps]
spreed = ${nextcloud-app-spreed:location} spreed = ${nextcloud-app-spreed:location}
......
...@@ -227,6 +227,7 @@ class TestServices(NextCloudTestCase): ...@@ -227,6 +227,7 @@ class TestServices(NextCloudTestCase):
php_bin = os.path.join(self.partition_dir, 'bin/php') php_bin = os.path.join(self.partition_dir, 'bin/php')
nextcloud_status = subprocess.check_output([ nextcloud_status = subprocess.check_output([
php_bin, php_bin,
'--define=apc.enable_cli=1',
os.path.join(self.nextcloud_path, 'occ'), os.path.join(self.nextcloud_path, 'occ'),
'status', 'status',
'--output', '--output',
...@@ -257,6 +258,7 @@ class TestServices(NextCloudTestCase): ...@@ -257,6 +258,7 @@ class TestServices(NextCloudTestCase):
self.assertEqual(config_dict, expected_dict) self.assertEqual(config_dict, expected_dict)
collabora_config = subprocess.check_output([ collabora_config = subprocess.check_output([
php_bin, php_bin,
'--define=apc.enable_cli=1',
occ, occ,
"config:app:get", "config:app:get",
"richdocuments", "richdocuments",
...@@ -265,6 +267,7 @@ class TestServices(NextCloudTestCase): ...@@ -265,6 +267,7 @@ class TestServices(NextCloudTestCase):
self.assertEqual(collabora_config.strip(), b'https://collabora.host.vifib.net/') self.assertEqual(collabora_config.strip(), b'https://collabora.host.vifib.net/')
stun_config = subprocess.check_output([ stun_config = subprocess.check_output([
php_bin, php_bin,
'--define=apc.enable_cli=1',
occ, occ,
"config:app:get", "config:app:get",
"spreed", "spreed",
...@@ -273,6 +276,7 @@ class TestServices(NextCloudTestCase): ...@@ -273,6 +276,7 @@ class TestServices(NextCloudTestCase):
self.assertEqual(stun_config.strip(), b'["turn.vifib.com:5349"]') self.assertEqual(stun_config.strip(), b'["turn.vifib.com:5349"]')
turn_config = subprocess.check_output([ turn_config = subprocess.check_output([
php_bin, php_bin,
'--define=apc.enable_cli=1',
occ, occ,
"config:app:get", "config:app:get",
"spreed", "spreed",
...@@ -354,6 +358,7 @@ class TestNextCloudParameters(NextCloudTestCase): ...@@ -354,6 +358,7 @@ class TestNextCloudParameters(NextCloudTestCase):
self.assertEqual(config_dict, expected_dict) self.assertEqual(config_dict, expected_dict)
collabora_config = subprocess.check_output([ collabora_config = subprocess.check_output([
php_bin, php_bin,
'--define=apc.enable_cli=1',
occ, occ,
"config:app:get", "config:app:get",
"richdocuments", "richdocuments",
...@@ -362,6 +367,7 @@ class TestNextCloudParameters(NextCloudTestCase): ...@@ -362,6 +367,7 @@ class TestNextCloudParameters(NextCloudTestCase):
self.assertEqual(collabora_config.strip(), b'https://my-custom.collabora.net') self.assertEqual(collabora_config.strip(), b'https://my-custom.collabora.net')
stun_config = subprocess.check_output([ stun_config = subprocess.check_output([
php_bin, php_bin,
'--define=apc.enable_cli=1',
occ, occ,
"config:app:get", "config:app:get",
"spreed", "spreed",
...@@ -370,6 +376,7 @@ class TestNextCloudParameters(NextCloudTestCase): ...@@ -370,6 +376,7 @@ class TestNextCloudParameters(NextCloudTestCase):
self.assertEqual(stun_config.strip(), b'["stun.example.net:5439"]') self.assertEqual(stun_config.strip(), b'["stun.example.net:5439"]')
turn_config = subprocess.check_output([ turn_config = subprocess.check_output([
php_bin, php_bin,
'--define=apc.enable_cli=1',
occ, occ,
"config:app:get", "config:app:get",
"spreed", "spreed",
......
...@@ -30,7 +30,7 @@ md5sum = e49410f0a4bf28993a56bb28aff0a6f0 ...@@ -30,7 +30,7 @@ md5sum = e49410f0a4bf28993a56bb28aff0a6f0
[template-php.ini] [template-php.ini]
filename = php.ini.in filename = php.ini.in
md5sum = 980f603c34fcb008ce73a9dde2dbceb3 md5sum = e2bef45e25cd355659d9daec196845e2
[template-apache-httpd] [template-apache-httpd]
filename = apache-httpd.conf.in filename = apache-httpd.conf.in
......
...@@ -34,6 +34,7 @@ extension=redis ...@@ -34,6 +34,7 @@ extension=redis
extension=imagick extension=imagick
apc.enabled=1 apc.enabled=1
apc.enable_cli=1
apc.file_update_protection=2 apc.file_update_protection=2
apc.optimization=0 apc.optimization=0
apc.shm_size=256M apc.shm_size=256M
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment