aboutsummaryrefslogtreecommitdiffstats
path: root/community/wireguard-vanilla/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2019-05-21 11:58:34 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2019-05-21 12:05:09 +0000
commite7c0c6c851c94d50f0a383d8c6a8737261e60c81 (patch)
treec30c15cfdc887cbecf1fde7eacce1db07651b75b /community/wireguard-vanilla/APKBUILD
parentef7c6ebe6a056a2777405f4c0749d318eda28e6b (diff)
downloadaports-e7c0c6c851c94d50f0a383d8c6a8737261e60c81.tar.bz2
aports-e7c0c6c851c94d50f0a383d8c6a8737261e60c81.tar.xz
community/wireguard-vanilla: adjust install_if
trigger on wireguard-tools-wg which should work in all cases
Diffstat (limited to 'community/wireguard-vanilla/APKBUILD')
-rw-r--r--community/wireguard-vanilla/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/community/wireguard-vanilla/APKBUILD b/community/wireguard-vanilla/APKBUILD
index cbf2a8d7d0..3bb91a6a24 100644
--- a/community/wireguard-vanilla/APKBUILD
+++ b/community/wireguard-vanilla/APKBUILD
@@ -23,7 +23,7 @@ fi
pkgname=wireguard-$_flavor
pkgver=$_kver
-pkgrel=1
+pkgrel=2
pkgrel=$(($pkgrel + $_krel))
pkgdesc="Next generation secure network tunnel: kernel modules for $_flavor"
@@ -36,7 +36,7 @@ makedepends="
linux-$_flavor-dev=$_kpkgver
linux-firmware-none
"
-install_if="wireguard-tools=$_ver-r$_rel linux-$_flavor=$_kpkgver"
+install_if="wireguard-tools-wg=$_ver-r$_rel linux-$_flavor=$_kpkgver"
options="!check"
source="https://git.zx2c4.com/WireGuard/snapshot/WireGuard-$_ver.tar.xz"
builddir="$srcdir"/WireGuard-$_ver
@@ -87,7 +87,7 @@ package() {
_extra() {
flavor=${subpkgname##*-}
depends="linux-$flavor=$_kpkgver"
- install_if="wireguard-tools=$_ver-r$_rel linux-$flavor=$_kpkgver"
+ install_if="wireguard-tools-wg=$_ver-r$_rel linux-$flavor=$_kpkgver"
pkgdesc="Next generation secure network tunnel: kernel modules for $flavor"
local kabi="$_kver-$_krel-$flavor"
install -Dm644 "$srcdir"/virt/src/wireguard.ko \