Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
742f097
app-arch/xz-utils: Sync with Gentoo
Sep 29, 2025
2204330
app-containers/containerd: Sync with Gentoo
Sep 29, 2025
8e0dd69
app-containers/crun: Sync with Gentoo
Sep 29, 2025
5dfdbf2
app-containers/docker: Sync with Gentoo
Sep 29, 2025
ac54a6d
app-containers/docker-cli: Sync with Gentoo
Sep 29, 2025
51082bb
app-containers/netavark: Sync with Gentoo
Sep 29, 2025
abf8172
app-containers/runc: Sync with Gentoo
Sep 29, 2025
7ee0323
app-crypt/p11-kit: Sync with Gentoo
Sep 29, 2025
649340e
app-editors/nano: Sync with Gentoo
Sep 29, 2025
2281680
app-editors/vim: Sync with Gentoo
Sep 29, 2025
d22e73a
app-shells/bash: Sync with Gentoo
Sep 29, 2025
9d1e9ac
dev-build/cmake: Sync with Gentoo
Sep 29, 2025
f255340
dev-build/libtool: Sync with Gentoo
Sep 29, 2025
229fe5d
dev-build/meson: Sync with Gentoo
Sep 29, 2025
5ce8b6e
dev-cpp/glog: Sync with Gentoo
Sep 29, 2025
d1c829e
dev-db/sqlite: Sync with Gentoo
Sep 29, 2025
b3843a9
dev-lang/python: Sync with Gentoo
Sep 29, 2025
f83e76f
dev-lang/rust: Sync with Gentoo
Sep 29, 2025
312808d
dev-lang/rust-bin: Sync with Gentoo
Sep 29, 2025
32a4ffb
dev-lang/rust-common: Sync with Gentoo
Sep 29, 2025
28ac0cb
dev-libs/cJSON: Sync with Gentoo
Sep 29, 2025
ac12785
dev-libs/expat: Sync with Gentoo
Sep 29, 2025
1213ec1
dev-libs/glib: Sync with Gentoo
Sep 29, 2025
8aef3f2
dev-libs/gobject-introspection-common: Sync with Gentoo
Sep 29, 2025
144a07b
dev-libs/libltdl: Sync with Gentoo
Sep 29, 2025
0b5852e
dev-libs/libxml2: Sync with Gentoo
Sep 29, 2025
5420568
dev-libs/openssl: Sync with Gentoo
Sep 29, 2025
4fda1e1
dev-libs/protobuf: Sync with Gentoo
Sep 29, 2025
6c361e6
dev-libs/tree-sitter-bash: Sync with Gentoo
Sep 29, 2025
d2fdf61
dev-python/cryptography: Sync with Gentoo
Sep 29, 2025
25c792b
dev-python/cython: Sync with Gentoo
Sep 29, 2025
02d5160
dev-python/docutils: Sync with Gentoo
Sep 29, 2025
ac046a1
dev-python/fasteners: Sync with Gentoo
Sep 29, 2025
f0f5387
dev-python/fastjsonschema: Sync with Gentoo
Sep 29, 2025
6db243a
dev-python/jaraco-functools: Sync with Gentoo
Sep 29, 2025
7fcd178
dev-python/lark: Sync with Gentoo
Sep 29, 2025
b6b79c1
dev-python/lazy-object-proxy: Sync with Gentoo
Sep 29, 2025
fda9261
dev-python/lxml: Sync with Gentoo
Sep 29, 2025
ba3dd3e
dev-python/markdown-it-py: Sync with Gentoo
Sep 29, 2025
0cab7aa
dev-python/markupsafe: Sync with Gentoo
Sep 29, 2025
27e1ccd
dev-python/platformdirs: Sync with Gentoo
Sep 29, 2025
392ee55
dev-python/poetry-core: Sync with Gentoo
Sep 29, 2025
a7d85be
dev-python/requests: Sync with Gentoo
Sep 29, 2025
c046ae9
dev-python/typing-extensions: Sync with Gentoo
Sep 29, 2025
3aede24
dev-util/bpftool: Sync with Gentoo
Sep 29, 2025
71ca238
dev-util/gdbus-codegen: Sync with Gentoo
Sep 29, 2025
5efaad0
dev-util/glib-utils: Sync with Gentoo
Sep 29, 2025
c254cb4
dev-util/maturin: Sync with Gentoo
Sep 29, 2025
72d820a
dev-util/pkgcheck: Sync with Gentoo
Sep 29, 2025
bbaaacd
licenses: Sync with Gentoo
Sep 29, 2025
9352d6d
net-firewall/nftables: Sync with Gentoo
Sep 29, 2025
05010ef
net-fs/samba: Sync with Gentoo
Sep 29, 2025
6cfb0b9
net-libs/libmicrohttpd: Sync with Gentoo
Sep 29, 2025
de3b3d3
net-libs/nghttp2: Sync with Gentoo
Sep 29, 2025
c9ca654
net-misc/curl: Sync with Gentoo
Sep 29, 2025
bfadca2
net-misc/openssh: Sync with Gentoo
Sep 29, 2025
ba63d34
net-misc/passt: Sync with Gentoo
Sep 29, 2025
292fe61
profiles: Sync with Gentoo
Sep 29, 2025
45b2cd4
sys-apps/coreutils: Sync with Gentoo
Sep 29, 2025
ef3db3c
sys-apps/dbus: Sync with Gentoo
Sep 29, 2025
34a3fae
sys-apps/file: Sync with Gentoo
Sep 29, 2025
f16c6de
sys-apps/findutils: Sync with Gentoo
Sep 29, 2025
887e9af
sys-apps/grep: Sync with Gentoo
Sep 29, 2025
0ef581a
sys-apps/hwdata: Sync with Gentoo
Sep 29, 2025
3823ff5
sys-apps/kbd: Sync with Gentoo
Sep 29, 2025
a71aada
sys-apps/locale-gen: Sync with Gentoo
Sep 29, 2025
665ccb5
sys-apps/portage: Sync with Gentoo
Sep 29, 2025
280e598
sys-apps/sed: Sync with Gentoo
Sep 29, 2025
069f163
sys-apps/util-linux: Sync with Gentoo
Sep 29, 2025
592fa7e
sys-auth/polkit: Sync with Gentoo
Sep 29, 2025
8d8582e
sys-auth/sssd: Sync with Gentoo
Sep 29, 2025
43e5649
sys-devel/binutils: Sync with Gentoo
Sep 29, 2025
2fb1069
sys-devel/gcc: Sync with Gentoo
Sep 29, 2025
ec4904a
sys-fs/btrfs-progs: Sync with Gentoo
Sep 29, 2025
1d9cd07
sys-fs/cryptsetup: Sync with Gentoo
Sep 29, 2025
02950a4
sys-fs/e2fsprogs: Sync with Gentoo
Sep 29, 2025
61d33ff
sys-fs/fuse: Sync with Gentoo
Sep 29, 2025
fe80f95
sys-fs/inotify-tools: Sync with Gentoo
Sep 29, 2025
27f078f
sys-fs/squashfs-tools: Sync with Gentoo
Sep 29, 2025
32d0151
sys-kernel/dracut: Sync with Gentoo
Sep 29, 2025
3530c65
sys-libs/binutils-libs: Sync with Gentoo
Sep 29, 2025
d3105d5
sys-libs/glibc: Sync with Gentoo
Sep 29, 2025
d0e4682
sys-libs/readline: Sync with Gentoo
Sep 29, 2025
ed30a39
sys-libs/talloc: Sync with Gentoo
Sep 29, 2025
c40dcbb
sys-libs/tdb: Sync with Gentoo
Sep 29, 2025
4f13f20
sys-libs/tevent: Sync with Gentoo
Sep 29, 2025
77cbcb3
virtual/ldb: Sync with Gentoo
Sep 29, 2025
86b11ac
x11-drivers/nvidia-drivers: Sync with Gentoo
Sep 29, 2025
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 @@ -68,9 +68,7 @@ src_prepare() {
src_configure() {
use static-libs && lto-guarantee-fat

if tc-ld-is-lld ; then
export LDFLAGS="${LDFLAGS} -Wl,--undefined-version"
fi
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)

multilib-minimal_src_configure
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ DIST containerd-2.0.4.tar.gz 10450939 BLAKE2B f82ed40eab0f1d186f4fb04217b8f75a9d
DIST containerd-2.0.5.tar.gz 10452563 BLAKE2B bf03316c9211eaa17a3b40b1fc9f9aca42fe3e621e086e612eb07c286c6b62bc7a0a2426ce7b6742dce2924d570ab599aefb43463c4fa6be277e562bad79668f SHA512 af89a5c9ad5f931c5fee33c75c13c296fc9ec966f2c64ec244897695eebb365bcb542f6b431e60d4ef7213f0ea11d3a8896d1b7f033ed445e6b521b7ddbffe6f
DIST containerd-2.1.0.tar.gz 10610618 BLAKE2B 147c21b4650543af9b0e533e381a0505ba927d6e9270b9b03a09016eb3ccf29875db7fa274944fea2ff7b029b6a05a17d14c61e24b5f3426b31f320831eeb46a SHA512 e9bb128917bb6b2e21a8e05344af3fdcdda8620be20e54407bc2c73046278a88a77bcbed6ef7a59099c9ee3303283db46b90b71afdd45236d3c534749ba844e0
DIST containerd-2.1.1.tar.gz 10610787 BLAKE2B acc2d769752c783643795d228c0d267b0802e09166dc783e84087da0029a822a64688f5e59c047c47b25f50ca2a1ccb7f5b6216ad6beeb4489df308e525e9716 SHA512 542f7cae61e1ef2e1b529b0bea66d7ad9016d4605de73de9c9c8a738e50ec6f470b939d1546482320515b77424bffe1cf24b721173ac0c0ecd0100c92817cfb1
DIST containerd-2.1.4.tar.gz 10614131 BLAKE2B b8f4007b4bb368a1fa04c913d606f65d2ea4a17a6419ce12f2b6112eee2574d7a09fb8e2500d1c2f21bef8792dc047df4d63446211ae006662e616facda91f24 SHA512 a9f84784e917621ee5ea38ad20b8106e642fbf463a00d319b73a1a8e4d1fdd5be2fba0789b6a5d31107ef239d3713eced99ce979d4b2764714271a63c0936c15
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Copyright 2022-2025 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=75cb2b7193e4e490e9fbdc236c0e811ccaba3376

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 hardened +seccomp selinux test"

COMMON_DEPEND="
btrfs? ( sys-fs/btrfs-progs )
seccomp? ( sys-libs/libseccomp )
"

DEPEND="
${COMMON_DEPEND}
"

# recommended minimum version of runc is found in script/setup/runc-version
RDEPEND="
${COMMON_DEPEND}
>=app-containers/runc-1.3.0[apparmor?,seccomp?]
"

BDEPEND="
dev-go/go-md2man
virtual/pkgconfig
"

# tests require root or docker
RESTRICT+="test"

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)
)

