Changeset View
Changeset View
Standalone View
Standalone View
net/zerotier/Makefile
# Created by: Corey Smith <corsmith@gmail.com> | # Created by: Corey Smith <corsmith@gmail.com> | ||||
PORTNAME= zerotier | PORTNAME= zerotier | ||||
DISTVERSION= 1.6.5 | DISTVERSION= 1.6.5 | ||||
CATEGORIES= net | CATEGORIES= net | ||||
PATCH_SITES= https://github.com/zerotier/zerotierone/pull/ | PATCH_SITES= https://github.com/zerotier/zerotierone/pull/ | ||||
# PATCHFILES= 1043.patch:-p1 | # PATCHFILES= 1043.patch:-p1 | ||||
PATCHFILES= 1304.patch:-p1 | PATCHFILES= 1304.patch:-p1 | ||||
MAINTAINER= dch@FreeBSD.org | MAINTAINER= dch@FreeBSD.org | ||||
COMMENT= Network virtualization everywhere | COMMENT= Network virtualization everywhere | ||||
# No SaaS or Govt usage: https://github.com/zerotier/ZeroTierOne/blob/master/LICENSE.txt | |||||
LICENSE= BUSINESS MIT PD | LICENSE= BUSINESS MIT PD | ||||
LICENSE_COMB= multi | LICENSE_COMB= multi | ||||
LICENSE_NAME_BUSINESS= Business Source License | LICENSE_NAME_BUSINESS= Business Source License | ||||
LICENSE_FILE_BUSINESS= ${WRKSRC}/LICENSE.txt | LICENSE_FILE_BUSINESS= ${WRKSRC}/LICENSE.txt | ||||
LICENSE_FILE_MIT= ${WRKSRC}/ext/json/LICENSE.MIT | LICENSE_FILE_MIT= ${WRKSRC}/ext/json/LICENSE.MIT | ||||
LICENSE_PERMS_BUSINESS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept | LICENSE_PERMS_BUSINESS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept | ||||
BUILD_DEPENDS= as:devel/binutils | BUILD_DEPENDS= as:devel/binutils | ||||
USES= gmake compiler:c++14-lang | USES= gmake compiler:c++14-lang | ||||
USE_RC_SUBR= zerotier | USE_RC_SUBR= zerotier | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_PROJECT= ZeroTierOne | GH_PROJECT= ZeroTierOne | ||||
CFLAGS+= -flax-vector-conversions | CFLAGS+= -flax-vector-conversions | ||||
OPTIONS_DEFINE= DBG | OPTIONS_DEFINE= DBG | ||||
DBG_DESC= Enable foreground debugging for zerotier-one daemon | DBG_DESC= Enable foreground debugging for zerotier-one daemon | ||||
DBG_ALL_TARGET= debug | DBG_ALL_TARGET= debug | ||||
PLIST_FILES= bin/zerotier-cli bin/zerotier-idtool sbin/zerotier-one | PLIST_FILES= bin/zerotier-cli bin/zerotier-idtool sbin/zerotier-one | ||||
LEGAL_TEXT= No SaaS or Govt usage: https://github.com/zerotier/ZeroTierOne/blob/master/LICENSE.txt | |||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${OPSYS} == "FreeBSD" | .if ${OPSYS} == "FreeBSD" | ||||
# log output via syslog | # log output via syslog | ||||
SUB_LIST+= ZEROTIER_SYSLOG="-s debug -T zerotier" | SUB_LIST+= ZEROTIER_SYSLOG="-s debug -T zerotier" | ||||
# after r347241 tun(4) and tap(4) have been merged to tuntap(4) | # after r347241 tun(4) and tap(4) have been merged to tuntap(4) | ||||
.if (${OSVERSION} >= 1300028) | .if (${OSVERSION} >= 1300028) | ||||
Show All 17 Lines |