[openwrt/openwrt] ca-certificates: provide a virtual package
LEDE Commits
lede-commits at lists.infradead.org
Wed Dec 31 09:16:57 PST 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d75a6bed7a520c7a556e04b9270b0a3dc41e0d10
commit d75a6bed7a520c7a556e04b9270b0a3dc41e0d10
Author: George Sapkin <george at sapk.in>
AuthorDate: Thu Dec 25 17:16:18 2025 +0200
ca-certificates: provide a virtual package
Switch ca-certs provides to use the new virtual provides semantic that
enables ca-bundle and ca-certificates to be installed side-by-side.
Provide the new format virtual ca-certificates-any in ca-bundle.
Fixes: https://github.com/openwrt/openwrt/issues/21257
Signed-off-by: George Sapkin <george at sapk.in>
Link: https://github.com/openwrt/openwrt/pull/21288
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
package/system/ca-certificates/Makefile | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/package/system/ca-certificates/Makefile b/package/system/ca-certificates/Makefile
index 4febb647ac..be9a00f367 100644
--- a/package/system/ca-certificates/Makefile
+++ b/package/system/ca-certificates/Makefile
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ca-certificates
PKG_VERSION:=20250419
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_MAINTAINER:=
PKG_LICENSE:=GPL-2.0-or-later MPL-2.0
@@ -24,12 +24,14 @@ include $(INCLUDE_DIR)/package.mk
TAR_OPTIONS+= --strip-components 1
TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
+# ca-certs is deprecated and new packages should use ca-certificates-any if
+# they don't need a specific package
define Package/ca-certificates
SECTION:=base
CATEGORY:=Base system
TITLE:=System CA certificates
PKGARCH:=all
- PROVIDES:=ca-certs
+ PROVIDES:=@ca-certs
endef
define Package/ca-bundle
@@ -37,7 +39,7 @@ define Package/ca-bundle
CATEGORY:=Base system
TITLE:=System CA certificates as a bundle
PKGARCH:=all
- PROVIDES:=ca-certs
+ PROVIDES:=@ca-certs @ca-certificates-any
endef
define Build/Install
More information about the lede-commits
mailing list