diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-03-09 02:30:25 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-03-09 02:30:25 +0100 |
commit | 9c942e89fdb37431fda67b8a200d33a8c9962510 (patch) | |
tree | 16b96267f127bd725c335049e370a6a57aca2407 | |
parent | build: verify hashes (diff) | |
download | wireguard-windows-9c942e89fdb37431fda67b8a200d33a8c9962510.tar.xz wireguard-windows-9c942e89fdb37431fda67b8a200d33a8c9962510.zip |
build: fix manifest in patch.exe
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | build.bat | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -17,10 +17,10 @@ if exist deps\.prepared goto :build echo [+] Verifying mingw for /f %%a in ('CertUtil -hashfile mingw.zip SHA256 ^| findstr /r "^[0-9a-f]*$"') do if not "%%a"=="5390762183e181804b28eb13815b6210f85a1280057b815f749b06768215f817" goto :error echo [+] Downloading patch - rem Mirror of https://sourceforge.net/projects/gnuwin32/files/patch/2.5.9-7/patch-2.5.9-7-bin.zip - curl -#fo patch.zip https://download.wireguard.com/windows-toolchain/distfiles/patch-2.5.9-7-bin.zip || goto :error + rem Mirror of https://sourceforge.net/projects/gnuwin32/files/patch/2.5.9-7/patch-2.5.9-7-bin.zip with fixed manifest + curl -#fo patch.zip https://download.wireguard.com/windows-toolchain/distfiles/patch-2.5.9-7-bin-fixed-manifest.zip || goto :error echo [+] Verifying patch - for /f %%a in ('CertUtil -hashfile patch.zip SHA256 ^| findstr /r "^[0-9a-f]*$"') do if not "%%a"=="fabd6517e7bd88e067db9bf630d69bb3a38a08e044fa73d13a704ab5f8dd110b" goto :error + for /f %%a in ('CertUtil -hashfile patch.zip SHA256 ^| findstr /r "^[0-9a-f]*$"') do if not "%%a"=="25977006ca9713f2662a5d0a2ed3a5a138225b8be3757035bd7da9dcf985d0a1" goto :error echo [+] Extracting golang tar -xf go.zip || goto :error echo [+] Extracting mingw |