[OpenWrt-Devel] [PATCH] [package] OpenSSL: Added source/old to PKG_SOURCE_URL

Alexander Dahl post at lespocky.de
Mon Dec 7 05:01:49 EST 2015

Hei hei,

I try to comment without directly replying, I was not on the list
before and hope to get this right.

The proposed solution works for openssl 1.0.2 branch. However a more
generic solution would be possible. I tried the following successfully
on master and it can be merged to chaos calmer without hassle (the
diff is against CC but you get the idea):

diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile
index 6909f97..3fb7a1f 100644
--- a/package/libs/openssl/Makefile
+++ b/package/libs/openssl/Makefile
@@ -8,7 +8,9 @@
 include $(TOPDIR)/rules.mk
@@ -16,6 +18,7 @@ PKG_BUILD_PARALLEL:=1
 PKG_SOURCE_URL:=http://www.openssl.org/source/ \
+   http://www.openssl.org/source/old/$(PKG_BASE)/ \
    ftp://ftp.funet.fi/pub/crypt/mirrors/ftp.openssl.org/source \

Splitting the version in base and bugfix allows using the base part in
the URL. The idea is borrowed from the openssl package in ptxdist.


»With the first link, the chain is forged. The first speech censured, 
the first thought forbidden, the first freedom denied, chains us all 
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601  D1D5 8FBA 7744 CC87 10D0 ***
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20151207/21f225b7/attachment.sig>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list