|
@@ -1,7 +1,7 @@
|
|
|
Name: zerotier-one
|
|
|
-Version: 1.6.0
|
|
|
+Version: 1.6.1
|
|
|
Release: 1%{?dist}
|
|
|
-Summary: ZeroTier One network virtualization service
|
|
|
+Summary: ZeroTier network virtualization service
|
|
|
|
|
|
License: ZeroTier BSL 1.1
|
|
|
URL: https://www.zerotier.com
|
|
@@ -37,24 +37,27 @@ It can be used for on-premise network virtualization, as a peer to peer VPN
|
|
|
for mobile teams, for hybrid or multi-data-center cloud deployments, or just
|
|
|
about anywhere else secure software defined virtual networking is useful.
|
|
|
|
|
|
-ZeroTier One is our OS-level client service. It allows Mac, Linux, Windows,
|
|
|
+This is our OS-level client service. It allows Mac, Linux, Windows,
|
|
|
FreeBSD, and soon other types of clients to join ZeroTier virtual networks
|
|
|
like conventional VPNs or VLANs. It can run on native systems, VMs, or
|
|
|
containers (Docker, OpenVZ, etc.).
|
|
|
|
|
|
%prep
|
|
|
-#rm -rf *
|
|
|
-#ln -s %{getenv:PWD} %{name}-%{version}
|
|
|
-#tar --exclude=%{name}-%{version}/.git --exclude=%{name}-%{version}/%{name}-%{version} -czf %{_sourcedir}/%{name}-%{version}.tar.gz %{name}-%{version}/*
|
|
|
-#rm -f %{name}-%{version}
|
|
|
-#cp -a %{getenv:PWD}/* .
|
|
|
+%if 0%{?rhel} >= 7
|
|
|
+rm -rf *
|
|
|
+ln -s %{getenv:PWD} %{name}-%{version}
|
|
|
+tar --exclude=%{name}-%{version}/.git --exclude=%{name}-%{version}/%{name}-%{version} -czf %{_sourcedir}/%{name}-%{version}.tar.gz %{name}-%{version}/*
|
|
|
+rm -f %{name}-%{version}
|
|
|
+cp -a %{getenv:PWD}/* .
|
|
|
+%endif
|
|
|
|
|
|
%build
|
|
|
#%if 0%{?rhel} <= 7
|
|
|
#make CFLAGS="`echo %{optflags} | sed s/stack-protector-strong/stack-protector/`" CXXFLAGS="`echo %{optflags} | sed s/stack-protector-strong/stack-protector/`" ZT_USE_MINIUPNPC=1 %{?_smp_mflags} one manpages selftest
|
|
|
#%else
|
|
|
-#make CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" ZT_USE_MINIUPNPC=1 %{?_smp_mflags} one manpages selftest
|
|
|
-#%endif
|
|
|
+%if 0%{?rhel} >= 7
|
|
|
+make ZT_USE_MINIUPNPC=1 %{?_smp_mflags} one
|
|
|
+%endif
|
|
|
|
|
|
%pre
|
|
|
%if 0%{?rhel} >= 7
|
|
@@ -66,9 +69,13 @@ containers (Docker, OpenVZ, etc.).
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
+%if 0%{?rhel} < 7
|
|
|
pushd %{getenv:PWD}
|
|
|
+%endif
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
+%if 0%{?rhel} < 7
|
|
|
popd
|
|
|
+%endif
|
|
|
%if 0%{?rhel} >= 7
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
|
|
cp %{getenv:PWD}/debian/zerotier-one.service $RPM_BUILD_ROOT%{_unitdir}/%{name}.service
|
|
@@ -145,6 +152,9 @@ esac
|
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Nov 24 2020 Adam Ierymenko <[email protected]> - 1.6.1-0.1
|
|
|
+- see https://github.com/zerotier/ZeroTierOne for release notes
|
|
|
+
|
|
|
* Thu Nov 19 2020 Adam Ierymenko <[email protected]> - 1.6.0-0.1
|
|
|
- see https://github.com/zerotier/ZeroTierOne for release notes
|
|
|
|
|
@@ -154,9 +164,6 @@ esac
|
|
|
* Fri Aug 23 2019 Adam Ierymenko <[email protected]> - 1.4.4-0.1
|
|
|
- see https://github.com/zerotier/ZeroTierOne for release notes
|
|
|
|
|
|
-* Mon Aug 04 2019 Adam Ierymenko <[email protected]> - 1.4.2-0.1
|
|
|
-- see https://github.com/zerotier/ZeroTierOne for release notes
|
|
|
-
|
|
|
* Mon Jul 29 2019 Adam Ierymenko <[email protected]> - 1.4.0-0.1
|
|
|
- see https://github.com/zerotier/ZeroTierOne for release notes
|
|
|
|