0043-OpenSSL-Added-source-old-to-PKG_SOURCE_URL.patch 1.0 KB

123456789101112131415161718192021222324
  1. From: Ranlvor <ranlvor@starletp9.de>
  2. Date: Sun, 6 Dec 2015 16:12:55 +0100
  3. Subject: OpenSSL: Added source/old to PKG_SOURCE_URL
  4. OpenSSL moves old versions of the library from http://www.openssl.org/source/
  5. to http://www.openssl.org/source/old/1.0.2/ breaking the old links. That
  6. behavior breaks the OpenWRT-build every time OpenSSL releases a new version.
  7. This patch adds http://www.openssl.org/source/old/1.0.2/ to the PKG_SOURCE_URL
  8. of OpenSSL to avoid breaking the build whenever OpenSSL releases a new
  9. version.
  10. diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile
  11. index 7f0da8b..039e1ab 100644
  12. --- a/package/libs/openssl/Makefile
  13. +++ b/package/libs/openssl/Makefile
  14. @@ -16,6 +16,7 @@ PKG_BUILD_PARALLEL:=1
  15. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  16. PKG_SOURCE_URL:=http://www.openssl.org/source/ \
  17. + http://www.openssl.org/source/old/1.0.2/ \
  18. ftp://ftp.funet.fi/pub/crypt/mirrors/ftp.openssl.org/source \
  19. ftp://ftp.sunet.se/pub/security/tools/net/openssl/source/
  20. PKG_MD5SUM:=38dd619b2e77cbac69b99f52a053d25a