[tg_owt] Revert "https://lists.rpmfusion.org/archives/list/rpmfusion-developers@lists.rpmfusion.org/thread/5A
by Alexey Gorgurov
commit 18a43c6bcd039eea668f07dc217e8201d2938271
Author: Alex Fails <afails(a)localhost.localdomain>
Date: Fri Mar 12 17:17:49 2021 +0300
Revert "https://lists.rpmfusion.org/archives/list/rpmfusion-developers@lists.rpmf..."
This reverts commit 1629a0363f946ba74ba150273c81b72ee97c82c1.
.gitignore | 8 +++
dead.package | 1 -
sources | 3 +
tg_owt.spec | 182 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 193 insertions(+), 1 deletion(-)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..599f7fe
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+/tg_owt-e8fcae7.tar.gz
+/tg_owt-12f4a27.tar.gz
+/tg_owt-10b988a.tar.gz
+/libvpx-5b63f0f.tar.gz
+/libyuv-ad89006.tar.gz
+/tg_owt-6eaebec.tar.gz
+/tg_owt-be23804.tar.gz
+/tg_owt-a198773.tar.gz
diff --git a/sources b/sources
new file mode 100644
index 0000000..598d073
--- /dev/null
+++ b/sources
@@ -0,0 +1,3 @@
+SHA512 (libvpx-5b63f0f.tar.gz) = 6980b073efae2757a0e2068bd90778baf88a057b1df74380737958e319cd0e6a2fe6ef9462289fb8959a8482a01de4c599f5c52c7dfe78a6142f6c6246af3d19
+SHA512 (libyuv-ad89006.tar.gz) = fbb1b7ab7801c371dfc5b9991fbcd49cec17f8af0ebf210eaa33b8c19b5a7333c0dfc831253628278eb7656b019424f4c33ecf8d8e5629d308f79f3bcbf415ba
+SHA512 (tg_owt-a198773.tar.gz) = 1b7ca215459e8344b2012b9d9e4ebd42113628114f129a2bd2961e2384188402da2f8d17f59ee85f7b83c7760a60a3ba02235105d5227dff7bbc4db6d660ec93
diff --git a/tg_owt.spec b/tg_owt.spec
new file mode 100644
index 0000000..dc350dd
--- /dev/null
+++ b/tg_owt.spec
@@ -0,0 +1,182 @@
+%undefine __cmake_in_source_build
+
+%global commit0 a19877363082da634a3c851a4698376504d2eaee
+%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
+%global date 20210203
+
+# Git revision of libvpx...
+%global commit1 5b63f0f821e94f8072eb483014cfc33b05978bb9
+%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
+
+# Git revision of libyuv...
+%global commit2 ad890067f661dc747a975bc55ba3767fe30d4452
+%global shortcommit2 %(c=%{commit2}; echo ${c:0:7})
+
+Name: tg_owt
+Version: 0
+Release: 7.%{date}git%{shortcommit0}%{?dist}
+
+# Main project - BSD
+# abseil-cpp - ASL 2.0
+# libsrtp - BSD
+# libwebm - BSD
+# libyuv - BSD
+# openh264 - BSD
+# pffft - BSD
+# rnnoise - BSD
+# usrsctp - BSD
+License: BSD and ASL 2.0
+Summary: WebRTC library for the Telegram messenger
+URL: https://github.com/desktop-app/%{name}
+
+Source0: %{url}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
+Source1: https://chromium.googlesource.com/webm/libvpx/+archive/%{commit1}.tar.gz#...
+Source2: https://chromium.googlesource.com/libyuv/libyuv/+archive/%{commit2}.tar.g...
+
+BuildRequires: pkgconfig(alsa)
+BuildRequires: pkgconfig(libavcodec)
+BuildRequires: pkgconfig(libavformat)
+BuildRequires: pkgconfig(libavresample)
+BuildRequires: pkgconfig(libavutil)
+BuildRequires: pkgconfig(libjpeg)
+BuildRequires: pkgconfig(libpulse)
+BuildRequires: pkgconfig(libswscale)
+BuildRequires: pkgconfig(openssl)
+BuildRequires: pkgconfig(opus)
+BuildRequires: pkgconfig(protobuf)
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xtst)
+
+BuildRequires: cmake
+BuildRequires: gcc
+BuildRequires: gcc-c++
+BuildRequires: ninja-build
+BuildRequires: yasm
+
+Provides: bundled(abseil-cpp) = 0~gitfba8a31
+Provides: bundled(base64) = 0~git
+Provides: bundled(fft) = 0~git
+Provides: bundled(g711) = 0~git
+Provides: bundled(g722) = 0~git
+Provides: bundled(libevent) = 1.4.15
+Provides: bundled(libsrtp) = 2.2.0~git94ac00d
+Provides: bundled(libvpx) = 1.8.2~git%{shortcommit1}
+Provides: bundled(libwebm) = 0~git
+Provides: bundled(libyuv) = 0~git%{shortcommit2}
+Provides: bundled(ooura) = 0~git
+Provides: bundled(openh264) = 1.10.0~git6f26bce
+Provides: bundled(pffft) = 0~git483453d
+Provides: bundled(portaudio) = 0~git
+Provides: bundled(rnnoise) = 0~git91ef40
+Provides: bundled(sigslot) = 0~git
+Provides: bundled(spl_sqrt_floor) = 0~git
+Provides: bundled(usrsctp) = 1.0.0~gitbee946a
+
+# Disabling all low-memory architectures.
+ExclusiveArch: x86_64
+
+%description
+Special fork of the OpenWebRTC library for the Telegram messenger.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: pkgconfig(alsa)
+Requires: pkgconfig(libavcodec)
+Requires: pkgconfig(libavformat)
+Requires: pkgconfig(libavresample)
+Requires: pkgconfig(libavutil)
+Requires: pkgconfig(libjpeg)
+Requires: pkgconfig(libpulse)
+Requires: pkgconfig(libswscale)
+Requires: pkgconfig(openssl)
+Requires: pkgconfig(opus)
+Requires: pkgconfig(x11)
+Requires: pkgconfig(xtst)
+
+%description devel
+%{summary}.
+
+%prep
+%autosetup -n %{name}-%{commit0} -p1
+tar -xf %{SOURCE1} -C src/third_party/libvpx/source/libvpx
+tar -xf %{SOURCE2} -C src/third_party/libyuv
+
+mkdir legal
+cp -f -p src/third_party/abseil-cpp/LICENSE legal/LICENSE.abseil-cpp
+cp -f -p src/third_party/abseil-cpp/README.chromium legal/README.abseil-cpp
+cp -f -p src/third_party/libsrtp/LICENSE legal/LICENSE.libsrtp
+cp -f -p src/third_party/libsrtp/README.chromium legal/README.libsrtp
+cp -f -p src/third_party/libvpx/source/libvpx/LICENSE legal/LICENSE.libvpx
+cp -f -p src/third_party/libvpx/source/libvpx/PATENTS legal/PATENTS.libvpx
+cp -f -p src/third_party/libvpx/README.chromium legal/README.libvpx
+cp -f -p src/third_party/libyuv/LICENSE legal/LICENSE.libyuv
+cp -f -p src/third_party/libyuv/PATENTS legal/PATENTS.libyuv
+cp -f -p src/third_party/libyuv/README.chromium legal/README.libyuv
+cp -f -p src/third_party/openh264/src/LICENSE legal/LICENSE.openh264
+cp -f -p src/third_party/openh264/README.chromium legal/README.openh264
+cp -f -p src/third_party/pffft/LICENSE legal/LICENSE.pffft
+cp -f -p src/third_party/pffft/README.chromium legal/README.pffft
+cp -f -p src/third_party/rnnoise/COPYING legal/LICENSE.rnnoise
+cp -f -p src/third_party/rnnoise/README.chromium legal/README.rnnoise
+cp -f -p src/third_party/usrsctp/LICENSE legal/LICENSE.usrsctp
+cp -f -p src/third_party/usrsctp/README.chromium legal/README.usrsctp
+cp -f -p src/third_party/libvpx/source/libvpx/third_party/libwebm/LICENSE.TXT legal/LICENSE.libwebm
+cp -f -p src/third_party/libvpx/source/libvpx/third_party/libwebm/PATENTS.TXT legal/PATENTS.libwebm
+cp -f -p src/third_party/libvpx/source/libvpx/third_party/libwebm/README.libvpx legal/README.libwebm
+cp -f -p src/base/third_party/libevent/LICENSE legal/LICENSE.libevent
+cp -f -p src/base/third_party/libevent/README.chromium legal/README.libevent
+cp -f -p src/common_audio/third_party/ooura/LICENSE legal/LICENSE.ooura
+cp -f -p src/common_audio/third_party/ooura/README.chromium legal/README.ooura
+cp -f -p src/common_audio/third_party/spl_sqrt_floor/LICENSE legal/LICENSE.spl_sqrt_floor
+cp -f -p src/common_audio/third_party/spl_sqrt_floor/README.chromium legal/README.spl_sqrt_floor
+cp -f -p src/modules/third_party/fft/LICENSE legal/LICENSE.fft
+cp -f -p src/modules/third_party/fft/README.chromium legal/README.fft
+cp -f -p src/modules/third_party/g711/LICENSE legal/LICENSE.g711
+cp -f -p src/modules/third_party/g711/README.chromium legal/README.g711
+cp -f -p src/modules/third_party/g722/LICENSE legal/LICENSE.g722
+cp -f -p src/modules/third_party/g722/README.chromium legal/README.g722
+cp -f -p src/modules/third_party/portaudio/LICENSE legal/LICENSE.portaudio
+cp -f -p src/modules/third_party/portaudio/README.chromium legal/README.portaudio
+cp -f -p src/rtc_base/third_party/base64/LICENSE legal/LICENSE.base64
+cp -f -p src/rtc_base/third_party/base64/README.chromium legal/README.base64
+cp -f -p src/rtc_base/third_party/sigslot/LICENSE legal/LICENSE.sigslot
+cp -f -p src/rtc_base/third_party/sigslot/README.chromium legal/README.sigslot
+
+%build
+# CMAKE_BUILD_TYPE should always be Release due to some hardcoded checks.
+%cmake -G Ninja \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON \
+ -DTG_OWT_USE_PROTOBUF:BOOL=ON \
+ -DTG_OWT_PACKAGED_BUILD:BOOL=ON
+%cmake_build
+
+%install
+%cmake_install
+
+%files
+%doc src/AUTHORS src/OWNERS legal/README.*
+%license LICENSE src/PATENTS legal/LICENSE.* legal/PATENTS.*
+%{_libdir}/lib%{name}.so.0*
+
+%files devel
+%{_includedir}/%{name}
+%{_libdir}/cmake/%{name}
+%{_libdir}/lib%{name}.so
+
+%changelog
+* Wed Feb 24 2021 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0-7.20210203gita198773
+- Updated to latest Git snapshot.
+
+* Thu Feb 04 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 0-6.20210124gitbe23804
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Mon Feb 01 2021 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0-5.20210124gitbe23804
+- Updated to latest Git snapshot.
+
+* Wed Dec 23 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0-4.20201218git6eaebec
+- Updated to latest Git snapshot.
+
+* Fri Nov 20 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0-3.20201112git10b988a
+- Updated to latest Git snapshot.
3 years, 8 months
[xtables-addons-kmod] Release 3.18
by Leigh Scott
commit 25a9f1603403273f50c7c55c96bf3d4b81d9b143
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sun Mar 21 20:05:36 2021 +0000
Release 3.18
sources | 2 +-
xtables-addons-kmod.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/sources b/sources
index 9f95d6b..a7a29ea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xtables-addons-3.15.tar.xz) = 9c323dca2a44e689fbea77171eff41ab78f3b3f9a8649ab6f77017a3f30b45edcb37626353e373d93c432b1e0bcc4f402780b7738f8abb465bfdca2cecbea31f
+SHA512 (xtables-addons-3.18.tar.xz) = b334642ce9b6ec3fc775ddbe6b66d70467fdcbfe30dcb165dac203f9d7fcd222dfd8c91e10befa3666bf572115dc75ed32d8ece05ed2947a4ed21d1d09032b8f
diff --git a/xtables-addons-kmod.spec b/xtables-addons-kmod.spec
index 967cf6e..4b73c6f 100644
--- a/xtables-addons-kmod.spec
+++ b/xtables-addons-kmod.spec
@@ -10,7 +10,7 @@
Name: xtables-addons-kmod
Summary: Kernel module (kmod) for xtables-addons
-Version: 3.15
+Version: 3.18
Release: 1%{?dist}
License: GPLv2
URL: https://inai.de/projects/xtables-addons/
@@ -68,6 +68,9 @@ done
%{?akmod_install}
%changelog
+* Sun Mar 21 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3.18-1
+- Release 3.18
+
* Tue Feb 23 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3.15-1
- Release 3.15
3 years, 8 months
[xtables-addons] Release 3.18
by Leigh Scott
commit 39b8655a81a65e1c67fdaac2166852adf8f71b02
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sun Mar 21 20:03:46 2021 +0000
Release 3.18
sources | 2 +-
xtables-addons.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/sources b/sources
index 9f95d6b..a7a29ea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xtables-addons-3.15.tar.xz) = 9c323dca2a44e689fbea77171eff41ab78f3b3f9a8649ab6f77017a3f30b45edcb37626353e373d93c432b1e0bcc4f402780b7738f8abb465bfdca2cecbea31f
+SHA512 (xtables-addons-3.18.tar.xz) = b334642ce9b6ec3fc775ddbe6b66d70467fdcbfe30dcb165dac203f9d7fcd222dfd8c91e10befa3666bf572115dc75ed32d8ece05ed2947a4ed21d1d09032b8f
diff --git a/xtables-addons.spec b/xtables-addons.spec
index e7270ae..cabfc54 100644
--- a/xtables-addons.spec
+++ b/xtables-addons.spec
@@ -1,6 +1,6 @@
Name: xtables-addons
Summary: Extensions targets and matches for iptables
-Version: 3.15
+Version: 3.18
Release: 1%{?dist}
# The entire source code is GPLv2 except ACCOUNT/libxt_ACCOUNT_cl.* which is LGPLv2
License: GPLv2 and LGPLv2
@@ -48,6 +48,9 @@ rm -f %{buildroot}%{_libdir}/*.{la,so}
%{_mandir}/man?/*
%changelog
+* Sun Mar 21 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3.18-1
+- Release 3.18
+
* Tue Feb 23 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3.15-1
- Release 3.15
3 years, 8 months
[audacity-freeworld] Clean up buildroot macro use
by Leigh Scott
commit a3624e5a7b038dd54b559c65b94bd4756f3b2a90
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sun Mar 21 15:40:24 2021 +0000
Clean up buildroot macro use
audacity-freeworld.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/audacity-freeworld.spec b/audacity-freeworld.spec
index d42ba25..8acf18d 100644
--- a/audacity-freeworld.spec
+++ b/audacity-freeworld.spec
@@ -165,15 +165,15 @@ if appstream-util --help | grep -q replace-screenshots ; then
#
# See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details.
#
-appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/audacity.appdata.xml \
+appstream-util replace-screenshots %{buildroot}%{_datadir}/appdata/audacity.appdata.xml \
https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screens...
fi
%endif
%{find_lang} %{realname}
-desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications \
- $RPM_BUILD_ROOT%{_datadir}/applications/audacity.desktop
+desktop-file-install --dir %{buildroot}%{_datadir}/applications \
+ %{buildroot}%{_datadir}/applications/audacity.desktop
mkdir %{buildroot}%{_datadir}/doc/%{realname}/nyquist
cp -pr lib-src/libnyquist/nyquist/license.txt %{buildroot}%{_datadir}/doc/%{realname}/nyquist
3 years, 8 months
[audacity-freeworld] Use local sqlite as system fails
by Leigh Scott
commit 16785a2755b804a44f55329f6a0ba89ff92f92e5
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sun Mar 21 15:24:07 2021 +0000
Use local sqlite as system fails
audacity-freeworld.spec | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/audacity-freeworld.spec b/audacity-freeworld.spec
index 7743b9d..d42ba25 100644
--- a/audacity-freeworld.spec
+++ b/audacity-freeworld.spec
@@ -12,7 +12,7 @@
Name: audacity-freeworld
Version: 3.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Multitrack audio editor
License: GPLv2
URL: http://audacity.sourceforge.net
@@ -75,7 +75,8 @@ BuildRequires: serd-devel
BuildRequires: sord-devel
BuildRequires: soundtouch-devel
BuildRequires: soxr-devel
-BuildRequires: sqlite-devel
+# Use local sqlite as system fails
+#BuildRequires: sqlite-devel
BuildRequires: sratom-devel
BuildRequires: suil-devel
BuildRequires: vamp-plugin-sdk-devel >= 2.0
@@ -108,7 +109,7 @@ This build has support for mp3 and ffmpeg import/export.
%prep
%setup -q -n %{tartopdir}
mkdir -p %{_vpath_builddir}/cmake-proxies/wxWidgets/wxwidgets
-tar -xvf %{SOURCE1} -C %{_vpath_builddir}/cmake-proxies/wxWidgets/wxwidgets --strip 1
+tar -xf %{SOURCE1} -C %{_vpath_builddir}/cmake-proxies/wxWidgets/wxwidgets --strip 1
%patch0 -p0
%patch1 -p1
@@ -199,6 +200,9 @@ rm %{buildroot}%{_datadir}/doc/%{realname}/LICENSE.txt
%license LICENSE.txt
%changelog
+* Sun Mar 21 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3.0.0-2
+- Use local sqlite as system fails
+
* Thu Mar 18 2021 Leigh Scott <leigh123linux(a)gmail.com> - 3.0.0-1
- 3.0.0
- Use local wxwidgets, audacity isn't usable with gtk3
3 years, 8 months
[fs-uae/f34] Fix FTBFS for gcc-11
by Andrea Musuruane
Summary of changes:
7b32d30... Fix FTBFS for gcc-11 (*)
(*) This commit already existed in another branch; no separate mail sent
3 years, 8 months
[fs-uae] Fix FTBFS for gcc-11
by Andrea Musuruane
commit 7b32d306f3a75b2bd75667d3cce30b7003095fd1
Author: Andrea Musuruane <musuruan(a)gmail.com>
Date: Sun Mar 21 14:04:32 2021 +0100
Fix FTBFS for gcc-11
fs-uae.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/fs-uae.spec b/fs-uae.spec
index b9c1d11..7b58748 100644
--- a/fs-uae.spec
+++ b/fs-uae.spec
@@ -1,6 +1,6 @@
Name: fs-uae
Version: 3.0.5
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Amiga emulator with on-screen GUI and online play support
License: GPLv2+
@@ -61,6 +61,8 @@ chmod -x src/specialmonitors.cpp
%build
+export CFLAGS="%{optflags} -std=gnu++14 -fpermissive"
+export CXXFLAGS="%{optflags} -std=gnu++14 -fpermissive"
%configure --disable-jit
%make_build
@@ -88,6 +90,9 @@ desktop-file-validate \
%changelog
+* Sun Mar 21 2021 Andrea Musuruane <musuruan(a)gmail.com> - 3.0.5-4
+- Fix FTBFS for gcc-11
+
* Wed Feb 03 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 3.0.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
3 years, 8 months
[wireguard-kmod/el8] Update
by Nicolas Chauvet
commit f08027c0e7c8eeb49649b3015b320c56be01d820
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sun Mar 21 12:31:18 2021 +0100
Update
wireguard-kmod.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/wireguard-kmod.spec b/wireguard-kmod.spec
index 515347e..0739dde 100644
--- a/wireguard-kmod.spec
+++ b/wireguard-kmod.spec
@@ -11,6 +11,7 @@ License: GPLv2
URL: https://www.wireguard.com/
Source0: https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-com...
+Patch0: 0001-compat-icmp_ndo_send-functions-were-backported-exten.patch
BuildRequires: kmodtool
%{!?kernels:BuildRequires: gcc, elfutils-libelf-devel, buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu} }
@@ -36,7 +37,11 @@ This package contains the kmod module for WireGuard.
# print kmodtool output for debugging purposes:
kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null
-%autosetup -c -T -a 0 -p 0
+%setup -q -c
+
+cd wireguard-linux-compat-%{version}
+%patch0 -p1
+cd -
for kernel_version in %{?kernel_versions} ; do
cp -a wireguard-linux-compat-%{version} _kmod_build_${kernel_version%%___*}
3 years, 8 months
[wireguard-kmod/el8] Add backport patch
by Nicolas Chauvet
commit 50eb10eaba30e8224337723e9ff4b08c3a9f6fbf
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sun Mar 21 12:31:05 2021 +0100
Add backport patch
..._ndo_send-functions-were-backported-exten.patch | 26 ++++++++++++++++++++++
1 file changed, 26 insertions(+)
---
diff --git a/0001-compat-icmp_ndo_send-functions-were-backported-exten.patch b/0001-compat-icmp_ndo_send-functions-were-backported-exten.patch
new file mode 100644
index 0000000..bfa440a
--- /dev/null
+++ b/0001-compat-icmp_ndo_send-functions-were-backported-exten.patch
@@ -0,0 +1,26 @@
+From 122f06bfd8fc7b06a0899fa9adc4ce8e06900d98 Mon Sep 17 00:00:00 2001
+From: "Jason A. Donenfeld" <Jason(a)zx2c4.com>
+Date: Sun, 7 Mar 2021 08:14:33 -0700
+Subject: [PATCH] compat: icmp_ndo_send functions were backported extensively
+
+Signed-off-by: Jason A. Donenfeld <Jason(a)zx2c4.com>
+---
+ src/compat/compat.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/compat/compat.h b/src/compat/compat.h
+index 3e8e005c81c6..022720420e81 100644
+--- a/src/compat/compat.h
++++ b/src/compat/compat.h
+@@ -932,7 +932,7 @@ static inline int skb_ensure_writable(struct sk_buff *skb, int write_len)
+ }
+ #endif
+
+-#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 6, 0)
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 6, 0) && LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)) || (LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 102) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 20, 0)) || (LINUX_VERSION_CODE < KERNEL_VERSION(4, 19, 178) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 15, 0)) || (LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 223) && LINUX_VERSION_CODE > KERNEL_VERSION(4, 10, 0)) || LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 259) || defined(ISRHEL8) || defined(ISUBUNTU1804)
+ #include <linux/icmpv6.h>
+ #include <net/icmp.h>
+ #if IS_ENABLED(CONFIG_NF_NAT)
+--
+2.30.2
+
3 years, 8 months