aboutsummaryrefslogtreecommitdiff
path: root/www/nextcloud/files
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2021-07-09 20:14:31 +0000
committerBernard Spil <brnrd@FreeBSD.org>2021-07-09 20:14:31 +0000
commitcc38442882c6264dbf63f220980aff5fdd21a382 (patch)
treeb19ad79d885e91573a350f6a54895a7b1ca3356a /www/nextcloud/files
parent54b07c0cddfb7d7555490889fc5caf38e721d064 (diff)
downloadports-cc38442882c6264dbf63f220980aff5fdd21a382.tar.gz
ports-cc38442882c6264dbf63f220980aff5fdd21a382.zip
www/nextcloud: Update to 22.0.0
* Auto-generate plist
Diffstat (limited to 'www/nextcloud/files')
-rw-r--r--www/nextcloud/files/pkg-message.in8
-rw-r--r--www/nextcloud/files/plist.post.in7
2 files changed, 14 insertions, 1 deletions
diff --git a/www/nextcloud/files/pkg-message.in b/www/nextcloud/files/pkg-message.in
index b7c467e290cf..1e835e22317f 100644
--- a/www/nextcloud/files/pkg-message.in
+++ b/www/nextcloud/files/pkg-message.in
@@ -26,7 +26,7 @@ options are available in
You can find annotated configuration options in config.documented.php
in the same directory. Nextcloud's configuration documentation is at
- https://docs.nextcloud.com/server/18/admin_manual/configuration_server
+ https://docs.nextcloud.com/server/stable/admin_manual/configuration_server
The caching options require additional Nextcloud configuration.
EOM
@@ -38,6 +38,12 @@ using command line:
cd %%WWWDIR%%
su -m www -c "php ./occ upgrade"
+
+Merge any changes to %%WWWDIR%%/.htaccess.dist into .htaccess (above the
+'#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####' divider if it exists)
+and update the dynamic part of the file using the commandline:
+
+ su -m www -c "php ./occ maintenance:update:htaccess"
EOM
}
]
diff --git a/www/nextcloud/files/plist.post.in b/www/nextcloud/files/plist.post.in
new file mode 100644
index 000000000000..1afc3abe58e5
--- /dev/null
+++ b/www/nextcloud/files/plist.post.in
@@ -0,0 +1,7 @@
+@dir %%WWWDIR%%/apps-pkg
+@owner %%NEXTCLOUD_USERNAME%%
+@group %%NEXTCLOUD_GROUPNAME%%
+@dir %%WWWDIR%%/apps
+@dir %%WWWDIR%%/config
+@dir %%WWWDIR%%/data
+@dir /var/log/nextcloud