Skip to content

Commit f6bf158

Browse files
committed
update package
1 parent 9227045 commit f6bf158

File tree

4 files changed

+43
-10
lines changed

4 files changed

+43
-10
lines changed

zerotier/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
include $(TOPDIR)/rules.mk
77

88
PKG_NAME:=zerotier
9-
PKG_VERSION:=1.2.6
9+
PKG_VERSION:=1.2.8
1010
PKG_RELEASE:=1
1111

1212
PKG_LICENSE:=GPL-3.0

zerotier/patches/0001-find-miniupnpc.h-in-staging-directory.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
From 58aa0c46860bc1700d3277222a9d5ddf37721d65 Mon Sep 17 00:00:00 2001
1+
From c578216351a4daa3916265b39b14f7c23ef15c90 Mon Sep 17 00:00:00 2001
22
From: Moritz Warning <moritzwarning@web.de>
33
Date: Mon, 23 Apr 2018 22:12:31 +0200
4-
Subject: [PATCH 1/2] find miniupnpc.h in staging directory
4+
Subject: [PATCH 1/3] find miniupnpc.h in staging directory
55

66
---
77
make-linux.mk | 4 ++--
88
1 file changed, 2 insertions(+), 2 deletions(-)
99

1010
diff --git a/make-linux.mk b/make-linux.mk
11-
index c318c785..5b271b0a 100644
11+
index 2e6a8632..0cd955d1 100644
1212
--- a/make-linux.mk
1313
+++ b/make-linux.mk
1414
@@ -22,8 +22,8 @@ ONE_OBJS+=osdep/LinuxEthernetTap.o
@@ -23,5 +23,5 @@ index c318c785..5b271b0a 100644
2323
override DEFS+=-DZT_USE_SYSTEM_MINIUPNPC
2424
LDLIBS+=-lminiupnpc
2525
--
26-
2.16.3
26+
2.17.0
2727

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
From 7cfe751128d412a9b780ba5e4cb11908fc71cd3d Mon Sep 17 00:00:00 2001
2+
From: Moritz Warning <moritzwarning@web.de>
3+
Date: Mon, 30 Apr 2018 16:14:30 +0200
4+
Subject: [PATCH 2/3] remove -pie
5+
6+
fixes relocation "against `a local symbol' can not be used
7+
when making a shared object; recompile with -fPIC" error
8+
---
9+
make-linux.mk | 6 +++---
10+
1 file changed, 3 insertions(+), 3 deletions(-)
11+
12+
diff --git a/make-linux.mk b/make-linux.mk
13+
index 0cd955d1..add1d3ae 100644
14+
--- a/make-linux.mk
15+
+++ b/make-linux.mk
16+
@@ -71,11 +71,11 @@ ifeq ($(ZT_DEBUG),1)
17+
# C25519 in particular is almost UNUSABLE in -O0 even on a 3ghz box!
18+
node/Salsa20.o node/SHA512.o node/C25519.o node/Poly1305.o: CXXFLAGS=-Wall -O2 -g -pthread $(INCLUDES) $(DEFS)
19+
else
20+
- CFLAGS?=-O3 -fstack-protector -fPIE
21+
+ CFLAGS?=-O3 -fstack-protector
22+
override CFLAGS+=-Wall -Wno-deprecated -pthread $(INCLUDES) -DNDEBUG $(DEFS)
23+
- CXXFLAGS?=-O3 -fstack-protector -fPIE
24+
+ CXXFLAGS?=-O3 -fstack-protector
25+
override CXXFLAGS+=-Wall -Wno-deprecated -std=c++11 -pthread $(INCLUDES) -DNDEBUG $(DEFS)
26+
- LDFLAGS=-pie -Wl,-z,relro,-z,now
27+
+ LDFLAGS=-Wl,-z,relro,-z,now
28+
STRIP?=strip
29+
STRIP+=--strip-all
30+
endif
31+
--
32+
2.17.0
33+

zerotier/patches/0002-remove-march-armv5.patch renamed to zerotier/patches/0003-remove-march-armv5.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
From dacdb368a5a147e0f4f618e66423923bf301a5c2 Mon Sep 17 00:00:00 2001
1+
From bfb1a652dbf897dc065d2a1414296eb145a2224b Mon Sep 17 00:00:00 2001
22
From: Moritz Warning <moritzwarning@web.de>
33
Date: Mon, 23 Apr 2018 22:31:03 +0200
4-
Subject: [PATCH 2/2] remove -march=armv5
4+
Subject: [PATCH 3/3] remove -march=armv5
55

66
---
77
make-linux.mk | 8 ++++----
88
1 file changed, 4 insertions(+), 4 deletions(-)
99

1010
diff --git a/make-linux.mk b/make-linux.mk
11-
index 5b271b0a..31ec4dcb 100644
11+
index add1d3ae..49e14f70 100644
1212
--- a/make-linux.mk
1313
+++ b/make-linux.mk
14-
@@ -231,12 +231,12 @@ endif
14+
@@ -229,12 +229,12 @@ endif
1515
# ARM32 hell -- use conservative CFLAGS
1616
ifeq ($(ZT_ARCHITECTURE),3)
1717
ifeq ($(shell if [ -e /usr/bin/dpkg ]; then dpkg --print-architecture; fi),armel)
@@ -29,5 +29,5 @@ index 5b271b0a..31ec4dcb 100644
2929
endif
3030

3131
--
32-
2.16.3
32+
2.17.0
3333

0 commit comments

Comments
 (0)