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

John Crispin blogic at openwrt.org
Fri Dec 11 05:15:57 EST 2015



On 11/12/2015 11:11, Alexander Dahl wrote:
> 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)/ \
> 

yep i had just noticed. sorry my bad missed that part earlier today.
patch makes sense in this case i have pulled it into my tree already.
	
	John

> 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
> 
_______________________________________________
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