myemakeargs=(
BUILDTAGS="${options[*]}"
LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')"
REVISION="${GIT_REVISION}"
VERSION=v${PV}
)

# The Go env is already set, but reset it for CBUILD in a subshell to allow
# building the man pages when cross-compiling.
(
CHOST="${CBUILD}" go-env_set_compile_environment
# race condition in man target https://bugs.gentoo.org/765100
tc-env_build emake "${myemakeargs[@]}" man -j1 #nowarn
)

emake "${myemakeargs[@]}" all

}

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 @@ -15,7 +15,7 @@ if [[ "${PV}" == *9999* ]]; then
EGIT_REPO_URI="https://github.com/containers/${PN}.git"
else
SRC_URI="https://github.com/containers/${PN}/releases/download/${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv"
KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv"
fi

LICENSE="GPL-2+ LGPL-2.1+"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ DIST docker-cli-28.1.1-man.tar.xz 69976 BLAKE2B 497c0874a5ed72c3d2dff6c77b687f01
DIST docker-cli-28.1.1.tar.gz 7518124 BLAKE2B 2d9a1b620d4cffa718571cef9aa1825b57600630624715ccdae50a1bbcc44821d599ea2f6e6c66628434740904d53218e101f69b4fd0865b4197ef19d9c2d4fe SHA512 39ff5f982779b70311d4fce5f829e52199b058cedf92c0e650786a52004edbf3935f8673db98527affc57f0e33be435f8a8af624c2e06f28c7f8f405ed570746
DIST docker-cli-28.2.2-man.tar.xz 69888 BLAKE2B bee8b296ee94c57c34cfa268fde015aff15b6b269905275d47cce73ab94c7bed7edc9ba4d5b9d730dea78d149306736e14186c8a9c782047094511771ec8d105 SHA512 ce608b60915a0b7b15302260ec500b433ba6c9174fa82b34a4ae8ad7bb9d2f6abe45d4e43c0e3978b2f5bb440425e08d416ab9f613cdf64eb6294254765aa37b
DIST docker-cli-28.2.2.tar.gz 7531638 BLAKE2B cb7d2766e4a6c444169f8462379b8524e0433a29541837c1acbefa62f4b303b6ce1dd629fbb2ed6e154ea51b72ac17c8452284a5e26c9716217e8cbf169374bb SHA512 1ba62398322c65e6994c0c6821b912c9a9b215083593d63557c5255064c407bd25f72044336ebb19977fe6d03215ec47174c6617890a817b9e34ed010535fb6b
DIST docker-cli-28.4.0.tar.gz 7612765 BLAKE2B acfa0ee4cdeb6eec31ae92eb8c0a41357aa0ff3cb34bd497307ce5f136a6f1dd4d78cbbea27b1c48b0d5995262f1e039548a725c106bcc91f48f01932354e8dc SHA512 ab35867bdcaa07909cfd24e9bc4f5cde10b6930fa42e87d61d4544bb20b365fff146713239483169ef989cacfae7d7493d7f42d269b0f37f86c0c14a9373b445
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit shell-completion go-module
MY_PV=${PV/_/-}

