From 90c94ffb22325141e6396ba30a0f7e253a2ab69d Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Thu, 23 Jan 2020 21:21:52 -0800 Subject: [PATCH] runc: update to 1.0.0rc10. Fix CVE-2019-19921 See https://github.com/opencontainers/runc/issues/2197 --- srcpkgs/runc/patches/nowhich.patch | 13 +++++++++++++ srcpkgs/runc/template | 6 +++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/runc/patches/nowhich.patch diff --git a/srcpkgs/runc/patches/nowhich.patch b/srcpkgs/runc/patches/nowhich.patch new file mode 100644 index 00000000000..afdd472d6ec --- /dev/null +++ b/srcpkgs/runc/patches/nowhich.patch @@ -0,0 +1,13 @@ +diff --git man/md2man-all.sh man/md2man-all.sh +index f850ddf3..aae189da 100755 +--- man/md2man-all.sh ++++ man/md2man-all.sh +@@ -9,7 +9,7 @@ cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" + pwd + } + +-if ! ( which go-md2man &>/dev/null ); then ++if ! ( command -v go-md2man &>/dev/null ); then + echo "To install man pages, please install 'go-md2man'." + exit 0 + fi diff --git a/srcpkgs/runc/template b/srcpkgs/runc/template index 8097bd39d2d..60cc307e54a 100644 --- a/srcpkgs/runc/template +++ b/srcpkgs/runc/template @@ -1,8 +1,8 @@ # Template file for 'runc' pkgname=runc version=1.0.0 -revision=11 -_subver="rc9" +revision=12 +_subver="rc10" _ver="$version-$_subver" wrksrc="$pkgname-$_ver" build_style=go @@ -15,7 +15,7 @@ maintainer="Paul Knopf " license="Apache-2.0" homepage="https://github.com/opencontainers/runc" distfiles="https://github.com/opencontainers/runc/releases/download/v${_ver}/runc.tar.xz" -checksum=2f1c7ebac67c779affe2bb4370bba44b08ed280144ba58c86219186e303832ba +checksum=c823307ce8695af05381c5c25a92daacd6219c674d8bebaa0e1bff801c2b1f24 post_build() { make man