summaryrefslogtreecommitdiff
path: root/package/libs/openssl
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-12-11 15:07:40 +0000
committerJohn Crispin <john@openwrt.org>2015-12-11 15:07:40 +0000
commit395dd083fc0ddc0f028a7e8e142597efd1f1cc47 (patch)
tree4489b470945027f9f675df8c9ddc234d2036f47e /package/libs/openssl
parent34124de139842d15abe026cfb531f1144d94d979 (diff)
downloadmtk-20170518-395dd083fc0ddc0f028a7e8e142597efd1f1cc47.zip
mtk-20170518-395dd083fc0ddc0f028a7e8e142597efd1f1cc47.tar.gz
mtk-20170518-395dd083fc0ddc0f028a7e8e142597efd1f1cc47.tar.bz2
OpenSSL: Added source/old to PKG_SOURCE_URL
OpenSSL moves old versions of the library from http://www.openssl.org/source/ to http://www.openssl.org/source/old/$version/ breaking the old links. That behavior breaks the OpenWRT-build every time OpenSSL releases a new version. This patch adds http://www.openssl.org/source/old/$version/ to the PKG_SOURCE_URL of OpenSSL to avoid breaking the build whenever OpenSSL releases a new version. Signed-off-by: Kevin Kirsch <ranlvor@starletp9.de> Reviewed-by: Alexander Dahl <post@lespocky.de> SVN-Revision: 47860
Diffstat (limited to 'package/libs/openssl')
-rw-r--r--package/libs/openssl/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile
index bbdd521..35ddc62 100644
--- a/package/libs/openssl/Makefile
+++ b/package/libs/openssl/Makefile
@@ -8,7 +8,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=openssl
-PKG_VERSION:=1.0.2e
+PKG_BASE:=1.0.2
+PKG_BUGFIX:=e
+PKG_VERSION:=$(PKG_BASE)$(PKG_BUGFIX)
PKG_RELEASE:=1
PKG_USE_MIPS16:=0
@@ -17,6 +19,7 @@ PKG_BUILD_PARALLEL:=0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.openssl.org/source/ \
ftp://ftp.openssl.org/source/ \
+ http://www.openssl.org/source/old/$(PKG_BASE)/ \
ftp://ftp.funet.fi/pub/crypt/mirrors/ftp.openssl.org/source \
ftp://ftp.sunet.se/pub/security/tools/net/openssl/source/
PKG_MD5SUM:=5262bfa25b60ed9de9f28d5d52d77fc5