# Contributor: Jake Buchholz Göktürk # Maintainer: Jake Buchholz Göktürk pkgname=runc pkgdesc="CLI tool for spawning and running containers according to the OCI specification" url="https://www.opencontainers.org" _commit=82f18fe0e44a59034f3e1f45e475fa5636e539aa pkgver=1.1.9 pkgrel=0 arch="all" license="Apache-2.0" makedepends="bash go go-md2man libseccomp-dev libtool" subpackages="$pkgname-doc" source="https://github.com/opencontainers/runc/archive/v$pkgver/runc-$pkgver.tar.gz " options="!check" provides="oci-runtime" provider_priority=90 # secfixes: # 1.1.4-r0: # - CVE-2023-25809 # - CVE-2023-27561 # - CVE-2023-28642 # 1.1.4-r7: # - CVE-2023-27561 # 1.1.2-r0: # - CVE-2022-29162 # 1.0.3-r0: # - CVE-2021-43784 # 1.0.0_rc95-r0: # - CVE-2021-30465 # 1.0.0_rc10-r0: # - CVE-2019-19921 # 1.0.0_rc9-r0: # - CVE-2019-16884 # 1.0.0_rc7-r0: # - CVE-2019-5736 export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" build() { make COMMIT="$_commit" make man } package() { install -Dsm755 runc "$pkgdir"/usr/bin/runc install -Dm644 "$builddir"/man/man8/* -t "$pkgdir"/usr/share/man/man8/ } sha512sums=" 020986f2df49c45394d0acbfa4da62663353004550d9b4409f6cfe8369972a090fb8020e4a05342754bde5c1fbe9fcf3868faed2dceed5d54460c3373cdd2278 runc-1.1.9.tar.gz "