Skip to content

Commit

Permalink
olsrd: remove dependency on iptables virtual package
Browse files Browse the repository at this point in the history
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]

Signed-off-by: Packet Please <[email protected]>
  • Loading branch information
pktpls committed Nov 14, 2024
1 parent ab45dac commit 143791e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion olsrd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 143791e

Please sign in to comment.