aboutsummaryrefslogtreecommitdiffstats
path: root/main/ifupdown-ng/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/ifupdown-ng/APKBUILD')
-rw-r--r--main/ifupdown-ng/APKBUILD22
1 files changed, 16 insertions, 6 deletions
diff --git a/main/ifupdown-ng/APKBUILD b/main/ifupdown-ng/APKBUILD
index cd42bb6f48..35ad6d04b3 100644
--- a/main/ifupdown-ng/APKBUILD
+++ b/main/ifupdown-ng/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
pkgname=ifupdown-ng
-pkgver=0.10.2
-pkgrel=2
+pkgver=0.11.3
+pkgrel=0
pkgdesc="tools for managing network configuration"
url="https://github.com/ifupdown-ng/ifupdown-ng"
arch="all"
@@ -9,7 +9,7 @@ license="ISC"
checkdepends="kyua atf"
makedepends="scdoc"
install=""
-subpackages="$pkgname-doc $pkgname-iproute2 $pkgname-ppp $pkgname-wireguard $pkgname-ethtool $pkgname-batman"
+subpackages="$pkgname-doc $pkgname-iproute2 $pkgname-ppp $pkgname-wireguard $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"
@@ -28,10 +28,10 @@ _executor_stubs="bridge bond"
# These are optional executors which do not conflict with what we are
# presently shipping. These executors require iproute2.
-_executor_iproute2="vrf gre vxlan"
+_executor_iproute2="vrf gre vxlan mpls"
# These are all optional executors we plan to use.
-_executor_opt="ppp wireguard ethtool batman $_executor_iproute2"
+_executor_opt="ppp wireguard ethtool batman wifi $_executor_iproute2"
build() {
make
@@ -88,6 +88,14 @@ batman() {
amove usr/libexec/ifupdown-ng/batman
}
+wifi() {
+ pkgdesc="ifupdown-ng integration for wifi"
+ depends="wpa_supplicant"
+ install_if="$pkgname $depends"
+
+ amove usr/libexec/ifupdown-ng/wifi
+}
+
openrc() {
pkgdesc="ifupdown-ng openrc init scripts"
install_if="$pkgname openrc"
@@ -97,4 +105,6 @@ openrc() {
install -D -m644 "$builddir"/dist/openrc/networking.confd "$subpkgdir"/etc/conf.d/networking
}
-sha512sums="b824e40cfafd9dc831f2adc547fb2877947ab264418b410be757686f62a8799fd2ad6101d673b9a7af5cd9f6bc4ccfb5a86a184aaeee25ff1a2e1db3e9c511c6 ifupdown-ng-0.10.2.tar.xz"
+sha512sums="
+7339d8d14bc881968093fa4a92c84850d99b5469847858be5423b98c5ed25776198fe1065686c22b6823cf7ace17845e96d7932782c111207264f8e3a52cbbb7 ifupdown-ng-0.11.3.tar.xz
+"