FreeBSD Bugzilla – Attachment 241571 Details for
Bug 270921
security/tailscale: introduce tailscaled_state_dir rc conf setting
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
security/tailscale: introduce tailscaled_state_dir rc conf setting
0001-security-tailscale-introduce-tailscaled_state_dir-rc.patch (text/plain), 2.05 KB, created by
R. Christian McDonald
on 2023-04-18 20:55:50 UTC
(
hide
)
Description:
security/tailscale: introduce tailscaled_state_dir rc conf setting
Filename:
MIME Type:
Creator:
R. Christian McDonald
Created:
2023-04-18 20:55:50 UTC
Size:
2.05 KB
patch
obsolete
>From edd151201bc27467d4174eb818dde8c72f4ba633 Mon Sep 17 00:00:00 2001 >From: Christian McDonald <rcm@rcm.sh> >Date: Tue, 18 Apr 2023 16:51:41 -0400 >Subject: [PATCH] security/tailscale: introduce tailscaled_state_dir rc knob > >--- > security/tailscale/Makefile | 2 +- > security/tailscale/files/tailscaled.in | 6 +++++- > 2 files changed, 6 insertions(+), 2 deletions(-) > >diff --git a/security/tailscale/Makefile b/security/tailscale/Makefile >index c4c5236ea699..074f6ed62ab5 100644 >--- a/security/tailscale/Makefile >+++ b/security/tailscale/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= tailscale > PORTVERSION= 1.38.4 >-PORTREVISION= 1 >+PORTREVISION= 2 > DISTVERSIONPREFIX= v > CATEGORIES= security net-vpn > >diff --git a/security/tailscale/files/tailscaled.in b/security/tailscale/files/tailscaled.in >index cfa72604f5e3..ef6218876a10 100644 >--- a/security/tailscale/files/tailscaled.in >+++ b/security/tailscale/files/tailscaled.in >@@ -9,6 +9,8 @@ > # > # tailscaled_enable (bool): Set it to YES to enable tailscaled. > # Default is "NO". >+# tailscaled_state_dir (str): Set the path to use for the state directory. >+# Default is "/var/db/tailscale" > # tailscaled_port (number): Set the port to listen on for incoming VPN packets. > # Default is "41641". > # tailscaled_syslog_output_enable (bool): Set to enable syslog output. >@@ -32,6 +34,7 @@ rcvar=tailscaled_enable > load_rc_config $name > > : ${tailscaled_enable:="NO"} >+: ${tailscaled_state_dir:="/var/db/tailscale"} > : ${tailscaled_port:="41641"} > : ${tailscaled_exitnode_enable:="NO"} > : ${tailscaled_up_args:=""} >@@ -74,7 +77,8 @@ tailscaled_start() > /sbin/ifconfig ${tailscaled_tun_dev} | fgrep -qw PID || > /sbin/ifconfig ${tailscaled_tun_dev} destroy > ) >- env CACHE_DIRECTORY=/var/db/tailscale /usr/sbin/daemon -f ${tailscaled_syslog_output_flags} -p ${pidfile} ${procname} -port ${tailscaled_port} -tun ${tailscaled_tun_dev} >+ >+ /usr/sbin/daemon -f ${tailscaled_syslog_output_flags} -p ${pidfile} ${procname} -port ${tailscaled_port} -tun ${tailscaled_tun_dev} -statedir ${tailscaled_state_dir} > } > > tailscaled_poststart() >-- >2.40.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 270921
: 241571