View | Details | Raw Unified | Return to bug 270921
Collapse All | Expand All

(-)b/security/tailscale/Makefile (-1 / +1 lines)
Lines 1-6 Link Here
1
PORTNAME=	tailscale
1
PORTNAME=	tailscale
2
PORTVERSION=	1.38.4
2
PORTVERSION=	1.38.4
3
PORTREVISION=	1
3
PORTREVISION=	2
4
DISTVERSIONPREFIX=	v
4
DISTVERSIONPREFIX=	v
5
CATEGORIES=	security net-vpn
5
CATEGORIES=	security net-vpn
6
6
(-)b/security/tailscale/files/tailscaled.in (-2 / +5 lines)
Lines 9-14 Link Here
9
#
9
#
10
# tailscaled_enable (bool):	Set it to YES to enable tailscaled.
10
# tailscaled_enable (bool):	Set it to YES to enable tailscaled.
11
#				Default is "NO".
11
#				Default is "NO".
12
# tailscaled_state_dir (str):	Set the path to use for the state directory.
13
# 				Default is "/var/db/tailscale"
12
# tailscaled_port (number):	Set the port to listen on for incoming VPN packets.
14
# tailscaled_port (number):	Set the port to listen on for incoming VPN packets.
13
#				Default is "41641".
15
#				Default is "41641".
14
# tailscaled_syslog_output_enable (bool):	Set to enable syslog output.
16
# tailscaled_syslog_output_enable (bool):	Set to enable syslog output.
Lines 32-37 rcvar=tailscaled_enable Link Here
32
load_rc_config $name
34
load_rc_config $name
33
35
34
: ${tailscaled_enable:="NO"}
36
: ${tailscaled_enable:="NO"}
37
: ${tailscaled_state_dir:="/var/db/tailscale"}
35
: ${tailscaled_port:="41641"}
38
: ${tailscaled_port:="41641"}
36
: ${tailscaled_exitnode_enable:="NO"}
39
: ${tailscaled_exitnode_enable:="NO"}
37
: ${tailscaled_up_args:=""}
40
: ${tailscaled_up_args:=""}
Lines 74-80 tailscaled_start() Link Here
74
		/sbin/ifconfig ${tailscaled_tun_dev} | fgrep -qw PID ||
77
		/sbin/ifconfig ${tailscaled_tun_dev} | fgrep -qw PID ||
75
		/sbin/ifconfig ${tailscaled_tun_dev} destroy
78
		/sbin/ifconfig ${tailscaled_tun_dev} destroy
76
	)
79
	)
77
	env CACHE_DIRECTORY=/var/db/tailscale /usr/sbin/daemon -f ${tailscaled_syslog_output_flags} -p ${pidfile} ${procname} -port ${tailscaled_port} -tun ${tailscaled_tun_dev}
80
81
	/usr/sbin/daemon -f ${tailscaled_syslog_output_flags} -p ${pidfile} ${procname} -port ${tailscaled_port} -tun ${tailscaled_tun_dev} -statedir ${tailscaled_state_dir}
78
}
82
}
79
83
80
tailscaled_poststart()
84
tailscaled_poststart()
81
- 

Return to bug 270921