Bug 290042 - www/freenginx: wrong path in rc script
Summary: www/freenginx: wrong path in rc script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Jochen Neumeister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-06 13:07 UTC by jan
Modified: 2025-11-04 18:19 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jan 2025-10-06 13:07:29 UTC
The rc script for the updated freenginx 1.28.0 has:

required_files=%%PREFIX%%/etc/nginx/freenginx.conf

and can't be started without creating it first (empty file is enough, touch /etc/nginx/freenginx.conf)

but I *think* it should be

required_files=%%PREFIX%%/etc/freenginx/nginx.conf

/etc/nginx/freenginx.conf is not needed I guess.
Comment 1 Gleb Smirnoff freebsd_committer freebsd_triage 2025-10-15 00:36:43 UTC
Yes, this definitely looks like a trivial error. Can this be please fixed?
Comment 2 commit-hook freebsd_committer freebsd_triage 2025-11-04 18:19:27 UTC
A commit in branch main references this bug:

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

commit 55de010dc8c99f37d4a0403f62b8e99eb54adf15
Author:     Gleb Smirnoff <glebius@FreeBSD.org>
AuthorDate: 2025-11-04 18:16:55 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2025-11-04 18:16:55 +0000

    www/freenginx: fix config path in the rc script

    PR:             290042
    Submitted by:   jan@glaubitz.org
    Approved by:    joneum (maintainer, timeout 4 weeks)

 www/freenginx/Makefile       | 2 +-
 www/freenginx/files/nginx.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)