Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
96e5845
app-admin/logrotate: Sync with Gentoo
Sep 28, 2026
07e6bae
app-arch/gzip: Sync with Gentoo
Sep 28, 2026
b675385
app-containers/conmon: Sync with Gentoo
Sep 28, 2026
726ec45
app-containers/containerd: Sync with Gentoo
Sep 28, 2026
9fb34db
app-containers/containers-shortnames: Sync with Gentoo
Sep 28, 2026
b6d45a3
app-containers/docker: Sync with Gentoo
Sep 28, 2026
588550d
app-containers/docker-buildx: Sync with Gentoo
Sep 28, 2026
1d11884
app-containers/docker-cli: Sync with Gentoo
Sep 28, 2026
8b1e982
app-containers/podman: Sync with Gentoo
Sep 28, 2026
96d404c
app-containers/runc: Sync with Gentoo
Sep 28, 2026
64dee8d
app-crypt/ccid: Sync with Gentoo
Sep 28, 2026
bc8d061
app-crypt/gnupg: Sync with Gentoo
Sep 28, 2026
b8bb1cb
app-editors/vim: Sync with Gentoo
Sep 28, 2026
d92d716
app-editors/vim-core: Sync with Gentoo
Sep 28, 2026
3f2e95d
app-emulation/qemu: Sync with Gentoo
Sep 28, 2026
0312f5c
app-eselect/eselect-pinentry: Sync with Gentoo
Sep 28, 2026
fcf9794
app-portage/gemato: Sync with Gentoo
Sep 28, 2026
3f70393
app-portage/gentoolkit: Sync with Gentoo
Sep 28, 2026
e2b8d26
app-shells/bash: Sync with Gentoo
Sep 28, 2026
fb2f1fc
dev-build/automake: Sync with Gentoo
Sep 28, 2026
c7dd60d
dev-build/automake-wrapper: Sync with Gentoo
Sep 28, 2026
77693d0
dev-build/cmake: Sync with Gentoo
Sep 28, 2026
7fc1bfb
dev-build/libtool: Sync with Gentoo
Sep 28, 2026
d9ab745
dev-build/meson: Sync with Gentoo
Sep 28, 2026
be267ee
dev-build/ninja: Sync with Gentoo
Sep 28, 2026
e9a6764
dev-debug/gdb: Sync with Gentoo
Sep 28, 2026
d132373
dev-debug/strace: Sync with Gentoo
Sep 28, 2026
7584f59
dev-lang/go: Sync with Gentoo
Sep 28, 2026
db60557
dev-lang/perl: Sync with Gentoo
Sep 28, 2026
f806923
dev-lang/swig: Sync with Gentoo
Sep 28, 2026
29d2550
dev-libs/elfutils: Sync with Gentoo
Sep 28, 2026
35deffc
dev-libs/expat: Sync with Gentoo
Sep 28, 2026
694d981
dev-libs/gmp: Sync with Gentoo
Sep 28, 2026
62b5d44
dev-libs/libltdl: Sync with Gentoo
Sep 28, 2026
bf43bc2
dev-libs/libp11: Sync with Gentoo
Sep 28, 2026
448a8c6
dev-libs/libusb: Sync with Gentoo
Sep 28, 2026
528ec7b
dev-libs/openssl: Sync with Gentoo
Sep 28, 2026
38f491e
dev-libs/tree-sitter: Sync with Gentoo
Sep 28, 2026
97f4bd2
dev-libs/xmlsec: Sync with Gentoo
Sep 28, 2026
3fd5ed9
dev-python/charset-normalizer: Sync with Gentoo
Sep 28, 2026
f87221e
dev-python/crcmod: Sync with Gentoo
Sep 28, 2026
4b6b916
dev-python/cryptography: Sync with Gentoo
Sep 28, 2026
0036681
dev-python/cython: Sync with Gentoo
Sep 28, 2026
9cbeeab
dev-python/dependency-groups: Sync with Gentoo
Sep 28, 2026
96d2c2e
dev-python/fastjsonschema: Sync with Gentoo
Sep 28, 2026
528a9b3
dev-python/flit-core: Sync with Gentoo
Sep 28, 2026
ef41582
dev-python/gpep517: Sync with Gentoo
Sep 28, 2026
27d88e6
dev-python/hatchling: Sync with Gentoo
Sep 28, 2026
a96c31a
dev-python/idna: Sync with Gentoo
Sep 28, 2026
f09bd4b
dev-python/linkify-it-py: Sync with Gentoo
Sep 28, 2026
7daac50
dev-python/lxml: Sync with Gentoo
Sep 28, 2026
4925618
dev-python/msgpack: Sync with Gentoo
Sep 28, 2026
61f0b9f
dev-python/platformdirs: Sync with Gentoo
Sep 28, 2026
e41ddc7
dev-python/poetry-core: Sync with Gentoo
Sep 28, 2026
3b6c0ec
dev-python/pygments: Sync with Gentoo
Sep 28, 2026
f018caf
dev-python/pyproject-hooks: Sync with Gentoo
Sep 28, 2026
36b1ded
dev-python/setuptools-scm: Sync with Gentoo
Sep 28, 2026
5158ccd
dev-python/snakeoil: Sync with Gentoo
Sep 28, 2026
1aecb2a
dev-python/tree-sitter: Sync with Gentoo
Sep 28, 2026
014bb4a
dev-python/trove-classifiers: Sync with Gentoo
Sep 28, 2026
9f85e70
dev-python/urllib3: Sync with Gentoo
Sep 28, 2026
46f73fb
dev-python/vcs-versioning: Sync with Gentoo
Sep 28, 2026
dc9a9b9
dev-util/maturin: Sync with Gentoo
Sep 28, 2026
62448ee
dev-util/pahole: Sync with Gentoo
Sep 28, 2026
7075e18
dev-util/pkgcheck: Sync with Gentoo
Sep 28, 2026
0ba733a
dev-util/xdelta: Sync with Gentoo
Sep 28, 2026
9537d49
eclass/acct-group: Sync with Gentoo
Sep 28, 2026
f5fd73b
eclass/acct-user: Sync with Gentoo
Sep 28, 2026
1697002
eclass/autotools: Sync with Gentoo
Sep 28, 2026
f62e6fe
eclass/cargo: Sync with Gentoo
Sep 28, 2026
34dc290
eclass/edo: Sync with Gentoo
Sep 28, 2026
cec345e
eclass/tree-sitter-grammar: Sync with Gentoo
Sep 28, 2026
9965f3c
eclass/verify-sig: Sync with Gentoo
Sep 28, 2026
768b745
licenses: Sync with Gentoo
Sep 28, 2026
ae228ae
net-analyzer/tcpdump: Sync with Gentoo
Sep 28, 2026
876cc9c
net-dns/bind: Sync with Gentoo
Sep 28, 2026
e60280a
net-dns/dnsmasq: Sync with Gentoo
Sep 28, 2026
1d1bbec
net-fs/nfs-utils: Sync with Gentoo
Sep 28, 2026
ef4a20a
net-fs/samba: Sync with Gentoo
Sep 28, 2026
e5734a7
net-misc/openssh: Sync with Gentoo
Sep 28, 2026
84d998a
net-misc/passt: Sync with Gentoo
Sep 28, 2026
ff82cb9
net-misc/rsync: Sync with Gentoo
Sep 28, 2026
781db6d
profiles: Sync with Gentoo
Sep 28, 2026
edc781b
sys-apps/bubblewrap: Sync with Gentoo
Sep 28, 2026
cd107da
sys-apps/busybox: Sync with Gentoo
Sep 28, 2026
331171b
sys-apps/coreutils: Sync with Gentoo
Sep 28, 2026
71c5271
sys-apps/dbus: Sync with Gentoo
Sep 28, 2026
7c3a568
sys-apps/less: Sync with Gentoo
Sep 28, 2026
f3b01e7
sys-apps/pcsc-lite: Sync with Gentoo
Sep 28, 2026
e339a7e
sys-apps/pkgcore: Sync with Gentoo
Sep 28, 2026
8ac9902
sys-apps/portage: Sync with Gentoo
Sep 28, 2026
4d56dcc
sys-apps/pv: Sync with Gentoo
Sep 28, 2026
426c60d
sys-apps/shadow: Sync with Gentoo
Sep 28, 2026
8412c0d
sys-apps/systemd: Sync with Gentoo
Sep 28, 2026
a3b9a84
sys-auth/pambase: Sync with Gentoo
Sep 28, 2026
630832a
sys-boot/grub: Sync with Gentoo
Sep 28, 2026
3c04977
sys-devel/binutils: Sync with Gentoo
Sep 28, 2026
69a4835
sys-devel/gcc: Sync with Gentoo
Sep 28, 2026
3c2811c
sys-firmware/intel-microcode: Sync with Gentoo
Sep 28, 2026
55a9078
sys-fs/fuse: Sync with Gentoo
Sep 28, 2026
468c306
sys-fs/inotify-tools: Sync with Gentoo
Sep 28, 2026
5bcda1e
sys-fs/xfsprogs: Sync with Gentoo
Sep 28, 2026
9730eb8
sys-libs/binutils-libs: Sync with Gentoo
Sep 28, 2026
097d463
sys-libs/glibc: Sync with Gentoo
Sep 28, 2026
9552862
sys-libs/libunwind: Sync with Gentoo
Sep 28, 2026
3dc1f04
sys-libs/liburing: Sync with Gentoo
Sep 28, 2026
0ce94f7
sys-libs/ncurses: Sync with Gentoo
Sep 28, 2026
cc29449
sys-libs/readline: Sync with Gentoo
Sep 28, 2026
4059476
sys-libs/talloc: Sync with Gentoo
Sep 28, 2026
e55df95
sys-libs/tevent: Sync with Gentoo
Sep 28, 2026
203b06b
virtual/acl: Sync with Gentoo
Sep 28, 2026
ef975b4
virtual/editor: Sync with Gentoo
Sep 28, 2026
7f57e34
virtual/perl-Encode: Sync with Gentoo
Sep 28, 2026
be66fff
virtual/perl-ExtUtils-MakeMaker: Sync with Gentoo
Sep 28, 2026
3d04ce8
virtual/tmpfiles: Sync with Gentoo
Sep 28, 2026
358854f
x11-drivers/nvidia-drivers: Sync with Gentoo
Sep 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ else
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz"
SRC_URI+=" verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz.asc )"

KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"

BDEPEND="verify-sig? ( sec-keys/openpgp-keys-cgzones )"
fi
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
DIST gzip-1.14.tar.xz 885748 BLAKE2B 32f7241bd9f3b7f73a59905a5bc9abf4e360e787f692cbb00ad28d48abee52744846d10c07ce2f7aaa3e66bc4b6ab9cd4f1b8e98854bb7d1ec010ae0d5146932 SHA512 82aef53188b3e69b51b7ddab5b8c44a11a5b73c0039b22a315a0c7d244694feab0146748add4265901eb1b4c0cee8a9eb69594995f098830d964091af97079c5
DIST gzip-1.14.tar.xz.sig 833 BLAKE2B a13ade68035fe32d69c24a1b5791ae6d7163cbbbebda396b4c773f2dc82ea6c619a44c39adc53dcd8fff094962a1c2dddfabfc7ec2cf54561202ef9a2be325ae SHA512 a5abd09e3b7bda8d87e5af7d2bd943e6021272cb0b6aa05625ddfeae45838aede1ffd91d7e0cb4e170f7f3078035f735f8441bc15cc115c51d302e0a11be44cf
DIST gzip-1.14_p20260502.tar.xz 829092 BLAKE2B fc98853530b4c0e52f1276cf07969acaa42434773d62375d4048fe17b5984ae316ffb8d0ffa949bb5e772adbcab477a79890fc79f1ac4387dd9b2d5e29c337be SHA512 5507ea6ac68ed7c0f4eaf17e6016800a6df597aa9015f91b5c1ca1422f9edd0a8b714c29e7678bfa57a2f45f220ae2ca4e94f1d3dff2b2a7a2cd602e93b364ef
DIST gzip-1.14_p20260502.tar.xz.sig 833 BLAKE2B 13c0c9f39f8ff3e210a772c0ce83bfb2f9f2fabf73ea505dd4f16b80be8b8c3c1eb8f8916ee71c1ac1d562c71a5ca6d6fa522b4624b16e7a6eb67c654f66cd70 SHA512 48816f0d47e44e13b841937f70a4479a5a912ad1bf150640c8e157010853381806af2a1ba8959eced17c630abf9ae6e22f041bb4bed856a6b93f213b3210378a
DIST gzip-1.14_p20260901.tar.xz 834840 BLAKE2B e78aff73b626d3a68ac84ebe590a6a2d67c106aaf7a7ffe1195131322f9ce3fe5fc35a12de4950b29bda4aaf684f8e829425e79186b525544b2c7e0abac45bec SHA512 b2ff6352f819c14de98e87ab5ce54d21b6201d3a00c90163ca769cd72de6a636a8d50b7576e63a963f219820605a43e3744dbfca251f6755f8d62de75575b55a
DIST gzip-1.14_p20260901.tar.xz.sig 833 BLAKE2B 503c5ab9607658fa48ce857155563a0b264d2a398b84e2814cb537bb9d351471dd86743ec98b60f17f76b2365edd785363709e2883a540661d5f93b358a11857 SHA512 35c78a77f2f40e330f5950e028452e488f2758347e3c09b711c540a9bf1f4d289e617b07060b39c640f79827a321f5ed9f2c72d1791b6e4a98678ca1ed96e3a9
DIST gzip-1.15.tar.xz 808900 BLAKE2B efa81df3df766502c5ffde551570b568c73d3b2ad0b2c76bd79b0ed5cea4deb5e0a3d803b942a078efdc4df9cde355863aadc51752498a9e7dec8737be559850 SHA512 4a2ff92df8a49e1bbcbf65c3a70434660ad02f084d1b453f7dcaa8ee84f248cc4bb06f62bd8e57fea1e05ba1275c7c584ce97a58856e4ca6105f6417c8efbc3c
DIST gzip-1.15.tar.xz.sig 833 BLAKE2B 76876e384194c5d4ea4f57932395d8ceecfea0a8c1b221b85fd4b2087d2acc9298a88ea0d9f257f61eb05dd691caf6cb5f20520a678f3d457140413f328424a1 SHA512 11876f760d3867fabe4e104b0adb4f08c9867b2470f6428dedd8a4f5eb68160e4f8410a46d397e7596afc99b562eab4381f197ede5305c9cca401d122c2583c2
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
https://bugs.gentoo.org/983039
https://cgit.git.savannah.gnu.org/cgit/gzip.git/commit/?id=b4ed8e73401968bcad749afb0e636dd3ec205ca7

