Bump wireguard to 0.0.20190702 - 4.19.52

This commit is contained in:
Disassembler 2019-08-21 11:09:06 +02:00
parent 446b855d03
commit 1efc713ae3
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
2 changed files with 12 additions and 21 deletions

View File

@ -1,14 +1,15 @@
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
# NOTE: pkgrel must match _toolsrel in wireguard-vanilla
pkgname=wireguard-tools
pkgver=0.0.20190601
pkgver=0.0.20190702
pkgrel=0
pkgdesc="Next generation secure network tunnel: userspace tools"
arch='all'
url='https://www.wireguard.com'
license="GPL-2.0"
arch="all"
url="https://www.wireguard.com"
# SPDX identifier headers tells us 'GPL-2.0' but considering it
# is a kernel project i think it is safe to assume it is GPL-2.0-only just
# like the kernel.
license="GPL-2.0-only"
makedepends="libmnl-dev"
depends="$pkgname-wg $pkgname-wg-quick"
subpackages="
@ -24,12 +25,10 @@ source="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-$pkgver.tar.xz
builddir="$srcdir"/WireGuard-$pkgver
build() {
cd "$builddir"
make -C src/tools
}
package() {
cd "$builddir"
mkdir -p "$pkgdir/usr/share/doc/$pkgname"
make -C src/tools \
@ -62,5 +61,5 @@ bashcomp() {
mv "$pkgdir"/usr/share "$subpkgdir"/usr
}
sha512sums="d667e42b90fbda85b005ae2966689dadc9975c1a53ca5ddfff44214ed55ad7d55d451008c225a4619c834bd7af598af1f127d76a8a3a86cf2e6d886ea0638cf3 WireGuard-0.0.20190601.tar.xz
sha512sums="8b92b51506cd3f8e9939378b86f23678e08e8501432decd0abf6a9d4e3dfe4742b6f1cb75e06407f5816778b3dd90849a5da83252ab882392ec1905dfb997501 WireGuard-0.0.20190702.tar.xz
4577574333f023217ae6e0945807e1ccd2dec7caa87e329b1d5b44569f6b5969663ad74f8154b85d3dc7063dd762649e3fa87c7667e238ffb77c0e5df9245a5e alpine-compat.patch"

View File

@ -2,11 +2,11 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
# wireguard version
_ver=0.0.20190601
_ver=0.0.20190702
_rel=0
# kernel version
_kver=4.19.41
_kver=4.19.52
_krel=0
_kpkgver="$_kver-r$_krel"
@ -25,8 +25,7 @@ _kpkg=linux-$_flavor
pkgname=wireguard-$_flavor
pkgver=$_kver
pkgrel=2
pkgrel=$(($pkgrel + $_krel))
pkgrel=$(( $_rel + $_krel))
pkgdesc="Next generation secure network tunnel: kernel modules for $_flavor"
arch="all"
@ -57,13 +56,6 @@ prepare() {
return 0
)
fi
if [ -z "$FLAVOR" ]; then
( . "$startdir"/../../community/wireguard-tools/APKBUILD
[ "$_ver" != "$pkgver" ] && die "please update _ver to $pkgver"
[ "$_rel" != "$pkgrel" ] && die "please update _rel to $pkgrel"
return 0
)
fi
local flavor=
for flavor in $_flavor $_extra_flavors; do
cp -r "$builddir" "$srcdir"/$flavor
@ -96,4 +88,4 @@ _extra() {
"$subpkgdir/lib/modules/$kabi/extra/wireguard.ko"
}
sha512sums="d667e42b90fbda85b005ae2966689dadc9975c1a53ca5ddfff44214ed55ad7d55d451008c225a4619c834bd7af598af1f127d76a8a3a86cf2e6d886ea0638cf3 WireGuard-0.0.20190601.tar.xz"
sha512sums="8b92b51506cd3f8e9939378b86f23678e08e8501432decd0abf6a9d4e3dfe4742b6f1cb75e06407f5816778b3dd90849a5da83252ab882392ec1905dfb997501 WireGuard-0.0.20190702.tar.xz"