From c0621208226de0f336f5327c8c13ae4485547052 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Wed, 20 May 2020 04:37:53 +0800 Subject: [PATCH] python-openssl: Add dependency on ca-certs 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 --- lang/python/python/Makefile | 2 +- lang/python/python/files/python-package-openssl.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/python/python/Makefile b/lang/python/python/Makefile index 8ce9e8be22..84463ad5ad 100644 --- a/lang/python/python/Makefile +++ b/lang/python/python/Makefile @@ -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) diff --git a/lang/python/python/files/python-package-openssl.mk b/lang/python/python/files/python-package-openssl.mk index dbf6fe1807..9bcd454ea6 100644 --- a/lang/python/python/files/python-package-openssl.mk +++ b/lang/python/python/files/python-package-openssl.mk @@ -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, \ -- 2.30.2