aboutsummaryrefslogtreecommitdiffstats
path: root/community/containerd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/containerd/APKBUILD')
-rw-r--r--community/containerd/APKBUILD35
1 files changed, 14 insertions, 21 deletions
diff --git a/community/containerd/APKBUILD b/community/containerd/APKBUILD
index 46a5542d10..f29f2dab1f 100644
--- a/community/containerd/APKBUILD
+++ b/community/containerd/APKBUILD
@@ -4,11 +4,11 @@
pkgname=containerd
# NOTE: containerd's Makefile tries to get REVISION from git, but we're building from a tarball.
-_commit=1e5ef943eb76627a6d3b6de8cd1ef6537f393a71
-pkgver=1.5.8
-pkgrel=0
+_commit=212e8b6fa2f44b9c21b2798135fc6fb7c53efc16
+pkgver=1.6.4
+pkgrel=1
pkgdesc="An open and reliable container runtime"
-url="https://containerd.io"
+url="https://containerd.io/"
arch="all"
license="Apache-2.0"
depends="runc"
@@ -22,9 +22,15 @@ source="containerd-$pkgver.tar.gz::https://github.com/containerd/containerd/arch
containerd.confd
containerd.initd
"
-builddir="$srcdir/src/github.com/containerd/containerd"
+options="net"
# secfixes:
+# 1.6.2-r0:
+# - CVE-2022-24769
+# 1.6.1-r0:
+# - CVE-2022-23648
+# 1.5.9-r0:
+# - CVE-2021-43816
# 1.5.8-r0:
# - CVE-2021-41190
# 1.5.7-r0:
@@ -51,25 +57,12 @@ builddir="$srcdir/src/github.com/containerd/containerd"
# 1.2.6-r0:
# - CVE-2019-9946
-prepare() {
- cd "$srcdir"
- export GOPATH="$PWD"
- mkdir -p "$(dirname "$srcdir/src/github.com/containerd/containerd")"
- ln -s "$PWD/$pkgname-$pkgver" "$builddir"
- cd "$builddir"
-
- default_prepare
-}
+export GOFLAGS="$GOFLAGS -modcacherw -mod=readonly"
build() {
- case "$CARCH" in
- mips64*) buildmode=exe;;
- *) buildmode=pie;;
- esac
-
export GO111MODULE=on
- make VERSION="v$pkgver" REVISION="$_commit" BUILDMODE="$buildmode" \
+ make VERSION="v$pkgver" REVISION="$_commit" BUILDMODE=pie \
EXTRA_LDFLAGS="-s -w"
make man
}
@@ -101,7 +94,7 @@ stress() {
}
sha512sums="
-c769506ff6d98689c46ffee94d70ae00ef2f32e0daac1e631cbe8a587f67c7e4f83eb3895707362bdf46198b61823c99df1d8ca61095ab1415de5596f106fd07 containerd-1.5.8.tar.gz
+a913dbfdcf29faebd5617f64e7c5e62b366cb9c80d0dbf55337121601f3c5b7d19c1670f71e9454513b681a1568c7cd1fc28c5daf3ea1c820279f2a2356ff8c6 containerd-1.6.4.tar.gz
21a9888b684913138ec4a342b0b69e40e9c773ecd329c4e2401a807365586468cb19035583a4fc8b0f86138f5ee4c7fb911c75495263e4b43d2886ea11e0e271 containerd.confd
2818cb9e062a6b75c5e2ad6a076eb26edc9fd9b70356b37f9306d082dc360a2d7bd802531afd8e73998cc0fdaa6ad34cd7a0a1d67bd98ee1bb7f30bab16d6084 containerd.initd
"