aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Buchholz <tomalok@gmail.com>2021-03-07 02:45:11 +0000
committerJake Buchholz <tomalok@gmail.com>2021-03-07 02:45:11 +0000
commit32c4f23765f4af34a77b425bdf61fc40354a59de (patch)
tree81dfccde90a367f28fbf692677c9888a3d36a9e6
parenta99f78e1dd3fe85ad9e335afb5107f471d1b6f2a (diff)
downloadaports-32c4f23765f4af34a77b425bdf61fc40354a59de.tar.gz
aports-32c4f23765f4af34a77b425bdf61fc40354a59de.tar.bz2
aports-32c4f23765f4af34a77b425bdf61fc40354a59de.tar.xz
community/containerd: security update to 1.4.4
Contains a fix for CVE-2021-21334. For more details, see https://github.com/containerd/containerd/releases/tag/v1.4.4
-rw-r--r--community/containerd/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/containerd/APKBUILD b/community/containerd/APKBUILD
index 4aac635534..50f3b2978c 100644
--- a/community/containerd/APKBUILD
+++ b/community/containerd/APKBUILD
@@ -1,15 +1,14 @@
-# Contributor: Jake Buchholz <tomalok@gmail.com>
# Maintainer: Jake Buchholz <tomalok@gmail.com>
pkgname=containerd
# NOTE: containerd's Makefile tries to get REVISION from git, but we're building from a tarball.
-_commit=269548fa27e0089a8b8278fc4fc781d7f65a939b
-pkgver=1.4.3
+_commit=05f951a3781f4f2c1911b05e61c160e9c30eaa8e
+pkgver=1.4.4
pkgrel=0
pkgdesc="An open and reliable container runtime"
url="https://containerd.io"
-arch="all !mips !mips64"
+arch="all"
license="Apache-2.0"
depends="runc"
makedepends="btrfs-progs-dev go go-md2man libseccomp-dev"
@@ -25,6 +24,8 @@ source="containerd-$pkgver.tar.gz::https://github.com/containerd/containerd/arch
builddir="$srcdir/src/github.com/containerd/containerd"
# secfixes:
+# 1.4.4-r0:
+# - CVE-2021-21334
# 1.4.3-r0:
# - CVE-2020-15257
# 1.3.3-r0:
@@ -59,6 +60,8 @@ build() {
*) buildmode=pie;;
esac
+ export GO111MODULE=off
+
make VERSION="v$pkgver" REVISION="$_commit" BUILDMODE="$buildmode" \
EXTRA_LDFLAGS="-s -w"
make man
@@ -92,6 +95,6 @@ stress() {
amove usr/bin/containerd-stress
}
-sha512sums="40501a45c46e4f2f6df1ce9e4142612863b400bb2e804b1e23a0b9f0b1ed3d5c83a6fcce4e70f82a4557ce0f301e2de11cf2935039cb74b8ebec0dc71752406e containerd-1.4.3.tar.gz
+sha512sums="f09930d19f53381d86cf522954458ecc949f15a0c6a49f990bdb61fe19afee075356338998ed84bd756f16ba85211f55f9c638de8b7083d71e24d8e87335e070 containerd-1.4.4.tar.gz
21a9888b684913138ec4a342b0b69e40e9c773ecd329c4e2401a807365586468cb19035583a4fc8b0f86138f5ee4c7fb911c75495263e4b43d2886ea11e0e271 containerd.confd
2818cb9e062a6b75c5e2ad6a076eb26edc9fd9b70356b37f9306d082dc360a2d7bd802531afd8e73998cc0fdaa6ad34cd7a0a1d67bd98ee1bb7f30bab16d6084 containerd.initd"