mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
ca-certificates: provide ca-certs by both ca-certificates and ca-bundle
- 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>
This commit is contained in:
parent
856ea2bad3
commit
dd299805ad
@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=ca-certificates
|
PKG_NAME:=ca-certificates
|
||||||
PKG_VERSION:=20190110
|
PKG_VERSION:=20190110
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
PKG_MAINTAINER:=
|
PKG_MAINTAINER:=
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.xz
|
||||||
@ -24,6 +24,7 @@ define Package/ca-certificates
|
|||||||
CATEGORY:=Base system
|
CATEGORY:=Base system
|
||||||
TITLE:=System CA certificates
|
TITLE:=System CA certificates
|
||||||
PKGARCH:=all
|
PKGARCH:=all
|
||||||
|
PROVIDES:=ca-certs
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/ca-bundle
|
define Package/ca-bundle
|
||||||
@ -31,6 +32,7 @@ define Package/ca-bundle
|
|||||||
CATEGORY:=Base system
|
CATEGORY:=Base system
|
||||||
TITLE:=System CA certificates as a bundle
|
TITLE:=System CA certificates as a bundle
|
||||||
PKGARCH:=all
|
PKGARCH:=all
|
||||||
|
PROVIDES:=ca-certs
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Install
|
define Build/Install
|
||||||
@ -59,5 +61,5 @@ define Package/ca-bundle/install
|
|||||||
cat $(PKG_INSTALL_DIR)/usr/share/ca-certificates/*/*.crt >$(1)/etc/ssl/certs/ca-certificates.crt
|
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
|
$(LN) /etc/ssl/certs/ca-certificates.crt $(1)/etc/ssl/cert.pem
|
||||||
endef
|
endef
|
||||||
$(eval $(call BuildPackage,ca-certificates))
|
|
||||||
$(eval $(call BuildPackage,ca-bundle))
|
$(eval $(call BuildPackage,ca-bundle))
|
||||||
|
$(eval $(call BuildPackage,ca-certificates))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user