From nobody Tue Jun 08 18:16:49 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E7C5911CB49C for ; Tue, 8 Jun 2021 18:16:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fzz3568MMz4T9y for ; Tue, 8 Jun 2021 18:16:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BB6D95BB2 for ; Tue, 8 Jun 2021 18:16:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 158IGnT0037764 for ; Tue, 8 Jun 2021 18:16:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 158IGnsw037763 for ports-bugs@FreeBSD.org; Tue, 8 Jun 2021 18:16:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 256488] mail/roundcube: newsyslog file makes little sense Date: Tue, 08 Jun 2021 18:16:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marko.cupac@mimar.rs X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ale@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256488 Bug ID: 256488 Summary: mail/roundcube: newsyslog file makes little sense Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ale@FreeBSD.org Reporter: marko.cupac@mimar.rs Flags: maintainer-feedback?(ale@FreeBSD.org) Assignee: ale@FreeBSD.org Created attachment 225644 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225644&action= =3Dedit newsyslog conf file patch Hi, I noticed that roundcube port installs roundcube.conf newsyslog file into /usr/local/etc/newsyslog.conf.d. Content of this file currently makes little sense for new installs and default setups, as neither directory in which lo= gs reside, nor log filenames correspond to defaults. default.inc.php defines log dir as follows: // use this folder to store log files // must be writeable for the user who runs PHP process (Apache user if mod_= php is being used) // This is used by the 'file' log driver. $config['log_dir'] =3D RCUBE_INSTALL_PATH . 'logs/'; Unless overriden in config.inc.php, logs will reside in "/usr/local/www/roundcube/logs", and not in "/usr/local/www/roundcube/roundcube/logs" while roundcube.conf has "/usr/local/www/roundcube/roundcube/logs". default.inc.php states that .log extension will be appended to each log fil= e: // Default extension used for log file name $config['log_file_ext'] =3D '.log'; Unles overriden in config.inc.php, log filenames will be "errors.log" and "sendmail.log", while roundcube.conf has "errors" and "sendmail" I have attached the patch. I haven't tested, but I would say %%WWWDIR%% here expands to roundcube install dir of /usr/local/www/roundcube, and not FreeB= SD's global WWWDIR, /usr/local/www. --=20 You are receiving this mail because: You are the assignee for the bug.=