upgpkg: gvisor-git 20230801.0-1

upstream release
Better support debug packages
Remove unnecessary GO111MODULE=on
Fix version not being written correctly
This commit is contained in:
Manuel 2023-08-05 15:15:29 +02:00
parent 5c52ec18d5
commit bd1d92f55b
2 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
pkgbase = gvisor-git pkgbase = gvisor-git
pkgdesc = OCI container sandbox runtime focused on security, efficiency, and ease of use pkgdesc = OCI container sandbox runtime focused on security, efficiency, and ease of use
pkgver = 20230710.0 pkgver = 20230801.0
pkgrel = 1 pkgrel = 1
url = https://gvisor.dev url = https://gvisor.dev
arch = x86_64 arch = x86_64

View file

@ -4,7 +4,7 @@
pkgname='gvisor-git' pkgname='gvisor-git'
_pkgbin='runsc' _pkgbin='runsc'
_pkgshim='containerd-shim-runsc-v1' _pkgshim='containerd-shim-runsc-v1'
pkgver=20230710.0 pkgver=20230801.0
pkgrel=1 pkgrel=1
pkgdesc='OCI container sandbox runtime focused on security, efficiency, and ease of use' pkgdesc='OCI container sandbox runtime focused on security, efficiency, and ease of use'
arch=('x86_64' 'aarch64') arch=('x86_64' 'aarch64')
@ -32,10 +32,10 @@ build() {
export CGO_CFLAGS="${CFLAGS}" export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}" export CGO_LDFLAGS="${LDFLAGS}"
export GO111MODULE=on export GOPATH="${srcdir}"
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
CGO_ENABLED=0 go build -v -o "bin/$_pkgbin" -ldflags "-X main.version=${pkgver}" gvisor.dev/gvisor/runsc CGO_ENABLED=0 go build -v -o "bin/$_pkgbin" -ldflags "-linkmode=external -compressdwarf=false -X gvisor.dev/gvisor/runsc/version.version=${pkgver}" gvisor.dev/gvisor/runsc
go build -v -o "bin/$_pkgshim" gvisor.dev/gvisor/shim go build -v -o "bin/$_pkgshim" -ldflags "-linkmode=external -compressdwarf=false" gvisor.dev/gvisor/shim
} }
package() { package() {