Skip to content
Snippets Groups Projects
Commit 5a3a20c6 authored by Stefan Reiff's avatar Stefan Reiff Committed by Natanael Copa
Browse files

community/wireguard-*: upgrade to 0.0.20191127

parent 8b1f0010
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
# wireguard version
_ver=0.0.20191012
_ver=0.0.20191127
_rel=0
# kernel version
......@@ -88,4 +88,4 @@ _extra() {
"$subpkgdir/lib/modules/$kabi/extra/wireguard.ko"
}
sha512sums="b15424036f26298d8511ca0d0d6a485ff0992726d61fabff8bf6dd64d0a65423bf901e5eb14d3080372017390b05d25faff89a72128932c7408f93f59165c321 WireGuard-0.0.20191012.tar.xz"
sha512sums="4f6ea1671b8c53f06aff5a881c7cc1ca0da908600be41af7ab77c0b4d18e8699d925cb64732cc315292c2931e2b9e569265091ffa7ddf07b42936d434e596091 WireGuard-0.0.20191127.tar.xz"
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=wireguard-tools
pkgver=0.0.20191012
pkgver=0.0.20191127
pkgrel=0
pkgdesc="Next generation secure network tunnel: userspace tools"
arch="all"
......@@ -19,9 +19,7 @@ subpackages="
$pkgname-wg-quick:_split:noarch
"
options="!check"
source="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-$pkgver.tar.xz
alpine-compat.patch
"
source="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-$pkgver.tar.xz"
builddir="$srcdir"/WireGuard-$pkgver
build() {
......@@ -61,5 +59,4 @@ bashcomp() {
mv "$pkgdir"/usr/share "$subpkgdir"/usr
}
sha512sums="b15424036f26298d8511ca0d0d6a485ff0992726d61fabff8bf6dd64d0a65423bf901e5eb14d3080372017390b05d25faff89a72128932c7408f93f59165c321 WireGuard-0.0.20191012.tar.xz
07218933ca0b6891d159498dc4e92e3e178a91018d78775118fcad97425a212b8b36b04cf7f29c48b624fb8bbd4bc0d18cdf98ac3f3caf0034342d2195f9f129 alpine-compat.patch"
sha512sums="4f6ea1671b8c53f06aff5a881c7cc1ca0da908600be41af7ab77c0b4d18e8699d925cb64732cc315292c2931e2b9e569265091ffa7ddf07b42936d434e596091 WireGuard-0.0.20191127.tar.xz"
diff --git a/src/tools/wg-quick/linux.bash b/src/tools/wg-quick/linux.bash
--- a/src/tools/wg-quick/linux.bash
+++ b/src/tools/wg-quick/linux.bash
@@ -201,7 +201,7 @@
cmd ip $proto rule add table main suppress_prefixlength 0
while read -r key _ value; do
[[ $value -eq 1 ]] && sysctl -q "$key=2"
- done < <(sysctl -a -r '^net\.ipv4.conf\.[^ .=]+\.rp_filter$')
+ done < <(sysctl -a 2>/dev/null | sed -n -r 's#^(net\.ipv4.conf\.[^ .=]+\.rp_filter)#\1#p')
return 0
}
......@@ -2,7 +2,7 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
# wireguard version
_ver=0.0.20191012
_ver=0.0.20191127
_rel=0
# kernel version
......@@ -88,4 +88,4 @@ _extra() {
"$subpkgdir/lib/modules/$kabi/extra/wireguard.ko"
}
sha512sums="b15424036f26298d8511ca0d0d6a485ff0992726d61fabff8bf6dd64d0a65423bf901e5eb14d3080372017390b05d25faff89a72128932c7408f93f59165c321 WireGuard-0.0.20191012.tar.xz"
sha512sums="4f6ea1671b8c53f06aff5a881c7cc1ca0da908600be41af7ab77c0b4d18e8699d925cb64732cc315292c2931e2b9e569265091ffa7ddf07b42936d434e596091 WireGuard-0.0.20191127.tar.xz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment