aboutsummaryrefslogtreecommitdiff
path: root/net/zerotier/Makefile
diff options
context:
space:
mode:
authorDave Cottlehuber <dch@FreeBSD.org>2019-05-22 20:51:41 +0000
committerDave Cottlehuber <dch@FreeBSD.org>2019-05-22 20:51:41 +0000
commit7b73228cde530c812646ab74a691edb1f00e3966 (patch)
treec6258e7c2852e27bbdd3653a3ad2e8ac7c51b0af /net/zerotier/Makefile
parentbd5373d182a77c0955f0feef652212124abaf0d9 (diff)
downloadports-7b73228cde530c812646ab74a691edb1f00e3966.tar.gz
ports-7b73228cde530c812646ab74a691edb1f00e3966.zip
net/zerotier: wait for ONLINE status before booting
- add new flag to wnable waiting for zt interface to become available - handle newer name for tap(4) in CURRENT Approved by: jrm (mentor) Differential Revision: https://reviews.freebsd.org/D18533
Notes
Notes: svn path=/head/; revision=502286
Diffstat (limited to 'net/zerotier/Makefile')
-rw-r--r--net/zerotier/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/zerotier/Makefile b/net/zerotier/Makefile
index 386f491ae618..c91b9427d1e8 100644
--- a/net/zerotier/Makefile
+++ b/net/zerotier/Makefile
@@ -3,7 +3,7 @@
PORTNAME= zerotier
DISTVERSION= 1.2.12
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net
MAINTAINER= dch@FreeBSD.org
@@ -37,6 +37,12 @@ SUB_LIST+= ZEROTIER_SYSLOG="-s debug -T zerotier"
.else
SUB_LIST+= ZEROTIER_SYSLOG=""
.endif
+# after r347241 tun(4) and tap(4) have been merged to tuntap(4)
+.if (${OSVERSION} >= 1300028)
+SUB_LIST+= ZEROTIER_IF_TAP="if_tuntap"
+.else
+SUB_LIST+= ZEROTIER_IF_TAP="if_tap"
+.endif
.endif
do-install: