From: Jason Ish Date: Fri, 21 Jan 2022 05:21:08 +0000 (-0600) Subject: github-ci: use curl -L for npcap: follow redirects X-Git-Tag: suricata-7.0.0-beta1~993 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6844%2Fhead;p=thirdparty%2Fsuricata.git github-ci: use curl -L for npcap: follow redirects --- diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 0ca5ef8b4d..0de51baf0c 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -1483,13 +1483,13 @@ jobs: - run: tar xf prep/suricata-update.tar.gz - name: Npcap DLL run: | - curl -s -O https://nmap.org/npcap/dist/npcap-1.00.exe + curl -sL -O https://nmap.org/npcap/dist/npcap-1.00.exe 7z -y x -o/npcap-bin npcap-1.00.exe # hack: place dlls in cwd cp /npcap-bin/*.dll . - name: Npcap SDK run: | - curl -s -O https://nmap.org/npcap/dist/npcap-sdk-1.06.zip + curl -sL -O https://nmap.org/npcap/dist/npcap-sdk-1.06.zip unzip npcap-sdk-1.06.zip -d /npcap cp /npcap/Lib/x64/* /usr/lib/ - run: tar xf prep/suricata-verify.tar.gz