Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2025 16:07:47 GMT
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6c76f28cc80e - main - www/onlyoffice-documentserver: Fix ds-cache.conf path
Message-ID:  <202501091607.509G7lqD080803@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6c76f28cc80e62193c5bbb5bf4f4c2c6c6061e5d

commit 6c76f28cc80e62193c5bbb5bf4f4c2c6c6061e5d
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2025-01-09 15:16:22 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2025-01-09 16:07:44 +0000

    www/onlyoffice-documentserver: Fix ds-cache.conf path
    
    PR:             283445
---
 www/onlyoffice-documentserver/Makefile                                  | 2 +-
 ...r-package_common_documentserver_bin_documentserver-flush-cache.sh.m4 | 2 +-
 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501091607.509G7lqD080803>