summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2020-05-20 15:46:59 +0800
committerJeffery To <jeffery.to@gmail.com>2020-05-20 17:28:02 +0800
commit76a67189c5f1c934144a462d8a88f2aa7d57dcfb (patch)
treebd624896c7013fdb7070ab9696c2f1370bdb1005 /lang
parente2aa53d376f235101b253e4af4536b7ec7656386 (diff)
python-openssl,python3-openssl: Add dependency on ca-bundle
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>
Diffstat (limited to 'lang')
-rw-r--r--lang/python/python/Makefile2
-rw-r--r--lang/python/python/files/python-package-openssl.mk2
-rw-r--r--lang/python/python3/Makefile2
-rw-r--r--lang/python/python3/files/python3-package-openssl.mk2
4 files changed, 4 insertions, 4 deletions
diff --git a/lang/python/python/Makefile b/lang/python/python/Makefile
index 4c7fc9eef..a192a65be 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 dbf6fe180..efb6f6ef3 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-bundle
endef
$(eval $(call PyBasePackage,python-openssl, \
diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile
index 5180ee928..5ea8019a2 100644
--- a/lang/python/python3/Makefile
+++ b/lang/python/python3/Makefile
@@ -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
diff --git a/lang/python/python3/files/python3-package-openssl.mk b/lang/python/python3/files/python3-package-openssl.mk
index 6971993f7..f1308d6b7 100644
--- a/lang/python/python3/files/python3-package-openssl.mk
+++ b/lang/python/python3/files/python3-package-openssl.mk
@@ -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, \