main/wireguard-tools: allow installing other providers of resolvconf

This allows downstream (postmarketOS) to use wg-quick with
systemd-resolved, which also provides a resolvconf tool that is
compatible with wg-quick. There should be no impact to Alpine installs
with this change, resolvconf in aports still comes from openresolv
This commit is contained in:
Clayton Craft 2025-02-14 09:34:38 -08:00 committed by Ariadne Conill
parent e031f4efc6
commit 36683e6592

View file

@ -2,7 +2,7 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=wireguard-tools
pkgver=1.0.20210914
pkgrel=6
pkgrel=7
pkgdesc="Next generation secure network tunnel: userspace tools"
arch="all"
url="https://www.wireguard.com"
@ -10,7 +10,11 @@ url="https://www.wireguard.com"
# 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"
_wg_quick_deps="iproute2 bash openresolv"
_wg_quick_deps="
bash
cmd:resolvconf
iproute2
"
makedepends="libmnl-dev $_wg_quick_deps"
depends="$pkgname-wg $pkgname-wg-quick"
install="$pkgname-openrc.post-install"