From b4ed8e73401968bcad749afb0e636dd3ec205ca7 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@meta.com>
Date: Mon, 21 Sep 2026 01:42:18 -0700
Subject: build: avoid failure to build on linux aarch64

* gzip.c: Include gzip.h only after all system headers.
gzip.h's "head" definition affected a subsequent signal.h-
included system struct member named "head".
Reported by Adam Sampson in https://bugs.gnu.org/81904
---
gzip.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gzip.c b/gzip.c
index 220f6fc..6c0af7f 100644
--- a/gzip.c
+++ b/gzip.c
@@ -58,7 +58,6 @@ static char const license_msg[] =

#include "tailor.h"

-#include "gzip.h"
#include "lzw.h"
#include "revision.h"
#include "version.h"
@@ -99,6 +98,11 @@ static char const license_msg[] =
# include <utimens.h>
#endif

+/* Include this only after all system headers. Otherwise, its definition
+ of "head" conflicts with member names in linux-headers 7.2.6's
+ asm/sigcontext.h pulled in via <signal.h>. */
+#include "gzip.h"
+
#ifndef MAX_PATH_LEN
# define MAX_PATH_LEN 1024 /* max pathname length */
#endif
--
cgit v1.3
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fi
LICENSE="GPL-3+"
SLOT="0"
if [[ ${PV} != *_p* ]] ; then
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
fi
IUSE="pic static"

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ PDEPEND="

