Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
257 commits
Select commit Hold shift + click to select a range
1445722
app-containers/conmon: Sync with Gentoo
Jul 13, 2026
a8cbe5b
app-containers/containerd: Sync with Gentoo
Jul 13, 2026
877d36d
app-containers/cri-tools: Sync with Gentoo
Jul 13, 2026
f04b6cd
app-containers/crun: Sync with Gentoo
Jul 13, 2026
7824d74
app-containers/docker: Sync with Gentoo
Jul 13, 2026
5f38668
app-containers/docker-buildx: Sync with Gentoo
Jul 13, 2026
60364cb
app-containers/docker-cli: Sync with Gentoo
Jul 13, 2026
07ec2f0
app-containers/incus: Sync with Gentoo
Jul 13, 2026
dbee40b
app-containers/lxc: Sync with Gentoo
Jul 13, 2026
e1dd5f6
app-containers/netavark: Sync with Gentoo
Jul 13, 2026
f592299
app-containers/podman: Sync with Gentoo
Jul 13, 2026
2b2f6e1
app-containers/runc: Sync with Gentoo
Jul 13, 2026
a6219ed
app-crypt/adcli: Sync with Gentoo
Jul 13, 2026
92cc4cd
app-crypt/gnupg: Sync with Gentoo
Jul 13, 2026
4de406a
app-crypt/gpgme: Sync with Gentoo
Jul 13, 2026
bb65404
app-crypt/libmd: Sync with Gentoo
Jul 13, 2026
9d04457
app-crypt/mit-krb5: Sync with Gentoo
Jul 13, 2026
98447e6
app-crypt/p11-kit: Sync with Gentoo
Jul 13, 2026
9646100
app-crypt/pinentry: Sync with Gentoo
Jul 13, 2026
87377f4
app-crypt/rhash: Sync with Gentoo
Jul 13, 2026
7110873
app-crypt/tpm2-tss: Sync with Gentoo
Jul 13, 2026
6bb7a85
app-doc/eclass-manpages: Sync with Gentoo
Jul 13, 2026
a9e653f
app-editors/nano: Sync with Gentoo
Jul 13, 2026
c77d6c2
app-emulation/qemu: Sync with Gentoo
Jul 13, 2026
3ef85e3
app-emulation/qemu-guest-agent: Sync with Gentoo
Jul 13, 2026
54a5af6
app-emulation/virt-firmware: Sync with Gentoo
Jul 13, 2026
189dbe1
app-eselect/eselect-pinentry: Sync with Gentoo
Jul 13, 2026
bcb8dae
app-misc/jq: Sync with Gentoo
Jul 13, 2026
af9486b
app-misc/mime-types: Sync with Gentoo
Jul 13, 2026
8013186
app-portage/gentoolkit: Sync with Gentoo
Jul 13, 2026
86075a0
app-portage/getuto: Sync with Gentoo
Jul 13, 2026
8dc95f4
app-shells/bash: Sync with Gentoo
Jul 13, 2026
18659cd
app-shells/bash-completion: Sync with Gentoo
Jul 13, 2026
90dbdfa
app-text/asciidoc: Sync with Gentoo
Jul 13, 2026
4d95a42
app-text/scdoc: Sync with Gentoo
Jul 13, 2026
1ffae7e
dev-build/autoconf: Sync with Gentoo
Jul 13, 2026
2650422
dev-build/automake: Sync with Gentoo
Jul 13, 2026
1b52f9c
dev-build/cmake: Sync with Gentoo
Jul 13, 2026
72c6d0a
dev-build/meson: Sync with Gentoo
Jul 13, 2026
15ca060
dev-db/etcd: Sync with Gentoo
Jul 13, 2026
fcc4a64
dev-db/sqlite: Sync with Gentoo
Jul 13, 2026
f15e5ad
dev-debug/gdb: Sync with Gentoo
Jul 13, 2026
aa59358
dev-debug/strace: Sync with Gentoo
Jul 13, 2026
619f5d8
dev-go/go-md2man: Sync with Gentoo
Jul 13, 2026
20258c4
dev-lang/go: Sync with Gentoo
Jul 13, 2026
fe8d53d
dev-lang/nasm: Sync with Gentoo
Jul 13, 2026
edfe795
dev-lang/perl: Sync with Gentoo
Jul 13, 2026
3d83b7c
dev-lang/python: Sync with Gentoo
Jul 13, 2026
67d4ce2
dev-lang/rust: Sync with Gentoo
Jul 13, 2026
b2645a6
dev-lang/rust-bin: Sync with Gentoo
Jul 13, 2026
1567a43
dev-lang/rust-common: Sync with Gentoo
Jul 13, 2026
c6cd280
dev-lang/swig: Sync with Gentoo
Jul 13, 2026
6b19d71
dev-lang/tcl: Sync with Gentoo
Jul 13, 2026
b87fb4a
dev-libs/expat: Sync with Gentoo
Jul 13, 2026
034ea86
dev-libs/glib: Sync with Gentoo
Jul 13, 2026
4f0b03e
dev-libs/gmp: Sync with Gentoo
Jul 13, 2026
429fd39
dev-libs/gobject-introspection-common: Sync with Gentoo
Jul 13, 2026
4a2fb75
dev-libs/jsoncpp: Sync with Gentoo
Jul 13, 2026
5c120b1
dev-libs/leancrypto: Sync with Gentoo
Jul 13, 2026
455d5ca
dev-libs/libassuan: Sync with Gentoo
Jul 13, 2026
f1195e5
dev-libs/libevent: Sync with Gentoo
Jul 13, 2026
de3e8e4
dev-libs/libffi: Sync with Gentoo
Jul 13, 2026
6cca443
dev-libs/libgcrypt: Sync with Gentoo
Jul 13, 2026
384e895
dev-libs/libgpg-error: Sync with Gentoo
Jul 13, 2026
8fa2e5d
dev-libs/libksba: Sync with Gentoo
Jul 13, 2026
e66320d
dev-libs/libpcre2: Sync with Gentoo
Jul 13, 2026
574b2fb
dev-libs/libpwquality: Sync with Gentoo
Jul 13, 2026
d397ff8
dev-libs/libtasn1: Sync with Gentoo
Jul 13, 2026
330ce7c
dev-libs/libtraceevent: Sync with Gentoo
Jul 13, 2026
fa7f603
dev-libs/libunistring: Sync with Gentoo
Jul 13, 2026
ae39a28
dev-libs/libusb: Sync with Gentoo
Jul 13, 2026
ec6404b
dev-libs/libuv: Sync with Gentoo
Jul 13, 2026
9e31921
dev-libs/libxml2: Sync with Gentoo
Jul 13, 2026
a27a32d
dev-libs/nspr: Sync with Gentoo
Jul 13, 2026
c2a2d5a
dev-libs/opensc: Sync with Gentoo
Jul 13, 2026
700bde2
dev-libs/protobuf: Sync with Gentoo
Jul 13, 2026
9735582
dev-libs/rapidjson: Sync with Gentoo
Jul 13, 2026
c490ef1
dev-libs/xmlsec: Sync with Gentoo
Jul 13, 2026
7e32a34
dev-python/cachecontrol: Sync with Gentoo
Jul 13, 2026
67a6e5c
dev-python/certifi: Sync with Gentoo
Jul 13, 2026
4aceee5
dev-python/cffi: Sync with Gentoo
Jul 13, 2026
a646db4
dev-python/chardet: Sync with Gentoo
Jul 13, 2026
ba083bd
dev-python/charset-normalizer: Sync with Gentoo
Jul 13, 2026
4b82fce
dev-python/colorama: Sync with Gentoo
Jul 13, 2026
2c55a6d
dev-python/crcmod: Sync with Gentoo
Jul 13, 2026
9e1ae31
dev-python/cryptography: Sync with Gentoo
Jul 13, 2026
44b865a
dev-python/cython: Sync with Gentoo
Jul 13, 2026
0ba0837
dev-python/dependency-groups: Sync with Gentoo
Jul 13, 2026
8d5f7cc
dev-python/distlib: Sync with Gentoo
Jul 13, 2026
a0ca5e2
dev-python/distro: Sync with Gentoo
Jul 13, 2026
d1a571a
dev-python/docutils: Sync with Gentoo
Jul 13, 2026
d2fadc4
dev-python/editables: Sync with Gentoo
Jul 13, 2026
3d84aee
dev-python/ensurepip-pip: Sync with Gentoo
Jul 13, 2026
a0a09c4
dev-python/ensurepip-setuptools: Sync with Gentoo
Jul 13, 2026
11bde29
dev-python/fasteners: Sync with Gentoo
Jul 13, 2026
0927016
dev-python/fastjsonschema: Sync with Gentoo
Jul 13, 2026
cffb588
dev-python/hatchling: Sync with Gentoo
Jul 13, 2026
868c1bd
dev-python/idna: Sync with Gentoo
Jul 13, 2026
1b86fed
dev-python/installer: Sync with Gentoo
Jul 13, 2026
e2f9781
dev-python/jaraco-functools: Sync with Gentoo
Jul 13, 2026
9635297
dev-python/jaraco-text: Sync with Gentoo
Jul 13, 2026
f6b7e4f
dev-python/jinja2: Sync with Gentoo
Jul 13, 2026
ab792d7
dev-python/lark: Sync with Gentoo
Jul 13, 2026
22ee079
dev-python/lazy-object-proxy: Sync with Gentoo
Jul 13, 2026
0415f7a
dev-python/linkify-it-py: Sync with Gentoo
Jul 13, 2026
9d5c294
dev-python/lxml: Sync with Gentoo
Jul 13, 2026
33b29c2
dev-python/markdown-it-py: Sync with Gentoo
Jul 13, 2026
97bd35b
dev-python/mdurl: Sync with Gentoo
Jul 13, 2026
0aaf59e
dev-python/more-itertools: Sync with Gentoo
Jul 13, 2026
0042e52
dev-python/msgpack: Sync with Gentoo
Jul 13, 2026
2d09071
dev-python/packaging: Sync with Gentoo
Jul 13, 2026
08b479b
dev-python/pathspec: Sync with Gentoo
Jul 13, 2026
a68ee77
dev-python/pip: Sync with Gentoo
Jul 13, 2026
3033651
dev-python/platformdirs: Sync with Gentoo
Jul 13, 2026
30f6992
dev-python/poetry-core: Sync with Gentoo
Jul 13, 2026
a84bbc0
dev-python/pysocks: Sync with Gentoo
Jul 13, 2026
23be6f2
dev-python/requests: Sync with Gentoo
Jul 13, 2026
040c0ba
dev-python/resolvelib: Sync with Gentoo
Jul 13, 2026
258433a
dev-python/rich: Sync with Gentoo
Jul 13, 2026
3fd58c8
dev-python/setuptools: Sync with Gentoo
Jul 13, 2026
dee4afc
dev-python/setuptools-scm: Sync with Gentoo
Jul 13, 2026
b77399c
dev-python/snakeoil: Sync with Gentoo
Jul 13, 2026
23c30a0
dev-python/tree-sitter: Sync with Gentoo
Jul 13, 2026
c69ebf8
dev-python/trove-classifiers: Sync with Gentoo
Jul 13, 2026
92bc6ac
dev-python/truststore: Sync with Gentoo
Jul 13, 2026
cbc6203
dev-python/typing-extensions: Sync with Gentoo
Jul 13, 2026
d1e2e84
dev-python/uc-micro-py: Sync with Gentoo
Jul 13, 2026
7a6b522
dev-python/urllib3: Sync with Gentoo
Jul 13, 2026
7c5e891
dev-python/vcs-versioning: Sync with Gentoo
Jul 13, 2026
f0c6f08
dev-util/catalyst: Sync with Gentoo
Jul 13, 2026
85d9cf8
dev-util/gdbus-codegen: Sync with Gentoo
Jul 13, 2026
65c3ee3
dev-util/glib-utils: Sync with Gentoo
Jul 13, 2026
f91b303
dev-util/maturin: Sync with Gentoo
Jul 13, 2026
8dbd955
dev-util/patchelf: Sync with Gentoo
Jul 13, 2026
668482f
dev-util/patchutils: Sync with Gentoo
Jul 13, 2026
71947bc
dev-util/perf: Sync with Gentoo
Jul 13, 2026
f870b22
dev-util/pkgcheck: Sync with Gentoo
Jul 13, 2026
10dddf7
dev-util/pkgconf: Sync with Gentoo
Jul 13, 2026
4284e50
dev-util/xdelta: Sync with Gentoo
Jul 13, 2026
3b0d6ea
dev-vcs/git: Sync with Gentoo
Jul 13, 2026
47ce1f1
eclass/bash-completion-r1: Sync with Gentoo
Jul 13, 2026
80e86a0
eclass/cargo: Sync with Gentoo
Jul 13, 2026
ea482fe
eclass/cmake: Sync with Gentoo
Jul 13, 2026
192e345
eclass/desktop: Sync with Gentoo
Jul 13, 2026
781e6c6
eclass/dist-kernel-utils: Sync with Gentoo
Jul 13, 2026
4623d16
eclass/distutils-r1: Sync with Gentoo
Jul 13, 2026
c8225c6
eclass/go-module: Sync with Gentoo
Jul 13, 2026
832db3f
eclass/java-utils-2: Sync with Gentoo
Jul 13, 2026
4a5b74a
eclass/kernel-2: Sync with Gentoo
Jul 13, 2026
ab881dd
eclass/llvm-r1: Sync with Gentoo
Jul 13, 2026
c758946
eclass/llvm-r2: Sync with Gentoo
Jul 13, 2026
511e59a
eclass/mount-boot: Sync with Gentoo
Jul 13, 2026
d664d3d
eclass/optfeature: Sync with Gentoo
Jul 13, 2026
7131ecc
eclass/python-utils-r1: Sync with Gentoo
Jul 13, 2026
f8e5854
eclass/qmake-utils: Sync with Gentoo
Jul 13, 2026
481ee6a
eclass/rust: Sync with Gentoo
Jul 13, 2026
bda8020
eclass/secureboot: Sync with Gentoo
Jul 13, 2026
80f3270
eclass/selinux-policy-2: Sync with Gentoo
Jul 13, 2026
94f9f67
eclass/shell-completion: Sync with Gentoo
Jul 13, 2026
f597cbf
eclass/toolchain: Sync with Gentoo
Jul 13, 2026
3177d1b
eclass/tree-sitter-grammar: Sync with Gentoo
Jul 13, 2026
6397cf3
eclass/xorg-3: Sync with Gentoo
Jul 13, 2026
94d8e1b
licenses: Sync with Gentoo
Jul 13, 2026
e8b5cb0
media-libs/libpng: Sync with Gentoo
Jul 13, 2026
8f42756
net-dns/bind: Sync with Gentoo
Jul 13, 2026
1cd39bb
net-dns/c-ares: Sync with Gentoo
Jul 13, 2026
db5fa3e
net-dns/dnsmasq: Sync with Gentoo
Jul 13, 2026
a5c45e8
net-fs/cifs-utils: Sync with Gentoo
Jul 13, 2026
e598f8d
net-fs/samba: Sync with Gentoo
Jul 13, 2026
82ede97
net-libs/gnutls: Sync with Gentoo
Jul 13, 2026
aff6a69
net-libs/libslirp: Sync with Gentoo
Jul 13, 2026
6df15a2
net-libs/nghttp2: Sync with Gentoo
Jul 13, 2026
704f795
net-libs/ngtcp2: Sync with Gentoo
Jul 13, 2026
593074e
net-misc/chrony: Sync with Gentoo
Jul 13, 2026
bd11a3d
net-misc/curl: Sync with Gentoo
Jul 13, 2026
4a03ade
net-misc/iperf: Sync with Gentoo
Jul 13, 2026
ac97781
net-misc/iputils: Sync with Gentoo
Jul 13, 2026
59cce21
net-misc/openssh: Sync with Gentoo
Jul 13, 2026
2902ffc
net-misc/passt: Sync with Gentoo
Jul 13, 2026
4659bd3
net-misc/rsync: Sync with Gentoo
Jul 13, 2026
5bc2f16
net-misc/socat: Sync with Gentoo
Jul 13, 2026
c031922
net-misc/wget: Sync with Gentoo
Jul 13, 2026
cc53dea
net-nds/openldap: Sync with Gentoo
Jul 13, 2026
499baa5
profiles: Sync with Gentoo
Jul 13, 2026
22517c4
sec-policy/selinux-base: Sync with Gentoo
Jul 13, 2026
9456ce5
sec-policy/selinux-base-policy: Sync with Gentoo
Jul 13, 2026
0ce31db
sec-policy/selinux-container: Sync with Gentoo
Jul 13, 2026
2439c4f
sec-policy/selinux-dbus: Sync with Gentoo
Jul 13, 2026
6eaac8f
sec-policy/selinux-policykit: Sync with Gentoo
Jul 13, 2026
e72862c
sec-policy/selinux-sssd: Sync with Gentoo
Jul 13, 2026
6377e76
sec-policy/selinux-unconfined: Sync with Gentoo
Jul 13, 2026
c9fc3e7
sys-apps/acl: Sync with Gentoo
Jul 13, 2026
0ea58c0
sys-apps/attr: Sync with Gentoo
Jul 13, 2026
39e93f5
sys-apps/bubblewrap: Sync with Gentoo
Jul 13, 2026
1c9a5d2
sys-apps/checkpolicy: Sync with Gentoo
Jul 13, 2026
c85b500
sys-apps/coreutils: Sync with Gentoo
Jul 13, 2026
e4e52eb
sys-apps/ethtool: Sync with Gentoo
Jul 13, 2026
be230f6
sys-apps/file: Sync with Gentoo
Jul 13, 2026
ff615e6
sys-apps/findutils: Sync with Gentoo
Jul 13, 2026
db70c39
sys-apps/gawk: Sync with Gentoo
Jul 13, 2026
ee7ed3a
sys-apps/gentoo-functions: Sync with Gentoo
Jul 13, 2026
542a8ff
sys-apps/i2c-tools: Sync with Gentoo
Jul 13, 2026
f292ea7
sys-apps/iproute2: Sync with Gentoo
Jul 13, 2026
cd5fb39
sys-apps/kbd: Sync with Gentoo
Jul 13, 2026
5824fc3
sys-apps/less: Sync with Gentoo
Jul 13, 2026
6abf4a4
sys-apps/net-tools: Sync with Gentoo
Jul 13, 2026
a68ec21
sys-apps/nvme-cli: Sync with Gentoo
Jul 13, 2026
63af1fc
sys-apps/pkgcore: Sync with Gentoo
Jul 13, 2026
b66902e
sys-apps/portage: Sync with Gentoo
Jul 13, 2026
4cd6006
sys-apps/sandbox: Sync with Gentoo
Jul 13, 2026
0f1efba
sys-apps/sed: Sync with Gentoo
Jul 13, 2026
d8d5a8d
sys-apps/semodule-utils: Sync with Gentoo
Jul 13, 2026
a6878c7
sys-apps/shadow: Sync with Gentoo
Jul 13, 2026
aec140e
sys-apps/systemd: Sync with Gentoo
Jul 13, 2026
61c6bd8
sys-apps/util-linux: Sync with Gentoo
Jul 13, 2026
1c7a86f
sys-auth/sssd: Sync with Gentoo
Jul 13, 2026
65d6d3a
sys-devel/binutils: Sync with Gentoo
Jul 13, 2026
fc78b26
sys-devel/crossdev: Sync with Gentoo
Jul 13, 2026
8dcce7a
sys-devel/dwz: Sync with Gentoo
Jul 13, 2026
c31f304
sys-devel/gcc: Sync with Gentoo
Jul 13, 2026
2b8a30a
sys-fs/btrfs-progs: Sync with Gentoo
Jul 13, 2026
e6f8872
sys-fs/cryptsetup: Sync with Gentoo
Jul 13, 2026
b6a5faf
sys-fs/lxcfs: Sync with Gentoo
Jul 13, 2026
5649925
sys-fs/xfsprogs: Sync with Gentoo
Jul 13, 2026
a625d33
sys-fs/zfs: Sync with Gentoo
Jul 13, 2026
18ec453
sys-fs/zfs-kmod: Sync with Gentoo
Jul 13, 2026
43eb2fa
sys-kernel/dracut: Sync with Gentoo
Jul 13, 2026
fdf82a1
sys-kernel/linux-headers: Sync with Gentoo
Jul 13, 2026
6e00b84
sys-libs/binutils-libs: Sync with Gentoo
Jul 13, 2026
4b80d96
sys-libs/glibc: Sync with Gentoo
Jul 13, 2026
a5e4ec6
sys-libs/libcap: Sync with Gentoo
Jul 13, 2026
e098e07
sys-libs/libcap-ng: Sync with Gentoo
Jul 13, 2026
6015489
sys-libs/libnvme: Sync with Gentoo
Jul 13, 2026
d521111
sys-libs/libseccomp: Sync with Gentoo
Jul 13, 2026
24029c3
sys-libs/libselinux: Sync with Gentoo
Jul 13, 2026
22fbe97
sys-libs/libsepol: Sync with Gentoo
Jul 13, 2026
fe95d89
sys-libs/libunwind: Sync with Gentoo
Jul 13, 2026
11935ef
sys-libs/liburing: Sync with Gentoo
Jul 13, 2026
2eaa091
sys-libs/libxcrypt: Sync with Gentoo
Jul 13, 2026
4705cd4
sys-libs/talloc: Sync with Gentoo
Jul 13, 2026
447588a
sys-libs/tdb: Sync with Gentoo
Jul 13, 2026
3774bac
sys-libs/timezone-data: Sync with Gentoo
Jul 13, 2026
3eac05a
sys-process/audit: Sync with Gentoo
Jul 13, 2026
af19e79
virtual/ldb: Sync with Gentoo
Jul 13, 2026
0add249
virtual/libudev: Sync with Gentoo
Jul 13, 2026
c5b2878
virtual/perl-Carp: Sync with Gentoo
Jul 13, 2026
866c14c
virtual/perl-Encode: Sync with Gentoo
Jul 13, 2026
63937ee
virtual/perl-Exporter: Sync with Gentoo
Jul 13, 2026
f4a4f18
virtual/perl-ExtUtils-MakeMaker: Sync with Gentoo
Jul 13, 2026
a033949
x11-drivers/nvidia-drivers: Sync with Gentoo
Jul 13, 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
@@ -1,4 +1,4 @@
# Copyright 2020-2024 Gentoo Authors
# Copyright 2020-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
Expand All @@ -13,5 +13,3 @@ ACCT_USER_HOME_PERMS=0755
ACCT_USER_GROUPS=( nobody )

