python-openssl: Add dependency on ca-certs 12231/head
authorJeffery To <jeffery.to@gmail.com>
Tue, 19 May 2020 20:37:53 +0000 (04:37 +0800)
committerJeffery To <jeffery.to@gmail.com>
Tue, 19 May 2020 20:37:53 +0000 (04:37 +0800)
The ssl module assumes OpenSSL can load the default trust anchors (root
CA certificates).

From https://github.com/openwrt/packages/issues/12209

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lang/python/python/Makefile
lang/python/python/files/python-package-openssl.mk

index 8ce9e8be227374bcd418c0001cce0fc14cc5bb71..84463ad5ad34b94fe6ca7526ad90d933279b88e2 100644 (file)
@@ -12,7 +12,7 @@ include ../python-version.mk
 
 PKG_NAME:=python
 PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO)
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION)
index dbf6fe18073108424e0fe5ad0e356219db42af38..9bcd454ea61279ca8edaec74535bd332ea1c1693 100644 (file)
@@ -8,7 +8,7 @@
 define Package/python-openssl
 $(call Package/python/Default)
   TITLE:=Python $(PYTHON_VERSION) SSL module
-  DEPENDS:=+python-light +libopenssl
+  DEPENDS:=+python-light +libopenssl +ca-certs
 endef
 
 $(eval $(call PyBasePackage,python-openssl, \