mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
community/wireguard-rpi: upgrade to 1.0.20200330 and kernel 5.4.29
This commit is contained in:
parent
2bf7646b95
commit
f514abbf88
@ -2,11 +2,11 @@
|
||||
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
|
||||
|
||||
# wireguard version
|
||||
_ver=0.0.20200215
|
||||
_ver=1.0.20200330
|
||||
_rel=0
|
||||
|
||||
# kernel version
|
||||
_kver=5.4.28
|
||||
_kver=5.4.29
|
||||
_krel=0
|
||||
|
||||
_kpkgver="$_kver-r$_krel"
|
||||
@ -41,7 +41,9 @@ makedepends="
|
||||
"
|
||||
install_if="wireguard-tools-wg linux-$_flavor=$_kpkgver"
|
||||
options="!check"
|
||||
source="https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-$_ver.tar.xz"
|
||||
source="https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-$_ver.tar.xz
|
||||
hack-5.4.29.patch
|
||||
"
|
||||
builddir="$srcdir"/wireguard-linux-compat-$_ver
|
||||
|
||||
for f in $_extra_flavors; do
|
||||
@ -90,4 +92,5 @@ _extra() {
|
||||
"$subpkgdir/lib/modules/$kabi/extra/wireguard.ko"
|
||||
}
|
||||
|
||||
sha512sums="4ccb902fc322010dc7138b17c3348870e8e83e3ed65f4b49476847b544c6e9d7cbaaadc1f02ffb97453f16802f623bf6b8782122236ced23255d46d88ebe239c wireguard-linux-compat-0.0.20200215.tar.xz"
|
||||
sha512sums="b133f530f9e7a38b837c119fb5defa3af702cdcf2407f847a078a94a92598216074e7bbd26d27c86a998a79480ba10a99825debf20aff94de80a943892fa856b wireguard-linux-compat-1.0.20200330.tar.xz
|
||||
927825a584b5e8cbe5e3a17c3b29c2c06f8a9444a32dccfb3a24d21c0486d598a30456f7e132c5b83d98c9e018b6e682f29915e90bfa96c115831e1785565f1c hack-5.4.29.patch"
|
||||
|
||||
20
community/wireguard-rpi/hack-5.4.29.patch
Normal file
20
community/wireguard-rpi/hack-5.4.29.patch
Normal file
@ -0,0 +1,20 @@
|
||||
diff --git a/src/compat/compat.h b/src/compat/compat.h
|
||||
index fe2d07e..7f23283 100644
|
||||
--- a/src/compat/compat.h
|
||||
+++ b/src/compat/compat.h
|
||||
@@ -1024,15 +1024,6 @@ out:
|
||||
#define COMPAT_CANNOT_USE_MAX_MTU
|
||||
#endif
|
||||
|
||||
-#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 6, 0)
|
||||
-#include <linux/skbuff.h>
|
||||
-static inline void skb_reset_redirect(struct sk_buff *skb)
|
||||
-{
|
||||
-#ifdef CONFIG_NET_SCHED
|
||||
- skb_reset_tc(skb);
|
||||
-#endif
|
||||
-}
|
||||
-#endif
|
||||
|
||||
#if defined(ISUBUNTU1604)
|
||||
#include <linux/siphash.h>
|
||||
Loading…
x
Reference in New Issue
Block a user