[vlc-devel] [PATCH] tools: use sha512sum which is the same requirement as the contribs

Steve Lhomme robux4 at ycbcr.xyz
Fri Jul 20 14:14:54 CEST 2018


On 20/07/2018 11:43, Marvin Scholz (ePirat) wrote:
>
>> Am 20.07.2018 um 09:06 schrieb Steve Lhomme <robux4 at ycbcr.xyz>:
>>
>> shasum is not available on the latest msys2
> I am very sure this will break on macOS as it has no sha512sum.

Ah, so we probably need something like that:
http://git.videolan.org/?p=vlc.git;a=blob;f=contrib/src/main.mak;h=ddd8b16aaaf3d1c02f73a8e5d74973d971d58888;hb=HEAD#l250

>
>> ---
>> extras/tools/tools.mak | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/extras/tools/tools.mak b/extras/tools/tools.mak
>> index 8a86c32de4..299e1a66a1 100644
>> --- a/extras/tools/tools.mak
>> +++ b/extras/tools/tools.mak
>> @@ -26,7 +26,7 @@ endif
>>
>> download_pkg = $(call download,$(VIDEOLAN)/$(2)/$(lastword $(subst /, ,$(@)))) || \
>>     ( $(call download,$(1)) && echo "Please upload package $(lastword $(subst /, ,$(@))) to our FTP" )  \
>> -    && grep $(@) SHA512SUMS| shasum -a 512 -c
>> +    && grep $(@) SHA512SUMS| sha512sum -c
>>
>> UNPACK = $(RM) -R $@ \
>>      $(foreach f,$(filter %.tar.gz %.tgz,$^), && tar xvzf $(f)) \
>> -- 
>> 2.17.0
>>
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list