Bug 269010

Summary: net/wireguard-tools: add support to RC file for fibs/environment etc. from rc.conf variables
Product: Ports & Packages Reporter: Andrew <andrew.fengler>
Component: Individual Port(s)Assignee: Bernhard Froehlich <decke>
Status: Open ---    
Severity: Affects Only Me CC: allanjude, grahamperrin, vedran
Priority: --- Flags: bugzilla: maintainer-feedback? (decke)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to rc.d/wireguard none

Description Andrew 2023-01-17 16:31:11 UTC
Created attachment 239538 [details]
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.
Comment 1 Allan Jude freebsd_committer freebsd_triage 2023-02-17 21:10:28 UTC
We'd like to see this land