Bug 270780 - www/onlyoffice-documentserver wrong paths in /usr/local/bin/documentserver-jwt-status.sh
Summary: www/onlyoffice-documentserver wrong paths in /usr/local/bin/documentserver-jw...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mikael Urankar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-12 07:46 UTC by freebsd.org
Modified: 2023-04-16 15:14 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (mikael)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd.org 2023-04-12 07:46:03 UTC
The file /usr/local/bin/documentserver-jwt-status.sh has wrong paths defined for the configuration and www directory in lines 5 and 6:

CONF_DIR="/etc/onlyoffice/documentserver"
DIR="/var/www/onlyoffice/documentserver"

Correct would be:

CONF_DIR="/usr/local/etc/onlyoffice/documentserver"
DIR="/usr/local/www/onlyoffice/documentserver"
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-04-16 13:34:13 UTC
A commit in branch main references this bug:

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

commit dffad46a57efdcd434ac5fbec1625109a0bf2931
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-04-16 12:32:43 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-04-16 13:33:36 +0000

    www/onlyoffice-documentserver: Fix path in documentserver-jwt-status.sh

    PR:             270780
    Reported by:    freebsd.org@vollkorn.cryptobitch.de

 www/onlyoffice-documentserver/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-04-16 15:14:17 UTC
A commit in branch 2023Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=23612e19c7ea25fc1a94c70aa3da2905df7da6af

commit 23612e19c7ea25fc1a94c70aa3da2905df7da6af
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-04-16 12:32:43 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-04-16 15:13:27 +0000

    www/onlyoffice-documentserver: Fix path in documentserver-jwt-status.sh

    PR:             270780
    Reported by:    freebsd.org@vollkorn.cryptobitch.de

    (cherry picked from commit dffad46a57efdcd434ac5fbec1625109a0bf2931)

 www/onlyoffice-documentserver/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
Comment 3 Mikael Urankar freebsd_committer freebsd_triage 2023-04-16 15:14:37 UTC
Thanks!