PATCHES=(
"${FILESDIR}/${PN}-1.3.8-install-symlinks.patch"
"${FILESDIR}/${P}-arm64.patch"
)

src_configure() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="https://github.com/containers/conmon.git"
else
SRC_URI="https://github.com/containers/conmon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv"
KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv"
fi

LICENSE="Apache-2.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ DIST containerd-2.3.2.tar.gz 11653431 BLAKE2B eae465cfa0f2a3a4bb231dcf9e18b93e96
DIST containerd-2.3.3.tar.gz 11655312 BLAKE2B 9ddc68a0e6c0dd844e6f27a3df4e4e2c461ba1feb473f76b3da4f1d23a25bd6c159695d57a9775d8d638c2bd353a622eb8462124015f993008c763b7d2809473 SHA512 a2a8a30d5251b5d0f9be75f44972509e05ce2b206c3b488b8fb15828e44982aeec6c54cfb65ddc3309c974293496f77b096f0c2ee541b3ece8ef81f36abec6b8
DIST containerd-2.3.4.tar.gz 11667896 BLAKE2B ad83ac029cefa3cb2dcc5989450cc00cfa51f0d9d8b08427da1bb09c59e2582df111cfe28356f31a52927aafe6a23e1caa88c6b2b9247b4c0241f6c97d6a1086 SHA512 cf8be1759399fb9e3b7c84d353a876b8f599b74fb3094a288333cf0b61a743b74484cbde7eab96576b214c92caf7de65ef94813bb3670e079585c371a438f6b4
DIST containerd-2.3.5.tar.gz 11672104 BLAKE2B e2d39989c58f5b0c932421d4d18785917d8f96567bb9db692cc1974efd56e7437a9f5d414f13c8f948233a574447c305b86093b50b0e43d099ada8a32cec7134 SHA512 87255f36b2b2fb5fc2cb7abaadae33c2ea85b5f7a1259c8c52cc3cf3efffa64525886a220eadf804b7c6414babe7310d39fddc6a24e79b707770fb621323f5c8
DIST containerd-2.4.0.tar.gz 12210495 BLAKE2B 04f0c1426798ef95702405f47eb906893c4add2785bb6d67b35641da6295a37cea707c7cdac86b35eb36dae89eb180a8c2ca6bf7b4560df30e32a940924ee02f SHA512 4f1a502d1395a44acb0794a3d149339b3cc1b52e2152cd58f56882c28fa15e62ab92852fdc3c4aa4cccbbb5cb14bd1c1571ea64e04dc51d977708af0762703f0
DIST containerd-2.4.1.tar.gz 12224988 BLAKE2B c785caf86fcb29a2ba5d0f359ac564e6cc5e9b80e776a37a8a9df6830b7b1ddb5daf0a12fa37e5240f7af66b6a2dd299096ec8db0bc3a805b15b31ed56efb08c SHA512 3ffa0277beec1e51cd2b0aebd83edec710eccbd9264b952a6ae269d28a397febc56cdc0703b3ed754c2213d439a2e4628d592cc9a089e4c2641781603c136c5c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SRC_URI="https://github.com/containerd/containerd/archive/v${PV}.tar.gz -> ${P}.

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv ~x86"
IUSE="apparmor btrfs device-mapper +cri +seccomp selinux test"
# tests require root or docker
RESTRICT="test"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-env go-module systemd toolchain-funcs

