Diff containerd-2.0.7 with a containerd-2.2.0
| /usr/portage/app-containers/containerd/containerd-2.2.0.ebuild 2026-03-03 11:46:17.120338934 +0300 | ||
|---|---|---|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 |
inherit go-module systemd |
|
| 6 |
GIT_REVISION=fb4c30d4ede3531652d86197bf3fc9515e5276d9 |
|
| 5 |
inherit go-env go-module systemd toolchain-funcs |
|
| 6 |
GIT_REVISION=1c4457e00facac03ce1d75f7b6777a7a851e5c41 |
|
| 7 | 7 | |
| 8 | 8 |
DESCRIPTION="A daemon to control runC" |
| 9 | 9 |
HOMEPAGE="https://containerd.io/" |
| ... | ... | |
| 26 | 26 |
# recommended minimum version of runc is found in script/setup/runc-version |
| 27 | 27 |
RDEPEND=" |
| 28 | 28 |
${COMMON_DEPEND}
|
| 29 |
>=app-containers/runc-1.3.3[apparmor?,seccomp?] |
|
| 29 |
>=app-containers/runc-1.3.0[apparmor?,seccomp?] |
|
| 30 | 30 |
" |
| 31 | 31 | |
| 32 | 32 |
BDEPEND=" |
| ... | ... | |
| 41 | 41 |
default |
| 42 | 42 |
sed -i \ |
| 43 | 43 |
-e "s/-s -w//" \ |
| 44 |
-e "s/-mod=readonly//" \ |
|
| 45 | 44 |
Makefile || die |
| 46 | 45 |
sed -i \ |
| 47 | 46 |
-e "s:/usr/local:/usr:" \ |
| ... | ... | |
| 64 | 63 |
VERSION=v${PV}
|
| 65 | 64 |
) |
| 66 | 65 | |
| 67 |
# race condition in man target https://bugs.gentoo.org/765100 |
|
| 68 |
# we need to explicitly specify GOFLAGS for "go run" to use vendor source |
|
| 69 |
emake "${myemakeargs[@]}" man -j1 #nowarn
|
|
| 66 |
# The Go env is already set, but reset it for CBUILD in a subshell to allow |
|
| 67 |
# building the man pages when cross-compiling. |
|
| 68 |
( |
|
| 69 |
CHOST="${CBUILD}" go-env_set_compile_environment
|
|
| 70 |
# race condition in man target https://bugs.gentoo.org/765100 |
|
| 71 |
tc-env_build emake "${myemakeargs[@]}" man -j1 #nowarn
|
|
| 72 |
) |
|
| 73 | ||
| 70 | 74 |
emake "${myemakeargs[@]}" all
|
| 71 | 75 | |
| 72 | 76 |
} |