summaryrefslogtreecommitdiff
path: root/lang/python/python-crypto/Makefile
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2018-08-26 21:12:54 -0700
committerRosen Penev <rosenp@gmail.com>2018-10-10 13:22:42 -0700
commit32b23e28ad892395a5575c09606cd07db175f7cc (patch)
treea35b0afe0c6669bc033bac014f8164ac62384234 /lang/python/python-crypto/Makefile
parent8938517832a86a5bd6465c4852ee540b345edacb (diff)
python-crypto: Fix two CVEs
CVE-2013-7459 and CVE-2018-6594. Both patches taken from Fedora. Also took the liberty to update the PKG_SOURCE_URL to a standard one. Updated the home URL as well. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'lang/python/python-crypto/Makefile')
-rw-r--r--lang/python/python-crypto/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/python/python-crypto/Makefile b/lang/python/python-crypto/Makefile
index 551fd94fa..ae1694a6a 100644
--- a/lang/python/python-crypto/Makefile
+++ b/lang/python/python-crypto/Makefile
@@ -9,16 +9,17 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=python-crypto
PKG_VERSION:=2.6.1
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=pycrypto-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/
+PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/p/pycrypto
PKG_HASH:=f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c
PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-crypto-$(PKG_VERSION)
PKG_LICENSE:=Public Domain
PKG_LICENSE_FILES:=COPYRIGHT
+PKG_CPE_ID:=cpe:/a:dlitz:pycrypto
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
include $(INCLUDE_DIR)/package.mk
@@ -31,7 +32,7 @@ define Package/python-crypto/Default
SECTION:=lang-python
CATEGORY:=Languages
SUBMENU:=Python
- URL:=http://www.pycrypto.org/
+ URL:=https://www.dlitz.net/software/pycrypto/
endef
define Package/python-crypto