summaryrefslogtreecommitdiff
path: root/main/ifupdown-ng
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2022-03-25 17:49:58 +0000
committerAriadne Conill <ariadne@dereferenced.org>2022-03-25 17:49:58 +0000
commite380e34e6b7ae1a2d9786b970e8d47eaf3a28714 (patch)
tree8e0217beedd94b1519f07e008b1c6dff6c01d756 /main/ifupdown-ng
parentd466c3207e7330fbf9db3924f0125c2eaad58a32 (diff)
downloadaports-e380e34e6b7ae1a2d9786b970e8d47eaf3a28714.zip
main/ifupdown-ng: upgrade to 0.12.0
Diffstat (limited to 'main/ifupdown-ng')
-rw-r--r--main/ifupdown-ng/APKBUILD25
1 files changed, 21 insertions, 4 deletions
diff --git a/main/ifupdown-ng/APKBUILD b/main/ifupdown-ng/APKBUILD
index 35ad6d04b33..baf9f090c2d 100644
--- a/main/ifupdown-ng/APKBUILD
+++ b/main/ifupdown-ng/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
pkgname=ifupdown-ng
-pkgver=0.11.3
+pkgver=0.12.0
pkgrel=0
pkgdesc="tools for managing network configuration"
url="https://github.com/ifupdown-ng/ifupdown-ng"
@@ -9,7 +9,16 @@ license="ISC"
checkdepends="kyua atf"
makedepends="scdoc"
install=""
-subpackages="$pkgname-doc $pkgname-iproute2 $pkgname-ppp $pkgname-wireguard $pkgname-ethtool $pkgname-batman $pkgname-wifi"
+subpackages="
+ $pkgname-doc
+ $pkgname-iproute2
+ $pkgname-ppp
+ $pkgname-wireguard
+ $pkgname-wireguard-quick:wgquick
+ $pkgname-ethtool
+ $pkgname-batman
+ $pkgname-wifi
+"
source="https://distfiles.dereferenced.org/ifupdown-ng/ifupdown-ng-$pkgver.tar.xz"
builddir="$srcdir/ifupdown-ng-$pkgver"
provides="ifupdown-any"
@@ -31,7 +40,7 @@ _executor_stubs="bridge bond"
_executor_iproute2="vrf gre vxlan mpls"
# These are all optional executors we plan to use.
-_executor_opt="ppp wireguard ethtool batman wifi $_executor_iproute2"
+_executor_opt="ppp wireguard wireguard-quick ethtool batman wifi $_executor_iproute2"
build() {
make
@@ -72,6 +81,14 @@ wireguard() {
amove usr/libexec/ifupdown-ng/wireguard
}
+wgquick() {
+ pkgdesc="ifupdown-ng integration for wireguard wg-quick"
+ depends="wireguard-tools-wg-quick"
+ install_if="$pkgname $depends"
+
+ amove usr/libexec/ifupdown-ng/wireguard-quick
+}
+
ethtool() {
pkgdesc="ifupdown-ng integration for ethtool"
depends="ethtool"
@@ -106,5 +123,5 @@ openrc() {
}
sha512sums="
-7339d8d14bc881968093fa4a92c84850d99b5469847858be5423b98c5ed25776198fe1065686c22b6823cf7ace17845e96d7932782c111207264f8e3a52cbbb7 ifupdown-ng-0.11.3.tar.xz
+9f678bb0abbe7872ea25ca3aef849de43513068e4c4c4e27c92aeded3f6a99b4a4f97f9d9f9de875af33f0f8d52234d49138fdb7aed9fcae1fdfd0a6e0b97b53 ifupdown-ng-0.12.0.tar.xz
"