acct-user_add_deps

RDEPEND+=" acct-user/root"
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
DIST eselect-1.4.30.tar.xz 186060 BLAKE2B f58c2bdacfcb933aef2414e65866a4be33d02ddc42005770fd4f3200a7aa0437d31301ac35991309d51f2e95e8be2eafa0590600281801c6c63db08b3451b9ef SHA512 89ff9af40849e5d712716c35705e21bfc5d073536da8750566368d519d1b7de823575ffe730faabab4170ca773df31e7bb9d633d8e48361704102987c5d3e681
DIST eselect-1.4.31.tar.xz 186520 BLAKE2B f40851ffea69c0d8b0142b49669e1112fc34384b0c8f1f6ce8aebbfd48fb6a6f8239e8682d7fe8b49c9d27cc9f7cee4b7c781baef7780e347df90f7cd4b5131e SHA512 ffcd6cdb5aef51b2949893abfc3af356d3011e256671eaae588e3fe6ff41f7bf74167dccef8c794422704097c3351f5c457009b051bbc8f008b2d2f250fa9c1b
DIST eselect-1.4.32.tar.xz 189020 BLAKE2B 18cf181f23f0a6cd95ca78fd1c5e039ca2222101b12957e640afb25f34033777e0554421613699b08b9f985a45ee803b16c202e2c2a3a0f55b741cdf5e5d8836 SHA512 facc2c75508175123ed4f4f8f79c157e0f8ce797f3bb98f4978379d6b75c5d502ab5a97497f5d7a8a1f21adc9f580bf59245502a4b3058eb7a25a03caca7c8f9

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ SRC_URI="https://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"

LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-4.0 )"
SLOT="0"
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"
IUSE="doc emacs vim-syntax"

# coreutils for realpath
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
https://bugs.gentoo.org/934983
https://github.com/logrotate/logrotate/commit/04b21743980c4e236ca5e8de18173fbd3848573b

From 04b21743980c4e236ca5e8de18173fbd3848573b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgzones@googlemail.com>
Date: Sat, 8 Jun 2024 17:59:40 +0200
Subject: [PATCH] test: avoid locale dependent errno string

String representations of errno values are locale dependent, thus avoid
using them.
---
test/test-0112.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test-0112.sh b/test/test-0112.sh
index 812632b1..fa9eed65 100755
--- a/test/test-0112.sh
+++ b/test/test-0112.sh
@@ -23,7 +23,7 @@ test_reg.log.1.gz 1 zero
test_reg.log.2.gz 1 first
EOF

-grep "test_fifo.log.1 (read-only) for compression: Operation not supported" error.log >/dev/null
+grep "^error: unable to open .*/test_fifo\.log\.1 (read-only) for compression: " error.log >/dev/null
if [ $? != 0 ]; then
echo "No error printed, but there should be one."
exit 3

Original file line number Diff line number Diff line change
@@ -0,0 +1,184 @@
https://github.com/logrotate/logrotate/issues/632
https://github.com/logrotate/logrotate/pull/633