GIT_REVISION=a7fe631d96c08fb14cf8eff0afdc280e99c30a94

DESCRIPTION="A daemon to control runC"
HOMEPAGE="https://containerd.io/"
SRC_URI="https://github.com/containerd/containerd/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
IUSE="apparmor btrfs device-mapper +cri +seccomp selinux test"
# tests require root or docker
RESTRICT="test"

DEPEND="
btrfs? ( sys-fs/btrfs-progs )
seccomp? ( sys-libs/libseccomp )
"
# recommended minimum version of runc is found in script/setup/runc-version
RDEPEND="${DEPEND}
>=app-containers/runc-1.4.3[apparmor?,seccomp?]
selinux? ( sec-policy/selinux-docker )
"
BDEPEND="
dev-go/go-md2man
>=dev-lang/go-1.26.6
virtual/pkgconfig
"

src_prepare() {
default
sed -i \
-e "s/-s -w//" \
Makefile || die
sed -i \
-e "s:/usr/local:/usr:" \
containerd.service || die
}

src_compile() {
local options=(
$(usev apparmor)
$(usex btrfs "" "no_btrfs")
$(usex cri "" "no_cri")
$(usex device-mapper "" "no_devmapper")
$(usev seccomp)
$(usev selinux)
)

local myemakeargs=(
BUILDTAGS="${options[*]}"
REVISION="${GIT_REVISION}"
VERSION=v${PV}
)

emake "${myemakeargs[@]}" all

# race condition in man target https://bugs.gentoo.org/765100
tc-env_build go-env_run emake "${myemakeargs[@]}" man -j1 #nowarn
}

