summaryrefslogtreecommitdiff
path: root/main/ifupdown-ng
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2020-10-15 16:10:13 -0600
committerAriadne Conill <ariadne@dereferenced.org>2020-10-15 16:10:13 -0600
commit41e5d160bbe503844b525c11e46c5bfd69f9e947 (patch)
tree7d0e897e830ceaa310552e319849e0009737bb60 /main/ifupdown-ng
parent784e8a8acbf402e5ef9c639243709d8f3688c27f (diff)
downloadaports-41e5d160bbe503844b525c11e46c5bfd69f9e947.zip
main/ifupdown-ng: upgrade to 0.10, enable ethtool, vxlan and batman addons
Diffstat (limited to 'main/ifupdown-ng')
-rw-r--r--main/ifupdown-ng/APKBUILD26
1 files changed, 21 insertions, 5 deletions
diff --git a/main/ifupdown-ng/APKBUILD b/main/ifupdown-ng/APKBUILD
index 51093641750..83b6d60e69c 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.9.1
+pkgver=0.10.0
pkgrel=0
pkgdesc="tools for managing network configuration"
url="https://github.com/ifupdown-ng/ifupdown-ng"
@@ -9,7 +9,7 @@ license="ISC"
checkdepends="kyua atf"
makedepends="scdoc"
install=""
-subpackages="$pkgname-doc $pkgname-iproute2 $pkgname-ppp $pkgname-wireguard"
+subpackages="$pkgname-doc $pkgname-iproute2 $pkgname-ppp $pkgname-wireguard $pkgname-ethtool $pkgname-batman"
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"
+_executor_iproute2="vrf gre vxlan"
# These are all optional executors we plan to use.
-_executor_opt="ppp wireguard $_executor_iproute2"
+_executor_opt="ppp wireguard ethtool batman $_executor_iproute2"
build() {
make
@@ -72,4 +72,20 @@ wireguard() {
amove usr/libexec/ifupdown-ng/wireguard
}
-sha512sums="8e278bcd080540e0b625700b3e66580f38bd174fe447e5b6668ecb1c2debfdc008dab52868d69706d7ee827ecf0e607d74baf118b2ff750b44d3cebf57419d6a ifupdown-ng-0.9.1.tar.xz"
+ethtool() {
+ pkgdesc="ifupdown-ng integration for ethtool"
+ depends="ethtool"
+ install_if="$pkgname $depends"
+
+ amove usr/libexec/ifupdown-ng/ethtool
+}
+
+batman() {
+ pkgdesc="ifupdown-ng integration for B.A.T.M.A.N. advanced"
+ depends="batctl"
+ install_if="$pkgname $depends"
+
+ amove usr/libexec/ifupdown-ng/batman
+}
+
+sha512sums="0b307688254a8139cbb6086f183bfff6f19b79380a6a72171953714f2e05009eb05444356b85c51ee647ef389ffbd522c36df3fedf5c62c58b4a8ca73cfc4757 ifupdown-ng-0.10.0.tar.xz"