summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2025-01-09 16:16:22 +0100
committerMikael Urankar <mikael@FreeBSD.org>2025-01-09 17:07:44 +0100
commit6c76f28cc80e62193c5bbb5bf4f4c2c6c6061e5d (patch)
treeb212d9f35f204c5dd5ce8a830ae6ab5d2a3ac84f
parentsecurity/libfido2: Fix build after base 74ecdf86d8d2a94a4bfcf094a2e21b4747e4907f (diff)
www/onlyoffice-documentserver: Fix ds-cache.conf path
PR: 283445
-rw-r--r--www/onlyoffice-documentserver/Makefile2
-rw-r--r--www/onlyoffice-documentserver/files/patch-document-server-package_common_documentserver_bin_documentserver-flush-cache.sh.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/www/onlyoffice-documentserver/Makefile b/www/onlyoffice-documentserver/Makefile
index 4d7e89ac0338..7c6246ea9e7d 100644
--- a/www/onlyoffice-documentserver/Makefile
+++ b/www/onlyoffice-documentserver/Makefile
@@ -1,7 +1,7 @@
PORTNAME= onlyoffice-documentserver
DISTVERSIONPREFIX= v
DISTVERSION= 8.2.0.143
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= www
MASTER_SITES+= LOCAL/mikael/v8/:source1 \
LOCAL/mikael/onlyoffice/:source2 \
diff --git a/www/onlyoffice-documentserver/files/patch-document-server-package_common_documentserver_bin_documentserver-flush-cache.sh.m4 b/www/onlyoffice-documentserver/files/patch-document-server-package_common_documentserver_bin_documentserver-flush-cache.sh.m4
index 9328f2d98079..92cb656f9917 100644
--- a/www/onlyoffice-documentserver/files/patch-document-server-package_common_documentserver_bin_documentserver-flush-cache.sh.m4
+++ b/www/onlyoffice-documentserver/files/patch-document-server-package_common_documentserver_bin_documentserver-flush-cache.sh.m4
@@ -5,7 +5,7 @@
# Save the hash to a variable in the configuration file
-echo "set \$cache_tag \"$HASH\";" > /etc/nginx/includes/ds-cache.conf
-+echo "set \$cache_tag \"$HASH\";" > %%ETCDIR%%/etc/nginx/includes/ds-cache.conf
++echo "set \$cache_tag \"$HASH\";" > %%ETCDIR%%/documentserver/nginx/includes/ds-cache.conf
-API_PATH="/var/www/M4_DS_PREFIX/web-apps/apps/api/documents/api.js"
+API_PATH="%%LOCALBASE%%/www/M4_DS_PREFIX/web-apps/apps/api/documents/api.js"