mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-10-15 17:55:06 +02:00
Merge branch 'update-readme' of https://github.com/zerotier/ZeroTierOne into update-readme
This commit is contained in:
commit
4b9724c8fa
5 changed files with 14 additions and 8 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
|||
zerotier-one (1.16.0-2) unstable; urgency=medium
|
||||
|
||||
* Fix build settings to include controller.
|
||||
|
||||
-- Adam Ierymenko <adam.ierymenko@zerotier.com> Thu, 12 Sep 2025 01:00:00 -0700
|
||||
|
||||
zerotier-one (1.16.0) unstable; urgency=medium
|
||||
|
||||
* See RELEASE-NOTES.md for release notes.
|
||||
|
|
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -7,7 +7,7 @@ CXXFLAGS=-O3 -fstack-protector-strong
|
|||
dh $@ --with systemd
|
||||
|
||||
override_dh_auto_build:
|
||||
make
|
||||
make ZT_OFFICIAL=1 ZT_NONFREE=1 all
|
||||
|
||||
override_dh_systemd_start:
|
||||
dh_systemd_start --restart-after-upgrade
|
||||
|
|
2
debian/rules.wheezy
vendored
2
debian/rules.wheezy
vendored
|
@ -7,5 +7,5 @@ CXXFLAGS=-O3 -fstack-protector
|
|||
dh $@
|
||||
|
||||
override_dh_auto_build:
|
||||
make -j 2
|
||||
make -j 2 ZT_OFFICIAL=1 ZT_NONFREE=1 all
|
||||
|
||||
|
|
|
@ -341,10 +341,10 @@ ifeq ($(ZT_STATIC),1)
|
|||
endif
|
||||
|
||||
# For building an official semi-static binary on CentOS 7
|
||||
ifeq ($(ZT_OFFICIAL),1)
|
||||
CORE_OBJS+=ext/misc/linux-old-glibc-compat.o
|
||||
override LDFLAGS+=-Wl,--wrap=memcpy -static-libstdc++
|
||||
endif
|
||||
#ifeq ($(ZT_OFFICIAL),1)
|
||||
# CORE_OBJS+=ext/misc/linux-old-glibc-compat.o
|
||||
# override LDFLAGS+=-Wl,--wrap=memcpy -static-libstdc++
|
||||
#endif
|
||||
|
||||
ifeq ($(ZT_CONTROLLER),1)
|
||||
override CXXFLAGS+=-Wall -Wno-deprecated -std=c++17 -pthread $(INCLUDES) -DNDEBUG $(DEFS)
|
||||
|
|
|
@ -102,12 +102,12 @@ ln -s %{getenv:PWD} %{name}-%{version}
|
|||
mkdir -p SOURCES
|
||||
tar --exclude=%{name}-%{version}/.git --exclude=%{name}-%{version}/%{name}-%{version} -czf SOURCES/%{name}-%{version}.tar.gz %{name}-%{version}/*
|
||||
rm -f %{name}-%{version}
|
||||
# cp -a %{getenv:PWD}/* .
|
||||
cp -a %{getenv:PWD}/* .
|
||||
%endif
|
||||
|
||||
%build
|
||||
%if "%{?dist}" != ".el6"
|
||||
make ZT_USE_MINIUPNPC=1 %{?_smp_mflags} one
|
||||
make ZT_USE_MINIUPNPC=1 %{?_smp_mflags} ZT_OFFICIAL=1 ZT_NONFREE=1 one
|
||||
%endif
|
||||
|
||||
%pre
|
||||
|
|
Loading…
Add table
Reference in a new issue