git: 3a13fb289e81 - main - security/tinc-devel: rc script support network argument

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Thu, 02 Jun 2022 17:42:48 UTC
The branch main has been updated by dinoex:

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(-)

diff --git a/security/tinc-devel/Makefile b/security/tinc-devel/Makefile
index 7844c8ac0d9c..9ef92551c7a1 100644
--- a/security/tinc-devel/Makefile
+++ b/security/tinc-devel/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	tinc
 PORTVERSION=	1.1pre18
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security net-vpn
 MASTER_SITES=	https://www.tinc-vpn.org/packages/ \
 		http://www.tinc-vpn.org/packages/
diff --git a/security/tinc-devel/files/tincd.in b/security/tinc-devel/files/tincd.in
index 15cd2d41de07..428cae52c342 100644
--- a/security/tinc-devel/files/tincd.in
+++ b/security/tinc-devel/files/tincd.in
@@ -36,6 +36,8 @@ status_cmd="tincd_status"
 extra_commands="reload"
 procname=${command:-tincd}
 ldconfig_command="/sbin/ldconfig"
+cfg=$(shift 1; echo "$@")
+tincd_cfg=${cfg:=${tincd_cfg}}
 
 tincd_start()
 {