Index: head/net/zerotier/Makefile =================================================================== --- head/net/zerotier/Makefile (revision 479670) +++ head/net/zerotier/Makefile (revision 479671) @@ -1,51 +1,50 @@ # Created by: Corey Smith # $FreeBSD$ PORTNAME= zerotier DISTVERSION= 1.2.12 +PORTREVISION= 1 CATEGORIES= net MAINTAINER= dch@FreeBSD.org COMMENT= Network virtualization everywhere -LICENSE= GPLv3 MIT PD BSD3CLAUSE APACHE20 +LICENSE= GPLv3+ MIT PD LICENSE_COMB= multi -LICENSE_FILE= ${WRKSRC}/LICENSE.GPL-3 +LICENSE_FILE_GPLv3+ =${WRKSRC}/LICENSE.GPL-3 +LICENSE_FILE_MIT=${WRKSRC}/ext/json/LICENSE.MIT -BROKEN_armv6= fails to link: Source object ext/arm32-neon-salsa2012-asm/salsa2012.o has EABI version 0, but target zerotier-one has EABI version 5 -BROKEN_armv7= fails to link: Source object ext/arm32-neon-salsa2012-asm/salsa2012.o has EABI version 0, but target zerotier-one has EABI version 5 BROKEN_powerpc64= fails to compile: clang: not found -BROKEN_FreeBSD_10_i386= fails to compile: clang++: error: unable to execute command: Segmentation fault (core dumped) -USES= gmake compiler:c11 +USES= gmake compiler:c++14-lang USE_RC_SUBR= zerotier USE_GITHUB= yes GH_PROJECT= ZeroTierOne CFLAGS+= -flax-vector-conversions OPTIONS_DEFINE= DBG DBG_DESC= Enable foreground debugging for zerotier-one daemon DBG_ALL_TARGET= debug PLIST_FILES= bin/zerotier-cli bin/zerotier-idtool sbin/zerotier-one .include .if ${OPSYS} == "FreeBSD" # log output via syslog when daemon(8) supports it .if ((${OSVERSION} >= 1100513 && ${OSVERSION} < 1200000) || ${OSVERSION} >= 1200015) SUB_LIST+= ZEROTIER_SYSLOG="-s debug -T zerotier" .else SUB_LIST+= ZEROTIER_SYSLOG="" .endif .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/zerotier-one ${STAGEDIR}${PREFIX}/sbin/ .for l in zerotier-cli zerotier-idtool ${RLN} ${STAGEDIR}${PREFIX}/sbin/zerotier-one ${STAGEDIR}${PREFIX}/bin/${l} .endfor .include Index: head/net/zerotier/files/patch-Makefile =================================================================== --- head/net/zerotier/files/patch-Makefile (nonexistent) +++ head/net/zerotier/files/patch-Makefile (revision 479671) @@ -0,0 +1,11 @@ +--- Makefile.orig 2018-09-13 09:39:16 UTC ++++ Makefile +@@ -11,8 +11,6 @@ ifeq ($(OSTYPE),Linux) + endif + + ifeq ($(OSTYPE),FreeBSD) +- CC=clang +- CXX=clang++ + ZT_BUILD_PLATFORM=7 + include make-bsd.mk + endif Property changes on: head/net/zerotier/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/zerotier/files/patch-ext_arm32-neon-salsa2012-asm_salsa2012.h =================================================================== --- head/net/zerotier/files/patch-ext_arm32-neon-salsa2012-asm_salsa2012.h (nonexistent) +++ head/net/zerotier/files/patch-ext_arm32-neon-salsa2012-asm_salsa2012.h (revision 479671) @@ -0,0 +1,14 @@ +--- ext/arm32-neon-salsa2012-asm/salsa2012.h.orig 2018-07-27 21:14:09 UTC ++++ ext/arm32-neon-salsa2012-asm/salsa2012.h +@@ -5,8 +5,10 @@ + #include + #include + #define zt_arm_has_neon() ((getauxval(AT_HWCAP) & HWCAP_NEON) != 0) +-#else ++#elif defined(__ARM_NEON__) || defined(__ARM_NEON) + #define zt_arm_has_neon() (true) ++#else ++#define zt_arm_has_neon() (false) + #endif + + #ifdef __cplusplus Property changes on: head/net/zerotier/files/patch-ext_arm32-neon-salsa2012-asm_salsa2012.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/zerotier/files/patch-make-bsd.mk =================================================================== --- head/net/zerotier/files/patch-make-bsd.mk (revision 479670) +++ head/net/zerotier/files/patch-make-bsd.mk (revision 479671) @@ -1,11 +1,11 @@ ---- make-bsd.mk.orig 2018-05-18 08:50:17 UTC +--- make-bsd.mk.orig 2018-09-13 10:12:22 UTC +++ make-bsd.mk @@ -159,7 +159,7 @@ clean: rm -rf *.a *.o node/*.o controller/*.o osdep/*.o service/*.o ext/http-parser/*.o build-* zerotier-one zerotier-idtool zerotier-selftest zerotier-cli $(ONE_OBJS) $(CORE_OBJS) debug: FORCE - gmake -j 4 ZT_DEBUG=1 -+ $(MAKE) -j ZT_DEBUG=1 ++ $(MAKE) -j 4 ZT_DEBUG=1 install: one rm -f /usr/local/sbin/zerotier-one