[Bug 264744] security/headscale: Integrate with rc(8) and include a minimal working config

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 17 Jun 2022 20:58:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264744

            Bug ID: 264744
           Summary: security/headscale: Integrate with rc(8) and include a
                    minimal working config
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch-ready
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: cmcdonald@netgate.com
                CC: m.muenz@gmail.com
                CC: m.muenz@gmail.com
             Flags: maintainer-feedback?(m.muenz@gmail.com)

Created attachment 234759
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234759&action=edit
improvements to security/headscale

This patch introduces some improvements to security/headscale that others may
find quite useful:
1. Patched the golang source to use `%%PREFIX%%/etc/headscale` instead of
`/etc/headscale` for the configuration path.
2. Patched the included `config-example.yaml` to more closely align with
FreeBSD hier(7).
3. Install this patched config to the path described in number 1 to provide a
basic minimal configuration out of the box.
4. Integrate with rc(8) to support basic service enable/disable.

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