# update this on every bump
GIT_COMMIT=d8eb465f86cfceeb57f8582e373d41a558d35503

# To create the man pages tarball, run the following in the git source
# directory:
#git checkout ${PV}
# make manpages
# tar -acf ${P}-man.tar.xz man/man?

DESCRIPTION="the command line binary for docker"
HOMEPAGE="https://www.docker.com/"
SRC_URI="https://github.com/docker/cli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/cli-${PV}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="hardened selinux"

RDEPEND="selinux? ( sec-policy/selinux-docker )"

RESTRICT="installsources strip test"

src_unpack() {
default
cd "${S}"
ln -s vendor.mod go.mod
ln -s vendor.sum go.sum
}

src_prepare() {
default
sed -i 's@dockerd\?\.exe@@g' contrib/completion/bash/docker || die
}

src_compile() {
export DISABLE_WARN_OUTSIDE_CONTAINER=1
# setup CFLAGS and LDFLAGS for separate build target
# see https://github.com/tianon/docker-overlay/pull/10
CGO_CFLAGS+=" -I${ESYSROOT}/usr/include"
CGO_LDFLAGS+=" -L${ESYSROOT}/usr/$(get_libdir)"
emake \
LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" \
VERSION="${PV}" \
GITCOMMIT="${GIT_COMMIT}" \
dynbinary manpages
}

