- both packages provide ca-certs
- make ca-bundle the default provider
This should allow easy transition between these two forms of CA certificates storage
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
(cherry picked from commit
dd299805ad18472a8245b4524a25e4381e166057)
PKG_NAME:=ca-certificates
PKG_VERSION:=20190110
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_MAINTAINER:=
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.xz
CATEGORY:=Base system
TITLE:=System CA certificates
PKGARCH:=all
+ PROVIDES:=ca-certs
endef
define Package/ca-bundle
CATEGORY:=Base system
TITLE:=System CA certificates as a bundle
PKGARCH:=all
+ PROVIDES:=ca-certs
endef
define Build/Install
cat $(PKG_INSTALL_DIR)/usr/share/ca-certificates/*/*.crt >$(1)/etc/ssl/certs/ca-certificates.crt
$(LN) /etc/ssl/certs/ca-certificates.crt $(1)/etc/ssl/cert.pem
endef
-$(eval $(call BuildPackage,ca-certificates))
$(eval $(call BuildPackage,ca-bundle))
+$(eval $(call BuildPackage,ca-certificates))