73 Commits

Author SHA1 Message Date
Fabrice Fontaine
ea304cb734 net/zerotier: assign PKG_CPE_ID
cpe:/a:zerotier:zerotierone is the correct CPE ID for zerotier:
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:zerotier:zerotierone

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2026-03-19 14:36:53 +02:00
Mai Thanh Minh
902da8510b zerotier: apply upstream license change to MPL-2.0
Upstream changed license to `MPL-2.0` for all except `nonfree/`. Building with `ZT_NONFREE=1` excludes these non-free code, make the result effectively under `MPL-2.0`. Read more at https://github.com/zerotier/ZeroTierOne/blob/1.16.0/RELEASE-NOTES.md#2025-08-21----version-1160

Signed-off-by: Mai Thanh Minh <thanhminh.mr@gmail.com>
2025-12-15 07:57:41 +01:00
Moritz Warning
9a9fcc4651 zerotier: update to 1.16.0
Authored-by: Óscar García Amor <ogarcia@connectical.com>
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2025-09-22 17:21:43 +08:00
Liangbin Lian
d1b5a6d68f zerotier: fix system include path
`-isystem ext` makes `#include <miniupnpc/miniupnpc.h>` actually include `ext/miniupnpc/miniupnpc.h`.

we should use `$(STAGING_DIR)/usr/include` as a higher priority system include path.

Fix https://github.com/openwrt/openwrt/issues/18019

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-06-11 16:15:21 +02:00
Moritz Warning
f4a9426143 zerotier: add patch to support miniupnpc 2.2.8
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2025-04-06 08:45:35 +08:00
Moritz Warning
65884a144b zerotier: test network is called earth
The official name of this public network
for testing is Earth.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
2024-09-20 21:56:56 +08:00
Moritz Warning
56da6e362e zerotier: fix option disabled
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2024-09-20 21:56:56 +08:00
Moritz Warning
660b10f0dc zerotier: update to 1.14.1
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2024-09-20 21:56:56 +08:00
Óscar García Amor
5af8163878 zerotier: split configuration
Split configuration in global and per-network sections.
This change breaks existing configurations.

The following per-network settings are available:

* allow_managed
* allow_global
* allow_default
* allow_dns

See  https://docs.zerotier.com/config/#network-specific-configuration

Signed-off-by: Óscar García Amor <contact@ogarcia.me>
Reviewed-by: Moritz Warning <moritzwarning@web.de>
2024-09-17 14:27:22 +08:00
Moritz Warning
cf6fef36b4 zerotier: update to 1.14.0
Includes refreshed patches.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
2024-05-07 17:42:05 -07:00
Moritz Warning
9e38e78000 zerotier: fix typo
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2023-10-28 19:09:03 +02:00
Leo Douglas
0343dffefa zerotier: update to 1.12.2
see changelog: https://github.com/zerotier/ZeroTierOne/releases/tag/1.12.2.

Signed-off-by: Leo Douglas <douglarek@gmail.com>
2023-09-15 10:17:57 +08:00
Moritz Warning
6cf39ba626 zerotier: update to 1.12.1
* split up "fix makefile" patch logical distinct parts
* add libatomic dependency needed for prometheus-cpp-lite-1.0
* refresh patch series
* improve warning message in init script

Signed-off-by: Moritz Warning <moritzwarning@web.de>
2023-08-31 07:49:31 +08:00
Andre Heider
35f4ef76e0 treewide: refactor to use PKG_BUILD_FLAGS:=gc-sections
See commit da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.

Note: This only touches packages which use all three parts
(-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by
this build flag. Some packages only use a subset, and these are left
unchanged for now.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Oskari Rauta
56f30520f2 zerotier: do not allow executable stack
zerotier as default has executable stack.
[   11.343143] process '/usr/bin/zerotier-one' started with executable stack

executable stacks are not recommend, possibly provide a threat and there
seems to be no advantage of executable stack with zerotier-one - so let's
build it without instead.

Stack is executable on x86_64, but not on all archs, such as ramips.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-03-15 12:12:19 +08:00
Moritz Warning
b5cde91594 zerotier: update to 1.10.4
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2023-03-14 11:02:01 +08:00
Moritz Warning
1af4a404a5 zerotier: update to 1.10.3
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2023-02-23 08:01:02 +01:00
Moritz Warning
51faaa09f5 zerotier: update to 1.10.2
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2022-11-03 20:26:50 -07:00
Moritz Warning
9e39792603 zerotier: update to 1.10.1
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2022-07-04 15:58:49 -07:00
Moritz Warning
48487a3423 zerotier: update to 1.8.9
Replace patch with Makefile options
to disable Rust components that
cannot be build with OpenWrt.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
2022-04-30 11:55:46 -07:00
Moritz Warning
b45d39c142 zerotier: fix segfault on ARM platforms
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2022-04-21 09:34:32 +02:00
Moritz Warning
a5f19e2e83 zerotier: update to 1.8.8
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2022-04-21 09:34:32 +02:00
Moritz Warning
2f488873eb zerotier: update to 1.8.6
* remove upstreamed gcc10 and cerrno patches
* disable SSO and OIDC as it needs Rust/Cargo support

Signed-off-by: Moritz Warning <moritzwarning@web.de>
2022-03-16 19:45:14 -07:00
Moritz Warning
b9aebd8cdc zerotier: update to 1.8.4
Also remove patch to fix uClibc-ng,
since it is not in openwrt anymore.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
2021-12-06 15:12:35 -08:00
Jo-Philipp Wich
04d0e45da1 zerotier: add configuration reload trigger
Ensure that the zerotier service is automatically restarted when the uci
configuration is modified.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-12-01 18:59:24 +01:00
Moritz Warning
a75702ecbb zerotier: update to 1.8.3
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2021-11-23 23:23:43 +01:00
Moritz Warning
9b2bf0abe3 zerotier: update to 1.8.2
Update und switch back to release source package.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
2021-11-15 19:30:22 +01:00
Oskari Rauta
9e7b9a4978 zerotier: update to 1.8.1
Release notes:

1.8.0
 - Upgrade json.hpp dependency to version 3.10.2
 - Check if DNS servers need to be applied on macOS
 - Set MAC address before bringing up Linux TAP link
 - Stop binding to temporary IPv6 addresses
 - Fix for mistakenly using v6 source addresses for v4 routes on some platforms
 - Fix for MacOS MTU capping issue on feth devices
 - Implement a workaround for one potential source of a "coma" bug, which can occur if buggy NATs/routers stop allowing the service to communicate on a given port. ZeroTier now reassigns a new secondary port if it's offline for a while unless a secondary port is manually specified in local.conf. Working around crummy buggy routers is an ongoing effort.
 - A completely rewritten desktop UI for Mac and Windows!

1.8.1
 - Fix an issue that could cause clobbering of MacOS IP route settings on restart.
 - Added additional hardening against address impersonation on networks (also in 1.6.6).
 - MacOS IPv6 no longer binds to temporary addresses as these can cause interruptions if they expire.
 - Remove support for REALLY ancient 1.1.6 or earlier network controllers.
 - Fix numerous UI issues from 1.8.0 (never fully released).

Changed to git as source and added $(AUTORELEASE)

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-11-05 17:28:03 +01:00
Chao Liu
e99afaa97c zerotier: add respawn procd param
Signed-off-by: Chao Liu <git@expiron.dev>
2021-10-30 01:07:28 -07:00
Moritz Warning
078bd4189c zerotier: add option to copy config
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2021-10-08 09:51:03 -07:00
Liangbin Lian
47d9e21104 zerotier: fix cross compile in macOS
zerotier's Makefile use `uname` to detect target when cross compile
uname should always be 'linux'

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2021-10-03 16:36:45 -07:00
Chukun Pan
7f50af8949 zerotier: update to 1.6.6
This is a security release (see [1]).

[1] https://www.zerotier.com/2021/09/21/incident-response-to-september-20th-2021

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
2021-09-26 19:33:46 -07:00
Moritz Warning
d6a101ecce zerotier: update to 1.6.5
Minor ZeroTier update. Refreshed patches.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
2021-04-28 00:03:32 +02:00
Moritz Warning
72cbd2872b zerotier: bump to 1.6.4
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2021-02-21 03:31:11 +01:00
Moritz Warning
aa0c7f9aaa zerotier: update to 1.6.3
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2021-02-06 13:58:48 +01:00
Rosen Penev
e632e189fd zerotier: add patch to avoid including sys/auxv.h
It seems it's not needed and not supported under uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-06 23:55:20 -08:00
Moritz Warning
f49a871c36 zerotier: update to 1.6.2
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2020-12-01 12:39:48 +01:00
Moritz Warning
252b0a60d1 zerotier: update to 1.6.1
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2020-11-30 13:11:00 +01:00
Rosen Penev
7fa266580f zerotier: disable pie support
The Makefile is already patched for it. But PKG_ASLR_PIE still needs
to be disabled.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-23 13:41:00 -07:00
Rosen Penev
cd3a4f4731 zerotier: fix compilation with GCC10
Patch taken from upstream.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-16 14:31:54 -07:00
Rosen Penev
92fa4cedf3 zerotier: fix compilation with newer musl
musl 1.2.0 gets rid of this syscall. Just call the function directly. It's
easier.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-29 21:29:46 -07:00
Rosen Penev
697024f3a2 zerotier: fix compilation with libcxx
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-03 21:08:48 -08:00
Moritz Warning
6181852408 zerotier: update to 1.4.6
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2019-09-17 01:37:24 +02:00
Moritz Warning
43cca9cddc zerotier: make sure the /var/lib exists
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2019-09-09 01:28:32 +02:00
Moritz Warning
2da998768b zerotier: change license to BSL 1.1
Business Source License.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
2019-09-09 01:28:07 +02:00
Moritz Warning
966e56fa82 zerotier: update to release 1.4.4
Also allow path to local.conf to be set and enable linker optimisations
to save a few bytes.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
2019-09-03 15:14:27 +02:00
Moritz Warning
9c9fc0492f zerotier: udpate to 1.4.2
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2019-08-14 14:34:58 +02:00
DENG Qingfang
178096c9e4 zerotier: fix linking to libnatpmp and build with uclibc
Makefile always checks the existence of host's NAT-PMP header,
which results in internal NAT-PMP code being used if it's missing.

Add a patch to make it check targets' header instead.

Use aligned_alloc() instead of valloc() in case of uclibc.

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-08-08 17:05:25 +08:00
Moritz Warning
393bb305fc zerotier: update to zerotier 1.4.0
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2019-08-04 04:12:57 +02:00
Moritz Warning
85292a9f92 zerotier: keep configuration file on update
Signed-off-by: Moritz Warning <moritzwarning@web.de>
2019-07-04 21:36:00 +02:00