src_install() {
rm bin/gen-manpages || die
dobin bin/*
doman man/*
newconfd "${FILESDIR}"/${PN}.confd "${PN}"
newinitd "${FILESDIR}"/${PN}.initd "${PN}"
systemd_dounit containerd.service
keepdir /var/lib/containerd

# we already installed manpages, remove markdown source
# before installing docs directory
rm -r docs/man || die

local DOCS=( ADOPTERS.md README.md RELEASES.md ROADMAP.md SCOPE.md docs/. )
einstalldocs
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-env go-module systemd toolchain-funcs

GIT_REVISION=f2551031d7276a770f65f98c9b52e57e7dad07e8

DESCRIPTION="A daemon to control runC"
HOMEPAGE="https://containerd.io/"
SRC_URI="https://github.com/containerd/containerd/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
IUSE="apparmor btrfs device-mapper +cri +seccomp selinux test"
# tests require root or docker
RESTRICT="test"

DEPEND="
btrfs? ( sys-fs/btrfs-progs )
seccomp? ( sys-libs/libseccomp )
"
# recommended minimum version of runc is found in script/setup/runc-version
RDEPEND="${DEPEND}
>=app-containers/runc-1.4.3[apparmor?,seccomp?]
selinux? ( sec-policy/selinux-docker )
"
BDEPEND="
dev-go/go-md2man
>=dev-lang/go-1.26.6
virtual/pkgconfig
"

src_prepare() {
default
sed -i \
-e "s/-s -w//" \
Makefile || die
sed -i \
-e "s:/usr/local:/usr:" \
containerd.service || die
}

src_compile() {
local options=(
$(usev apparmor)
$(usex btrfs "" "no_btrfs")
$(usex cri "" "no_cri")
$(usex device-mapper "" "no_devmapper")
$(usev seccomp)
$(usev selinux)
)

local myemakeargs=(
BUILDTAGS="${options[*]}"
REVISION="${GIT_REVISION}"
VERSION=v${PV}
)

emake "${myemakeargs[@]}" all

# race condition in man target https://bugs.gentoo.org/765100
tc-env_build go-env_run emake "${myemakeargs[@]}" man -j1 #nowarn
}

src_install() {
rm bin/gen-manpages || die
dobin bin/*
doman man/*
newconfd "${FILESDIR}"/${PN}.confd "${PN}"
newinitd "${FILESDIR}"/${PN}.initd "${PN}"
systemd_dounit containerd.service
keepdir /var/lib/containerd

# we already installed manpages, remove markdown source
# before installing docs directory
rm -r docs/man || die

local DOCS=( ADOPTERS.md README.md RELEASES.md ROADMAP.md SCOPE.md docs/. )
einstalldocs
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [[ ${PV} == 9999* ]]; then
else
SRC_URI="https://github.com/containers/shortnames/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN#containers-}-${GIT_COMMIT}"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390"
fi

LICENSE="Apache-2.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ DIST docker-buildx-0.34.1.tar.gz 15417849 BLAKE2B b302d1f2331ba7f76c79358be19743
DIST docker-buildx-0.35.0.tar.gz 15243338 BLAKE2B d5529d81cd2745366e46da1f805da6b4b47a4002260c5f351cddafbba4cc55fbad3be182e94d89453de62fdda3adc7bde2713010122439ce72a7cc53e49b3f6f SHA512 208251fe59d016bbb1d34abacab4813169577c474ad62f47afdcce4f2484e8535a452bfa0b8dbadc465590cae935896bfeec2263934262cdb769a27b59b4c5de
DIST docker-buildx-0.36.1.tar.gz 15022684 BLAKE2B c927c4e310cd72a9cbffb00d637e0c596828ea1ad1aee8725cdaa9163dc100a35c0898b25f7123ed1c926006f7b3e632c4b579eeeeb296cd25b331f9e7d64699 SHA512 669a1fa58570f56dfc6d5a0cf79f09e5a326b997a26a79e9bdbc263b1b847200d6bcc8fa1a37be43a77573d32c04d093959ec793cfd503cef524cbfdb9332339
DIST docker-buildx-0.37.0.tar.gz 15139877 BLAKE2B 2f0048fc2878054104168eb9e1117c987c6fb44be3f929e5a52bc1554c2c97f91898f35049a74b8320c3ae77ee0a1ffe661fcdd2c28b969ebce33d16659b16c4 SHA512 9b82b4b6e6f27a364dda89c3dcc936db78a49750c7cdc527641f04c736d8987a4efbde9614a91ea151772c9b9d01959ce51de5c6d144820b18b7e3244695bece
DIST docker-buildx-0.37.1.tar.gz 15141432 BLAKE2B aa3459115826a0fb07a8858052fa8f4e0f7150f23bd5043bd33b90dad9e6c8b8db104d2f75e4d7bc869ae55ca4124d74bd6367371ca9140fe7fefa0aa20cbd73 SHA512 f53f849dd4b71353dccc70864aa9a969397c598ea91f7610046b3ed322360ed6793dd321f05043c36417bf7327c4101f330400a53b466fb205c7493f433af814
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="https://github.com/docker/buildx.git"
else
SRC_URI="https://github.com/docker/buildx/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv ~x86"
S=${WORKDIR}/${P#docker-}
fi

Expand Down
Loading