[Bug 291173] sysutils/go-ntfy: Use ETCDIR in server/* also

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 23 Nov 2025 11:15:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291173

            Bug ID: 291173
           Summary: sysutils/go-ntfy: Use ETCDIR in server/* also
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dtxdf@freebsd.org
          Reporter: vidar@karlsen.tech
          Assignee: dtxdf@freebsd.org
             Flags: maintainer-feedback?(dtxdf@freebsd.org)

Created attachment 265592
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265592&action=edit
git format-patch: use ETCDIR in server/*

The server looks for config files in /etc/ntfy.
Make it look in PREFIX/etc/ntfy instead (usually
/usr/local/etc/ntfy), which is where the configs are actually (and are
supposed to be) located.

QA:
poudriere testport 14.3: ok

truss:
open("/usr/local/etc/ntfy/server.yml",O_RDONLY|O_CLOEXEC,00) = 3 (0x3)

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