[Bug 269010] net/wireguard-tools: add support to RC file for fibs/environment etc. from rc.conf variables

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 17 Jan 2023 16:31:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269010

            Bug ID: 269010
           Summary: net/wireguard-tools: add support to RC file for
                    fibs/environment etc. from rc.conf variables
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: decke@FreeBSD.org
          Reporter: andrew.fengler@scaleengine.com
             Flags: maintainer-feedback?(decke@FreeBSD.org)
          Assignee: decke@FreeBSD.org

Created attachment 239538
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=239538&action=edit
patch to rc.d/wireguard

This patch adds support for wireguard_fib and the rest of the wireguard_
variables from rc.subr.
Modifies wireguard_start() to be pretty much a copy of the default in rc.subr
but changed enough to run in the for loop.

I have only tested the fib variable, since that's the only one we need in our
setup.

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