Changeset View
Changeset View
Standalone View
Standalone View
head/net/zerotier/Makefile
# Created by: Corey Smith <corsmith@gmail.com> | # Created by: Corey Smith <corsmith@gmail.com> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= zerotier | PORTNAME= zerotier | ||||
DISTVERSION= 1.2.12 | DISTVERSION= 1.2.12 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= net | CATEGORIES= net | ||||
MAINTAINER= dch@FreeBSD.org | MAINTAINER= dch@FreeBSD.org | ||||
COMMENT= Network virtualization everywhere | COMMENT= Network virtualization everywhere | ||||
LICENSE= GPLv3 MIT PD BSD3CLAUSE APACHE20 | LICENSE= GPLv3+ MIT PD | ||||
LICENSE_COMB= multi | LICENSE_COMB= multi | ||||
jbeich: FYI, `GPLv3` can be changed to `GPLv3+` as both `LICENSE.txt` and license headers in files have… | |||||
LICENSE_FILE= ${WRKSRC}/LICENSE.GPL-3 | LICENSE_FILE_GPLv3+ =${WRKSRC}/LICENSE.GPL-3 | ||||
LICENSE_FILE_MIT=${WRKSRC}/ext/json/LICENSE.MIT | |||||
Done Inline Actionsjbeich: Change to `LICENSE_FILE_GPLv3` or (since rP451432) the file will be used for every value in… | |||||
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_powerpc64= fails to compile: clang: not found | ||||
Not Done Inline ActionsAdd -meabi=5 to CFLAGS when building that specific file. If you only have amd64 hardware poudriere can cross-compile e.g., $ pkg install qemu-user-static $ poudriere jail -cj 112armv6 -x -a arm.armv6 -v releng/11.2 -m svn+https $ poudriere bulk -tj 112armv6 net/zerotier jbeich: Add `-meabi=5` to `CFLAGS` when building that specific file. If you only have amd64 hardware… | |||||
Not Done Inline ActionsSee above but use head branch for testing as armv7 appeared in FreeBSD 12.0 (or since rS324340). jbeich: See above but use `head` branch for testing as armv7 appeared in FreeBSD 12.0 (or since… | |||||
BROKEN_FreeBSD_10_i386= fails to compile: clang++: error: unable to execute command: Segmentation fault (core dumped) | |||||
Not Done Inline ActionsNot a powerpc64-specific issue: Clang is missing because in-base GCC is too old to build it. GCC platforms also include mips* (of various ABIs), 32bit powerpc and sparc64. make targets -C/usr/src also shows riscv64 but there's almost (rP473324) no support in ports. jbeich: Not a powerpc64-specific issue: Clang is missing because in-base GCC is too old to build it. | |||||
USES= gmake compiler:c11 | 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 | ||||
Show All 23 Lines |
FYI, GPLv3 can be changed to GPLv3+ as both LICENSE.txt and license headers in files have or (at your option) any later version. clause.