Bump wireguard to 0.0.20190702 - 4.19.52
This commit is contained in:
parent
afbd4a0f60
commit
ec7e843024
@ -1,14 +1,15 @@
|
|||||||
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
|
||||||
# Maintainer: 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
|
pkgname=wireguard-tools
|
||||||
pkgver=0.0.20190601
|
pkgver=0.0.20190702
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Next generation secure network tunnel: userspace tools"
|
pkgdesc="Next generation secure network tunnel: userspace tools"
|
||||||
arch='all'
|
arch="all"
|
||||||
url='https://www.wireguard.com'
|
url="https://www.wireguard.com"
|
||||||
license="GPL-2.0"
|
# 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"
|
makedepends="libmnl-dev"
|
||||||
depends="$pkgname-wg $pkgname-wg-quick"
|
depends="$pkgname-wg $pkgname-wg-quick"
|
||||||
subpackages="
|
subpackages="
|
||||||
@ -24,12 +25,10 @@ source="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-$pkgver.tar.xz
|
|||||||
builddir="$srcdir"/WireGuard-$pkgver
|
builddir="$srcdir"/WireGuard-$pkgver
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$builddir"
|
|
||||||
make -C src/tools
|
make -C src/tools
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$builddir"
|
|
||||||
mkdir -p "$pkgdir/usr/share/doc/$pkgname"
|
mkdir -p "$pkgdir/usr/share/doc/$pkgname"
|
||||||
|
|
||||||
make -C src/tools \
|
make -C src/tools \
|
||||||
@ -62,5 +61,5 @@ bashcomp() {
|
|||||||
mv "$pkgdir"/usr/share "$subpkgdir"/usr
|
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"
|
4577574333f023217ae6e0945807e1ccd2dec7caa87e329b1d5b44569f6b5969663ad74f8154b85d3dc7063dd762649e3fa87c7667e238ffb77c0e5df9245a5e alpine-compat.patch"
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
|
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
|
||||||
|
|
||||||
# wireguard version
|
# wireguard version
|
||||||
_ver=0.0.20190601
|
_ver=0.0.20190702
|
||||||
_rel=0
|
_rel=0
|
||||||
|
|
||||||
# kernel version
|
# kernel version
|
||||||
_kver=4.19.41
|
_kver=4.19.52
|
||||||
_krel=0
|
_krel=0
|
||||||
|
|
||||||
_kpkgver="$_kver-r$_krel"
|
_kpkgver="$_kver-r$_krel"
|
||||||
@ -25,8 +25,7 @@ _kpkg=linux-$_flavor
|
|||||||
|
|
||||||
pkgname=wireguard-$_flavor
|
pkgname=wireguard-$_flavor
|
||||||
pkgver=$_kver
|
pkgver=$_kver
|
||||||
pkgrel=2
|
pkgrel=$(( $_rel + $_krel))
|
||||||
pkgrel=$(($pkgrel + $_krel))
|
|
||||||
|
|
||||||
pkgdesc="Next generation secure network tunnel: kernel modules for $_flavor"
|
pkgdesc="Next generation secure network tunnel: kernel modules for $_flavor"
|
||||||
arch="all"
|
arch="all"
|
||||||
@ -57,13 +56,6 @@ prepare() {
|
|||||||
return 0
|
return 0
|
||||||
)
|
)
|
||||||
fi
|
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=
|
local flavor=
|
||||||
for flavor in $_flavor $_extra_flavors; do
|
for flavor in $_flavor $_extra_flavors; do
|
||||||
cp -r "$builddir" "$srcdir"/$flavor
|
cp -r "$builddir" "$srcdir"/$flavor
|
||||||
@ -96,4 +88,4 @@ _extra() {
|
|||||||
"$subpkgdir/lib/modules/$kabi/extra/wireguard.ko"
|
"$subpkgdir/lib/modules/$kabi/extra/wireguard.ko"
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="d667e42b90fbda85b005ae2966689dadc9975c1a53ca5ddfff44214ed55ad7d55d451008c225a4619c834bd7af598af1f127d76a8a3a86cf2e6d886ea0638cf3 WireGuard-0.0.20190601.tar.xz"
|
sha512sums="8b92b51506cd3f8e9939378b86f23678e08e8501432decd0abf6a9d4e3dfe4742b6f1cb75e06407f5816778b3dd90849a5da83252ab882392ec1905dfb997501 WireGuard-0.0.20190702.tar.xz"
|
||||||
|
Loading…
Reference in New Issue
Block a user