Adding gvisor v20200127.0
This commit is contained in:
commit
00ce581d4f
4 changed files with 63 additions and 0 deletions
18
.SRCINFO
Normal file
18
.SRCINFO
Normal file
|
@ -0,0 +1,18 @@
|
|||
pkgbase = gvisor-bin
|
||||
pkgdesc = OCI container sandbox runtime focused on security, efficiency, and ease of use
|
||||
pkgver = 20200127.0
|
||||
pkgrel = 1
|
||||
url = https://gvisor.dev
|
||||
install = gvisor-bin.install
|
||||
arch = x86_64
|
||||
license = Apache
|
||||
depends = docker
|
||||
provides = gvisor
|
||||
provides = runsc
|
||||
conflicts = gvisor-git
|
||||
conflicts = runsc
|
||||
source = gvisor-bin-20200127.0::https://storage.googleapis.com/gvisor/releases/release/20200127.0/runsc
|
||||
sha256sums = 09e970cfca06712488edae1eb7b24a66acb39df1e83e282c0abd755c6ceba4df
|
||||
|
||||
pkgname = gvisor-bin
|
||||
|
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
*.tar.*
|
||||
gvisor-bin-*
|
||||
pkg/
|
||||
src/
|
26
PKGBUILD
Normal file
26
PKGBUILD
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Maintainer: Brad Erhart <brae dot 04 plus aur at gmail dot com>
|
||||
|
||||
pkgname=gvisor-bin
|
||||
_pkgname=runsc
|
||||
pkgver=20200127.0
|
||||
pkgrel=1
|
||||
pkgdesc='OCI container sandbox runtime focused on security, efficiency, and ease of use'
|
||||
arch=('x86_64')
|
||||
url='https://gvisor.dev'
|
||||
license=('Apache')
|
||||
depends=('docker')
|
||||
provides=(
|
||||
"${pkgname%-bin}"
|
||||
"$_pkgname"
|
||||
)
|
||||
conflicts=(
|
||||
gvisor-git
|
||||
"$_pkgname"
|
||||
)
|
||||
install="$pkgname.install"
|
||||
source=("$pkgname-$pkgver::https://storage.googleapis.com/${pkgname%-bin}/releases/release/$pkgver/$_pkgname")
|
||||
sha256sums=('09e970cfca06712488edae1eb7b24a66acb39df1e83e282c0abd755c6ceba4df')
|
||||
|
||||
package() {
|
||||
install -Dm 755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$_pkgname"
|
||||
}
|
15
gvisor-bin.install
Normal file
15
gvisor-bin.install
Normal file
|
@ -0,0 +1,15 @@
|
|||
post_install() {
|
||||
runsc install
|
||||
}
|
||||
|
||||
pre_upgrade() {
|
||||
runsc uninstall
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
runsc install
|
||||
}
|
||||
|
||||
pre_remove() {
|
||||
runsc uninstall
|
||||
}
|
Loading…
Reference in a new issue