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

Alexander Dahl post at lespocky.de
Fri Dec 11 05:11:10 EST 2015


Hei hei, 

Am 2015-12-11 10:53, schrieb John Crispin:
> 2) split the variable into 2 variables for no apparent reason.

There is a reason, see:

>> +	http://www.openssl.org/source/old/$(PKG_BASE)/ \

You could use a fix URL here like:

http://www.openssl.org/source/old/1.0.2/

But what if OpenSSL goes to 1.0.3, 1.0.4 and so on? Each time you would
not only have to edit the version number above but check through the
URLs.

You could also add another one like
http://www.openssl.org/source/old/1.0.3/ then, leaving the old one
useless.

However you can not use the previously used full version variable in the
URL, because a path like http://www.openssl.org/source/old/1.0.2e/ is
simply not the actual path.

The reason for the split is to use the base version in the URL. You
won't have to change the URL again, just the versions above. Quite
obvious for me. ;-)

Greets
Alex

-- 
»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 ***
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list