[Bug 270561] www/onlyoffice-documentserver wrong path in nginx config files

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 31 Mar 2023 07:16:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270561

            Bug ID: 270561
           Summary: www/onlyoffice-documentserver wrong path in nginx
                    config files
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mikael@FreeBSD.org
          Reporter: freebsd.org@vollkorn.cryptobitch.de
             Flags: maintainer-feedback?(mikael@FreeBSD.org)
          Assignee: mikael@FreeBSD.org

I noticed that the config files in
/usr/local/etc/onlyoffice/documentserver/nginx/ are referencing other config
files, but the paths are wrong.

The rerefenced config files reside in

/usr/local/etc/onlyoffice/documentserver/nginx/includes/

("onlyoffice" only once in the path) and the references are pointing to

/usr/local/etc/onlyoffice/onlyoffice/documentserver/nginx/includes/

("onlyoffice/onlyoffice" in the path). Changing "onlyoffice/onlyoffice" in the
config files to "onlyoffice" fixes this.

Here are all affected references I found:

# grep onlyoffice/onlyoffice /usr/local/etc/onlyoffice/documentserver/nginx/*
/usr/local/etc/onlyoffice/documentserver/nginx/ds-ssl.conf:include
/usr/local/etc/onlyoffice/onlyoffice/documentserver/nginx/includes/http-common.conf;
/usr/local/etc/onlyoffice/documentserver/nginx/ds-ssl.conf:  include
/usr/local/etc/onlyoffice/onlyoffice/documentserver/nginx/includes/ds-common.conf;
/usr/local/etc/onlyoffice/documentserver/nginx/ds-ssl.conf:  include
/usr/local/etc/onlyoffice/onlyoffice/documentserver/nginx/includes/ds-docservice.conf;
/usr/local/etc/onlyoffice/documentserver/nginx/ds-ssl.conf:  include
/usr/local/etc/onlyoffice/onlyoffice/documentserver/nginx/includes/ds-*.conf;
/usr/local/etc/onlyoffice/documentserver/nginx/ds-ssl.conf.sample:include
/usr/local/etc/onlyoffice/onlyoffice/documentserver/nginx/includes/http-common.conf;
/usr/local/etc/onlyoffice/documentserver/nginx/ds-ssl.conf.sample:  include
/usr/local/etc/onlyoffice/onlyoffice/documentserver/nginx/includes/ds-common.conf;
/usr/local/etc/onlyoffice/documentserver/nginx/ds-ssl.conf.sample:  include
/usr/local/etc/onlyoffice/onlyoffice/documentserver/nginx/includes/ds-docservice.conf;
/usr/local/etc/onlyoffice/documentserver/nginx/ds-ssl.conf.sample:  include
/usr/local/etc/onlyoffice/onlyoffice/documentserver/nginx/includes/ds-*.conf;
/usr/local/etc/onlyoffice/documentserver/nginx/ds.conf:include
/usr/local/etc/onlyoffice/onlyoffice/documentserver/nginx/includes/http-common.conf;
/usr/local/etc/onlyoffice/documentserver/nginx/ds.conf:  include
/usr/local/etc/onlyoffice/onlyoffice/documentserver/nginx/includes/ds-*.conf;
/usr/local/etc/onlyoffice/documentserver/nginx/ds.conf.sample:include
/usr/local/etc/onlyoffice/onlyoffice/documentserver/nginx/includes/http-common.conf;
/usr/local/etc/onlyoffice/documentserver/nginx/ds.conf.sample:  include
/usr/local/etc/onlyoffice/onlyoffice/documentserver/nginx/includes/ds-*.conf;
grep: /usr/local/etc/onlyoffice/documentserver/nginx/includes: Is a directory

-- 
You are receiving this mail because:
You are the assignee for the bug.