openwrt-6.x/include
George Sapkin 5ed650acbf build: add support for virtual provides
Allow defining virtual provides using the PROVIDES field by prefixing
them with @, e.g.:

PROVIDES:=@ca-certs

Virtual provides don't own the provided name and multiple packages with
the same virtual provides can be installed side-by-side. Packages must
still take care not to override each other's files.

Add an implicit self-provide to packages. apk can't handle self
provides, be it versioned or virtual, so opt for a suffix instead. This
allows several variants to provide the same virtual package without
adding extra provides to the default one, e.g. wget implicitly provides
wget-any and is marked as default, so wget-ssl can explicitly provide
@wget-any as well.

Filter out virtual provides when generating metadata.

Filter out virtual provides prefix and self provide where appropriate.

Signed-off-by: George Sapkin <george@sapk.in>
Link: https://github.com/openwrt/openwrt/pull/21288
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-12-31 18:16:48 +01:00
..
site
autotools.mk
bpf.mk
cmake.mk cmake: set CMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER 2025-11-05 16:57:51 +01:00
debug.mk
default-packages.mk
depends.mk
device_table.txt
download.mk include: download.mk: do not check PKG_MIRROR_HASH when set to "skip" 2025-11-07 12:25:42 +01:00
feeds.mk
hardened-ld-pie.specs
hardening.mk toolchain: gcc: add fanalyzer config option 2025-11-23 09:33:15 +01:00
host-build.mk
image-commands.mk filogic: add support for Netgear EAX17 2025-11-24 00:57:19 +01:00
image.mk image: add CONFIG_EXTRA_IMAGE_NAME 2025-12-12 22:06:06 +00:00
kernel-build.mk
kernel-defaults.mk kernel: move .quilt_used to quilt.mk 2025-11-27 20:26:37 +01:00
kernel-version.mk
kernel.mk build: avoid errors during release candidate kernel packaging 2025-12-20 11:06:47 +01:00
logo.png
logo.svg
meson.mk
netfilter.mk
nls.mk
openssl-module.mk openssl: add MODULES_DIR MACRO for provider 2025-11-11 23:58:54 +01:00
optee-os.mk
package-bin.mk
package-defaults.mk build: handle --root feeds script feature 2025-10-20 13:50:15 +02:00
package-dumpinfo.mk
package-pack.mk build: add support for virtual provides 2025-12-31 18:16:48 +01:00
package-seccomp.mk
package.mk build: add support for virtual provides 2025-12-31 18:16:48 +01:00
prereq-build.mk prereq-build: add Python 3.13 support 2025-11-12 12:11:15 +01:00
prereq.mk prereq: use staging_dir's compiler 2025-10-20 00:55:06 +02:00
quilt.mk kernel: move .quilt_used to quilt.mk 2025-11-27 20:26:37 +01:00
rootfs.mk include: rootfs: fix APK compressed scripts tarball support 2025-11-19 13:51:04 +01:00
scan.awk
scan.mk
shell.sh
subdir.mk
target.mk build: remove iwinfo dependency 2025-09-27 22:04:57 +02:00
toolchain-build.mk
toplevel.mk build: depend on tools/zstd for download 2025-12-10 19:04:44 +01:00
trusted-firmware-a.mk
u-boot.mk
uclibc++.mk
unpack.mk
verbose.mk
version.mk