Zardoz is a small WFA which tries to learn from the server and client the rules of what to block.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
822 B

#!/bin/bash
rm ./zardoz
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -mod=vendor
file zardoz
mv ./zardoz ./binaries/arm64/zardoz
tar -cvzf ./binaries/tgz/zardoz_arm64.tgz -C ./binaries/arm64 . --owner=0 --group=0
GOOS=linux GOARCH=arm CGO_ENABLED=0 GOARM=7 go build -mod=vendor
file zardoz
mv ./zardoz ./binaries/armv7/zardoz
tar -cvzf ./binaries/tgz/zardoz_armv7.tgz -C ./binaries/armv7 . --owner=0 --group=0
GOOS=linux GOARCH=mips CGO_ENABLED=0 go build -mod=vendor
file zardoz
mv ./zardoz ./binaries/mips32/zardoz
tar -cvzf ./binaries/tgz/zardoz_mips32.tgz -C ./binaries/mips32 . --owner=0 --group=0
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -mod=vendor
file zardoz
mv ./zardoz ./binaries/amd64/zardoz
tar -cvzf ./binaries/tgz/zardoz_amd64.tgz -C ./binaries/amd64 . --owner=0 --group=0