2023-05-11 22:55:19 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/containers/gvisor-tap-vsock/archive/refs/tags/v{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: containers/gvisor-tap-vsock/releases/tags
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/gvproxy
|
|
|
|
- bin/qemu-wrapper
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
go.dev: ^1.18
|
2023-11-07 22:49:47 +03:00
|
|
|
script:
|
|
|
|
- run: |
|
|
|
|
sed -i.bak 's/go build/go build -buildmode=pie/g' Makefile
|
|
|
|
rm Makefile.bak
|
|
|
|
if: linux
|
2023-05-11 22:55:19 +03:00
|
|
|
|
2023-11-07 22:49:47 +03:00
|
|
|
- make --jobs {{ hw.concurrency }}
|
|
|
|
- mkdir -p "{{ prefix }}"
|
|
|
|
- cp -a bin "{{ prefix }}"
|
2023-05-11 22:55:19 +03:00
|
|
|
|
|
|
|
test:
|
2023-11-07 22:49:47 +03:00
|
|
|
script:
|
|
|
|
- gvproxy -help
|
|
|
|
- gvproxy -help 2>&1 | grep "Usage of gvproxy:"
|