Updating to gVisor v20210628.0
This commit is contained in:
parent
99c95c4f62
commit
b9f49bc3f0
4 changed files with 13 additions and 15 deletions
9
.SRCINFO
9
.SRCINFO
|
@ -1,18 +1,17 @@
|
||||||
pkgbase = gvisor-bin
|
pkgbase = gvisor-bin
|
||||||
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 = 20210518.0
|
pkgver = 20210628.0
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://gvisor.dev
|
url = https://gvisor.dev
|
||||||
install = gvisor-bin.install
|
install = gvisor-bin.install
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = Apache
|
license = Apache
|
||||||
depends = docker
|
optdepends = docker: for Docker runtime support
|
||||||
provides = gvisor
|
provides = gvisor
|
||||||
provides = runsc
|
provides = runsc
|
||||||
conflicts = gvisor-git
|
conflicts = gvisor-git
|
||||||
conflicts = runsc
|
conflicts = runsc
|
||||||
source = gvisor-bin-20210518.0::https://storage.googleapis.com/gvisor/releases/release/20210518.0/x86_64/runsc
|
source = gvisor-bin-20210628.0::https://storage.googleapis.com/gvisor/releases/release/20210628/x86_64/runsc
|
||||||
b2sums = 7983fc051ed641d13b1ac3039a764ca0cb6af3c3e007bb682c6d7d8aad7d29483f3cebc6fae913e3832b08d2a8f36194a4e2ccbbc0418f25275137655f9944b8
|
b2sums = 12ae13d2fab74265a549feb91cfb9fb10a261de10285ac816b254d105b0a11c87dbccd82e185840a250f8dc5c9eb6cf3803b6d3f7f58bc2998033856e2155b43
|
||||||
|
|
||||||
pkgname = gvisor-bin
|
pkgname = gvisor-bin
|
||||||
|
|
||||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,4 +1,3 @@
|
||||||
*.tar.*
|
gvisor*
|
||||||
gvisor-bin-*
|
|
||||||
pkg/
|
pkg/
|
||||||
src/
|
src/
|
||||||
|
|
8
PKGBUILD
8
PKGBUILD
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
pkgname=gvisor-bin
|
pkgname=gvisor-bin
|
||||||
_pkgname=runsc
|
_pkgname=runsc
|
||||||
pkgver=20210518.0
|
pkgver=20210628.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')
|
arch=('x86_64')
|
||||||
url='https://gvisor.dev'
|
url='https://gvisor.dev'
|
||||||
license=('Apache')
|
license=('Apache')
|
||||||
depends=('docker')
|
optdepends=('docker: for Docker runtime support')
|
||||||
provides=(
|
provides=(
|
||||||
"${pkgname%-bin}"
|
"${pkgname%-bin}"
|
||||||
"$_pkgname"
|
"$_pkgname"
|
||||||
|
@ -18,8 +18,8 @@ conflicts=(
|
||||||
"$_pkgname"
|
"$_pkgname"
|
||||||
)
|
)
|
||||||
install="$pkgname.install"
|
install="$pkgname.install"
|
||||||
source=("$pkgname-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/$pkgver/$arch/$_pkgname")
|
source=("$pkgname-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/${pkgver%.[0-9]}/$arch/$_pkgname")
|
||||||
b2sums=(7983fc051ed641d13b1ac3039a764ca0cb6af3c3e007bb682c6d7d8aad7d29483f3cebc6fae913e3832b08d2a8f36194a4e2ccbbc0418f25275137655f9944b8)
|
b2sums=(12ae13d2fab74265a549feb91cfb9fb10a261de10285ac816b254d105b0a11c87dbccd82e185840a250f8dc5c9eb6cf3803b6d3f7f58bc2998033856e2155b43)
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm 755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$_pkgname"
|
install -Dm 755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$_pkgname"
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
post_install() {
|
post_install() {
|
||||||
runsc install
|
pacman --query docker &> /dev/null && runsc install
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_upgrade() {
|
pre_upgrade() {
|
||||||
runsc uninstall
|
pacman --query docker &> /dev/null && runsc uninstall
|
||||||
}
|
}
|
||||||
|
|
||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
runsc install
|
pacman --query docker &> /dev/null && runsc install
|
||||||
}
|
}
|
||||||
|
|
||||||
pre_remove() {
|
pre_remove() {
|
||||||
runsc uninstall
|
pacman --query docker &> /dev/null && runsc uninstall
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue