python-openssl,python3-openssl: Add dependency on ca-bundle 12235/head
authorJeffery To <jeffery.to@gmail.com>
Wed, 20 May 2020 07:46:59 +0000 (15:46 +0800)
committerJeffery To <jeffery.to@gmail.com>
Wed, 20 May 2020 09:28:02 +0000 (17:28 +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
lang/python/python3/Makefile
lang/python/python3/files/python3-package-openssl.mk

index 4c7fc9eef6498d9da52c0c219330f5e48b0f6db6..a192a65be0f083735f2df3ae220bc63c2c2e9534 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..efb6f6ef39ae5af75f6092d00c0a4c33ae598623 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-bundle
 endef
 
 $(eval $(call PyBasePackage,python-openssl, \
index 5180ee928e98d3936c8bdc5ac3ddca850e630193..5ea8019a2e28de99019f7ee0911211db6252a2f5 100644 (file)
@@ -14,7 +14,7 @@ PYTHON_VERSION:=$(PYTHON3_VERSION)
 PYTHON_VERSION_MICRO:=$(PYTHON3_VERSION_MICRO)
 
 PKG_NAME:=python3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO)
 
 PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
index 6971993f73dca5c7780576b6ac2622de2ab4c525..f1308d6b76e584342e1b02d029b3d81952631287 100644 (file)
@@ -8,7 +8,7 @@
 define Package/python3-openssl
 $(call Package/python3/Default)
   TITLE:=Python $(PYTHON3_VERSION) SSL module
-  DEPENDS:=+python3-light +libopenssl
+  DEPENDS:=+python3-light +libopenssl +ca-bundle
 endef
 
 $(eval $(call Py3BasePackage,python3-openssl, \