summaryrefslogtreecommitdiff
path: root/user/ifupdown-ng
diff options
context:
space:
mode:
Diffstat (limited to 'user/ifupdown-ng')
-rw-r--r--user/ifupdown-ng/APKBUILD6
-rw-r--r--user/ifupdown-ng/tunnel-test.patch39
2 files changed, 43 insertions, 2 deletions
diff --git a/user/ifupdown-ng/APKBUILD b/user/ifupdown-ng/APKBUILD
index 8ac58f0e1..bdba8b403 100644
--- a/user/ifupdown-ng/APKBUILD
+++ b/user/ifupdown-ng/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Ermine <mustela@erminea.space>
pkgname=ifupdown-ng
pkgver=0.12.1
-pkgrel=0
+pkgrel=1
pkgdesc="Tools for managing network configuration"
url="https://github.com/ifupdown-ng/ifupdown-ng"
arch="all"
@@ -14,6 +14,7 @@ subpackages="$pkgname-doc $pkgname-openrc $pkgname-iproute2 $pkgname-ppp
$pkgname-wireguard $pkgname-ethtool $pkgname-wifi"
source="https://distfiles.ariadne.space/ifupdown-ng/ifupdown-ng-$pkgver.tar.xz
ifupdown-ng.initd
+ tunnel-test.patch
"
# We only install the core executors right now. The other executors are
@@ -107,4 +108,5 @@ doc() {
"$subpkgdir"/etc/network/ifupdown-ng.conf.example
}
sha512sums="c2c1e27fbd53eeb4150e544a893352f13845b491850e982a5880160c3be03b628794f7989c802ff823ac3e8c6c34dc4ab97c0abcefdda85f06fcd64ced8ac60c ifupdown-ng-0.12.1.tar.xz
-aa1dd3d31872d7ec308b534044e490136de47a3e72575a96522f60c5740ee3b953a17e05013359d27985ac16b048ff8fff76e8ac1103802a4fb75a31d2185d45 ifupdown-ng.initd"
+aa1dd3d31872d7ec308b534044e490136de47a3e72575a96522f60c5740ee3b953a17e05013359d27985ac16b048ff8fff76e8ac1103802a4fb75a31d2185d45 ifupdown-ng.initd
+568ac1265c4735f8359cab2a82065dc0b4052ab44fa0fe546454ba28371609cf7b9c3f6d4f6d13aea75d9161a4b7991b3cf6287cffe83abd352ffd02b2e2090d tunnel-test.patch"
diff --git a/user/ifupdown-ng/tunnel-test.patch b/user/ifupdown-ng/tunnel-test.patch
new file mode 100644
index 000000000..7ced0bacf
--- /dev/null
+++ b/user/ifupdown-ng/tunnel-test.patch
@@ -0,0 +1,39 @@
+Shell behaviour changed, I guess?
+
+--- ifupdown-ng-0.12.1/tests/linux/tunnel_test.old 2022-04-18 16:27:21.000000000 +0000
++++ ifupdown-ng-0.12.1/tests/linux/tunnel_test 2025-08-13 09:00:18.391795205 +0000
+@@ -17,9 +17,9 @@
+ atf_check -s exit:0 \
+ -o match:"ip -4 tunnel add tun0" \
+ -o match:"mode gre" \
+- -o match:"ttl '255'" \
+- -o match:"local '1.2.3.4'" \
+- -o match:"remote '5.6.7.8'" \
++ -o match:"ttl 255" \
++ -o match:"local 1.2.3.4" \
++ -o match:"remote 5.6.7.8" \
+ ${EXECUTOR}
+ }
+
+@@ -39,8 +39,8 @@
+ atf_check -s exit:0 \
+ -o match:"ip -4 link add foo" \
+ -o match:"type gretap" \
+- -o match:"local '1.2.3.4'" \
+- -o match:"remote '5.6.7.8'" \
++ -o match:"local 1.2.3.4" \
++ -o match:"remote 5.6.7.8" \
+ ${EXECUTOR}
+ }
+
+@@ -58,8 +58,8 @@
+ atf_check -s exit:0 \
+ -o match:"ip -6 link add foo" \
+ -o match:"type gretap" \
+- -o match:"local '2001:db8::aaaa'" \
+- -o match:"remote '2001:db8::eeee'" \
++ -o match:"local 2001:db8::aaaa" \
++ -o match:"remote 2001:db8::eeee" \
+ ${EXECUTOR}
+ }
+