Name: fastd Version: 21 Release: 1%{?dist} Summary: Fast and secure tunneling daemon License: BSD URL: https://github.com/NeoRaider/fastd/wiki Source0: https://github.com/NeoRaider/fastd/releases/download/v%{version}/fastd-%{version}.tar.xz BuildRequires: gcc BuildRequires: meson %if 0%{?rhel} < 8 BuildRequires: python-sphinx %else BuildRequires: python3-sphinx %endif BuildRequires: bison BuildRequires: json-c-devel BuildRequires: libcap-devel BuildRequires: libsodium-devel BuildRequires: libuecc-devel BuildRequires: openssl-devel BuildRequires: systemd Requires(post): systemd Requires(preun): systemd Requires(postun): systemd %description fastd is a secure tunneling daemon with some unique features: - Very small binary (about 100KB on OpenWRT in the default configuration, including all dependencies besides libc) - Exchangable crypto methods - Transport over UDP for simple usage behind NAT - Can run in 1:1 and 1:n scenarios - There are no server and client roles defined by the protocol, this is just defined by the usage. - Only one instance of the daemon is needed on each host to create a full mesh If no full mesh is established, a routing protocol is necessary to enable hosts that are not connected directly to reach each other %prep %autosetup -p1 %build %ifnarch %{ix86} x86_64 %meson \ -Dcipher_salsa2012_xmm=disabled \ -Dmac_ghash_pclmulqdq=disabled \ -Dcipher_salsa20_xmm=disabled %else %meson %endif %meson_build # build documentation pushd doc make text popd %install %meson_install install -Dpm 0644 doc/examples/fastd@.service $RPM_BUILD_ROOT/%{_unitdir}/%{name}@.service install -Dpm 0644 doc/fastd.1 $RPM_BUILD_ROOT/%{_mandir}/man1/%{name}.1 install -d $RPM_BUILD_ROOT/%{_sysconfdir}/%{name} %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun %systemd_postun_with_restart %{name}.service %files %doc README.md doc/build/text/* %license COPYRIGHT %dir %{_sysconfdir}/%{name} %{_mandir}/man1/%{name}.1.gz %{_unitdir}/%{name}@.service %{_bindir}/%{name} %changelog * Fri Oct 23 19:04:29 EDT 2020 Felix Kaechele - 21-1 - update to 21 - fixes CVE-2020-27638 * Mon Oct 12 2020 Felix Kaechele - 20-3 - add conditional for sphinx on EL < 8 * Mon Oct 12 2020 Felix Kaechele - 20-2 - fix build on non x86 architectures * Mon Oct 12 2020 Felix Kaechele - 20-1 - update to 20 - build system switched from cmake to meson - drop OpenSSL patch (upstreamed) * Thu Aug 13 2020 Felix Kaechele - 19-4 - update cmake macros * Sat Aug 01 2020 Fedora Release Engineering - 19-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat May 23 2020 Felix Kaechele - 19-1 - update to v19 - change upstream and source URLs to GitHub - enable LTO - add OpenSSL linker fix patch * Tue Apr 21 2020 Björn Esser - 18-15 - Rebuild (json-c) * Tue Jan 28 2020 Fedora Release Engineering - 18-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Jul 28 2019 Felix Kaechele - 18-13 - fix build on F31: python-sphinx -> python3-sphinx * Thu Jul 25 2019 Fedora Release Engineering - 18-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 18-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 18-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Mar 06 2018 Björn Esser - 18-9 - Rebuilt for libjson-c.so.4 (json-c v0.13.1) * Wed Feb 07 2018 Fedora Release Engineering - 18-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Dec 10 2017 Björn Esser - 18-7 - Rebuilt for libjson-c.so.3 * Wed Oct 04 2017 Felix Kaechele - 18-6 - disable libsodium AES implementation, removed upstream * Mon Oct 02 2017 Remi Collet - 18-5 - rebuild for libsodium * Wed Aug 02 2017 Fedora Release Engineering - 18-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Mar 30 2016 Felix Kaechele - 18-1 - update to version 18 - removed segfault patch - changed Source URL to https * Mon Mar 07 2016 Remi Collet - 17-6 - rebuild for new libsodium soname * Wed Feb 03 2016 Fedora Release Engineering - 17-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Jan 02 2016 Felix Kaechele - 17-4 - added patch to fix segfault * Wed Jun 17 2015 Fedora Release Engineering - 17-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Mar 01 2015 Felix Kaechele - 17-2 - mark license file as %%license - build docs with sphinx * Tue Feb 10 2015 Felix Kaechele - 17-1 - update to version 17 * Tue Nov 25 2014 Felix Kaechele - 16-1 - update to version 16 * Sun Jul 13 2014 Felix Kaechele - 14-1 - update to v14 * Sat Mar 29 2014 Felix Kaechele - 12-1 - first package version