src_install() {
dobin build/docker
doman man/man?/*
dobashcomp contrib/completion/bash/docker
bashcomp_alias docker dockerd
dofishcomp contrib/completion/fish/docker.fish
dozshcomp contrib/completion/zsh/_*
}

pkg_postinst() {
has_version "app-containers/docker-buildx" && return
ewarn "the 'docker build' command is deprecated and will be removed in a"
ewarn "future release. If you need this functionality, install"
ewarn "app-containers/docker-buildx."
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ DIST docker-28.0.1.tar.gz 17553228 BLAKE2B 8c172d58fb75d307983ace06b509e86ed5337
DIST docker-28.0.4.tar.gz 17579330 BLAKE2B 3b1ecb6ddceea0fe772bd597bf6b3c4b5867b691e35bbb0b05ad6ab0c4dc79193dbde02cdcb45c607c0dd704aeaa9629deffb098a0d1533dd3f5e9fb882ef34f SHA512 dfa6bc18c7cecf82c80e45c6a615e0cccb866a993ad2b6c3134e0f0d5d069b5abb0b8201029019a5396353f666252b5fd36b6a34080723af46291d3fda1c2608
DIST docker-28.1.1.tar.gz 17719438 BLAKE2B 95307e9c03e4c1ad436fffe321f69c269c0fba9fea22c56963b503a051360b9a38170c865e42674ca17adde6690ed14da5039539e7f8d082e1304191d25c9ddb SHA512 15de0a10dc9d60be5c6047a30be5065ee69b9cde938654363cd27d71103057cc78510f546f7b161ba5f0b8b764dc6167e4ffebbcc9e69b171fe49ee1e09e97b2
DIST docker-28.2.2.tar.gz 17861904 BLAKE2B 6f55e96d653579b749908080550ebee0635549fafd25c775fd59126018820a30f5234c680834a7ece897cb0f38f92f5afe3684d5dbc43694837516528c79f19b SHA512 e63ce38bb7badb01de918f678ad9fb216b279170177fe7d7c4120c8a1196add485cc974f9dff239a274220ebab60a2dc6852f07dc2ddafe8cec07c65dbd19a49
DIST docker-28.4.0.tar.gz 18066393 BLAKE2B 70c9910bec169994ddd39f46e4a7042e5f38a3b76e8a43389ee934fb7f3c75ae686f32ad7f3cbc0dcff210b5c0eeed24674db0fdf4e845e78c330cf6c2b75918 SHA512 a98f8012547dc1e61e6a4f420355d29fbd6f6ddb5642601d8762099768e0b284fcf129ee31af155049731f61f43ff4efe42313467055dae32337dc5cc8c8cf78
Loading