Files
packages/net/libreswan
Josef Schlehofer 8db268f78b libreswan: provide openswan only from libreswan
PROVIDES:=openswan sits in Package/libreswan/default, so
libreswan-nftables and libreswan-iptables inherit it. apk treats all
providers of openswan as exclusive and refuses to install either plugin
next to libreswan, which they depend on:

  libreswan-nftables-4.12-r6:
    conflicts: libreswan-4.12-r6[openswan=4.12-r6]

Move the provide to Package/libreswan. CONFLICTS:=strongswan stays in
the default block. The plugins select libreswan, so without the same
conflict a built-in plugin would build libreswan in next to strongswan.

Checked with defconfig and with apk test packages of the same layout.
apk installs the test plugins next to libreswan, and libreswan-nftables
still drops to m when strongswan is selected.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-10-30 06:36:50 +01:00
..