Bug 259397

Summary: net/wireguard-tools: rcng script does not have a "status" command
Product: Ports & Packages Reporter: Patrick M. Hausen <pmh>
Component: Individual Port(s)Assignee: Bernhard Froehlich <decke>
Status: Closed FIXED    
Severity: Affects Some People CC: 0mp, chris, rhurlin
Priority: --- Flags: bugzilla: maintainer-feedback? (decke)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch to files/wireguard_wgquick.in none

Description Patrick M. Hausen 2021-10-24 10:46:50 UTC
Created attachment 228980 [details]
Patch to files/wireguard_wgquick.in

Hi all,

I just added a "status" command to the the wireguard rcng script, because I think it is missing.

Kind regards,
Patrick
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-11-05 12:18:48 UTC
A commit in branch main references this bug:

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

commit af6b7cd3fe758510a4ef45775315e6a733404f47
Author:     Patrick M. Hausen <pmh@hausen.com>
AuthorDate: 2021-11-05 12:13:40 +0000
Commit:     Bernhard Froehlich <decke@FreeBSD.org>
CommitDate: 2021-11-05 12:17:08 +0000

    net/wireguard-tools: Add status command to rc.d script

    PR:             259397
    Submitted by:   Patrick M. Hausen <pmh@hausen.com>

 net/wireguard-tools/Makefile                   |  1 +
 net/wireguard-tools/files/wireguard_lite.in    | 14 +++++++++++++-
 net/wireguard-tools/files/wireguard_wgquick.in | 15 ++++++++++++++-
 3 files changed, 28 insertions(+), 2 deletions(-)
Comment 2 Bernhard Froehlich freebsd_committer freebsd_triage 2021-11-05 12:19:49 UTC
Thanks! I've committed your changes and also added your status command to the wireguard_lite rc.d script.
Comment 3 Mateusz Piotrowski freebsd_committer freebsd_triage 2021-11-05 14:00:02 UTC
Hey, just a style note, there is no need to add status to the extra_commands variable. status is one of the commands defined automatically for each service.