From 16340963377bafffa1aca2e2cb99b3dccd9dbce3 Mon Sep 17 00:00:00 2001 From: Nick Hainke Date: Wed, 13 Nov 2024 04:20:32 +0100 Subject: [PATCH] olsrd: remove dependency on iptables virtual package With the switch from OPKG to APK, we can't continue the sloppy use of virtual packages. We now need to specify the providing package. We don't want to force iptables-nft on everyone though. The simplest solution is to drop the dependency entirely - users will most likely already depend on it separately. For reference, the attempt to install the virtual package results in the following error from APK: ERROR: unable to select packages: ip6tables (virtual): note: please select one of the 'provided by' packages explicitly provided by: ip6tables-nft ip6tables-zz-legacy required by: olsrd-2024.06.09~d72be9ad-r1[ip6tables] iptables (virtual): note: please select one of the 'provided by' packages explicitly provided by: iptables-nft iptables-zz-legacy required by: olsrd-2024.06.09~d72be9ad-r1[iptables] Suggested-by: Packet Please Link: https://github.com/openwrt/routing/pull/1085 [Due to the real name policy, list the author as me, with permission granted by Packet Please.] Signed-off-by: Nick Hainke --- olsrd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/olsrd/Makefile b/olsrd/Makefile index a938bf58f..400c124fd 100644 --- a/olsrd/Makefile +++ b/olsrd/Makefile @@ -34,7 +34,7 @@ endef define Package/olsrd $(call Package/olsrd/template) MENU:=1 - DEPENDS:=+libpthread +libubus +iptables +IPV6:ip6tables + DEPENDS:=+libpthread +libubus endef define Package/olsrd/conffiles