projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e7fd92
)
ca-certificates: ca-bundle: add symlink for openssl default setting
author
Yousong Zhou
<
[email protected]
>
Thu, 5 Jul 2018 10:51:54 +0000
(18:51 +0800)
committer
Christian Lamparter
<
[email protected]
>
Sat, 20 Apr 2019 11:41:20 +0000
(13:41 +0200)
OpenSSL defaults X509_CERT_FILE to /etc/ssl/cert.pem. This change is
needed for wget-ssl and possibly others to work seamlessly with fresh
ca-bundle installation
Fixes openwrt/packages#6152
Signed-off-by: Yousong Zhou <
[email protected]
>
Signed-off-by: Christian Lamparter <
[email protected]
>
(cherry-picked from commit:
191078e83d127f5ed9a38366d2edaac49f9333c5
)
package/system/ca-certificates/Makefile
patch
|
blob
|
history
diff --git
a/package/system/ca-certificates/Makefile
b/package/system/ca-certificates/Makefile
index 537cf2f4e92b286e5462eb647e8f7cacd78c9f8a..6de00b7161f6ff33711ac2af696ae96589870582 100644
(file)
--- a/
package/system/ca-certificates/Makefile
+++ b/
package/system/ca-certificates/Makefile
@@
-8,6
+8,7
@@
include $(TOPDIR)/rules.mk
PKG_NAME:=ca-certificates
PKG_VERSION:=20180409
+PKG_RELEASE:=2
PKG_MAINTAINER:=Christian Schoenebeck <
[email protected]
>
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.xz
@@
-57,6
+58,7
@@
endef
define Package/ca-bundle/install
$(INSTALL_DIR) $(1)/etc/ssl/certs
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))