New package: ifupdown-ng-0.12.1

Co-authored-by: Duncaen <duncaen@voidlinux.org>
This commit is contained in:
João Pinto 2025-06-12 00:08:30 +01:00 committed by Duncan Overbruck
parent 76192d1205
commit 433b255c98
2 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,37 @@
--- a/tests/linux/tunnel_test
+++ b/tests/linux/tunnel_test
@@ -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}
}

View file

@ -0,0 +1,25 @@
# Template file for 'ifupdown-ng'
pkgname=ifupdown-ng
version=0.12.1
revision=1
build_style=gnu-makefile
make_build_args="all docs"
make_install_args="SBINDIR=/usr/bin"
hostmakedepends="scdoc"
checkdepends="kyua"
short_desc="Flexible ifup/ifdown implementation"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://github.com/ifupdown-ng/ifupdown-ng"
distfiles="https://github.com/ifupdown-ng/ifupdown-ng/archive/refs/tags/ifupdown-ng-${version}.tar.gz"
checksum=d42c8c18222efbce0087b92a14ea206de4e865d5c9dde6c0864dcbb2b45f2d85
conflicts="ifupdown"
post_install() {
for man in doc/*.5 doc/*.7 doc/*.8; do
vman "$man"
done
vlicense COPYING
}