From a6c96c283f7a936a63b8af80ce0803ffffab8f7b Mon Sep 17 00:00:00 2001 From: Vadim-Valdis Yudaev Date: Fri, 15 Oct 2021 14:23:12 +0300 Subject: [PATCH] gvisor-tap-vsock: Move binary to ${prefix}/libexec `gvproxy` is a binary to forward ports for podman machine. It should not be used as a normal user. https://github.com/containers/podman/issues/11960#issuecomment-943162546 --- net/gvisor-tap-vsock/Portfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/net/gvisor-tap-vsock/Portfile b/net/gvisor-tap-vsock/Portfile index 10e1b13461f2..7939eca605ae 100644 --- a/net/gvisor-tap-vsock/Portfile +++ b/net/gvisor-tap-vsock/Portfile @@ -4,7 +4,7 @@ PortSystem 1.0 PortGroup golang 1.0 go.setup github.com/containers/gvisor-tap-vsock 0.2.0 v -revision 0 +revision 1 categories net license Apache-2 @@ -27,7 +27,11 @@ build.cmd make build.args build destroot { - xinstall -m 0755 ${worksrcpath}/bin/gvproxy ${destroot}${prefix}/bin + # `gvproxy` is a binary to forward ports for podman machine. It should not + # be used as a normal user. + # + # https://github.com/containers/podman/issues/11960#issuecomment-943162546 + xinstall -m 0755 ${worksrcpath}/bin/gvproxy ${destroot}${prefix}/libexec } # Do not check the first tags v3 and v4.