Skip to content

Commit d75a6be

Browse files
GeorgeSapkinrobimarko
authored andcommitted
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: openwrt/openwrt#21257 Signed-off-by: George Sapkin <[email protected]> Link: openwrt/openwrt#21288 Signed-off-by: Robert Marko <[email protected]>
1 parent 9b37b71 commit d75a6be

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

package/system/ca-certificates/Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
88

99
PKG_NAME:=ca-certificates
1010
PKG_VERSION:=20250419
11-
PKG_RELEASE:=1
11+
PKG_RELEASE:=2
1212
PKG_MAINTAINER:=
1313

1414
PKG_LICENSE:=GPL-2.0-or-later MPL-2.0
@@ -24,20 +24,22 @@ include $(INCLUDE_DIR)/package.mk
2424
TAR_OPTIONS+= --strip-components 1
2525
TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
2626

27+
# ca-certs is deprecated and new packages should use ca-certificates-any if
28+
# they don't need a specific package
2729
define Package/ca-certificates
2830
SECTION:=base
2931
CATEGORY:=Base system
3032
TITLE:=System CA certificates
3133
PKGARCH:=all
32-
PROVIDES:=ca-certs
34+
PROVIDES:=@ca-certs
3335
endef
3436

3537
define Package/ca-bundle
3638
SECTION:=base
3739
CATEGORY:=Base system
3840
TITLE:=System CA certificates as a bundle
3941
PKGARCH:=all
40-
PROVIDES:=ca-certs
42+
PROVIDES:=@ca-certs @ca-certificates-any
4143
endef
4244

4345
define Build/Install

0 commit comments

Comments
 (0)