From d2e090a9c0ba62aeab8c415aecf3067297f3eccc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgzones@googlemail.com>
Date: Sat, 3 Aug 2024 19:07:38 +0200
Subject: [PATCH] Avoid opening log file for getting SELinux context

Currently setSecCtxByName() uses open_logfile() to get a file descriptor
to the current log file to retrieve its security context.
open_logfile() performs additional checks, like whether the file is a
regular file, which alter the control flow between systems with SELinux
enabled and disabled. This can be observed in the reported issue #632.
Use lgetfilecon_raw() instead to have the same behavior for SELinux
enabled and disabled systems and delay the checks for invalid log files
to code executed in both cases.

Closes: #632
---
logrotate.c | 89 ++++++++++++++++++++++++++++++-----------------------
1 file changed, 51 insertions(+), 38 deletions(-)

diff --git a/logrotate.c b/logrotate.c
index ba779950..c62e7c78 100644
--- a/logrotate.c
+++ b/logrotate.c
@@ -361,27 +361,9 @@ static int movefd(int oldfd, int newfd)
return rc;
}

-static int setSecCtx(int fdSrc, const char *src, char **pPrevCtx)
-{
#ifdef WITH_SELINUX
- char *srcCtx;
- *pPrevCtx = NULL;
-
- if (!selinux_enabled)
- /* pretend success */
- return 0;
-
- /* read security context of fdSrc */
- if (fgetfilecon_raw(fdSrc, &srcCtx) < 0) {
- if (errno == ENOTSUP)
- /* pretend success */
- return 0;
-
- message(MESS_ERROR, "getting file context %s: %s\n", src,
- strerror(errno));
- return selinux_enforce;
- }
-
+static int setSecCtx(char *srcCtx, char **pPrevCtx)
+{
/* save default security context for restoreSecCtx() */
if (getfscreatecon_raw(pPrevCtx) < 0) {
message(MESS_ERROR, "getting default context: %s\n", strerror(errno));
@@ -401,37 +383,68 @@ static int setSecCtx(int fdSrc, const char *src, char **pPrevCtx)

message(MESS_DEBUG, "set default create context to %s\n", srcCtx);
freecon(srcCtx);
+
+ return 0;
+}
+#endif /* WITH_SELINUX */
+
+static int setSecCtxByFd(int fdSrc, const char *src, char **pPrevCtx)
+{
+#ifdef WITH_SELINUX
+ char *srcCtx;
+ *pPrevCtx = NULL;
+
+ if (!selinux_enabled)
+ /* pretend success */
+ return 0;
+
+ /* read security context of fdSrc */
+ if (fgetfilecon_raw(fdSrc, &srcCtx) < 0) {
+ if (errno == ENOTSUP)
+ /* pretend success */
+ return 0;
+
+ message(MESS_ERROR, "getting file context %s: %s\n", src,
+ strerror(errno));
+ return selinux_enforce;
+ }
+
+ return setSecCtx(srcCtx, pPrevCtx);
#else
(void) fdSrc;
(void) src;
(void) pPrevCtx;
-#endif
return 0;
+#endif /* WITH_SELINUX */
}

-static int setSecCtxByName(const char *src, const struct logInfo *log, char **pPrevCtx)
+static int setSecCtxByName(const char *src, char **pPrevCtx)
{
- int hasErrors = 0;
#ifdef WITH_SELINUX
- int fd;
+ char *srcCtx;
+ *pPrevCtx = NULL;

if (!selinux_enabled)
/* pretend success */
return 0;

- fd = open_logfile(src, log, 0);
- if (fd < 0) {
- message(MESS_ERROR, "error opening %s: %s\n", src, strerror(errno));
- return 1;
+ /* read security context of src */
+ if (lgetfilecon_raw(src, &srcCtx) < 0) {
+ if (errno == ENOTSUP)
+ /* pretend success */
+ return 0;
+
+ message(MESS_ERROR, "getting file context %s: %s\n", src,
+ strerror(errno));
+ return selinux_enforce;
}
- hasErrors = setSecCtx(fd, src, pPrevCtx);
- close(fd);
+
+ return setSecCtx(srcCtx, pPrevCtx);
#else
(void) src;
- (void) log;
(void) pPrevCtx;
-#endif
- return hasErrors;
+ return 0;
+#endif /* WITH_SELINUX */
}

static void restoreSecCtx(char **pPrevCtx)
@@ -874,7 +887,7 @@ static int compressLogFile(const char *name, const struct logInfo *log, const st
return 1;
}

- if (setSecCtx(inFile, name, &prevCtx) != 0) {
+ if (setSecCtxByFd(inFile, name, &prevCtx) != 0) {
/* error msg already printed */
close(inFile);
return 1;
@@ -1307,7 +1320,7 @@ static int copyTruncate(const char *currLog, const char *saveLog, const struct s
if (!skip_copy) {
char *prevCtx;

- if (setSecCtx(fdcurr, currLog, &prevCtx) != 0) {
+ if (setSecCtxByFd(fdcurr, currLog, &prevCtx) != 0) {
/* error msg already printed */
goto fail;
}
@@ -1905,7 +1918,7 @@ static int prerotateSingleLog(const struct logInfo *log, unsigned logNum,
message(MESS_DEBUG, "dateext suffix '%s'\n", dext_str);
message(MESS_DEBUG, "glob pattern '%s'\n", dext_pattern);

- if (setSecCtxByName(log->files[logNum], log, &prev_context) != 0) {
+ if (setSecCtxByName(log->files[logNum], &prev_context) != 0) {
/* error msg already printed */
return 1;
}
@@ -2186,7 +2199,7 @@ static int rotateSingleLog(const struct logInfo *log, unsigned logNum,
if (!hasErrors) {

if (!(log->flags & (LOG_FLAG_COPYTRUNCATE | LOG_FLAG_COPY))) {
- if (setSecCtxByName(log->files[logNum], log, &savedContext) != 0) {
+ if (setSecCtxByName(log->files[logNum], &savedContext) != 0) {
/* error msg already printed */
return 1;
}
@@ -2730,7 +2743,7 @@ static int writeState(const char *stateFilename)

/* get attributes, to assign them to the new state file */

- if (setSecCtx(fdcurr, stateFilename, &prevCtx) != 0) {
+ if (setSecCtxByFd(fdcurr, stateFilename, &prevCtx) != 0) {
/* error msg already printed */
free(tmpFilename);
close(fdcurr);

Loading