aboutsummaryrefslogtreecommitdiffstats
path: root/community/wireguard-tools
diff options
context:
space:
mode:
authorStefan Reiff <kroko87@hotmail.com>2019-12-05 10:40:38 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2019-12-06 14:09:50 +0000
commit5a3a20c6c029ffc55ce2448a92e8da3f62d02f08 (patch)
tree081d8964605940f5dda6da9fc1442e59fe64efa6 /community/wireguard-tools
parent8b1f0010c05c0f21f4d37ef81084f922996c9d61 (diff)
downloadaports-5a3a20c6c029ffc55ce2448a92e8da3f62d02f08.tar.bz2
aports-5a3a20c6c029ffc55ce2448a92e8da3f62d02f08.tar.xz
community/wireguard-*: upgrade to 0.0.20191127
Diffstat (limited to 'community/wireguard-tools')
-rw-r--r--community/wireguard-tools/APKBUILD9
-rw-r--r--community/wireguard-tools/alpine-compat.patch13
2 files changed, 3 insertions, 19 deletions
diff --git a/community/wireguard-tools/APKBUILD b/community/wireguard-tools/APKBUILD
index 098404857c..203fb5c635 100644
--- a/community/wireguard-tools/APKBUILD
+++ b/community/wireguard-tools/APKBUILD
@@ -1,7 +1,7 @@
# 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/community/wireguard-tools/alpine-compat.patch b/community/wireguard-tools/alpine-compat.patch
deleted file mode 100644
index 27d9ba5a64..0000000000
--- a/community/wireguard-tools/alpine-compat.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-
-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
- }
-