From aed0b4941fd67744e055c70762310d36a0e6a8b8 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 29 Nov 2021 22:03:40 -0500 Subject: [PATCH 1/5] GUID bump for Windows --- ext/installfiles/windows/ZeroTier One.aip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/installfiles/windows/ZeroTier One.aip b/ext/installfiles/windows/ZeroTier One.aip index 5b7733f9f..d95a2323c 100644 --- a/ext/installfiles/windows/ZeroTier One.aip +++ b/ext/installfiles/windows/ZeroTier One.aip @@ -26,7 +26,7 @@ - + From 3bce783cbc4eaa8ce0ecfb592cb78d3d33657885 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Mon, 29 Nov 2021 19:44:34 -0800 Subject: [PATCH 2/5] Add minor help tip to Snap instructions --- snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 9db6275a8..46fb373ff 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -13,7 +13,7 @@ description: | arising from the inflexible nature of physical networks obsolete. Everything is encrypted end-to-end and traffic takes the most direct (peer to peer) path available. - Install + Install (be sure to use sudo) sudo snap install zerotier From d6b00bcd40e7d80d3a1087ed2ca7191f7b7dfcf8 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 30 Nov 2021 09:10:07 -0500 Subject: [PATCH 3/5] Fix Windows 32-bit installation. --- ext/installfiles/windows/ZeroTier One.aip | 26 +++++++++++++---------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/ext/installfiles/windows/ZeroTier One.aip b/ext/installfiles/windows/ZeroTier One.aip index d95a2323c..c38d58f2f 100644 --- a/ext/installfiles/windows/ZeroTier One.aip +++ b/ext/installfiles/windows/ZeroTier One.aip @@ -1,5 +1,5 @@ - + @@ -10,6 +10,7 @@ + @@ -26,7 +27,7 @@ - + @@ -69,7 +70,7 @@ - + @@ -87,7 +88,7 @@ - + @@ -134,10 +135,10 @@ - - - - + + + + @@ -195,6 +196,7 @@ + @@ -252,6 +254,7 @@ + @@ -262,6 +265,7 @@ + @@ -317,6 +321,7 @@ + @@ -324,7 +329,6 @@ - @@ -333,7 +337,7 @@ - + @@ -399,7 +403,7 @@ - + From f20b7e8cee70e48bbe87d183ff5e93f0cc5d7013 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 30 Nov 2021 12:35:22 -0500 Subject: [PATCH 4/5] ARM32 flags update. --- RELEASE-NOTES.md | 6 +++--- make-linux.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 9f2483ef8..4845c68af 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,13 +1,13 @@ ZeroTier Release Notes ====== -# 2021-11-23 -- Version 1.8.4 +# 2021-11-30 -- Version 1.8.4 - * Happy 🦃 week to our USA users! - * This release is now less of a 🦃 on 32-bit Windows and actually installs. * Fixed an ugly font problem on some older macOS versions. * Fixed a bug that could cause the desktop tray app control panel to stop opening after a while on Windows. * Fixed a possible double "release" in macOS tray app code that crashed on older macOS versions. + * Fixed installation on 32-bit Windows 10. + * Fixed a build flags issue that could cause ZeroTier to crash on older ARM32 CPUs. # 2021-11-15 -- Version 1.8.3 diff --git a/make-linux.mk b/make-linux.mk index 5ad9120cc..eea62f1db 100644 --- a/make-linux.mk +++ b/make-linux.mk @@ -286,8 +286,8 @@ ifeq ($(ZT_ARCHITECTURE),3) override CXXFLAGS+=-march=armv5t -mfloat-abi=soft -msoft-float -mno-unaligned-access -marm ZT_USE_ARM32_NEON_ASM_CRYPTO=0 else - override CFLAGS+=-mfloat-abi=hard -mfpu=vfp -mcpu=arm1176jzf-s -marm -mno-unaligned-access - override CXXFLAGS+=-mfloat-abi=hard -mfpu=vfp -mcpu=arm1176jzf-s -fexceptions -marm -mno-unaligned-access + override CFLAGS+=-mfloat-abi=hard -mfpu=vfp -march=armv6zk+fp -mcpu=arm1176jzf-s -mstructure-size-boundary=8 -marm -mno-unaligned-access + override CXXFLAGS+=-mfloat-abi=hard -mfpu=vfp -march=armv6zk+fp -mcpu=arm1176jzf-s -fexceptions -mstructure-size-boundary=8 -marm -mno-unaligned-access ZT_USE_ARM32_NEON_ASM_CRYPTO=0 endif endif From 8cda04cc98ee4c44ae1101cda3c6cc7466a19987 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 30 Nov 2021 13:14:38 -0500 Subject: [PATCH 5/5] Use nproc to get the number of cores on Linux to speed up bounds. --- make-linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-linux.mk b/make-linux.mk index eea62f1db..25a2fe617 100644 --- a/make-linux.mk +++ b/make-linux.mk @@ -346,7 +346,7 @@ distclean: clean realclean: distclean official: FORCE - make -j4 ZT_OFFICIAL=1 all + make -j`nproc` ZT_OFFICIAL=1 all docker: FORCE docker build --no-cache -f ext/installfiles/linux/zerotier-containerized/Dockerfile -t zerotier-containerized .