Bug 264345

Summary: security/tinc-devel improve rc-script to work on networks given on the commandline
Product: Ports & Packages Reporter: gerrit.kuehn
Component: Individual Port(s)Assignee: Dirk Meyer <dinoex>
Status: Closed FIXED    
Severity: Affects Only Me CC: gerrit.kuehn
Priority: --- Keywords: feature, patch
Version: LatestFlags: dinoex: maintainer-feedback+
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to allow rc.d script setting tinc networks to operate on from the commandline none

Description gerrit.kuehn 2022-05-30 08:40:58 UTC
Created attachment 234321 [details]
patch to allow rc.d script setting tinc networks to operate on from the commandline

The rc.d script only operates on tincd_cfg settings from rc.conf. The attached patch changes this to use network names to work on from the commandline (if given), otherwise falls back to the default operation on all networks defined in rc.conf.
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2022-05-30 15:46:59 UTC
I will look into this.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-06-02 17:43:13 UTC
A commit in branch main references this bug:

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

commit 3a13fb289e818e20fc795bdce22487a4dc40597d
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2022-06-02 17:41:48 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2022-06-02 17:42:43 +0000

    security/tinc-devel: rc script support network argument

    PR: 264345

 security/tinc-devel/Makefile       | 2 +-
 security/tinc-devel/files/tincd.in | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)