From 4cdb2be8bf81b5df20a01a517cbde1950b354096 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:32:51 +0000 Subject: [PATCH 001/243] acct-user/nobody: Sync with Gentoo It's from Gentoo commit 4ab36968f82e8d34f4236a0fc69d76b513186258. Signed-off-by: Flatcar Buildbot --- .../portage-stable/acct-user/nobody/nobody-0-r2.ebuild | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/acct-user/nobody/nobody-0-r2.ebuild b/sdk_container/src/third_party/portage-stable/acct-user/nobody/nobody-0-r2.ebuild index 7b8132b4d81..1921cbcef0e 100644 --- a/sdk_container/src/third_party/portage-stable/acct-user/nobody/nobody-0-r2.ebuild +++ b/sdk_container/src/third_party/portage-stable/acct-user/nobody/nobody-0-r2.ebuild @@ -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 @@ -13,5 +13,3 @@ ACCT_USER_HOME_PERMS=0755 ACCT_USER_GROUPS=( nobody ) acct-user_add_deps - -RDEPEND+=" acct-user/root" From 9f9c197f62e1e9990027465ac794c911c10c7a86 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:33:41 +0000 Subject: [PATCH 002/243] app-admin/eselect: Sync with Gentoo It's from Gentoo commit 42a61bb0cd9a37dc3f190785bea4b402daf32f28. Signed-off-by: Flatcar Buildbot --- .../portage-stable/app-admin/eselect/Manifest | 2 - .../app-admin/eselect/eselect-1.4.30.ebuild | 61 ------------------- .../app-admin/eselect/eselect-1.4.31.ebuild | 61 ------------------- .../app-admin/eselect/eselect-1.4.32.ebuild | 2 +- 4 files changed, 1 insertion(+), 125 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/app-admin/eselect/eselect-1.4.30.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/app-admin/eselect/eselect-1.4.31.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-admin/eselect/Manifest b/sdk_container/src/third_party/portage-stable/app-admin/eselect/Manifest index 992132f9834..e91a41af12c 100644 --- a/sdk_container/src/third_party/portage-stable/app-admin/eselect/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-admin/eselect/Manifest @@ -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 diff --git a/sdk_container/src/third_party/portage-stable/app-admin/eselect/eselect-1.4.30.ebuild b/sdk_container/src/third_party/portage-stable/app-admin/eselect/eselect-1.4.30.ebuild deleted file mode 100644 index 0111d9f42ff..00000000000 --- a/sdk_container/src/third_party/portage-stable/app-admin/eselect/eselect-1.4.30.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Packages sharing a common release tarball: -# app-admin/eselect -# app-emacs/eselect-mode -# Please bump and mark them stable together! - -inherit bash-completion-r1 - -DESCRIPTION="Gentoo's multi-purpose configuration and management tool" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Eselect" -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" -IUSE="doc emacs vim-syntax" - -# coreutils for realpath -DEPEND="sys-apps/coreutils - sys-apps/sed" -RDEPEND="${DEPEND} - sys-apps/file - sys-libs/ncurses:0" -BDEPEND="doc? ( dev-python/docutils )" -PDEPEND="emacs? ( app-emacs/eselect-mode ) - vim-syntax? ( app-vim/eselect-syntax )" - -src_compile() { - emake - use doc && emake html -} - -src_install() { - emake DESTDIR="${D}" install - newbashcomp misc/${PN}.bashcomp ${PN} - dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt - if use doc; then - docinto html - dodoc *.html doc/*.html doc/*.css - fi - - # needed by news module - keepdir /var/lib/gentoo/news - if ! use prefix; then - fowners root:portage /var/lib/gentoo/news - fperms g+w /var/lib/gentoo/news - fi -} - -pkg_postinst() { - # fowners in src_install doesn't work for the portage group: - # merging changes the group back to root - if ! use prefix; then - chgrp portage "${EROOT}/var/lib/gentoo/news" \ - && chmod g+w "${EROOT}/var/lib/gentoo/news" - fi -} diff --git a/sdk_container/src/third_party/portage-stable/app-admin/eselect/eselect-1.4.31.ebuild b/sdk_container/src/third_party/portage-stable/app-admin/eselect/eselect-1.4.31.ebuild deleted file mode 100644 index 75926fc43e1..00000000000 --- a/sdk_container/src/third_party/portage-stable/app-admin/eselect/eselect-1.4.31.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Packages sharing a common release tarball: -# app-admin/eselect -# app-emacs/eselect-mode -# Please bump and mark them stable together! - -inherit bash-completion-r1 - -DESCRIPTION="Gentoo's multi-purpose configuration and management tool" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Eselect" -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" -IUSE="doc emacs vim-syntax" - -# coreutils for realpath -DEPEND="sys-apps/coreutils - sys-apps/sed" -RDEPEND="${DEPEND} - sys-apps/file - sys-libs/ncurses:0" -BDEPEND="doc? ( dev-python/docutils )" -PDEPEND="emacs? ( app-emacs/eselect-mode ) - vim-syntax? ( app-vim/eselect-syntax )" - -src_compile() { - emake - use doc && emake html -} - -src_install() { - emake DESTDIR="${D}" install - newbashcomp misc/${PN}.bashcomp ${PN} - dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt - if use doc; then - docinto html - dodoc *.html doc/*.html doc/*.css - fi - - # needed by news module - keepdir /var/lib/gentoo/news - if ! use prefix; then - fowners root:portage /var/lib/gentoo/news - fperms g+w /var/lib/gentoo/news - fi -} - -pkg_postinst() { - # fowners in src_install doesn't work for the portage group: - # merging changes the group back to root - if ! use prefix; then - chgrp portage "${EROOT}/var/lib/gentoo/news" \ - && chmod g+w "${EROOT}/var/lib/gentoo/news" - fi -} diff --git a/sdk_container/src/third_party/portage-stable/app-admin/eselect/eselect-1.4.32.ebuild b/sdk_container/src/third_party/portage-stable/app-admin/eselect/eselect-1.4.32.ebuild index 5533c7c34ed..75926fc43e1 100644 --- a/sdk_container/src/third_party/portage-stable/app-admin/eselect/eselect-1.4.32.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-admin/eselect/eselect-1.4.32.ebuild @@ -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 From 58ea22d403d08a10311e6e45bcb7aa6f8de60758 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:33:41 +0000 Subject: [PATCH 003/243] app-admin/logrotate: Sync with Gentoo It's from Gentoo commit ff3640217a02c399a61fdb1680cc964f63684843. Signed-off-by: Flatcar Buildbot --- .../files/logrotate-3.22.0-tests-locale.patch | 28 +++ .../logrotate-3.22.0-tests-selinux.patch | 184 ++++++++++++++++++ .../logrotate/logrotate-3.22.0-r1.ebuild | 113 +++++++++++ .../logrotate/logrotate-3.22.0.ebuild | 26 ++- .../app-admin/logrotate/logrotate-9999.ebuild | 111 +++++++++++ 5 files changed, 455 insertions(+), 7 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/app-admin/logrotate/files/logrotate-3.22.0-tests-locale.patch create mode 100644 sdk_container/src/third_party/portage-stable/app-admin/logrotate/files/logrotate-3.22.0-tests-selinux.patch create mode 100644 sdk_container/src/third_party/portage-stable/app-admin/logrotate/logrotate-3.22.0-r1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/app-admin/logrotate/logrotate-9999.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-admin/logrotate/files/logrotate-3.22.0-tests-locale.patch b/sdk_container/src/third_party/portage-stable/app-admin/logrotate/files/logrotate-3.22.0-tests-locale.patch new file mode 100644 index 00000000000..6ba8fce06fd --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-admin/logrotate/files/logrotate-3.22.0-tests-locale.patch @@ -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?= +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 + diff --git a/sdk_container/src/third_party/portage-stable/app-admin/logrotate/files/logrotate-3.22.0-tests-selinux.patch b/sdk_container/src/third_party/portage-stable/app-admin/logrotate/files/logrotate-3.22.0-tests-selinux.patch new file mode 100644 index 00000000000..fb933664aa5 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-admin/logrotate/files/logrotate-3.22.0-tests-selinux.patch @@ -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?= +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); + diff --git a/sdk_container/src/third_party/portage-stable/app-admin/logrotate/logrotate-3.22.0-r1.ebuild b/sdk_container/src/third_party/portage-stable/app-admin/logrotate/logrotate-3.22.0-r1.ebuild new file mode 100644 index 00000000000..a5bc42f2201 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-admin/logrotate/logrotate-3.22.0-r1.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd tmpfiles + +DESCRIPTION="Rotates, compresses, and mails system logs" +HOMEPAGE="https://github.com/logrotate/logrotate" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/logrotate/logrotate" + inherit autotools git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/cgzones.asc + inherit verify-sig + + 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" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-cgzones )" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="acl +cron selinux" + +DEPEND=" + >=dev-libs/popt-1.5 + acl? ( virtual/acl ) + selinux? ( sys-libs/libselinux ) +" +RDEPEND=" + ${DEPEND} + cron? ( virtual/cron ) + selinux? ( sec-policy/selinux-logrotate ) +" + +STATEFILE="${EPREFIX}/var/lib/misc/logrotate.status" +OLDSTATEFILE="${EPREFIX}/var/lib/logrotate.status" + +PATCHES=( + "${FILESDIR}"/${PN}-3.15.0-ignore-hidden.patch + "${FILESDIR}"/${P}-tests-locale.patch + "${FILESDIR}"/${P}-tests-selinux.patch +) + +move_old_state_file() { + elog "logrotate state file is now located at ${STATEFILE}" + elog "See bug #357275" + if [[ -e "${OLDSTATEFILE}" ]] ; then + elog "Moving your current state file to new location: ${STATEFILE}" + mv -n "${OLDSTATEFILE}" "${STATEFILE}" || die + fi +} + +install_cron_file() { + exeinto /etc/cron.daily + newexe "${S}"/examples/logrotate.cron "${PN}" +} + +src_prepare() { + default + + sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' examples/logrotate.{cron,service} || die + + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + econf \ + $(use_with acl) \ + $(use_with selinux) \ + --with-state-file-path="${STATEFILE}" +} + +src_install() { + dobin logrotate + doman logrotate.8 + dodoc ChangeLog.md + + insinto /etc + doins "${FILESDIR}"/logrotate.conf + + use cron && install_cron_file + + systemd_dounit examples/logrotate.{service,timer} + newtmpfiles "${FILESDIR}"/${PN}.tmpfiles ${PN}.conf + + keepdir /etc/logrotate.d +} + +pkg_postinst() { + elog + elog "The ${PN} binary is now installed under /usr/bin. Please" + elog "update your links" + elog + + move_old_state_file + + tmpfiles_process ${PN}.conf + + if [[ -z ${REPLACING_VERSIONS} ]] ; then + elog "If you wish to have logrotate e-mail you updates, please" + elog "emerge virtual/mailx and configure logrotate in" + elog "/etc/logrotate.conf appropriately" + elog + elog "Additionally, /etc/logrotate.conf may need to be modified" + elog "for your particular needs. See man logrotate for details." + fi +} diff --git a/sdk_container/src/third_party/portage-stable/app-admin/logrotate/logrotate-3.22.0.ebuild b/sdk_container/src/third_party/portage-stable/app-admin/logrotate/logrotate-3.22.0.ebuild index 6512e725d18..6650d903ba0 100644 --- a/sdk_container/src/third_party/portage-stable/app-admin/logrotate/logrotate-3.22.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-admin/logrotate/logrotate-3.22.0.ebuild @@ -1,19 +1,30 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/cgzones.asc -inherit systemd tmpfiles verify-sig +inherit systemd tmpfiles DESCRIPTION="Rotates, compresses, and mails system logs" HOMEPAGE="https://github.com/logrotate/logrotate" -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 )" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/logrotate/logrotate" + inherit autotools git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/cgzones.asc + inherit verify-sig + + 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" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-cgzones )" +fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="acl +cron selinux" DEPEND=" @@ -26,7 +37,6 @@ RDEPEND=" cron? ( virtual/cron ) selinux? ( sec-policy/selinux-logrotate ) " -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-cgzones )" STATEFILE="${EPREFIX}/var/lib/misc/logrotate.status" OLDSTATEFILE="${EPREFIX}/var/lib/logrotate.status" @@ -53,6 +63,8 @@ src_prepare() { default sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' examples/logrotate.{cron,service} || die + + [[ ${PV} == 9999 ]] && eautoreconf } src_configure() { diff --git a/sdk_container/src/third_party/portage-stable/app-admin/logrotate/logrotate-9999.ebuild b/sdk_container/src/third_party/portage-stable/app-admin/logrotate/logrotate-9999.ebuild new file mode 100644 index 00000000000..bc4de0139af --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-admin/logrotate/logrotate-9999.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd tmpfiles + +DESCRIPTION="Rotates, compresses, and mails system logs" +HOMEPAGE="https://github.com/logrotate/logrotate" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/logrotate/logrotate" + inherit autotools git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/cgzones.asc + inherit verify-sig + + 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" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-cgzones )" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="acl +cron selinux" + +DEPEND=" + >=dev-libs/popt-1.5 + acl? ( virtual/acl ) + selinux? ( sys-libs/libselinux ) +" +RDEPEND=" + ${DEPEND} + cron? ( virtual/cron ) + selinux? ( sec-policy/selinux-logrotate ) +" + +STATEFILE="${EPREFIX}/var/lib/misc/logrotate.status" +OLDSTATEFILE="${EPREFIX}/var/lib/logrotate.status" + +PATCHES=( + "${FILESDIR}"/${PN}-3.15.0-ignore-hidden.patch +) + +move_old_state_file() { + elog "logrotate state file is now located at ${STATEFILE}" + elog "See bug #357275" + if [[ -e "${OLDSTATEFILE}" ]] ; then + elog "Moving your current state file to new location: ${STATEFILE}" + mv -n "${OLDSTATEFILE}" "${STATEFILE}" || die + fi +} + +install_cron_file() { + exeinto /etc/cron.daily + newexe "${S}"/examples/logrotate.cron "${PN}" +} + +src_prepare() { + default + + sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' examples/logrotate.{cron,service} || die + + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + econf \ + $(use_with acl) \ + $(use_with selinux) \ + --with-state-file-path="${STATEFILE}" +} + +src_install() { + dobin logrotate + doman logrotate.8 + dodoc ChangeLog.md + + insinto /etc + doins "${FILESDIR}"/logrotate.conf + + use cron && install_cron_file + + systemd_dounit examples/logrotate.{service,timer} + newtmpfiles "${FILESDIR}"/${PN}.tmpfiles ${PN}.conf + + keepdir /etc/logrotate.d +} + +pkg_postinst() { + elog + elog "The ${PN} binary is now installed under /usr/bin. Please" + elog "update your links" + elog + + move_old_state_file + + tmpfiles_process ${PN}.conf + + if [[ -z ${REPLACING_VERSIONS} ]] ; then + elog "If you wish to have logrotate e-mail you updates, please" + elog "emerge virtual/mailx and configure logrotate in" + elog "/etc/logrotate.conf appropriately" + elog + elog "Additionally, /etc/logrotate.conf may need to be modified" + elog "for your particular needs. See man logrotate for details." + fi +} From 4c083e08ad66e7cd847c5fcbd6e0514b3cc65161 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:33:49 +0000 Subject: [PATCH 004/243] app-alternatives/ninja: Sync with Gentoo It's from Gentoo commit 21a25b5fa4e106bddb72fbdee6141c5ce739e8d4. Signed-off-by: Flatcar Buildbot --- .../portage-stable/app-alternatives/ninja/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/app-alternatives/ninja/metadata.xml b/sdk_container/src/third_party/portage-stable/app-alternatives/ninja/metadata.xml index c55e0889752..0ad0a0e2d83 100644 --- a/sdk_container/src/third_party/portage-stable/app-alternatives/ninja/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/app-alternatives/ninja/metadata.xml @@ -6,7 +6,7 @@ Gentoo Base System - vimproved@inventati.org + vi@vimproved.dev Violet Purcell From 724c2981688af8933f58c54522da20a018bb4612 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:33:55 +0000 Subject: [PATCH 005/243] app-arch/libarchive: Sync with Gentoo It's from Gentoo commit 61333a1a4fd6171faa9042639f08c6d417521aa4. Signed-off-by: Flatcar Buildbot --- .../app-arch/libarchive/Manifest | 6 +- .../libarchive/libarchive-3.8.5.ebuild | 174 ------------------ ...e-3.8.6.ebuild => libarchive-3.8.8.ebuild} | 2 +- 3 files changed, 3 insertions(+), 179 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/app-arch/libarchive/libarchive-3.8.5.ebuild rename sdk_container/src/third_party/portage-stable/app-arch/libarchive/{libarchive-3.8.6.ebuild => libarchive-3.8.8.ebuild} (97%) diff --git a/sdk_container/src/third_party/portage-stable/app-arch/libarchive/Manifest b/sdk_container/src/third_party/portage-stable/app-arch/libarchive/Manifest index 030f869f5af..2cf821c6705 100644 --- a/sdk_container/src/third_party/portage-stable/app-arch/libarchive/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-arch/libarchive/Manifest @@ -1,6 +1,4 @@ -DIST libarchive-3.8.5.tar.xz 6009124 BLAKE2B d0fa6a49209a06240240cf578f95138eb72eebdc7179d034fdd9efc2e49820e34e9da41aa46cd11be2c2d46c380c8cc7e830d41271a6f3a7d9c39df138098cab SHA512 b050ca8488143503bdec38ffcab7a5010af61f1b93c1207a3fa006d72d643b84aa8c1ab267e890eb39966ccaedd6e18db8fe5b02f2789bbd1b318a3c4cf138f3 -DIST libarchive-3.8.5.tar.xz.asc 833 BLAKE2B bf3d85fad2f6e681c94ec341753dffc8ca658ffdc55641278dc28aa863209c3d6d42e32d0d33de9326314b6daa5486a758b6cce82f445b9f6568ccac4fc7b457 SHA512 80b155e86d9f93efd3f2e65655c1fe66fb0b9b937888fd5b24e65b26418f01ee6fbd66c649079b8591c15ae593980ece3de49778bb1215eaecd9af0f2823fb71 -DIST libarchive-3.8.6.tar.xz 6009400 BLAKE2B 456eb5b3bbb0e59ccbc34a9704c7bf1dd9f8cffc0075be546b5fbd66f1157651fbfe7298da8c17f80b2ef0420cfeaac971ff06b10ee9d372d4eb8b17f8497628 SHA512 783c5768de2273493d3de377339a134929f412613e19468cee84c0f90301febe818f77252cd886d524e40b7df6356a239208d3ca58f595da0201bcb6030b1044 -DIST libarchive-3.8.6.tar.xz.asc 833 BLAKE2B 03f85157c438ec1d4005e551b8fa22230ac84d3b5cfb60bbf53f62738c9140c5baaa94b0c3dfa3b2e52abd08ff5322ea62e2b020d54ec51fdbe02e96b8b4196d SHA512 c6227c4e611577d2964b906d12e97ceb91148654cda1f188425380c7ddd32c68e4d8b4d2bd836cded55e4ceba9101885bb0e19cd6a11a4f3159d83a62fad6119 DIST libarchive-3.8.7.tar.xz 6012112 BLAKE2B 6ed65a679b0c55e66410454de2865e8de67eb668845ac007c7d555d6023390cf95fb93ae3d006e9fef73314f8d7c3dcb8a4a44548e48e418c4d30e15b922e828 SHA512 0673accf9ac6ede2d1c7e68419d00898f35e43130c5ec6b5fcdea85d174d8b0cc56d1d609bd5533370c3cca5f6ddd5b59fc153f2dadea2b4b5c2421a574ea352 DIST libarchive-3.8.7.tar.xz.asc 833 BLAKE2B 61053a2d870b8d42bf858c74f5fb2646d8999af2c893b8080dd019df4b933c0b63ff0a1337afbf5b756ad8021d2920355b82ac8ac8e170e072a8da4ff1c13d71 SHA512 9a83957e5b16f186125e51bbcf383d8b37ec7904ac13cd3d542b3e8b76544ba07e722895aa4074ce562fb10dc2e3117bc252da7a6c31fa49cc887ef7e7524b66 +DIST libarchive-3.8.8.tar.xz 6559080 BLAKE2B dc210097fbd6bf2db240699dc2ad9fc6030b4179ffc02fa1de96537eb59897d964470fb1a675c76bc0691aa2f138f5cb2479495ea904124c80297c7bd84effc6 SHA512 6952aaa3f7aa275b1a678c03b3ca3a50111a1305f0eb50362b8a85599f1c13a0c771530c7caea6ddcc3c8ceead4c206abca851d8b2c4b64968773d8fd6fc64de +DIST libarchive-3.8.8.tar.xz.asc 833 BLAKE2B 38464a3a6ea238c79142f8c3c3c2af4184967d37a7333eee80f85b7da514fc115e6414fec7de90d0fa1b6456c244191deaacce934ebf3802b29898e0fa8a9d84 SHA512 db7d497493b78ed0ee4f20035aefa7eaa7bd33adf00f95400edc591082f6858576705290dae53f6d38261a6b29a35d2b6f9a5e7ccccff29276fede41c9fdb58d diff --git a/sdk_container/src/third_party/portage-stable/app-arch/libarchive/libarchive-3.8.5.ebuild b/sdk_container/src/third_party/portage-stable/app-arch/libarchive/libarchive-3.8.5.ebuild deleted file mode 100644 index 3de4c72ac3e..00000000000 --- a/sdk_container/src/third_party/portage-stable/app-arch/libarchive/libarchive-3.8.5.ebuild +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit libtool multilib-minimal toolchain-funcs verify-sig - -DESCRIPTION="Multi-format archive and compression library" -HOMEPAGE=" - https://www.libarchive.org/ - https://github.com/libarchive/libarchive/ -" -SRC_URI=" - https://www.libarchive.de/downloads/${P}.tar.xz - verify-sig? ( https://www.libarchive.de/downloads/${P}.tar.xz.asc ) -" - -LICENSE="BSD BSD-2 BSD-4 public-domain" -SLOT="0/13" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE=" - acl blake2 +bzip2 +e2fsprogs expat +iconv lz4 +lzma lzo nettle - static-libs test xattr +zstd -" -RESTRICT="!test? ( test )" - -RDEPEND=" - virtual/zlib:=[${MULTILIB_USEDEP}] - acl? ( virtual/acl:=[${MULTILIB_USEDEP}] ) - blake2? ( app-crypt/libb2:=[${MULTILIB_USEDEP}] ) - bzip2? ( app-arch/bzip2:=[${MULTILIB_USEDEP}] ) - expat? ( dev-libs/expat:=[${MULTILIB_USEDEP}] ) - !expat? ( dev-libs/libxml2:=[${MULTILIB_USEDEP}] ) - iconv? ( virtual/libiconv:=[${MULTILIB_USEDEP}] ) - dev-libs/openssl:=[${MULTILIB_USEDEP}] - lz4? ( >=app-arch/lz4-0_p131:=[${MULTILIB_USEDEP}] ) - lzma? ( >=app-arch/xz-utils-5.2.5-r1:=[${MULTILIB_USEDEP}] ) - lzo? ( >=dev-libs/lzo-2:=[${MULTILIB_USEDEP}] ) - nettle? ( dev-libs/nettle:=[${MULTILIB_USEDEP}] ) - zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] ) -" -DEPEND="${RDEPEND} - elibc_musl? ( sys-libs/queue-standalone ) - kernel_linux? ( - virtual/os-headers - e2fsprogs? ( sys-fs/e2fsprogs[${MULTILIB_USEDEP}] ) - ) - test? ( - app-arch/lrzip - app-arch/lz4 - app-arch/lzip - app-arch/lzop - app-arch/xz-utils - app-arch/zstd - lzma? ( app-arch/xz-utils[extra-filters(+)] ) - ) -" -BDEPEND=" - virtual/pkgconfig - verify-sig? ( >=sec-keys/openpgp-keys-libarchive-20251118 ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libarchive.org.asc - -# false positives (checks for libc-defined hash functions) -QA_CONFIG_IMPL_DECL_SKIP=( - SHA256_Init SHA256_Update SHA256_Final - SHA384_Init SHA384_Update SHA384_Final - SHA512_Init SHA512_Update SHA512_Final -) - -PATCHES=( - # https://github.com/libarchive/libarchive/issues/2069 - # (we can simply update the command since we don't support old lrzip) - "${FILESDIR}/${PN}-3.7.2-lrzip.patch" -) - -src_prepare() { - default - - # Needed for flags to be respected w/ LTO - elibtoolize -} - -multilib_src_configure() { - export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923 - - local myconf=( - $(use_enable acl) - $(use_enable static-libs static) - $(use_enable xattr) - $(use_with blake2 libb2) - $(use_with bzip2 bz2lib) - $(use_with expat) - $(use_with !expat xml2) - $(use_with iconv) - $(use_with lz4) - $(use_with lzma) - $(use_with lzo lzo2) - $(use_with nettle) - --with-zlib - $(use_with zstd) - - # Windows-specific - --without-cng - ) - if multilib_is_native_abi ; then - myconf+=( - --enable-bsdcat="$(tc-is-static-only && echo static || echo shared)" - --enable-bsdcpio="$(tc-is-static-only && echo static || echo shared)" - --enable-bsdtar="$(tc-is-static-only && echo static || echo shared)" - --enable-bsdunzip="$(tc-is-static-only && echo static || echo shared)" - ) - else - myconf+=( - --disable-bsdcat - --disable-bsdcpio - --disable-bsdtar - --disable-bsdunzip - ) - fi - - ECONF_SOURCE="${S}" econf "${myconf[@]}" -} - -multilib_src_compile() { - if multilib_is_native_abi ; then - emake - else - emake libarchive.la - fi -} - -src_test() { - mkdir -p "${T}"/bin || die - # tests fail when lbzip2[symlink] is used in place of ref bunzip2 - ln -s "${BROOT}/bin/bunzip2" "${T}"/bin || die - # workaround lrzip broken on 32-bit arches with >= 10 threads - # https://bugs.gentoo.org/927766 - cat > "${T}"/bin/lrzip <<-EOF || die - #!/bin/sh - exec "$(type -P lrzip)" -p1 "\${@}" - EOF - chmod +x "${T}/bin/lrzip" || die - local -x PATH=${T}/bin:${PATH} - multilib-minimal_src_test -} - -multilib_src_test() { - # sandbox is breaking long symlink behavior - local -x SANDBOX_ON=0 - local -x LD_PRELOAD= - # some locales trigger different output that breaks tests - local -x LC_ALL=C.UTF-8 - emake check -} - -multilib_src_install() { - if multilib_is_native_abi ; then - emake DESTDIR="${D}" install - else - local install_targets=( - install-includeHEADERS - install-libLTLIBRARIES - install-pkgconfigDATA - ) - emake DESTDIR="${D}" "${install_targets[@]}" - fi - - # Libs.private: should be used from libarchive.pc instead - find "${ED}" -type f -name "*.la" -delete || die - # https://github.com/libarchive/libarchive/issues/1766 - sed -e '/Requires\.private/s:iconv::' \ - -i "${ED}/usr/$(get_libdir)/pkgconfig/libarchive.pc" || die -} diff --git a/sdk_container/src/third_party/portage-stable/app-arch/libarchive/libarchive-3.8.6.ebuild b/sdk_container/src/third_party/portage-stable/app-arch/libarchive/libarchive-3.8.8.ebuild similarity index 97% rename from sdk_container/src/third_party/portage-stable/app-arch/libarchive/libarchive-3.8.6.ebuild rename to sdk_container/src/third_party/portage-stable/app-arch/libarchive/libarchive-3.8.8.ebuild index 99a126cd2e0..58b2d5cfe76 100644 --- a/sdk_container/src/third_party/portage-stable/app-arch/libarchive/libarchive-3.8.6.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-arch/libarchive/libarchive-3.8.8.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="BSD BSD-2 BSD-4 public-domain" SLOT="0/13" -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=" acl blake2 +bzip2 +e2fsprogs expat +iconv lz4 +lzma lzo nettle static-libs test xattr +zstd From 743ac53fbbdcd6f7b354b0cbe0aafca2374ec0bb Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:02 +0000 Subject: [PATCH 006/243] app-arch/tar: Sync with Gentoo It's from Gentoo commit 17399bba67eee69b7a4096f94cb86fa65b64684e. Signed-off-by: Flatcar Buildbot --- .../tar/files/tar-1.35-acl-2.4.0.patch | 99 +++++++++++++ .../app-arch/tar/tar-1.35-r1.ebuild | 139 ++++++++++++++++++ 2 files changed, 238 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/app-arch/tar/files/tar-1.35-acl-2.4.0.patch create mode 100644 sdk_container/src/third_party/portage-stable/app-arch/tar/tar-1.35-r1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-arch/tar/files/tar-1.35-acl-2.4.0.patch b/sdk_container/src/third_party/portage-stable/app-arch/tar/files/tar-1.35-acl-2.4.0.patch new file mode 100644 index 00000000000..dfaf2fb1d51 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-arch/tar/files/tar-1.35-acl-2.4.0.patch @@ -0,0 +1,99 @@ +https://bugs.gentoo.org/978280 +https://lists.gnu.org/archive/html/bug-tar/2026-06/msg00013.html + +From f1ecf60ea59c1503e63e887e455756b68db04806 Mon Sep 17 00:00:00 2001 +From: Pavel Cahyna +Date: Wed, 24 Jun 2026 18:45:30 +0200 +Subject: [PATCH] Avoid acl_ prefix for functions + +The acl.h header from libacl uses acl_ prefix for its functions. Avoid +defining functions with the same name in order to protect its namespace. +--- + src/xattrs.c | 30 +++++++++++++++--------------- + 1 file changed, 15 insertions(+), 15 deletions(-) + +diff --git a/src/xattrs.c b/src/xattrs.c +index 86a7e59..c872ae3 100644 +--- a/src/xattrs.c ++++ b/src/xattrs.c +@@ -139,13 +139,13 @@ static struct + #ifdef HAVE_POSIX_ACLS + + /* acl-at wrappers, TODO: move to gnulib in future? */ +-static acl_t acl_get_file_at (int, const char *, acl_type_t); +-static int acl_set_file_at (int, const char *, acl_type_t, acl_t); ++static acl_t tar_acl_get_file_at (int, const char *, acl_type_t); ++static int tar_acl_set_file_at (int, const char *, acl_type_t, acl_t); + static int file_has_acl_at (int, char const *, struct stat const *); +-static int acl_delete_def_file_at (int, char const *); ++static int tar_acl_delete_def_file_at (int, char const *); + +-/* acl_get_file_at */ +-#define AT_FUNC_NAME acl_get_file_at ++/* tar_acl_get_file_at */ ++#define AT_FUNC_NAME tar_acl_get_file_at + #define AT_FUNC_RESULT acl_t + #define AT_FUNC_FAIL (acl_t)NULL + #define AT_FUNC_F1 acl_get_file +@@ -159,8 +159,8 @@ static int acl_delete_def_file_at (int, char const *); + #undef AT_FUNC_POST_FILE_PARAM_DECLS + #undef AT_FUNC_POST_FILE_ARGS + +-/* acl_set_file_at */ +-#define AT_FUNC_NAME acl_set_file_at ++/* tar_acl_set_file_at */ ++#define AT_FUNC_NAME tar_acl_set_file_at + #define AT_FUNC_F1 acl_set_file + #define AT_FUNC_POST_FILE_PARAM_DECLS , acl_type_t type, acl_t acl + #define AT_FUNC_POST_FILE_ARGS , type, acl +@@ -170,8 +170,8 @@ static int acl_delete_def_file_at (int, char const *); + #undef AT_FUNC_POST_FILE_PARAM_DECLS + #undef AT_FUNC_POST_FILE_ARGS + +-/* acl_delete_def_file_at */ +-#define AT_FUNC_NAME acl_delete_def_file_at ++/* tar_acl_delete_def_file_at */ ++#define AT_FUNC_NAME tar_acl_delete_def_file_at + #define AT_FUNC_F1 acl_delete_def_file + #define AT_FUNC_POST_FILE_PARAM_DECLS + #define AT_FUNC_POST_FILE_ARGS +@@ -299,10 +299,10 @@ xattrs__acls_set (struct tar_stat_info const *st, + /* No "default" IEEE 1003.1e ACL set for directory. At this moment, + FILE_NAME may already have inherited default acls from parent + directory; clean them up. */ +- if (acl_delete_def_file_at (chdir_fd, file_name)) ++ if (tar_acl_delete_def_file_at (chdir_fd, file_name)) + WARNOPT (WARN_XATTR_WRITE, + (0, errno, +- _("acl_delete_def_file_at: Cannot drop default POSIX ACLs " ++ _("tar_acl_delete_def_file_at: Cannot drop default POSIX ACLs " + "for file '%s'"), + file_name)); + return; +@@ -316,11 +316,11 @@ xattrs__acls_set (struct tar_stat_info const *st, + return; + } + +- if (acl_set_file_at (chdir_fd, file_name, type, acl) == -1) ++ if (tar_acl_set_file_at (chdir_fd, file_name, type, acl) == -1) + /* warn even if filesystem does not support acls */ + WARNOPT (WARN_XATTR_WRITE, + (0, errno, +- _ ("acl_set_file_at: Cannot set POSIX ACLs for file '%s'"), ++ _ ("tar_acl_set_file_at: Cannot set POSIX ACLs for file '%s'"), + file_name)); + + acl_free (acl); +@@ -357,10 +357,10 @@ acls_get_text (int parentfd, const char *file_name, acl_type_t type, + char *val = NULL; + acl_t acl; + +- if (!(acl = acl_get_file_at (parentfd, file_name, type))) ++ if (!(acl = tar_acl_get_file_at (parentfd, file_name, type))) + { + if (errno != ENOTSUP) +- call_arg_warn ("acl_get_file_at", file_name); ++ call_arg_warn ("tar_acl_get_file_at", file_name); + return; + } + diff --git a/sdk_container/src/third_party/portage-stable/app-arch/tar/tar-1.35-r1.ebuild b/sdk_container/src/third_party/portage-stable/app-arch/tar/tar-1.35-r1.ebuild new file mode 100644 index 00000000000..47581c38df2 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-arch/tar/tar-1.35-r1.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/tar.asc +inherit branding check-reqs multiprocessing verify-sig + +DESCRIPTION="Use this to make tarballs :)" +HOMEPAGE="https://www.gnu.org/software/tar/" +SRC_URI=" + mirror://gnu/tar/${P}.tar.xz + https://alpha.gnu.org/gnu/tar/${P}.tar.xz + verify-sig? ( + mirror://gnu/tar/${P}.tar.xz.sig + https://alpha.gnu.org/gnu/tar/${P}.tar.xz.sig + ) +" + +LICENSE="GPL-3+" +SLOT="0" +if [[ -z "$(ver_cut 3)" || "$(ver_cut 3)" -lt 90 ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +fi +IUSE="acl minimal nls selinux test xattr" +RESTRICT="!test? ( test )" + +RDEPEND=" + acl? ( virtual/acl ) + selinux? ( sys-libs/libselinux ) +" +DEPEND=" + ${RDEPEND} + xattr? ( elibc_glibc? ( sys-apps/attr ) ) +" +BDEPEND=" + nls? ( sys-devel/gettext ) + verify-sig? ( sec-keys/openpgp-keys-tar ) +" +PDEPEND=" + app-alternatives/tar +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.35-acl-2.4.0.patch +) + +check_space() { + if use test; then + # https://bugs.gentoo.org/978323 + local CHECKREQS_DISK_BUILD=11G + check-reqs_pkg_setup + fi +} + +pkg_pretend() { + check_space +} + +pkg_setup() { + check_space +} + +src_configure() { + # -fanalyzer doesn't make sense for us in ebuilds, as it's for static analysis + export gl_cv_warn_c__fanalyzer=no + + local myeconfargs=( + --bindir="${EPREFIX}"/bin + # Avoid -Werror + --disable-gcc-warnings + --enable-backup-scripts + --libexecdir="${EPREFIX}"/usr/sbin + $(use_with acl posix-acls) + $(use_enable nls) + $(use_with selinux) + $(use_with xattr xattrs) + + # autoconf looks for gtar before tar (in configure scripts), hence + # in Prefix it is important that it is there, otherwise, a gtar from + # the host system (FreeBSD, Solaris, Darwin) will be found instead + # of the Prefix provided (GNU) tar + --program-prefix=g + ) + + # https://savannah.gnu.org/support/?111394 + # This can be removed when we patch dev-build/autoconf, though + # packages w/o eautoreconf will still need it. + [[ ${enable_year2038} == "no" ]] && myeconfargs+=( --disable-year2038 ) + + # Drop CONFIG_SHELL hack after 1.35: https://git.savannah.gnu.org/cgit/tar.git/commit/?id=7687bf4acc4dc4554538389383d7fb4c3e6521cd + CONFIG_SHELL="${BROOT}"/bin/bash FORCE_UNSAFE_CONFIGURE=1 econf "${myeconfargs[@]}" +} + +src_test() { + # Drop after 1.35: https://git.savannah.gnu.org/cgit/tar.git/commit/?id=18f90676e4695ffcf13413e9fbb24cc0ae2ae9d5 + local -x XZ_OPT= XZ_DEFAULTS= + + emake check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)" +} + +src_install() { + default + + # A nasty yet required piece of baggage + exeinto /etc + doexe "${FILESDIR}"/rmt + + mv "${ED}"/usr/sbin/{gbackup,backup-tar} || die + mv "${ED}"/usr/sbin/{grestore,restore-tar} || die + mv "${ED}"/usr/sbin/{g,}backup.sh || die + mv "${ED}"/usr/sbin/{g,}dump-remind || die + + if use minimal ; then + find "${ED}"/etc "${ED}"/*bin/ "${ED}"/usr/*bin/ \ + -type f -a '!' -name gtar \ + -delete || die + fi + + if ! use minimal; then + dosym grmt /usr/sbin/rmt + fi + dosym grmt.8 /usr/share/man/man8/rmt.8 +} + +pkg_postinst() { + # Ensure to preserve the symlink before app-alternatives/tar + # is installed + if [[ ! -h ${EROOT}/bin/tar ]]; then + if [[ -e ${EROOT}/usr/bin/tar ]] ; then + # bug #904887 + ewarn "${EROOT}/usr/bin/tar exists but is not a symlink." + ewarn "This is expected during Prefix bootstrap and unusual otherwise." + ewarn "Moving away unexpected ${EROOT}/usr/bin/tar to .bak." + mv "${EROOT}/usr/bin/tar" "${EROOT}/usr/bin/tar.bak" || die + fi + ln -s gtar "${EROOT}/bin/tar" || die + fi +} From b9f071449c9278e55665cf53f8cf96262a94db30 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:05 +0000 Subject: [PATCH 007/243] app-containers/aardvark-dns: Sync with Gentoo It's from Gentoo commit 571b74c8fdc2a11ae9f53589c4ce454d9210c413. Signed-off-by: Flatcar Buildbot --- .../app-containers/aardvark-dns/Manifest | 2 + .../aardvark-dns/aardvark-dns-1.17.1.ebuild | 2 +- .../aardvark-dns/aardvark-dns-2.0.0.ebuild | 49 +++++++++++++++++++ 3 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 sdk_container/src/third_party/portage-stable/app-containers/aardvark-dns/aardvark-dns-2.0.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-containers/aardvark-dns/Manifest b/sdk_container/src/third_party/portage-stable/app-containers/aardvark-dns/Manifest index 9d55d9815e7..66f4ee9f655 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/aardvark-dns/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-containers/aardvark-dns/Manifest @@ -1,6 +1,8 @@ DIST aardvark-dns-1.15.0.crate 59884 BLAKE2B 6be0126b526359b1c402a6f10cfe9b28b9d351621b0f1e9556150fb2477a2c468938dbac1c11bde3eff6deb258ccfa6ed05e6f2a01206d3e08f1e88193016432 SHA512 963d68a662439ea920fbeec08eaa3b9fb486f5e61e46b702b0c9211241c3b1057ce573bac1f75ed558faa0cc99b0f36b7f5299c296e30b6ce6ed046a02cd9782 DIST aardvark-dns-1.17.0.crate 62370 BLAKE2B 7105e4c96e973d6cbda48d7db957423a0743330c53fd694be14951b85ba162624ffa3d96d6737856d7e5d39910a26403a4ab11e912317d6449a85642c8c5d236 SHA512 f8cc4f39b9a16106a7fbe08c94558507e0519018709ceb80474696be24328626f76aedf9bdd12c853be0728f4e9c57e945b442e7f66c22042e25410a690b69e0 DIST aardvark-dns-1.17.1.crate 62779 BLAKE2B 487b8de4d01df37ca8eef8b911f8231db1df4417a61b921e1c109661af0270115b8941d56493a468a6ecd58174c0074a5c8687c8d4ae6d21bfc028efae45d663 SHA512 eee8ecd47626093dd2f0a60f862593c035efc87fd4ba9fc209c93f75ca624300bc70ecc11a3828198eb36ff97ab0bb32ba090c0708793279117793876ede47a3 +DIST aardvark-dns-2.0.0.crate 60884 BLAKE2B c883311c633b069a52fe07d0a6ccdd1958cfc79cb8d8d96373685e56ecf500119b7287680a0be46359125631442e0d5cd2a82e0a4ce181102c363612968e1257 SHA512 8ff50f93015ab1d343ce42a81bdbede016e77e5709f111f1085df2b1a9a683694ccde16d4267092055f1b30ac335f1dabb6d6b8932e0225159ebd9b2bfab9df2 DIST aardvark-dns-v1.15.0-vendor.tar.gz 9910590 BLAKE2B 876be4b719cf7d364dbd8ce04a3984d32b24dfba81ece1ce56d1f3e3f80f2607eefd77ff7dece2a678240b1f996cb498ae81f1be06c8f7eaa696eb6001090e4b SHA512 fbe6e77a2d412ed34bcf2c710db3aa8989a5887ab475988c393fb1c49584cac5b09a34b82e880eebe81c59af7817985af87391ffb8421da07abf080704cae5c0 DIST aardvark-dns-v1.17.0-vendor.tar.gz 10267613 BLAKE2B 72b5da08584c5a35188d50646ec98b6463578b09520121224807e3770d6e911b12f61597ca5852be75a8e9de9ade02d507f490ff3a414e681fe31076930dde78 SHA512 b7ec2a2a34d5bb36dbcc55611dc9ec0ff2c1bed4469cc4b12d4eb0bd78bb7d6cae6f80a02ac32ade5c435fdd11e22ddd99646aa4de504c8369ee56cfa470e6a5 DIST aardvark-dns-v1.17.1-vendor.tar.gz 10267576 BLAKE2B 984a27b5dbd773d9fa2db7123e8bd16f59407249caa1ab203d76bd1626b63e7bbadcf9a32e46b087d8cbb38442e7203bd810ce8d45c988e24c3237ea282def0a SHA512 ce6768f90a731a55511fdb78f8048ed3c5ff4b058d3edfc7832430330a239b58b6250851c6a268706f24b4fc94f47afd6ce4c1e4cbb1132e0dc7a2d0127d62ff +DIST aardvark-dns-v2.0.0-vendor.tar.gz 10533784 BLAKE2B 96792ab9a38b0e7a1c05a8536a617ecaa5f2da5b1b3a530cd7fff4cae8f6a62739b3186c57be360d678bc0f024a876df4e9ddac030a828e1914796bf0d669189 SHA512 dc7d72dd8dc18031be55578e12c911f73137632e5c92a04a53a85bcf99b7dae4ad4faddc483a99e3cf5d5cab6a8e22d09bc47e6ae38ce15e7ba9b07fc10e9ea4 diff --git a/sdk_container/src/third_party/portage-stable/app-containers/aardvark-dns/aardvark-dns-1.17.1.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/aardvark-dns/aardvark-dns-1.17.1.ebuild index 7eae965ad9c..7710b5e98cd 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/aardvark-dns/aardvark-dns-1.17.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-containers/aardvark-dns/aardvark-dns-1.17.1.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == 9999* ]]; then else SRC_URI="${CARGO_CRATE_URIS}" SRC_URI+="https://github.com/containers/aardvark-dns/releases/download/v${PV}/${PN}-v${PV}-vendor.tar.gz" - KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv" + KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv" fi # main diff --git a/sdk_container/src/third_party/portage-stable/app-containers/aardvark-dns/aardvark-dns-2.0.0.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/aardvark-dns/aardvark-dns-2.0.0.ebuild new file mode 100644 index 00000000000..7eae965ad9c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-containers/aardvark-dns/aardvark-dns-2.0.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +RUST_MIN_VER="1.88.0" +[[ ${PV} == 9999* ]] || CRATES="${PN}@${PV}" +inherit cargo + +DESCRIPTION="A container-focused DNS server" +HOMEPAGE="https://github.com/containers/aardvark-dns" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/containers/aardvark-dns.git" +else + SRC_URI="${CARGO_CRATE_URIS}" + SRC_URI+="https://github.com/containers/aardvark-dns/releases/download/v${PV}/${PN}-v${PV}-vendor.tar.gz" + KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv" +fi + +# main +LICENSE="Apache-2.0" +# deps +LICENSE+=" 0BSD Apache-2.0-with-LLVM-exceptions MIT Unlicense Unicode-DFS-2016 ZLIB" +SLOT="0" + +QA_FLAGS_IGNORED="usr/libexec/podman/${PN}" +QA_PRESTRIPPED="usr/libexec/podman/${PN}" +ECARGO_VENDOR="${WORKDIR}/vendor" + +src_unpack() { + if [[ ${PV} == 9999* ]]; then + git-r3_src_unpack + cargo_live_src_unpack + else + cargo_src_unpack + fi +} + +src_prepare() { + default + sed -i -e "s|m0755 bin|m0755 $(cargo_target_dir)|g;" Makefile || die +} + +src_install() { + local -x PREFIX="${EPREFIX}"/usr + default +} From a54d791174af4c5977ec213c920936749975dfd5 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:07 +0000 Subject: [PATCH 008/243] app-containers/conmon: Sync with Gentoo It's from Gentoo commit ebfc4ca806627574f0734897bbf8731cb8f5ae21. Signed-off-by: Flatcar Buildbot --- .../app-containers/conmon/Manifest | 1 + .../conmon/conmon-2.1.11.ebuild | 5 +- .../conmon/conmon-2.1.13.ebuild | 5 +- .../app-containers/conmon/conmon-2.2.1.ebuild | 50 +++++++++++++++++++ .../app-containers/conmon/conmon-9999.ebuild | 5 +- 5 files changed, 60 insertions(+), 6 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/app-containers/conmon/conmon-2.2.1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-containers/conmon/Manifest b/sdk_container/src/third_party/portage-stable/app-containers/conmon/Manifest index f5dc825381c..dfff9370899 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/conmon/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-containers/conmon/Manifest @@ -1,3 +1,4 @@ DIST conmon-2.1.11-make-docs-target-not-depend-on-install.tools.patch 985 BLAKE2B f2f34ca9a6f067f88f39726b52c5d476946413e84a93bfff2b9d4e9a0b9b117bf25a903455c3a762895746c5bca6eb93bf2ac7c2c6123d7b9bca9c345aba6230 SHA512 a9716057b0127d2b5aaca303e6d26484a5dbe91b9114259b2fded2a0c803568749b725e816004c80cb8b47ddff7a2fbcc231edd2df1d78a56ecaf6d3020c7fd7 DIST conmon-2.1.11.tar.gz 121573 BLAKE2B 600a3e13eee5f71ef5f7aa21d9cf0184dd01c8e5e68d31aa35efcb08c3cf4305313fcfcf0aba3eedb243fe36f0e1e27f68a71627e2050c8ed4a73de273b98131 SHA512 47952f6cbbb810591d78c67856100be0edbf96d30328a10f22c3ec927bc6d1187540824c388d1fc7f3bb16fb7414339f3f20311d1baffb1fae1e38c4d5e7249c DIST conmon-2.1.13.tar.gz 116624 BLAKE2B b6e707521a1d4f1f843b07af7e861f7e2ef29f5f7f52a2cd73add16718b8d9c71659c620d236ce9287cf75048d0427139bfcc798c5eeb6a91e8c20bb9448a826 SHA512 cb98b26b3c5f5e5f0b09f5373bd58dc958b66ac4edcac2aa509f48be8b7e9a33001428016290944c4002ddbf63e11fb4657aaad879c89c5776f8c8031f4d1d08 +DIST conmon-2.2.1.tar.gz 84632 BLAKE2B 286b2487ddc4cc50d45207921db43a8044a62ac4c432360dca6139ee756d4c84974e1c7275adcad1c3aa87f8a9344f8a941d95f05fa4cb88ddcd8fb4b15dedd4 SHA512 52513fc25b0db0b7c9c99aa63f6be4c495add350b9269fad67136f728d3399dbb54c5fa526d52c158c67956ded8980f1cc3624fc531a152b16c09caa3399be3b diff --git a/sdk_container/src/third_party/portage-stable/app-containers/conmon/conmon-2.1.11.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/conmon/conmon-2.1.11.ebuild index fe547983096..bbd81e5153d 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/conmon/conmon-2.1.11.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-containers/conmon/conmon-2.1.11.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,7 +23,7 @@ fi LICENSE="Apache-2.0" SLOT="0" -IUSE="+seccomp systemd" +IUSE="+seccomp selinux systemd" RESTRICT="test" RDEPEND="dev-libs/glib:= @@ -31,6 +31,7 @@ RDEPEND="dev-libs/glib:= systemd? ( sys-apps/systemd:= )" DEPEND="${RDEPEND}" BDEPEND="dev-go/go-md2man" +RDEPEND+=" selinux? ( sec-policy/selinux-podman )" PATCHES=( # https://github.com/containers/conmon/pull/507 diff --git a/sdk_container/src/third_party/portage-stable/app-containers/conmon/conmon-2.1.13.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/conmon/conmon-2.1.13.ebuild index e7a9cbac638..ad06b4ce210 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/conmon/conmon-2.1.13.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-containers/conmon/conmon-2.1.13.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,7 @@ fi LICENSE="Apache-2.0" SLOT="0" -IUSE="+seccomp systemd" +IUSE="+seccomp selinux systemd" RESTRICT="test" RDEPEND="dev-libs/glib:= @@ -26,6 +26,7 @@ RDEPEND="dev-libs/glib:= systemd? ( sys-apps/systemd:= )" DEPEND="${RDEPEND}" BDEPEND="dev-go/go-md2man" +RDEPEND+=" selinux? ( sec-policy/selinux-podman )" src_prepare() { default diff --git a/sdk_container/src/third_party/portage-stable/app-containers/conmon/conmon-2.2.1.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/conmon/conmon-2.2.1.ebuild new file mode 100644 index 00000000000..50c6c665153 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-containers/conmon/conmon-2.2.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="An OCI container runtime monitor" +HOMEPAGE="https://github.com/containers/conmon" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + 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" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+seccomp selinux systemd" +RESTRICT="test" + +DEPEND=" + dev-libs/glib:= + seccomp? ( sys-libs/libseccomp ) + systemd? ( sys-apps/systemd:= ) +" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-podman ) +" +BDEPEND="dev-go/go-md2man" + +src_prepare() { + default + sed -i -e "s|shell.*--exists libsystemd.* && echo \"0\"|shell echo $(usex systemd 0 1)|g;" Makefile || die + echo -e "#!/usr/bin/env bash\necho $(usex seccomp 0 1)" > hack/seccomp-notify.sh || die +} + +src_compile() { + tc-export CC PKG_CONFIG + export PREFIX="${EPREFIX}/usr" GOMD2MAN=$(command -v go-md2man) + default +} + +src_install() { + default + dosym -r /usr/bin/"${PN}" /usr/libexec/crio/"${PN}" + dosym -r /usr/bin/"${PN}" /usr/libexec/podman/"${PN}" +} diff --git a/sdk_container/src/third_party/portage-stable/app-containers/conmon/conmon-9999.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/conmon/conmon-9999.ebuild index c2141f095e2..0c40a76b571 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/conmon/conmon-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-containers/conmon/conmon-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,7 @@ fi LICENSE="Apache-2.0" SLOT="0" -IUSE="+seccomp systemd" +IUSE="+seccomp selinux systemd" RESTRICT="test" RDEPEND="dev-libs/glib:= @@ -26,6 +26,7 @@ RDEPEND="dev-libs/glib:= systemd? ( sys-apps/systemd:= )" DEPEND="${RDEPEND}" BDEPEND="dev-go/go-md2man" +RDEPEND+=" selinux? ( sec-policy/selinux-podman )" src_prepare() { default From 7ea0f0ab4cd88f907073ca3dbe33a13d36a722d3 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:12 +0000 Subject: [PATCH 009/243] app-containers/cri-tools: Sync with Gentoo It's from Gentoo commit 9c076fd890fd98617e60966f514492694e9ab7df. Signed-off-by: Flatcar Buildbot --- .../app-containers/cri-tools/Manifest | 1 + .../cri-tools/cri-tools-1.35.0.ebuild | 2 +- .../cri-tools/cri-tools-1.36.0.ebuild | 39 +++++++++++++++++++ 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 sdk_container/src/third_party/portage-stable/app-containers/cri-tools/cri-tools-1.36.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-containers/cri-tools/Manifest b/sdk_container/src/third_party/portage-stable/app-containers/cri-tools/Manifest index 7738b760a47..b036db60590 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/cri-tools/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-containers/cri-tools/Manifest @@ -1,2 +1,3 @@ DIST cri-tools-1.33.0.tar.gz 7754304 BLAKE2B 42011726997a07842fd3c9769335a71e37e1689e443a0d1a99916b5729cc22092593928a6b94bbc3718a0e5f89f3818c3b6d6155970de21e8eee30fc979a294d SHA512 0252243147e32e06328c192f77397461a729aec621bee92083dcf3899e9ffbb62386a944795535cc4a0deb5c88d1017082db8bf221f6627feb7dcd100dc70457 DIST cri-tools-1.35.0.tar.gz 8074824 BLAKE2B a91dcfc326857e0dc43867189f0c2fac2a12ce112a4439eba61cfe655fba1dec455a3070bd5068cf4934487bf94255cd60197c3f7fd4aa20465ebb1bd4f63b7c SHA512 ea34e736b457f851b610e8091ebbb608ac0f790c80156ad3e1a7080c76df4ea759091300b7ee6b5812a42ec93e165d71b6fa06f12424f46b4b181f5059b100bb +DIST cri-tools-1.36.0.tar.gz 7432869 BLAKE2B 57711c75ee1f54a99e087afa67d20e9b1f0a38e9a5da5e5c85724e84a95cb4d0b32b0e0b2ffa6d8aad60218684fe95d6445b6b57f253447cc7c09ddca43a5835 SHA512 5daa05ad977c85c5656c0fd1a6d4dd0b4596bf9d05038229fa522941e51793fff4272bb7c403b6bff6b6dde80d6f45f161e979861547bf5fb91095a096726967 diff --git a/sdk_container/src/third_party/portage-stable/app-containers/cri-tools/cri-tools-1.35.0.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/cri-tools/cri-tools-1.35.0.ebuild index 883e4f074b6..70c8c7c9827 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/cri-tools/cri-tools-1.35.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-containers/cri-tools/cri-tools-1.35.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit go-env go-module shell-completion sysroot +inherit go-module shell-completion sysroot DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)" HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools" diff --git a/sdk_container/src/third_party/portage-stable/app-containers/cri-tools/cri-tools-1.36.0.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/cri-tools/cri-tools-1.36.0.ebuild new file mode 100644 index 00000000000..70c8c7c9827 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-containers/cri-tools/cri-tools-1.36.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module shell-completion sysroot + +DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)" +HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools" +SRC_URI="https://github.com/kubernetes-sigs/cri-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +RESTRICT="test" + +BDEPEND=">=dev-lang/go-1.26.2" + +PATCHES=( + "${FILESDIR}"/${PN}-goflags.patch +) + +DOCS=( docs {README,RELEASE,CHANGELOG,CONTRIBUTING}.md ) + +src_compile() { + CRICTL="build/bin/${GOOS}/${GOARCH}/crictl" + emake VERSION="${PV}" + + sysroot_try_run_prefixed "${CRICTL}" completion bash > crictl.bash || die + sysroot_try_run_prefixed "${CRICTL}" completion zsh > crictl.zsh || die +} + +src_install() { + einstalldocs + dobin "${CRICTL}" + + [[ -s crictl.bash ]] && newbashcomp crictl.bash crictl + [[ -s crictl.zsh ]] && newzshcomp crictl.zsh _crictl +} From 4d5eed20799e028f50e53bd3614f455cc396a37a Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:12 +0000 Subject: [PATCH 010/243] app-containers/crun: Sync with Gentoo It's from Gentoo commit 4382c10536e0cb5620c9ef1fb9fc39d3987240b5. Signed-off-by: Flatcar Buildbot --- .../app-containers/crun/Manifest | 1 + .../app-containers/crun/crun-1.25.1.ebuild | 4 +- .../app-containers/crun/crun-1.28.ebuild | 91 +++++++++++++++++++ .../files/crun-1.28-export-json_gen.patch | 15 +++ 4 files changed, 109 insertions(+), 2 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/app-containers/crun/crun-1.28.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/app-containers/crun/files/crun-1.28-export-json_gen.patch diff --git a/sdk_container/src/third_party/portage-stable/app-containers/crun/Manifest b/sdk_container/src/third_party/portage-stable/app-containers/crun/Manifest index 898228c7ae2..e96945bc72d 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/crun/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-containers/crun/Manifest @@ -2,3 +2,4 @@ DIST crun-1.19.1.tar.gz 1786019 BLAKE2B 555f7c917c9e9ed80919b708cd711890d47c395b DIST crun-1.20.tar.gz 1787750 BLAKE2B 4f31c21056c6c764c76021d3121dfaa4dd9b91f17def977238df831af02f27aff267cf22c3f1ade4f332d757ffc50cc98a480aea7cd67b3552f19ba5c810c3f8 SHA512 759326768a9a141ecaec5824e3c30cade0a0c7d848935d434cada4fdc5a59a992f1916515141a84387cdb95ee1307f5bec471679d7ff9b403b0cb2b10c7dfd74 DIST crun-1.21.tar.gz 1788933 BLAKE2B bc854f8eb24566d608e90b44cb7dd2509b59cf6594eef244839f15beef2d241eab7149aabcf2156694043ab00367e312f58599deb324b85493555958eedaf849 SHA512 dbec4b55645587046a83903822a00b93092b26fdf36d6df9b086674815b53a9a60f907c1611eb9535f3186a03d6e8a98ae6e40e9f4e287855ea17745c3578d4f DIST crun-1.25.1.tar.gz 1867772 BLAKE2B 8bd15f34d867800838514d6fcc1fe90de5488ad29addb483148ab15027bcebaa7d5eb23dfe9d939679e1f0168c7104e0a3de1eaedc13de898faa1e116761b92f SHA512 46ec1efbd0532c2c531daad770670082bb57c5d11959f328ee6d20c4e4d6ba2a050150883fd01475f94850eb3ee8ce4bc8654f76cee3f83edebf208cd32d1cf8 +DIST crun-1.28.tar.gz 1585077 BLAKE2B bc7d7cdaad87ad4131247f07fc947de69c51a7f6f909939f8b3e49035493dc87648d01340d9a1495af3c84741e4a619815ad6c012099fb3391958fdfda1bde8c SHA512 b27af828aaf8d7911669ab2df396ba8e314f6a14e31c7d40e19d79e9ba3f9e301e70e82a1d56def5aef171d2b69ac40ec7624ccd4cfd060f06e7762f801037ec diff --git a/sdk_container/src/third_party/portage-stable/app-containers/crun/crun-1.25.1.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/crun/crun-1.25.1.ebuild index 6e274066d16..373cb4b0090 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/crun/crun-1.25.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-containers/crun/crun-1.25.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2025 Gentoo Authors +# Copyright 2019-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -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+" diff --git a/sdk_container/src/third_party/portage-stable/app-containers/crun/crun-1.28.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/crun/crun-1.28.ebuild new file mode 100644 index 00000000000..24f1aec250c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-containers/crun/crun-1.28.ebuild @@ -0,0 +1,91 @@ +# Copyright 2019-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..14} ) + +inherit autotools libtool python-any-r1 flag-o-matic toolchain-funcs + +DESCRIPTION="Fast and low-memory footprint OCI Container Runtime fully written in C" +HOMEPAGE="https://github.com/containers/crun" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + 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" +fi + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0" +IUSE="+bpf +caps criu +seccomp selinux systemd static-libs" + +DEPEND=" + dev-libs/json-c:= + sys-kernel/linux-headers + caps? ( sys-libs/libcap ) + criu? ( >=sys-process/criu-3.15 ) + elibc_musl? ( sys-libs/error-standalone ) + seccomp? ( sys-libs/libseccomp ) + systemd? ( sys-apps/systemd:= ) +" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-container ) +" +BDEPEND=" + ${PYTHON_DEPS} + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${P}-export-json_gen.patch +) + +src_prepare() { + default + elibtoolize + eautoreconf +} + +src_configure() { + if use elibc_musl ; then + append-cflags "$($(tc-getPKG_CONFIG) --cflags error-standalone)" + append-libs "$($(tc-getPKG_CONFIG) --libs error-standalone)" + fi + local myeconfargs=( + --cache-file="${S}"/config.cache + $(use_enable bpf) + $(use_enable caps) + $(use_enable criu) + $(use_enable seccomp) + $(use_enable systemd) + --enable-shared + $(use_enable static-libs static) + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + emake check-TESTS -C ./libocispec + + # The crun test suite is comprehensive to the extent that tests will fail + # within a sandbox environment, due to the nature of the privileges + # required to create linux "containers". + local supported_tests=( + "tests/tests_libcrun_utils" + "tests/tests_libcrun_errors" + "tests/tests_libcrun_intelrdt" + ) + emake check-TESTS TESTS="${supported_tests[*]}" CFLAGS="${CFLAGS} -std=gnu17" +} + +src_install() { + emake "DESTDIR=${D}" install-exec + doman crun.1 + einstalldocs + + find "${ED}" -name '*.la' -type f -delete || die +} diff --git a/sdk_container/src/third_party/portage-stable/app-containers/crun/files/crun-1.28-export-json_gen.patch b/sdk_container/src/third_party/portage-stable/app-containers/crun/files/crun-1.28-export-json_gen.patch new file mode 100644 index 00000000000..9e28a5c588d --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-containers/crun/files/crun-1.28-export-json_gen.patch @@ -0,0 +1,15 @@ +https://github.com/containers/crun/pull/2102 +Subject: [PATCH] build: export json_gen_* symbols + +Closes: https://github.com/containers/crun/issues/2101 +Signed-off-by: Giuseppe Scrivano +--- a/libcrun.lds ++++ b/libcrun.lds +@@ -6,5 +6,6 @@ + runtime_spec_*; + free_runtime_spec_*; + make_runtime_spec_*; ++ json_gen_*; + local: *; + }; + From 71a722ab97b6cf0705c0013eabae8ca78704d430 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:13 +0000 Subject: [PATCH 011/243] app-containers/docker: Sync with Gentoo It's from Gentoo commit ec30dc06c0c28f024c45effda6471dafcbe4f936. Signed-off-by: Flatcar Buildbot --- .../app-containers/docker/Manifest | 1 + .../docker/docker-29.1.3-r1.ebuild | 2 +- .../docker/docker-29.5.2.ebuild | 336 ++++++++++++++++++ 3 files changed, 338 insertions(+), 1 deletion(-) create mode 100644 sdk_container/src/third_party/portage-stable/app-containers/docker/docker-29.5.2.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-containers/docker/Manifest b/sdk_container/src/third_party/portage-stable/app-containers/docker/Manifest index c8c40c95542..d3b72581dc0 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/docker/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-containers/docker/Manifest @@ -4,3 +4,4 @@ DIST docker-28.1.1.tar.gz 17719438 BLAKE2B 95307e9c03e4c1ad436fffe321f69c269c0fb DIST docker-28.2.2.tar.gz 17861904 BLAKE2B 6f55e96d653579b749908080550ebee0635549fafd25c775fd59126018820a30f5234c680834a7ece897cb0f38f92f5afe3684d5dbc43694837516528c79f19b SHA512 e63ce38bb7badb01de918f678ad9fb216b279170177fe7d7c4120c8a1196add485cc974f9dff239a274220ebab60a2dc6852f07dc2ddafe8cec07c65dbd19a49 DIST docker-28.4.0.tar.gz 18066393 BLAKE2B 70c9910bec169994ddd39f46e4a7042e5f38a3b76e8a43389ee934fb7f3c75ae686f32ad7f3cbc0dcff210b5c0eeed24674db0fdf4e845e78c330cf6c2b75918 SHA512 a98f8012547dc1e61e6a4f420355d29fbd6f6ddb5642601d8762099768e0b284fcf129ee31af155049731f61f43ff4efe42313467055dae32337dc5cc8c8cf78 DIST docker-29.1.3.tar.gz 19491833 BLAKE2B ded1a1832b1ce037776e04855a0ea7c3f45981df41bdace54c3b84496a2990b0450ed62b34a6f3c289dec2643d28a7563c9afba55c88fc0e1cc4fb7855220800 SHA512 e3fa96057beb2849fea6e4fd480b08ffbe9b74b851060901e54e57aa62938888b260b7cef4cee33d4cffd965fabc0db7fc0aa5aeeae9aa6b9870c3dbcf7b6ec3 +DIST docker-29.5.2.tar.gz 21115630 BLAKE2B f47b730a470c0ab4868beb6d4187b9ff34d06ecf4f381f3e89b89e6f9b18b5bf4c9220ee2e0d6977d4b2b0dfddd4fb9f7e171316dcb2935428bfc9ca350dd17f SHA512 c5cbb956711e9ce8dbab010bf1eab3fd9b35e35806188e3030a3bbeafb545f4024504577df7c39588672c8d5252f6ab071bcfd6377867f4668b75855571469fb diff --git a/sdk_container/src/third_party/portage-stable/app-containers/docker/docker-29.1.3-r1.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/docker/docker-29.1.3-r1.ebuild index 469351027f1..195f3a9b38e 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/docker/docker-29.1.3-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-containers/docker/docker-29.1.3-r1.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/moby-${PN}-v${PV}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ppc64 ~riscv ~x86" IUSE="apparmor btrfs +container-init cuda +overlay2 seccomp selinux systemd" DEPEND=" diff --git a/sdk_container/src/third_party/portage-stable/app-containers/docker/docker-29.5.2.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/docker/docker-29.5.2.ebuild new file mode 100644 index 00000000000..56db6666c11 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-containers/docker/docker-29.5.2.ebuild @@ -0,0 +1,336 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +MY_PV=${PV/_/-} + +inherit go-module linux-info optfeature systemd toolchain-funcs udev + +GIT_COMMIT=568f755ebeb1ac9c6a8febbda6cd371ea0a9630b + +DESCRIPTION="The core functions you need to create Docker images and run Docker containers" +HOMEPAGE="https://www.docker.com/" +SRC_URI="https://github.com/moby/moby/archive/${PN}-v${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/moby-${PN}-v${PV}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="apparmor btrfs +container-init cuda +overlay2 seccomp selinux systemd" + +DEPEND=" + acct-group/docker + >=dev-db/sqlite-3.7.9:3 + net-firewall/nftables:= + apparmor? ( sys-libs/libapparmor ) + btrfs? ( >=sys-fs/btrfs-progs-3.16.1 ) + seccomp? ( >=sys-libs/libseccomp-2.2.1 ) + systemd? ( sys-apps/systemd ) +" + +# https://github.com/moby/moby/blob/master/project/PACKAGERS.md#runtime-dependencies +# https://github.com/moby/moby/blob/master/project/PACKAGERS.md#optional-dependencies +RDEPEND=" + ${DEPEND} + sys-process/procps + >=dev-vcs/git-1.7 + >=app-arch/xz-utils-4.9 + >=app-containers/containerd-2.2.0[apparmor?,btrfs?,seccomp?] + >=app-containers/runc-1.2.6[apparmor?,seccomp?] + !app-containers/docker-proxy + !=sys-process/tini-0.19.0[static] ) + cuda? ( app-containers/nvidia-container-toolkit ) + selinux? ( sec-policy/selinux-docker ) +" + +# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#build-dependencies +BDEPEND=" + dev-go/go-md2man + virtual/pkgconfig + >=dev-lang/go-1.25.5 +" +# tests require running dockerd as root and downloading containers +RESTRICT="installsources strip test" + +# https://bugs.gentoo.org/748984 https://github.com/etcd-io/etcd/pull/12552 +pkg_setup() { + # this is based on "contrib/check-config.sh" from upstream's sources + # required features. + CONFIG_CHECK=" + ~NAMESPACES ~NET_NS ~PID_NS ~IPC_NS ~UTS_NS + ~CGROUPS ~CGROUP_CPUACCT ~CGROUP_DEVICE ~CGROUP_FREEZER ~CGROUP_SCHED ~CPUSETS ~MEMCG + ~KEYS + ~VETH ~BRIDGE ~BRIDGE_NETFILTER + ~IP_NF_FILTER ~IP_NF_RAW ~IP_NF_TARGET_MASQUERADE + ~NETFILTER_XT_MATCH_ADDRTYPE + ~NETFILTER_XT_MATCH_CONNTRACK + ~NETFILTER_XT_MATCH_IPVS + ~NETFILTER_XT_MARK + ~IP_NF_NAT ~NF_NAT + ~POSIX_MQUEUE + " + WARNING_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: is required for bind-mounting /dev/mqueue into containers" + + if kernel_is ge 6 17; then + CONFIG_CHECK+=" + ~IP_NF_IPTABLES_LEGACY + ~NETFILTER_XTABLES_LEGACY + " + fi + + if kernel_is lt 4 8; then + CONFIG_CHECK+=" + ~DEVPTS_MULTIPLE_INSTANCES + " + fi + + if kernel_is le 5 1; then + CONFIG_CHECK+=" + ~NF_NAT_IPV4 + " + fi + + if kernel_is le 5 2; then + CONFIG_CHECK+=" + ~NF_NAT_NEEDED + " + fi + + if kernel_is ge 4 15; then + CONFIG_CHECK+=" + ~CGROUP_BPF + " + fi + + # optional features + CONFIG_CHECK+=" + ~USER_NS + " + + if use seccomp; then + CONFIG_CHECK+=" + ~SECCOMP ~SECCOMP_FILTER + " + fi + + CONFIG_CHECK+=" + ~CGROUP_PIDS + " + + if kernel_is lt 6 1; then + CONFIG_CHECK+=" + ~MEMCG_SWAP + " + fi + + if kernel_is le 5 8; then + CONFIG_CHECK+=" + ~MEMCG_SWAP_ENABLED + " + fi + + CONFIG_CHECK+=" + ~!LEGACY_VSYSCALL_NATIVE + " + if kernel_is lt 5 19; then + CONFIG_CHECK+=" + ~LEGACY_VSYSCALL_EMULATE + " + fi + CONFIG_CHECK+=" + ~!LEGACY_VSYSCALL_NONE + " + WARNING_LEGACY_VSYSCALL_NONE="CONFIG_LEGACY_VSYSCALL_NONE enabled: \ + Containers with <=glibc-2.13 will not work" + + if kernel_is le 4 5; then + CONFIG_CHECK+=" + ~MEMCG_KMEM + " + fi + + if kernel_is lt 5; then + CONFIG_CHECK+=" + ~IOSCHED_CFQ ~CFQ_GROUP_IOSCHED + " + fi + + CONFIG_CHECK+=" + ~BLK_CGROUP ~BLK_DEV_THROTTLING + ~CGROUP_PERF + ~CGROUP_HUGETLB + ~NET_CLS_CGROUP ~CGROUP_NET_PRIO + ~CFS_BANDWIDTH ~FAIR_GROUP_SCHED + ~IP_NF_TARGET_REDIRECT + ~IP_VS + ~IP_VS_NFCT + ~IP_VS_PROTO_TCP + ~IP_VS_PROTO_UDP + ~IP_VS_RR + " + + if use selinux; then + CONFIG_CHECK+=" + ~SECURITY_SELINUX + " + fi + + if use apparmor; then + CONFIG_CHECK+=" + ~SECURITY_APPARMOR + " + fi + + # if ! is_set EXT4_USE_FOR_EXT2; then + # check_flags EXT3_FS EXT3_FS_XATTR EXT3_FS_POSIX_ACL EXT3_FS_SECURITY + # if ! is_set EXT3_FS || ! is_set EXT3_FS_XATTR || ! is_set EXT3_FS_POSIX_ACL || ! is_set EXT3_FS_SECURITY; then + # echo " $(wrap_color '(enable these ext3 configs if you are using ext3 as backing filesystem)' bold black)" + # fi + # fi + + CONFIG_CHECK+=" + ~EXT4_FS ~EXT4_FS_POSIX_ACL ~EXT4_FS_SECURITY + " + + # if ! is_set EXT4_FS || ! is_set EXT4_FS_POSIX_ACL || ! is_set EXT4_FS_SECURITY; then + # if is_set EXT4_USE_FOR_EXT2; then + # echo " $(wrap_color 'enable these ext4 configs if you are using ext3 or ext4 as backing filesystem' bold black)" + # else + # echo " $(wrap_color 'enable these ext4 configs if you are using ext4 as backing filesystem' bold black)" + # fi + # fi + + # network drivers + CONFIG_CHECK+=" + ~VXLAN ~BRIDGE_VLAN_FILTERING + ~CRYPTO ~CRYPTO_AEAD ~CRYPTO_GCM ~CRYPTO_SEQIV ~CRYPTO_GHASH + ~XFRM ~XFRM_USER ~XFRM_ALGO ~INET_ESP + " + if kernel_is le 5 3; then + CONFIG_CHECK+=" + ~INET_XFRM_MODE_TRANSPORT + " + fi + + CONFIG_CHECK+=" + ~IPVLAN + " + CONFIG_CHECK+=" + ~MACVLAN ~DUMMY + " + CONFIG_CHECK+=" + ~NF_NAT_FTP ~NF_CONNTRACK_FTP ~NF_NAT_TFTP ~NF_CONNTRACK_TFTP + " + + # storage drivers + if use btrfs; then + CONFIG_CHECK+=" + ~BTRFS_FS + ~BTRFS_FS_POSIX_ACL + " + fi + + CONFIG_CHECK+=" + ~OVERLAY_FS + " + + linux-info_pkg_setup +} + +src_unpack() { + default + go-module_src_unpack + cd "${S}" + [[ -f go.mod ]] || ln -s vendor.mod go.mod || die + [[ -f go.sum ]] || ln -s vendor.sum go.sum || die +} + +src_compile() { + export DOCKER_GITCOMMIT="${GIT_COMMIT}" + export VERSION=${PV} + tc-export PKG_CONFIG + + # 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)" + + # let's set up some optional features :) + export DOCKER_BUILDTAGS='' + for gd in btrfs overlay2; do + if ! use $gd; then + DOCKER_BUILDTAGS+=" exclude_graphdriver_${gd//-/}" + fi + done + + for tag in apparmor seccomp; do + if use $tag; then + DOCKER_BUILDTAGS+=" $tag" + fi + done + + export AUTO_GOPATH=1 + export EXCLUDE_AUTO_BUILDTAG_JOURNALD=$(usex systemd '' 'y') + export GO_MD2MAN=/usr/bin/go-md2man + + # build binaries + ./hack/make.sh dynbinary || die 'dynbinary failed' + + # build man page + cd man || die + emake || die +} + +src_install() { + dosym containerd /usr/bin/docker-containerd + dosym containerd-shim-runc-v2 /usr/bin/docker-containerd-shim + dosym runc /usr/bin/docker-runc + use container-init && dosym tini /usr/bin/docker-init + dobin bundles/dynbinary-daemon/dockerd + dobin bundles/dynbinary-daemon/docker-proxy + for f in dockerd-rootless-setuptool.sh dockerd-rootless.sh; do + dosym ../share/docker/contrib/${f} /usr/bin/${f} + done + + newinitd contrib/init/openrc/docker.initd docker + newconfd contrib/init/openrc/docker.confd docker + + systemd_dounit contrib/init/systemd/docker.{service,socket} + + dodoc AUTHORS CONTRIBUTING.md NOTICE README.md + dodoc -r docs/* + doman man/man8/dockerd.8 + + # note: intentionally not using "doins" so that we preserve +x bits + dodir /usr/share/${PN}/contrib + cp -R contrib/* "${ED}/usr/share/${PN}/contrib" +} + +pkg_postinst() { + udev_reload + + elog + elog "To use Docker, the Docker daemon must be running as root. To automatically" + elog "start the Docker daemon at boot:" + if systemd_is_booted || has_version sys-apps/systemd; then + elog " systemctl enable docker.service" + else + elog " rc-update add docker default" + fi + elog + elog "To use Docker as a non-root user, add yourself to the 'docker' group:" + elog ' usermod -aG docker ' + elog + + if has_version sys-fs/zfs; then + elog " ZFS storage driver is available" + elog " Check https://docs.docker.com/storage/storagedriver/zfs-driver for more info" + elog + fi + + optfeature "rootless mode support" sys-apps/shadow + optfeature "rootless mode support" sys-apps/rootlesskit + optfeature_header "for rootless mode you also need a network stack" + optfeature "rootless mode network stack" app-containers/slirp4netns +} From 660dc1817969676b8436e3ac9d8ed716fdcd199b Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:13 +0000 Subject: [PATCH 012/243] app-containers/docker-buildx: Sync with Gentoo It's from Gentoo commit 249319bda18b3198eda2b077ecb92b2b5af56cc9. Signed-off-by: Flatcar Buildbot --- .../app-containers/docker-buildx/Manifest | 2 + .../docker-buildx/docker-buildx-0.34.1.ebuild | 57 +++++++++++++++++++ .../docker-buildx/docker-buildx-0.35.0.ebuild | 57 +++++++++++++++++++ .../docker-buildx/docker-buildx-9999.ebuild | 35 +++++------- 4 files changed, 131 insertions(+), 20 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/app-containers/docker-buildx/docker-buildx-0.34.1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/app-containers/docker-buildx/docker-buildx-0.35.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-containers/docker-buildx/Manifest b/sdk_container/src/third_party/portage-stable/app-containers/docker-buildx/Manifest index 9b8df572a77..305006ff308 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/docker-buildx/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-containers/docker-buildx/Manifest @@ -3,3 +3,5 @@ DIST docker-buildx-0.14.0.tar.gz 11120356 BLAKE2B 01fec6b29665088a4778cb6a926f07 DIST docker-buildx-0.19.1.tar.gz 11691424 BLAKE2B 40cc5e68eb85e8693bc6cd7bf91fe3a6300644d9934a3ff84b89c79dba31d475dce5ac4366075127391c5230905591a83bd59c762cf9f9f4bde0931834633473 SHA512 cc811eb93910bfb5a4668cc3dc59ab6c13a1308c0fa49707a81d1d733e834d209677502786e951ce3c8f098c387b559054dd3cd9933edafbecae610d1ef321e6 DIST docker-buildx-0.20.1.tar.gz 12049522 BLAKE2B cc370f8a6bc82d9358cb59f99645447e83a4c84c656ae75409a504d0e0a973027791129d6eeb55827eb98904300d04c34685be993309e80f547514b76566fb2e SHA512 75c47204a2f11773ed978678735637fb8248ad87bb745e0b878ad7db161dea4d000dbfb98c83b03225efed126cc04b31d3a9ca500f8d3ac414620c7f980fa9cc DIST docker-buildx-0.21.2.tar.gz 13608048 BLAKE2B 8229fe6d8d1b2b9f35213ae0ae879d90d7f96ca4688c787e7dcbb88e0aaa4444519c4e5fca51acf9e9d6f2bf697adf74b2c2d8440eec1660dbf10496eb76c243 SHA512 a90a9af1a9b986f99a08f3e53ca06cfac64378a92ab887653d3aa9e1538ef87fec4fbd719c5087782cf7dc5eb8845c9c0786605e7386d759c0e33ef5f121fbba +DIST docker-buildx-0.34.1.tar.gz 15417849 BLAKE2B b302d1f2331ba7f76c79358be197436ac37e3d4ebea154ae441fc05b787544d9cd037bff2ae8140f9475ddfa3cad77e0a136b1a423d29cb73bdb42218ade5da0 SHA512 be69ff92a136e169456710c369099bd33ed0ae17271133fe0322fe1664c868ad76dd74265879fa783fa257a6ed6dca37c213d1153de9e903833b59cde4181d0b +DIST docker-buildx-0.35.0.tar.gz 15243338 BLAKE2B d5529d81cd2745366e46da1f805da6b4b47a4002260c5f351cddafbba4cc55fbad3be182e94d89453de62fdda3adc7bde2713010122439ce72a7cc53e49b3f6f SHA512 208251fe59d016bbb1d34abacab4813169577c474ad62f47afdcce4f2484e8535a452bfa0b8dbadc465590cae935896bfeec2263934262cdb769a27b59b4c5de diff --git a/sdk_container/src/third_party/portage-stable/app-containers/docker-buildx/docker-buildx-0.34.1.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/docker-buildx/docker-buildx-0.34.1.ebuild new file mode 100644 index 00000000000..07dd51e70a0 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-containers/docker-buildx/docker-buildx-0.34.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +inherit go-module + +DESCRIPTION="Docker CLI plugin for extended build capabilities with BuildKit" +HOMEPAGE="https://github.com/docker/buildx" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + 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" + S=${WORKDIR}/${P#docker-} +fi + +LICENSE="Apache-2.0" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0" +SLOT="0" + +RDEPEND="app-containers/docker-cli" +BDEPEND=">=dev-lang/go-1.25.5" + +src_compile() { + local _buildx_r='github.com/docker/buildx' + local version=${PV} + if [[ ${PV} == 9999 ]]; then + version="$(git rev-parse --short HEAD)" + fi + local go_ldflags=( + "-linkmode=external" + -X "${_buildx_r}/version.Version=${version}" + -X "${_buildx_r}/version.Revision=$(date -u +%FT%T%z)" + -X "${_buildx_r}/version.Package=${_buildx_r}" + ) + ego build -o docker-buildx -ldflags "${go_ldflags[*]}" ./cmd/buildx +} + +src_test() { + # TestGit can't work in a source tarball; TestReadTargets fails seemingly due to parallelism. + if [[ ${PV} == 9999 ]]; then + ego test ./... -skip "TestReadTargets|TestIntegration" + else + ego test ./... -skip "TestGit|TestReadTargets|TestIntegration" + fi +} + +src_install() { + exeinto /usr/libexec/docker/cli-plugins + doexe docker-buildx + + einstalldocs +} diff --git a/sdk_container/src/third_party/portage-stable/app-containers/docker-buildx/docker-buildx-0.35.0.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/docker-buildx/docker-buildx-0.35.0.ebuild new file mode 100644 index 00000000000..5e941c9e611 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-containers/docker-buildx/docker-buildx-0.35.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +inherit go-module + +DESCRIPTION="Docker CLI plugin for extended build capabilities with BuildKit" +HOMEPAGE="https://github.com/docker/buildx" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + 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" + S=${WORKDIR}/${P#docker-} +fi + +LICENSE="Apache-2.0" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0 Unicode-DFS-2016" +SLOT="0" + +RDEPEND="app-containers/docker-cli" +BDEPEND=">=dev-lang/go-1.25.9" + +src_compile() { + local _buildx_r='github.com/docker/buildx' + local version=${PV} + if [[ ${PV} == 9999 ]]; then + version="$(git rev-parse --short HEAD)" + fi + local go_ldflags=( + "-linkmode=external" + -X "${_buildx_r}/version.Version=${version}" + -X "${_buildx_r}/version.Revision=$(date -u +%FT%T%z)" + -X "${_buildx_r}/version.Package=${_buildx_r}" + ) + ego build -o docker-buildx -ldflags "${go_ldflags[*]}" ./cmd/buildx +} + +src_test() { + # TestGit can't work in a source tarball; TestReadTargets fails seemingly due to parallelism. + if [[ ${PV} == 9999 ]]; then + ego test ./... -skip "TestReadTargets|TestIntegration" + else + ego test ./... -skip "TestGit|TestReadTargets|TestIntegration" + fi +} + +src_install() { + exeinto /usr/libexec/docker/cli-plugins + doexe docker-buildx + + einstalldocs +} diff --git a/sdk_container/src/third_party/portage-stable/app-containers/docker-buildx/docker-buildx-9999.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/docker-buildx/docker-buildx-9999.ebuild index d36ee06a545..07dd51e70a0 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/docker-buildx/docker-buildx-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-containers/docker-buildx/docker-buildx-9999.ebuild @@ -1,35 +1,29 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=8 +EAPI=9 inherit go-module -MY_PN="buildx" DESCRIPTION="Docker CLI plugin for extended build capabilities with BuildKit" HOMEPAGE="https://github.com/docker/buildx" + if [[ ${PV} == 9999 ]]; then inherit git-r3 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" - S="${WORKDIR}/${MY_PN}-${PV}" + S=${WORKDIR}/${P#docker-} fi LICENSE="Apache-2.0" +# Dependent licenses +LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0" SLOT="0" -IUSE="test" - -# This gives us the ability to neatly `-skip` tests. -# not required once ::gentoo is all > 1.20 -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( >=dev-lang/go-1.20 ) -" RDEPEND="app-containers/docker-cli" +BDEPEND=">=dev-lang/go-1.25.5" src_compile() { local _buildx_r='github.com/docker/buildx' @@ -37,12 +31,13 @@ src_compile() { if [[ ${PV} == 9999 ]]; then version="$(git rev-parse --short HEAD)" fi - ego build -o docker-buildx \ - -ldflags "-linkmode=external - -X $_buildx_r/version.Version=${version} - -X $_buildx_r/version.Revision=$(date -u +%FT%T%z) - -X $_buildx_r/version.Package=$_buildx_r" \ - ./cmd/buildx + local go_ldflags=( + "-linkmode=external" + -X "${_buildx_r}/version.Version=${version}" + -X "${_buildx_r}/version.Revision=$(date -u +%FT%T%z)" + -X "${_buildx_r}/version.Package=${_buildx_r}" + ) + ego build -o docker-buildx -ldflags "${go_ldflags[*]}" ./cmd/buildx } src_test() { @@ -58,5 +53,5 @@ src_install() { exeinto /usr/libexec/docker/cli-plugins doexe docker-buildx - dodoc README.md + einstalldocs } From c9c86e073cf8b89a98f28324512356a91967418c Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:13 +0000 Subject: [PATCH 013/243] app-containers/docker-cli: Sync with Gentoo It's from Gentoo commit 9c83cebd1351825ba0ede3bf96fc7decd47b54cf. Signed-off-by: Flatcar Buildbot --- .../app-containers/docker-cli/Manifest | 1 + .../docker-cli/docker-cli-29.1.3.ebuild | 2 +- .../docker-cli/docker-cli-29.5.2.ebuild | 63 +++++++++++++++++++ 3 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 sdk_container/src/third_party/portage-stable/app-containers/docker-cli/docker-cli-29.5.2.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/Manifest b/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/Manifest index 046de52282b..68d5672b3a7 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/Manifest @@ -8,3 +8,4 @@ DIST docker-cli-28.2.2-man.tar.xz 69888 BLAKE2B bee8b296ee94c57c34cfa268fde015af 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 DIST docker-cli-29.1.3.tar.gz 7303915 BLAKE2B 3d45206f91f3675171f054f5159ec38034a9d7125d1742346a9b0819af26a50616198d87640ec6e6cb0a017aa801c677d5bb85c7faf7cfbd1de81cb4f886c932 SHA512 f37a5d125eb93639db8527c826078571ef5938be6bb33d132ccf693bf0810e3b9bb354074488021e129760a44b7fc51cd8295c6c6fe79211b70736231f47320e +DIST docker-cli-29.5.2.tar.gz 6828313 BLAKE2B c62bf6acd83a6db72dbf3f65be34e0738b38e6ade12ae15c1b1bcc69b648628b85dac523bd876c0f473cd9d12408c738b1728b8e33aab87034a76ec0aec36388 SHA512 3c569dbbcef6e9720a126147175f67297acab9a4ae8dd2af544b48eca70519dfd3c5312bf4ffab777e59a251cfdc5965217b0d3ca4c2eb41117c2e3b465bbb8a diff --git a/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/docker-cli-29.1.3.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/docker-cli-29.1.3.ebuild index bc1b075d333..2670336679b 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/docker-cli-29.1.3.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/docker-cli-29.1.3.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/cli-${PV}" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86" IUSE="selinux" RDEPEND="selinux? ( sec-policy/selinux-docker )" diff --git a/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/docker-cli-29.5.2.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/docker-cli-29.5.2.ebuild new file mode 100644 index 00000000000..a492870e7e0 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-containers/docker-cli/docker-cli-29.5.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit shell-completion go-env go-module toolchain-funcs +MY_PV=${PV/_/-} + +# update this on every bump +GIT_COMMIT=79eb04c7d8e1d73247cb7fe011eecc645063e0f0 + +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="selinux" + +RDEPEND="selinux? ( sec-policy/selinux-docker )" +BDEPEND=" + dev-go/go-md2man + >=dev-lang/go-1.25.0 +" + +RESTRICT="installsources strip test" + +src_prepare() { + default + sed -i 's@dockerd\?\.exe@@g' contrib/completion/bash/docker || die + ln -s vendor.mod go.mod || die + ln -s vendor.sum go.sum || die +} + +src_compile() { + export DISABLE_WARN_OUTSIDE_CONTAINER=1 + + myemakeargs=( + VERSION="${PV}" + GITCOMMIT="${GIT_COMMIT}" + ) + + emake "${myemakeargs[@]}" dynbinary + tc-env_build go-env_run emake "${myemakeargs[@]}" 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." +} From 62d64a3c4bef3dabcf73d4a5d93541ff77ae4f36 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:13 +0000 Subject: [PATCH 014/243] app-containers/incus: Sync with Gentoo It's from Gentoo commit 39db8b1850142ba0e2123af1593e85aaac8d7ffe. Signed-off-by: Flatcar Buildbot --- .../app-containers/incus/Manifest | 6 +- .../app-containers/incus/incus-6.22.ebuild | 282 ------------------ ...cus-7.0.0.ebuild => incus-7.0.0-r1.ebuild} | 7 +- .../{incus-6.21.ebuild => incus-7.2.ebuild} | 17 +- .../app-containers/incus/incus-9999.ebuild | 14 +- 5 files changed, 16 insertions(+), 310 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/app-containers/incus/incus-6.22.ebuild rename sdk_container/src/third_party/portage-stable/app-containers/incus/{incus-7.0.0.ebuild => incus-7.0.0-r1.ebuild} (98%) rename sdk_container/src/third_party/portage-stable/app-containers/incus/{incus-6.21.ebuild => incus-7.2.ebuild} (97%) diff --git a/sdk_container/src/third_party/portage-stable/app-containers/incus/Manifest b/sdk_container/src/third_party/portage-stable/app-containers/incus/Manifest index b8084d727d4..0b938f65484 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/incus/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-containers/incus/Manifest @@ -2,11 +2,9 @@ DIST incus-6.0.5.tar.xz 12532820 BLAKE2B a256c37c309d82f6326ede3d90e20522ff91317 DIST incus-6.0.5.tar.xz.asc 833 BLAKE2B 1e8818fdb2edf9ff0d0288d2a7d61585571a0fdfe514e1bdf05b27b607560115168c07d420f8384d07d216fdc8dc1f31113fa5afa4838042743636974bf76151 SHA512 d0412fe8850ff5783d4c3cee982ff8beac74f19c5dc538438fc210b9f7421bcb6e663e4c32f9a2604f1a5e2f42d8bb8d3f8e599f15a0fa1b5fa6f1bc1982b1dd DIST incus-6.0.6.tar.xz 13164068 BLAKE2B 91df6acd3549c9e9c2023889fd4f9a3d91bb93c59c1912992a4b26323c813042973a26b036e0b9412ba7f69a1e5dab7912174947a6c5e3cfede99b6d7d9e75e8 SHA512 e3c33801add7be08be0220808647f28b7e449e08bf6b7d219ad33eb9632db84c861317da9ac51a81887bfbcd1a1a4ae9a1e2c3cbf16ad079caa5497cba4a6698 DIST incus-6.0.6.tar.xz.asc 833 BLAKE2B 10d317e0cdeb30920d446c54893ca04a1e7b2aeee3dbbc8dde4de976bf83d6fc777ca700369d9a9b0b9be98bb4877f2ee20a5081f9f47daeea9508854f9d3264 SHA512 7015845e75d509e8ba9ca26ef18baf8cd52c964867df47b3f3c7967f78219bc12233894e654c06a9eb79451c5d2698ec9e9b73868e7a377b0d5a6d3c88ebd863 -DIST incus-6.21.tar.xz 13298940 BLAKE2B ae898643c02e4e4ba41d7c9326ff67fdaed21f0583268cdd810602c5b244b00bfb9fdaa626149ca20782595ba35b3b820774605417f0c3c74ee2acda9494ff88 SHA512 eff179f176d4f2ccf7e6c2db57a63358370c53b4c8255d8d3a56ddca16df17339ec1f7455cc63b38dc9e28f7ae658349c325c92ba32687f9f4acd5573c56f06d -DIST incus-6.21.tar.xz.asc 833 BLAKE2B 14aad1deb9976528e0e75426cb46017525fba5f1a728dc34192e0defd417bf93f20fd12ef4005c7111a9be6891af1ff077f34abab9b824451b938ea7d1e92026 SHA512 6baaf74e7f4eb16fcd183ab435235b491081afa35f94b86ea63d4ac51aa63fe0a10f2aa493987c261664c8ef7fdcb2ed09e7265c5bf063e828b40d3618fd4f8c -DIST incus-6.22.tar.xz 13452548 BLAKE2B d55cde93ae4b0893eba177711e067c62101d29d9d65a6af043e301b9a6389d1d4ea3027365879777cb3d6cd4044e24d1bdfc044c55be632e25fa5d3ce51b91a7 SHA512 4c945a9ca7ecbbc0f833fb2b768f23ee79b4f3c0975ad6afe1f1887418adcd246c4b6c029238c5447930e2dcf675942552e4d8d33222417e4fef1f5e4b43a849 -DIST incus-6.22.tar.xz.asc 833 BLAKE2B 628281aa44f521f44bc8e22725793b656a8b662f2a2ada724fb8b17b99352ab6d46ad85b99319840166d6c45ede11d72b2e69c535fd769411c5c750e30367ba5 SHA512 57dd75642f9875800da09b18995dac60e97f441caa82272fe22bff8120c412f646fae81e0d9e63996bb6945c5ebc2ce4ab820372337e36e04e3f2de4ccb0fe1a DIST incus-6.23.tar.xz 13510328 BLAKE2B c9c433e32e301518c92dd1ab570871d3a0cf623528ea6ed59c194a4a622f8fa09a98be384b8f52d15b66513e8bdad9258ac586a630e2474002b60773a3fe4bb9 SHA512 1080eb0b6571c6fec8169ee6338feab9020bc2d5cf12bc258532b5d9a0ee3f25118ad73e0eb4fba202dd6ab4c66bae73b8309caff6d5c18d2bbd295825b7b1e3 DIST incus-6.23.tar.xz.asc 833 BLAKE2B 6f086c10b5bb6ca45f304e16caa76adbdf0a316b500283bcb15c2f4e4d0d86d2ddddba02d470481e3cacc47667c5e4a64db71df078225124eacdb4f2041d95b7 SHA512 1bf734d120b98d1758d900884975234cafa90e1602dcc29e89c8a34915058e2ae1fbe7bbca2f20e9e2018be161c9493786d70a8a46f769c0aee132c3b00548f8 DIST incus-7.0.0.tar.xz 13911008 BLAKE2B 5906168618bf98434a270a4123cf62ce06d3ccf4a2b99f9d8e50df26dc12a495e479fa061c3c60d0ab3d74b35faf80d63c064904cda1768e097f2ce59e46585c SHA512 02c366a7f19c01e88578e7c2982633935fd8b53ebbf9a89ebab8290523341c5577b77dbf9a4c47db11558a4582d60ad370f34d706808d6f04bbb1675a5867444 DIST incus-7.0.0.tar.xz.asc 833 BLAKE2B c2b0bf82f37487686fa6051818fbacf4ccac8a8121b467a9c92963c0dce8d9297cd3bf6612c19b180fb944d96ec349bd3e50eb1279b0e75fcb49f4fe2a3cc94d SHA512 4a37b66a85c40242d66ac0ead4aef842b26138e010b880bd4367958ae1068c96d5cb82d8e875acce1c05cf6b53d4eae2f61bbfcbc87139df500e4e9cb9940721 +DIST incus-7.2.tar.xz 13899812 BLAKE2B 67504a86755517f785cfcb869560a5ba8bda86c538e172a53309362a8590266c1c748840ff33a55a435daaf99a38b108a0becca514bcfc90c4296fad25145f97 SHA512 219e9de0d483fdb05dc7782d129de81864903b61c010c97d2606b59487be95a2a0362c5b54909471f8fe20777bbcec88c82a86d803227e28f28f8def7a5ba613 +DIST incus-7.2.tar.xz.asc 833 BLAKE2B a01ea73af3cc3447874627fa1687fbde2346f7cba77a607a3decf07def91026260aa34a1aeaaa7392d3ddd543e1530d50b657117b72e22210f811c8f6bc91535 SHA512 87f609cb97c07306b9578e869948e28f4739a1ad2d9da7ddf4614429eadb08972dd4f80e7c8c6e2fabb7bfc975ca2273432c0a975041d45cea8b1129c769772a diff --git a/sdk_container/src/third_party/portage-stable/app-containers/incus/incus-6.22.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/incus/incus-6.22.ebuild deleted file mode 100644 index 3e097c14019..00000000000 --- a/sdk_container/src/third_party/portage-stable/app-containers/incus/incus-6.22.ebuild +++ /dev/null @@ -1,282 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-env go-module linux-info optfeature systemd toolchain-funcs verify-sig - -DESCRIPTION="Modern, secure and powerful system container and virtual machine manager" -HOMEPAGE="https://linuxcontainers.org/incus/introduction/ https://github.com/lxc/incus" - -if [[ "${PV}" == 9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/lxc/incus.git" -else - SRC_URI="https://linuxcontainers.org/downloads/incus/${P}.tar.xz - verify-sig? ( https://linuxcontainers.org/downloads/incus/${P}.tar.xz.asc )" - KEYWORDS="~amd64 ~arm64" -fi - -LICENSE="Apache-2.0 BSD LGPL-3 MIT" -SLOT="0/stable" -IUSE="apparmor fuidshift nls qemu selinux" - -DEPEND="acct-group/incus - acct-group/incus-admin - app-arch/xz-utils - >=app-containers/lxc-5.0.0:=[apparmor?,seccomp(+)] - dev-db/sqlite:3 - >=dev-libs/cowsql-1.15.7 - dev-libs/lzo - >=dev-libs/raft-0.22.1:=[lz4] - >=dev-util/xdelta-3.0[lzma(+)] - net-dns/dnsmasq[dhcp] - sys-libs/libcap - virtual/udev" -RDEPEND="${DEPEND} - || ( - net-firewall/iptables - net-firewall/nftables[json] - ) - fuidshift? ( !app-containers/lxd ) - net-firewall/ebtables - sys-apps/iproute2 - sys-fs/fuse:* - >=sys-fs/lxcfs-5.0.0 - sys-fs/squashfs-tools[lzma] - virtual/acl - apparmor? ( sec-policy/apparmor-profiles ) - qemu? ( - app-cdr/cdrtools - app-emulation/qemu[spice,usbredir,virtfs] - sys-apps/gptfdisk - )" -BDEPEND=">=dev-lang/go-1.24.7 - nls? ( sys-devel/gettext ) - verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )" - -CONFIG_CHECK=" - ~AIO - ~CGROUPS - ~IPC_NS - ~NET_NS - ~PID_NS - - ~SECCOMP - ~USER_NS - ~UTS_NS - - ~KVM - ~MACVTAP - ~VHOST_VSOCK -" - -ERROR_AIO="CONFIG_AIO is required." -ERROR_IPC_NS="CONFIG_IPC_NS is required." -ERROR_NET_NS="CONFIG_NET_NS is required." -ERROR_PID_NS="CONFIG_PID_NS is required." -ERROR_SECCOMP="CONFIG_SECCOMP is required." -ERROR_UTS_NS="CONFIG_UTS_NS is required." - -WARNING_KVM="CONFIG_KVM and CONFIG_KVM_AMD/-INTEL is required for virtual machines." -WARNING_MACVTAP="CONFIG_MACVTAP is required for virtual machines." -WARNING_VHOST_VSOCK="CONFIG_VHOST_VSOCK is required for virtual machines." - -# Go magic. -QA_PREBUILT="/usr/bin/incus - /usr/bin/incus-agent - /usr/bin/incus-benchmark - /usr/bin/incus-migrate - /usr/bin/lxc-to-incus - /usr/sbin/fuidshift - /usr/sbin/incusd - /usr/sbin/lxd-to-incus" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/linuxcontainers.asc - -# The testsuite must be run as root. -# make: *** [Makefile:156: check] Error 1 -RESTRICT="test" - -GOPATH="${S}/_dist" - -src_unpack() { - if [[ "${PV}" == 9999* ]]; then - git-r3_src_unpack - go-module_live_vendor - go-env_set_compile_environment - else - verify-sig_src_unpack - go-module_src_unpack - fi -} - -src_prepare() { - export GOPATH="${S}/_dist" - - default - - sed -i \ - -e "s:\./configure:./configure --prefix=/usr --libdir=${EPREFIX}/usr/lib/incus:g" \ - -e "s:make:make ${MAKEOPTS}:g" \ - Makefile || die - - sed -i \ - -e "s:/usr/share/OVMF:/usr/share/edk2/OvmfX64:g" \ - -e "s:OVMF_VARS.ms.fd:OVMF_VARS.fd:g" \ - internal/server/instance/drivers/edk2/driver_edk2.go || die "Failed to fix hardcoded ovmf paths." - - cp "${FILESDIR}"/incus-6.14-r1.service "${T}"/incus.service || die - if use apparmor; then - sed -i \ - '/^EnvironmentFile=.*/a ExecStartPre=\/usr\/libexec\/lxc\/lxc-apparmor-load' \ - "${T}"/incus.service || die - fi - - # Disable -Werror's from go modules. - find "${S}" -name "cgo.go" -exec sed -i "s/ -Werror / /g" {} + || die -} - -src_configure() { :; } - -incus_get_bindir() { - local host_arch=${1} - if [[ "${GOARCH}" != "${host_arch}" ]]; then - echo "_dist/bin/linux_${GOARCH}" - else - echo "_dist/bin" - fi -} - -src_compile() { - export GOPATH="${S}/_dist" - export CGO_LDFLAGS_ALLOW="-Wl,-z,now" - - for k in incus-benchmark incus-simplestreams incus-user incus lxc-to-incus lxd-to-incus ; do - ego install -v -x "${S}/cmd/${k}" - done - - if use fuidshift ; then - ego install -v -x "${S}/cmd/fuidshift" - fi - - ego install -v -x -tags libsqlite3 "${S}"/cmd/incusd - - # Needs to be built statically - CGO_ENABLED=0 go install -v -tags agent,netgo,static -buildmode default "${S}"/cmd/incus-migrate - - local bindir=$(incus_get_bindir "$(go-env_goarch "${CBUILD}")") - - # Build the VM agents, statically too - if use amd64 ; then - GOARCH=amd64 CGO_ENABLED=0 ego build -o "${bindir}"/incus-agent.linux.x86_64 -v \ - -tags agent,netgo,static -buildmode default "${S}"/cmd/incus-agent - GOARCH=386 CGO_ENABLED=0 ego build -o "${bindir}"/incus-agent.linux.i686 -v \ - -tags agent,netgo,static -buildmode default "${S}"/cmd/incus-agent - GOARCH=amd64 GOOS=windows CGO_ENABLED=0 ego build -o "${bindir}"/incus-agent.windows.x86_64 -v \ - -tags agent,netgo,static -buildmode default "${S}"/cmd/incus-agent - GOARCH=386 GOOS=windows CGO_ENABLED=0 ego build -o "${bindir}"/incus-agent.windows.i686 -v \ - -tags agent,netgo,static -buildmode default "${S}"/cmd/incus-agent - elif use arm64 ; then - GOARCH=arm64 CGO_ENABLED=0 ego build -o "${bindir}"/incus-agent.linux.aarch64 -v \ - -tags agent,netgo,static -buildmode default "${S}"/cmd/incus-agent - GOARCH=arm64 GOOS=windows CGO_ENABLED=0 ego build -o "${bindir}"/incus-agent.windows.aarch64 -v \ - -tags agent,netgo,static -buildmode default "${S}"/cmd/incus-agent - else - echo "No VM support for this arch." - return - fi - - use nls && emake build-mo -} - -src_test() { - emake check -} - -src_install() { - export GOPATH="${S}/_dist" - - export GOHOSTARCH=$(go-env_goarch "${CBUILD}") - local bindir=$(incus_get_bindir "${GOHOSTARCH}") - - newsbin "${FILESDIR}"/incus-startup-0.4.sh incus-startup - - # Admin tools - for l in incusd incus-user lxd-to-incus ; do - dosbin "${bindir}/${l}" - done - - # User tools - for m in incus-benchmark incus-migrate incus-simplestreams incus lxc-to-incus ; do - dobin "${bindir}/${m}" - done - - # VM Agents - if use amd64 ; then - exeinto /usr/libexec/incus/agents - doexe ${bindir}/incus-agent.linux.x86_64 - doexe ${bindir}/incus-agent.linux.i686 - doexe ${bindir}/incus-agent.windows.x86_64 - doexe ${bindir}/incus-agent.windows.i686 - elif use arm64 ; then - exeinto /usr/libexec/incus/agents - doexe ${bindir}/incus-agent.linux.aarch64 - doexe ${bindir}/incus-agent.windows.aarch64 - fi - - # fuidshift, should be moved under admin tools at some point - if use fuidshift ; then - dosbin ${bindir}/fuidshift - fi - - newconfd "${FILESDIR}"/incus-6.0.confd incus - newinitd "${FILESDIR}"/incus-6.0.initd incus - newinitd "${FILESDIR}"/incus-user-0.4.initd incus-user - - systemd_dounit "${T}"/incus.service - systemd_newunit "${FILESDIR}"/incus-0.4.socket incus.socket - systemd_newunit "${FILESDIR}"/incus-startup-0.4.service incus-startup.service - systemd_newunit "${FILESDIR}"/incus-user-0.4.service incus-user.service - systemd_newunit "${FILESDIR}"/incus-user-0.4.socket incus-user.socket - - if ! tc-is-cross-compiler; then - # Generate and install shell completion files. - mkdir -p "${D}"/usr/share/{bash-completion/completions/,fish/vendor_completions.d/,zsh/site-functions/} || die - "${bindir}"/incus completion bash > "${D}"/usr/share/bash-completion/completions/incus || die - "${bindir}"/incus completion fish > "${D}"/usr/share/fish/vendor_completions.d/incus.fish || die - "${bindir}"/incus completion zsh > "${D}"/usr/share/zsh/site-functions/_incus || die - else - ewarn "Shell completion files not installed! Install them manually with incus completion --help" - fi - - dodoc AUTHORS - dodoc -r doc/* - use nls && domo po/*.mo - - # Incus needs INCUS_EDK2_PATH in env to find OVMF files for virtual machines, #946184, - # and INCUS_AGENT_PATH to find multi-setup agents for VMs, #959878, - # and INCUS_SECURITY_SELINUX=true to enable selinux support (until its enabled by default) - newenvd "${FILESDIR}"/90incus.envd 90incus - if use selinux; then - echo "INCUS_SECURITY_SELINUX=true" >> "${D}"/etc/env.d/90incus - fi -} - -pkg_postinst() { - elog - elog "Please see" - elog " https://wiki.gentoo.org/wiki/Incus" - elog " https://wiki.gentoo.org/wiki/Incus#Migrating_from_LXD" - elog - optfeature "OCI container images support" app-containers/skopeo app-containers/umoci - optfeature "support for ACME certificate issuance" app-crypt/lego - optfeature "btrfs storage backend" sys-fs/btrfs-progs - optfeature "ipv6 support" net-dns/dnsmasq[ipv6] - optfeature "full incus-migrate support" net-misc/rsync - optfeature "lvm2 storage backend" sys-fs/lvm2 - optfeature "zfs storage backend" sys-fs/zfs - elog - elog "Be sure to add your local user to the incus group." - elog -} diff --git a/sdk_container/src/third_party/portage-stable/app-containers/incus/incus-7.0.0.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/incus/incus-7.0.0-r1.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/app-containers/incus/incus-7.0.0.ebuild rename to sdk_container/src/third_party/portage-stable/app-containers/incus/incus-7.0.0-r1.ebuild index 67330b13161..326cce158ba 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/incus/incus-7.0.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-containers/incus/incus-7.0.0-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://linuxcontainers.org/downloads/incus/${P}.tar.xz LICENSE="Apache-2.0 BSD LGPL-3 MIT" SLOT="0/lts" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 ~arm64" IUSE="apparmor fuidshift nls qemu selinux" DEPEND="acct-group/incus @@ -28,12 +28,9 @@ DEPEND="acct-group/incus sys-libs/libcap virtual/udev" RDEPEND="${DEPEND} - || ( - net-firewall/iptables - net-firewall/nftables[json] - ) fuidshift? ( !app-containers/lxd ) net-firewall/ebtables + net-firewall/nftables[json] sys-apps/iproute2 sys-fs/fuse:* >=sys-fs/lxcfs-6.0.0 diff --git a/sdk_container/src/third_party/portage-stable/app-containers/incus/incus-6.21.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/incus/incus-7.2.ebuild similarity index 97% rename from sdk_container/src/third_party/portage-stable/app-containers/incus/incus-6.21.ebuild rename to sdk_container/src/third_party/portage-stable/app-containers/incus/incus-7.2.ebuild index 3e097c14019..8d30b9cb7c7 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/incus/incus-6.21.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-containers/incus/incus-7.2.ebuild @@ -34,12 +34,9 @@ DEPEND="acct-group/incus sys-libs/libcap virtual/udev" RDEPEND="${DEPEND} - || ( - net-firewall/iptables - net-firewall/nftables[json] - ) fuidshift? ( !app-containers/lxd ) net-firewall/ebtables + net-firewall/nftables[json] sys-apps/iproute2 sys-fs/fuse:* >=sys-fs/lxcfs-5.0.0 @@ -50,8 +47,9 @@ RDEPEND="${DEPEND} app-cdr/cdrtools app-emulation/qemu[spice,usbredir,virtfs] sys-apps/gptfdisk - )" -BDEPEND=">=dev-lang/go-1.24.7 + ) + selinux? ( sec-policy/selinux-incus )" +BDEPEND=">=dev-lang/go-1.25.10 nls? ( sys-devel/gettext ) verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )" @@ -89,8 +87,7 @@ QA_PREBUILT="/usr/bin/incus /usr/bin/incus-migrate /usr/bin/lxc-to-incus /usr/sbin/fuidshift - /usr/sbin/incusd - /usr/sbin/lxd-to-incus" + /usr/sbin/incusd" VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/linuxcontainers.asc @@ -152,7 +149,7 @@ src_compile() { export GOPATH="${S}/_dist" export CGO_LDFLAGS_ALLOW="-Wl,-z,now" - for k in incus-benchmark incus-simplestreams incus-user incus lxc-to-incus lxd-to-incus ; do + for k in incus-benchmark incus-simplestreams incus-user incus lxc-to-incus; do ego install -v -x "${S}/cmd/${k}" done @@ -203,7 +200,7 @@ src_install() { newsbin "${FILESDIR}"/incus-startup-0.4.sh incus-startup # Admin tools - for l in incusd incus-user lxd-to-incus ; do + for l in incusd incus-user; do dosbin "${bindir}/${l}" done diff --git a/sdk_container/src/third_party/portage-stable/app-containers/incus/incus-9999.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/incus/incus-9999.ebuild index ec2cb83449c..8d30b9cb7c7 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/incus/incus-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-containers/incus/incus-9999.ebuild @@ -34,12 +34,9 @@ DEPEND="acct-group/incus sys-libs/libcap virtual/udev" RDEPEND="${DEPEND} - || ( - net-firewall/iptables - net-firewall/nftables[json] - ) fuidshift? ( !app-containers/lxd ) net-firewall/ebtables + net-firewall/nftables[json] sys-apps/iproute2 sys-fs/fuse:* >=sys-fs/lxcfs-5.0.0 @@ -52,7 +49,7 @@ RDEPEND="${DEPEND} sys-apps/gptfdisk ) selinux? ( sec-policy/selinux-incus )" -BDEPEND=">=dev-lang/go-1.24.7 +BDEPEND=">=dev-lang/go-1.25.10 nls? ( sys-devel/gettext ) verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )" @@ -90,8 +87,7 @@ QA_PREBUILT="/usr/bin/incus /usr/bin/incus-migrate /usr/bin/lxc-to-incus /usr/sbin/fuidshift - /usr/sbin/incusd - /usr/sbin/lxd-to-incus" + /usr/sbin/incusd" VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/linuxcontainers.asc @@ -153,7 +149,7 @@ src_compile() { export GOPATH="${S}/_dist" export CGO_LDFLAGS_ALLOW="-Wl,-z,now" - for k in incus-benchmark incus-simplestreams incus-user incus lxc-to-incus lxd-to-incus ; do + for k in incus-benchmark incus-simplestreams incus-user incus lxc-to-incus; do ego install -v -x "${S}/cmd/${k}" done @@ -204,7 +200,7 @@ src_install() { newsbin "${FILESDIR}"/incus-startup-0.4.sh incus-startup # Admin tools - for l in incusd incus-user lxd-to-incus ; do + for l in incusd incus-user; do dosbin "${bindir}/${l}" done From bb32e90965732c93dc4b72b605519a2f36c82d3a Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:14 +0000 Subject: [PATCH 015/243] app-containers/lxc: Sync with Gentoo It's from Gentoo commit 91335fa5cf642173e7af322dfce1c9242af58c0a. Signed-off-by: Flatcar Buildbot --- .../portage-stable/app-containers/lxc/lxc-7.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/app-containers/lxc/lxc-7.0.0.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/lxc/lxc-7.0.0.ebuild index 7331b85f0e6..8518be6d0a6 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/lxc/lxc-7.0.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-containers/lxc/lxc-7.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://linuxcontainers.org/downloads/lxc/${P}.tar.gz LICENSE="GPL-2 LGPL-2.1 LGPL-3" # LGPL-2.1+ is listed, but it's covered by "LGPL-3" SLOT="0/1.700" # SONAME liblxc.so.1 + ${PV//./} _if_ breaking ABI change while bumping. -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86" IUSE="apparmor +caps doc examples io-uring landlock man pam seccomp selinux ssl systemd test +tools" REQUIRED_USE="landlock? ( seccomp )" From 876b030d718b4448b83c0be8036a7e9fcea5849c Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:14 +0000 Subject: [PATCH 016/243] app-containers/netavark: Sync with Gentoo It's from Gentoo commit 8652c0271f96d79180ef871d4e315d332c6e1872. Signed-off-by: Flatcar Buildbot --- .../app-containers/netavark/Manifest | 4 ++ .../netavark/netavark-1.17.2.ebuild | 60 ++++++++++++++++++ .../netavark/netavark-2.0.0.ebuild | 61 +++++++++++++++++++ 3 files changed, 125 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/app-containers/netavark/netavark-1.17.2.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/app-containers/netavark/netavark-2.0.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-containers/netavark/Manifest b/sdk_container/src/third_party/portage-stable/app-containers/netavark/Manifest index 14ff7870649..edf0b58e548 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/netavark/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-containers/netavark/Manifest @@ -3,8 +3,12 @@ DIST netavark-1.15.2.crate 169643 BLAKE2B fcc3a3b691a4bc0dfcbc180408ee9d8c7f1527 DIST netavark-1.16.1.crate 173635 BLAKE2B c2d45164e5c7a6689e5dae4921163a128e7525eef75a5b98a810539c13988a4880727831c22252e418bf3c987e1e729a6bb001e9dacb48b1c73603053fd0abc4 SHA512 8d20e5cc1bd8d80eaf7a9263985478f27b994dbff0da9b4378e4be0beb71121624348b152d3891b78512e598e2887815534c806518e64ff8f95eed305fa33132 DIST netavark-1.17.0.crate 174623 BLAKE2B c39e9388185345541d0b8f2ddf6f3f14648499892aaab4b820d5d45f5620a24b31a7c24092832396fd04dd1e05828e933af9900f4228a8d03d90447c9269d970 SHA512 135cda6367d04c1d7a6b12882540bcf095acc5e42c43096a01be55f300d14b70ee6eeb6679fac5892d764d700bbfa2109f5c7c39e521ed8d8be1e61403f92258 DIST netavark-1.17.1.crate 174659 BLAKE2B a31fd13f31b671274000ae6a43ceefb0b0d1cd32026fd86ac01dc30acb55cf25b28016e5a8e7c91760384e61bb62d6edfcd48b163abc2000ff43201edac7e054 SHA512 dff64afaf982ba38c8a991ffafffbba2dce7abf70b4763eba662ef82f01629f265e2421d622a27a1db9e26ea44f33b5c8dbab2fdcf9b643b3d845b8ca624ba57 +DIST netavark-1.17.2.crate 175788 BLAKE2B 94f6f202eca445267f063d53a47e572055fa6a7b2839d5e95246ff93dad0c55866571456459600cd57f42001dd75b4ae5bbdad6e7b95fa9b95616137fd87f03d SHA512 7a6a12fb58a190462d6a2171ac28df03686d09d371cb84e702278cda190111c24603060048f8cf7bd9a8ad334dc056efaa901604d08145009adf9e10eabf1aee +DIST netavark-2.0.0.crate 185348 BLAKE2B 591e413e2058c2df3b66fa06eb8d13f0d19a7b9b8c29cc804cd1c38932f7e1df4c6ac9033b3ed40b494053c1decb4a8d703404b13a89123ddbfb4d4ad1ad2511 SHA512 384940e713162f149ca8ebb8c03e4ac505cab8482155fbd622091d165ceb0f0101842e87fb11b57e57ed677cd31ce3a77f140b2cb8b2852754d31eea3962895a DIST netavark-v1.14.1-vendor.tar.gz 18508797 BLAKE2B 8b63673700f26e19ac2c2274e71a803bf99ba7aec58d8f66320e0cdd7c72c016f16083df46b0b454bd91df5e62e5c4170bcb2ee636c094a5578951bd8f38eb24 SHA512 84545bcb791a698a20d3b1f41502beaa568a5e519156cbb6e9d28bef34a24ed006a87cd77c8d972f63ad9c3ef9049637b15bd0d446d80c88dcdd9f268486959a DIST netavark-v1.15.2-vendor.tar.gz 21528390 BLAKE2B b1cc108b27e9c545baff6e52a17189200b3757216a35954b370ebf1dede2344094fad1885559c6397234387535cb921361b289ca938021d97544e2fd13d4dd54 SHA512 52f3512dae21f54a364e2287e43ea47d6ef36d291522ddf36a4c5ae24a40d1f0997ea4902ad0e28a466fc2a058d5122d405d2b675d3250599b8ca49deb771d19 DIST netavark-v1.16.1-vendor.tar.gz 22434836 BLAKE2B d1b6d4954b54bfd9088428f82098a8f78ef5bec500643a0c2c570827e74be1e4fbfe9f516cf7a9506325b847ee8b6ab07fa47b9b0936b2e462ee1b52e27edfda SHA512 fdfb63c58314e89ee1ef1b95a34b07aec82c15958dfc379e3ee4475c13f9864b6c02e33b45ea59a17fd9921669fd7c0c3d9078d319983cfbd1f76ea22afd5be4 DIST netavark-v1.17.0-vendor.tar.gz 17711878 BLAKE2B acb3fe2c85230271bd7a0145b7f3b89bbb7aef1e86d73494df9e237fa444a6ca93cfe270af47c12428544e43d55ba22cc91e34ce266727b1db923e48b685557b SHA512 130cf586d19430b4d604af24496d33589f9763c3e403bf1f2bb39fe3821ace14519e8a93aff95f08cff5c3eeb3814d6aa1d29456985d49e1ce6d569fac934776 DIST netavark-v1.17.1-vendor.tar.gz 17711446 BLAKE2B d3b7030d411a4bd848127508e43a65e278a75a1ffcdca7b9e8ea46180d2e8da26be5e4eaa21fad22197f9eb9fd28413dc21a7d10b42f98d882990eeb750bb737 SHA512 9f7e5ee54b776ec27511a937e6ebb30b70a527f9232d635a9755459afee569fc37d715626b92ea2aa08637d6e63dada4f55ad6757f3a0a7aae753637349f6193 +DIST netavark-v1.17.2-vendor.tar.gz 17711355 BLAKE2B a4967f3496635da375aa9adb22b9d5cdef2b5463b53b7bb31c1d0236c84edb36727a391cdbf8c81a7b2caa2675c173ff01ee3974465d4143c139d956951ff774 SHA512 2d34a237c540acd05590c09f07e57b1b0a765b746332cbc27337a4c31e2db4b92861629b1418a9c3990a0f25c659d537a8c7b7d2e63247fa3df39c092e80a59d +DIST netavark-v2.0.0-vendor.tar.gz 20282162 BLAKE2B bed4a1023d20c88985fd8ad07e24a051f37483fab12e1770bf62a01cd092f1329b47a876fe989839db1543de317d16cbf985fd9730767908e0a0f1b5c970407b SHA512 125dcded2218e183020582c2bb1778667d812cb5009c6264fec14b0500329c493a57a01f0c72e1e2d7cc2cfef4462b0ccc68af1b4f745e35bddbcc1550835509 diff --git a/sdk_container/src/third_party/portage-stable/app-containers/netavark/netavark-1.17.2.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/netavark/netavark-1.17.2.ebuild new file mode 100644 index 00000000000..2f40e1f6acd --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-containers/netavark/netavark-1.17.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +[[ ${PV} == 9999* ]] || CRATES="${PN}@${PV}" +RUST_MIN_VER="1.86" + +inherit cargo systemd + +DESCRIPTION="A container network stack" +HOMEPAGE="https://github.com/containers/netavark" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/containers/netavark.git" +else + SRC_URI="${CARGO_CRATE_URIS} https://github.com/containers/netavark/releases/download/v${PV}/${PN}-v${PV}-vendor.tar.gz" + KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv" +fi + +# main +LICENSE="Apache-2.0" +# deps +LICENSE+=" Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 MIT Unicode-DFS-2016 Unlicense ZLIB" +SLOT="0" +BDEPEND="dev-go/go-md2man + dev-libs/protobuf[protoc(+)]" + +QA_FLAGS_IGNORED=" + usr/libexec/podman/${PN}" +QA_PRESTRIPPED=" + usr/libexec/podman/${PN}" + +ECARGO_VENDOR="${WORKDIR}/vendor" + +src_unpack() { + if [[ ${PV} == 9999* ]]; then + git-r3_src_unpack + cargo_live_src_unpack + else + cargo_src_unpack + fi +} + +src_prepare() { + default + sed -i -e "s|m0755 bin|m0755 $(cargo_target_dir)|g;" Makefile || die +} + +src_compile() { + cargo_src_compile + export PREFIX="${EPREFIX}"/usr SYSTEMDDIR="$(systemd_get_systemunitdir)" + emake docs +} + +# Following is needed because we want to use `make install` instead of `cargo install` (exported by cargo.eclass) +src_install() { + default +} diff --git a/sdk_container/src/third_party/portage-stable/app-containers/netavark/netavark-2.0.0.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/netavark/netavark-2.0.0.ebuild new file mode 100644 index 00000000000..035b20ea81e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-containers/netavark/netavark-2.0.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +[[ ${PV} == 9999* ]] || CRATES="${PN}@${PV}" +RUST_MIN_VER="1.88.0" + +inherit cargo systemd + +DESCRIPTION="A container network stack" +HOMEPAGE="https://github.com/containers/netavark" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/containers/netavark.git" +else + SRC_URI="${CARGO_CRATE_URIS} https://github.com/containers/netavark/releases/download/v${PV}/${PN}-v${PV}-vendor.tar.gz" + KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv" +fi + +# main +LICENSE="Apache-2.0" +# deps +LICENSE+=" Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 MIT Unicode-DFS-2016 Unlicense ZLIB" +SLOT="0" + +BDEPEND="dev-go/go-md2man + dev-libs/protobuf[protoc(+)]" + +QA_FLAGS_IGNORED=" + usr/libexec/podman/${PN}" +QA_PRESTRIPPED=" + usr/libexec/podman/${PN}" + +ECARGO_VENDOR="${WORKDIR}/vendor" + +src_unpack() { + if [[ ${PV} == 9999* ]]; then + git-r3_src_unpack + cargo_live_src_unpack + else + cargo_src_unpack + fi +} + +src_prepare() { + default + sed -i -e "s|m0755 bin|m0755 $(cargo_target_dir)|g;" Makefile || die +} + +src_compile() { + cargo_src_compile + export PREFIX="${EPREFIX}"/usr SYSTEMDDIR="$(systemd_get_systemunitdir)" + emake docs +} + +# Following is needed because we want to use `make install` instead of `cargo install` (exported by cargo.eclass) +src_install() { + default +} From 03fdab64f1fa6709e17421694393785d254da5d8 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:14 +0000 Subject: [PATCH 017/243] app-containers/podman: Sync with Gentoo It's from Gentoo commit d26e4bd818d5f48fb5d447c058a7295f61b1c4e2. Signed-off-by: Flatcar Buildbot --- .../app-containers/podman/Manifest | 2 + .../app-containers/podman/podman-5.8.2.ebuild | 139 +++++++++++++++++ .../app-containers/podman/podman-6.0.0.ebuild | 140 ++++++++++++++++++ 3 files changed, 281 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/app-containers/podman/podman-5.8.2.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/app-containers/podman/podman-6.0.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-containers/podman/Manifest b/sdk_container/src/third_party/portage-stable/app-containers/podman/Manifest index 37d181a5059..4bf0ebeb1d1 100644 --- a/sdk_container/src/third_party/portage-stable/app-containers/podman/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-containers/podman/Manifest @@ -1 +1,3 @@ DIST podman-5.7.1.tar.gz 21266433 BLAKE2B 59adb23b18fe453d45d92b0dac22a2fc8db1b1d02074f5eabc65d95bf7764f43a1d835f7316fbd61bbb7d98f3aeb6a3306d53963c5f83b8f55d879c182518534 SHA512 81fd4c27ff1d16dcb85229d4e4fd2cb06943ddfe966b5324fa8a8a957b2d2ec2aed7c5da05d6c009148f53b76545b27b0cba506622c8861f70bf7cad6c214a08 +DIST podman-5.8.2.tar.gz 21302563 BLAKE2B daa2eefbd5014926825225f60ac46f42857d630e3b215631bc14305779b45efa28bd876c92c8c3fbd030b78f862d2738ae71d1a4a57a38a6e285ad518250a8f9 SHA512 4fb26b278aaaa64799c7cc27e168c6fd836a1ed95653c757db5de9873e774a4650353ad4aadad6a7968dd82db8e2833f871ba41304512825b706d4919ee333a7 +DIST podman-6.0.0.tar.gz 20510790 BLAKE2B fd522279dedb6fefbb9da9bd8b8000e696ff97f66b8b0816b5ecdb7b7b312b9466068d23fc396e9d7539e7700f0ececc43a55a5bd28e8a6dd1624aa7f2cfc214 SHA512 fc79bd666b2a500b89846ab8f20c9cdb3d25359ea96de5f1416821aa16fa54e60348a2250b42f775bee3ea0b26ec36c3cc72c9ebd1f4e88beeeea8bdb9b7791e diff --git a/sdk_container/src/third_party/portage-stable/app-containers/podman/podman-5.8.2.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/podman/podman-5.8.2.ebuild new file mode 100644 index 00000000000..2ef82fc90e2 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-containers/podman/podman-5.8.2.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..14} ) + +inherit go-module python-any-r1 tmpfiles toolchain-funcs linux-info + +DESCRIPTION="A tool for managing OCI containers and pods with Docker-compatible CLI" +HOMEPAGE="https://github.com/containers/podman/ https://podman.io/" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/containers/podman.git" +else + SRC_URI="https://github.com/containers/podman/archive/v${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${P/_rc/-rc}" + [[ ${PV} != *rc* ]] && \ + KEYWORDS="amd64 arm64 ~loong ~riscv" +fi + +# main pkg +LICENSE="Apache-2.0" +# deps +LICENSE+=" BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0" +SLOT="0" +IUSE="apparmor btrfs +seccomp selinux systemd wrapper" +RESTRICT="test" + +RDEPEND=" + app-containers/catatonit + >=app-containers/conmon-2.1.10 + >=app-containers/containers-common-0.58.0-r1 + app-crypt/gpgme:= + dev-db/sqlite:3 + dev-libs/libassuan:= + dev-libs/libgpg-error:= + sys-apps/shadow:= + + apparmor? ( sys-libs/libapparmor ) + btrfs? ( sys-fs/btrfs-progs ) + wrapper? ( !app-containers/docker-cli ) + seccomp? ( sys-libs/libseccomp:= ) + selinux? ( sec-policy/selinux-podman sys-libs/libselinux:= ) + systemd? ( sys-apps/systemd:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + dev-go/go-md2man +" + +PATCHES=( + "${FILESDIR}"/${PN}-5.5.2-togglable-seccomp.patch +) + +CONFIG_CHECK=" + ~USER_NS +" + +pkg_setup() { + use btrfs && CONFIG_CHECK+=" ~BTRFS_FS" + linux-info_pkg_setup + python-any-r1_pkg_setup +} + +src_prepare() { + default + + # assure necessary files are present + local file + for file in apparmor_tag btrfs_installed_tag systemd_tag; do + [[ -f hack/"${file}".sh ]] || die + done + + local feature + for feature in apparmor systemd; do + cat <<-EOF > hack/"${feature}"_tag.sh || die + #!/usr/bin/env bash + $(usex ${feature} "echo ${feature}" echo) + EOF + done + + cat <<-EOF > hack/btrfs_installed_tag.sh || die + #!/usr/bin/env bash + $(usex btrfs echo 'echo exclude_graphdriver_btrfs') + EOF +} + +src_compile() { + export ETCDIR="${EPREFIX}/etc" PREFIX="${EPREFIX}/usr" BUILD_ORIGIN="Gentoo Portage" + + # For non-live versions, prevent git operations which causes sandbox violations + # https://github.com/gentoo/gentoo/pull/33531#issuecomment-1786107493 + [[ ${PV} != 9999* ]] && export COMMIT_NO="" GIT_COMMIT="" EPOCH_TEST_COMMIT="" + + # Use proper pkg-config to get gpgme cflags and ldflags when + # cross-compiling, bug 930982. + if tc-is-cross-compiler; then + tc-export PKG_CONFIG + fi + + emake BUILDFLAGS="-v -work -x" GOMD2MAN="go-md2man" EXTRA_BUILDTAGS="$(usev seccomp)" SELINUXOPT= \ + all $(usev wrapper docker-docs) +} + +src_install() { + emake DESTDIR="${D}" SELINUXOPT= install install.completions $(usev wrapper install.docker-full) + + if use !systemd; then + newconfd "${FILESDIR}"/podman-5.0.0_rc4.confd podman + newinitd "${FILESDIR}"/podman-5.0.0_rc4.initd podman + + newinitd "${FILESDIR}"/podman-restart-5.0.0_rc4.initd podman-restart + newconfd "${FILESDIR}"/podman-restart-5.0.0_rc4.confd podman-restart + + newinitd "${FILESDIR}"/podman-clean-transient-5.0.0_rc6.initd podman-clean-transient + newconfd "${FILESDIR}"/podman-clean-transient-5.0.0_rc6.confd podman-clean-transient + + exeinto /etc/cron.daily + newexe "${FILESDIR}"/podman-auto-update-5.0.0.cron podman-auto-update + + insinto /etc/logrotate.d + newins "${FILESDIR}/podman.logrotated" podman + + exeinto /etc/user/init.d + newexe "${FILESDIR}/podman-5.0.0_rc4.user.initd" podman + + insinto /etc/user/conf.d + newins "${FILESDIR}/podman-5.0.0_rc4.user.confd" podman + fi + + keepdir /var/lib/containers +} + +pkg_postinst() { + tmpfiles_process podman.conf $(usev wrapper podman-docker.conf) +} diff --git a/sdk_container/src/third_party/portage-stable/app-containers/podman/podman-6.0.0.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/podman/podman-6.0.0.ebuild new file mode 100644 index 00000000000..5a239948f5e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-containers/podman/podman-6.0.0.ebuild @@ -0,0 +1,140 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..14} ) + +inherit go-module python-any-r1 tmpfiles toolchain-funcs linux-info + +DESCRIPTION="A tool for managing OCI containers and pods with Docker-compatible CLI" +HOMEPAGE="https://github.com/containers/podman/ https://podman.io/" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/containers/podman.git" +else + SRC_URI="https://github.com/containers/podman/archive/v${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${P/_rc/-rc}" + [[ ${PV} != *rc* ]] && \ + KEYWORDS="~amd64 ~arm64 ~loong ~riscv" +fi + +# main pkg +LICENSE="Apache-2.0" +# deps +LICENSE+=" BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0" +SLOT="0" +IUSE="apparmor btrfs +seccomp selinux systemd wrapper" +RESTRICT="test" + +RDEPEND=" + app-containers/catatonit + >=app-containers/conmon-2.2.1 + >=app-containers/container-libs-0.68.0 + app-crypt/gpgme:= + dev-db/sqlite:3 + dev-libs/libassuan:= + dev-libs/libgpg-error:= + sys-apps/shadow:= + + apparmor? ( sys-libs/libapparmor ) + btrfs? ( sys-fs/btrfs-progs ) + wrapper? ( !app-containers/docker-cli ) + seccomp? ( sys-libs/libseccomp:= ) + selinux? ( sec-policy/selinux-podman sys-libs/libselinux:= ) + systemd? ( sys-apps/systemd:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + dev-go/go-md2man + >=dev-lang/go-1.25.6 +" + +PATCHES=( + "${FILESDIR}"/${PN}-5.5.2-togglable-seccomp.patch +) + +CONFIG_CHECK=" + ~USER_NS +" + +pkg_setup() { + use btrfs && CONFIG_CHECK+=" ~BTRFS_FS" + linux-info_pkg_setup + python-any-r1_pkg_setup +} + +src_prepare() { + default + + # assure necessary files are present + local file + for file in apparmor_tag btrfs_installed_tag systemd_tag; do + [[ -f hack/"${file}".sh ]] || die + done + + local feature + for feature in apparmor systemd; do + cat <<-EOF > hack/"${feature}"_tag.sh || die + #!/usr/bin/env bash + $(usex ${feature} "echo ${feature}" echo) + EOF + done + + cat <<-EOF > hack/btrfs_installed_tag.sh || die + #!/usr/bin/env bash + $(usex btrfs echo 'echo exclude_graphdriver_btrfs') + EOF +} + +src_compile() { + export ETCDIR="${EPREFIX}/etc" PREFIX="${EPREFIX}/usr" BUILD_ORIGIN="Gentoo Portage" + + # For non-live versions, prevent git operations which causes sandbox violations + # https://github.com/gentoo/gentoo/pull/33531#issuecomment-1786107493 + [[ ${PV} != 9999* ]] && export COMMIT_NO="" GIT_COMMIT="" EPOCH_TEST_COMMIT="" + + # Use proper pkg-config to get gpgme cflags and ldflags when + # cross-compiling, bug 930982. + if tc-is-cross-compiler; then + tc-export PKG_CONFIG + fi + + emake BUILDFLAGS="-v -work -x" GOMD2MAN="go-md2man" EXTRA_BUILDTAGS="$(usev seccomp)" SELINUXOPT= \ + all $(usev wrapper docker-docs) +} + +src_install() { + emake DESTDIR="${D}" SELINUXOPT= install install.completions $(usev wrapper install.docker-full) + + if use !systemd; then + newconfd "${FILESDIR}"/podman-5.0.0_rc4.confd podman + newinitd "${FILESDIR}"/podman-5.0.0_rc4.initd podman + + newinitd "${FILESDIR}"/podman-restart-5.0.0_rc4.initd podman-restart + newconfd "${FILESDIR}"/podman-restart-5.0.0_rc4.confd podman-restart + + newinitd "${FILESDIR}"/podman-clean-transient-5.0.0_rc6.initd podman-clean-transient + newconfd "${FILESDIR}"/podman-clean-transient-5.0.0_rc6.confd podman-clean-transient + + exeinto /etc/cron.daily + newexe "${FILESDIR}"/podman-auto-update-5.0.0.cron podman-auto-update + + insinto /etc/logrotate.d + newins "${FILESDIR}/podman.logrotated" podman + + exeinto /etc/user/init.d + newexe "${FILESDIR}/podman-5.0.0_rc4.user.initd" podman + + insinto /etc/user/conf.d + newins "${FILESDIR}/podman-5.0.0_rc4.user.confd" podman + fi + + keepdir /var/lib/containers +} + +pkg_postinst() { + tmpfiles_process podman.conf $(usev wrapper podman-docker.conf) +} From e2aa9fe0c437d002d8e0810377555d2b68e621a0 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:17 +0000 Subject: [PATCH 018/243] app-crypt/adcli: Sync with Gentoo It's from Gentoo commit b368b8f23245b5ccd7b511cc0ff48af0a4057cac. Signed-off-by: Flatcar Buildbot --- .../portage-stable/app-crypt/adcli/Manifest | 1 - .../app-crypt/adcli/adcli-0.9.2.ebuild | 37 ------------------- .../app-crypt/adcli/adcli-0.9.3.1.ebuild | 8 ++++ 3 files changed, 8 insertions(+), 38 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/app-crypt/adcli/adcli-0.9.2.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/adcli/Manifest b/sdk_container/src/third_party/portage-stable/app-crypt/adcli/Manifest index f001fd07d3d..77d68b8e2d7 100644 --- a/sdk_container/src/third_party/portage-stable/app-crypt/adcli/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-crypt/adcli/Manifest @@ -1,2 +1 @@ -DIST adcli-0.9.2.tar.bz2 93680 BLAKE2B b5958b276ee43a0ee54aa922f27ed266d4e9fbd1c86e0c007dac9fcf9cc022e1b3ba043b782fceb00066be2577390773dc99fb8d476a6b5e6523d44d008fb667 SHA512 ae8414a0af389b6845dd92d41446a80a9dc1734b874175323c0e491d99944eab442b95ae6d3a29fc69638d2e73bf8d2c369f6fa50e9ed3968527444b78606286 DIST adcli-0.9.3.1.tar.bz2 105198 BLAKE2B aa2f472601e2c01690ad37186dd90d267949198a34b2b6efad0f9cd1c4734cf4b1f3b27ea6cf34c7b7df7872f0d1cfb70adda99a82adb4fcd6c87f171ddd7d5c SHA512 ef393e09b3396ffb55d2f34feaa23caff249f2f92d5f3f03ea9d140cb2fc2bc45ea36a69760e941a9a053e460ed8d6632d7dc3ab9fc38897f00cea67e30a1b84 diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/adcli/adcli-0.9.2.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/adcli/adcli-0.9.2.ebuild deleted file mode 100644 index ba038ec845b..00000000000 --- a/sdk_container/src/third_party/portage-stable/app-crypt/adcli/adcli-0.9.2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="Tool for performing actions on an Active Directory domain" -HOMEPAGE="https://www.freedesktop.org/software/realmd/adcli/adcli.html" -SRC_URI="https://gitlab.freedesktop.org/realmd/adcli/-/archive/${PV}/${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" -IUSE="doc" - -DEPEND=" - app-crypt/mit-krb5 - net-nds/openldap:=[sasl]" -RDEPEND="${DEPEND}" -BDEPEND=" - doc? ( - app-text/docbook-xml-dtd:4.3 - app-text/xmlto - dev-libs/libxslt - )" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - $(use_enable doc) \ - KRB5_CONFIG="${ESYSROOT}"/usr/bin/krb5-config -} diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/adcli/adcli-0.9.3.1.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/adcli/adcli-0.9.3.1.ebuild index 9beaaca6208..361c7c30fe3 100644 --- a/sdk_container/src/third_party/portage-stable/app-crypt/adcli/adcli-0.9.3.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-crypt/adcli/adcli-0.9.3.1.ebuild @@ -37,6 +37,14 @@ src_prepare() { src_configure() { # builds its own policy, no selinux until policies are official local myconf="--disable-selinux-support" + # building selinux policies is explicitly disabled, but + # configure still checks for existence of + # /usr/share/selinux/devel/Makefile with AC_CHECK_FILE - this + # results in an error when cross-compiling: + # + # checking for /usr/share/selinux/devel/Makefile... configure: + # error: cannot check for file existence when cross compiling + local -x ac_cv_file__usr_share_selinux_devel_Makefile=no econf \ ${myconf} \ $(use_enable doc) \ From 24bfd21c5d861d5f64ae35e5a7d63ce7546d787a Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:18 +0000 Subject: [PATCH 019/243] app-crypt/gnupg: Sync with Gentoo It's from Gentoo commit 12e8f2072c7ff8c70e594b619addd2784bd64ce1. Signed-off-by: Flatcar Buildbot --- .../portage-stable/app-crypt/gnupg/Manifest | 2 + .../gnupg-2.5.20-gpgme-poppler-expire.patch | 111 +++++++++ .../app-crypt/gnupg/gnupg-2.5.20-r1.ebuild | 222 ++++++++++++++++++ .../app-crypt/gnupg/gnupg-2.5.20.ebuild | 2 +- .../app-crypt/gnupg/gnupg-2.5.21.ebuild | 221 +++++++++++++++++ 5 files changed, 557 insertions(+), 1 deletion(-) create mode 100644 sdk_container/src/third_party/portage-stable/app-crypt/gnupg/files/gnupg-2.5.20-gpgme-poppler-expire.patch create mode 100644 sdk_container/src/third_party/portage-stable/app-crypt/gnupg/gnupg-2.5.20-r1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/app-crypt/gnupg/gnupg-2.5.21.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/gnupg/Manifest b/sdk_container/src/third_party/portage-stable/app-crypt/gnupg/Manifest index 3e86c6c68b2..99a7f747f13 100644 --- a/sdk_container/src/third_party/portage-stable/app-crypt/gnupg/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-crypt/gnupg/Manifest @@ -8,3 +8,5 @@ DIST gnupg-2.5.19.tar.bz2 8322515 BLAKE2B 2497ecc9345d7b38d3fd9e5685a1ba047713e9 DIST gnupg-2.5.19.tar.bz2.sig 119 BLAKE2B 0236943996ae324553f7554efac400e8f540be14b42bebe17c6338d0d3e045cdf62fe8533f4a84c1053a29ee475cd69e40045797857db1d213527134e616d642 SHA512 679163b60d0dd91741b1f6ea39203f919ba19b44784709ae6ea95f546f1c2a2b0e5e59b5cac9b3150b66aba0d5be82648244a2aa80bf7b0f2dba3756b164b68a DIST gnupg-2.5.20.tar.bz2 8327674 BLAKE2B 5a2890203cf4ac52d86897ffb104896c5cbc8ab6f088336f423cb539ae0d917e6df0dcb99b8d51d2d6cdc4068e5570e63982e78c14631a332b4fa87ba0ae16bb SHA512 73e5f3020271069421c220871caffcb6ec05c52a8e12d8dcbd214ce2b14a2b22ce0030d9e1fedf25c60ec1077a33630b0a6bd1cc1043fbbaf7083b998113f90f DIST gnupg-2.5.20.tar.bz2.sig 119 BLAKE2B fc54197b59aad9cb26cfcef062a25f882cf26e5cf8ca0c9d3672d4501cbe453b3334225291b3d4fbc4a49c7bb52102963a5386e9b59b4ec10a0385fe8be004b6 SHA512 0a54e9df9f1d6aa6d2f5fb841a3ae36d7530d3ab34bc7635892f58020e73e950a420120430206860e5eb4a7dc7b668f03e31eb42e381b25c4bca07f3e5f2f95b +DIST gnupg-2.5.21.tar.bz2 8351785 BLAKE2B 3d00cb6e7779358886a8bb8710f5e00e43dfed6e4f495c8ae93b653ac7a688f4c622e721f64a657fd48ed2135c378d456e88828a1e0f5745ccf701cfd0b77d47 SHA512 dcc4e976e56411c0dd7309c0cb7e790b409709af55bb93883d257890abe72b17442d6c8fd682fef0e019d70e46a6a5cf860f1ae355a99024ed2aea230de8c0ea +DIST gnupg-2.5.21.tar.bz2.sig 119 BLAKE2B e5ba3cebef212c5a1ec9f9af11c89898a6bf7076ecbf9fd1a5eca738c721b4225ee3995666b9c2b8b5683f6169ea3a1a7987d537e65d26eaf0d01f7dea79fd3f SHA512 f5364d02d3df2b2d611bbeb22fc66879426fa4e8addb0881410263873165ee31b5f3a20fb9b496d353a62cf1ac6fb4ef3e0ebbc609c246150e7019069f1419e9 diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/gnupg/files/gnupg-2.5.20-gpgme-poppler-expire.patch b/sdk_container/src/third_party/portage-stable/app-crypt/gnupg/files/gnupg-2.5.20-gpgme-poppler-expire.patch new file mode 100644 index 00000000000..7c453da13de --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-crypt/gnupg/files/gnupg-2.5.20-gpgme-poppler-expire.patch @@ -0,0 +1,111 @@ +https://bugs.gentoo.org/976749 + +From 32f56a2732f0ac6204aad946388789cdbb0e26eb Mon Sep 17 00:00:00 2001 +Message-ID: <32f56a2732f0ac6204aad946388789cdbb0e26eb.1781166873.git.sam@gentoo.org> +From: Philip Le +Date: Thu, 21 May 2026 14:46:46 +0200 +Subject: [PATCH GnuPG] gpgsm: Fix regression in gpgsm_verify with expired + certificates. + +* sm/verify.c (gpgsm_verify): Display information about signers with +expired certificate. +-- + +The loop over signers skipped the parsing of the current signer's +information if the certificate is expired. + +GnuPG-bug-id: 8188 +Fixes-commit: fa1ac5c23d167dde6899536d6d80d9391737d21e +--- + sm/verify.c | 68 ++++++++++++++++++++++++++--------------------------- + 1 file changed, 34 insertions(+), 34 deletions(-) + +diff --git a/sm/verify.c b/sm/verify.c +index e56e0674e..e48b8e374 100644 +--- a/sm/verify.c ++++ b/sm/verify.c +@@ -615,6 +615,40 @@ gpgsm_verify (ctrl_t ctrl, estream_t in_fp, estream_t data_fp, + keyexptime, 0, + NULL, 0, &verifyflags); + ++ { ++ char *fpr, *buf, *tstr; ++ ++ fpr = gpgsm_fpr_and_name_for_status (cert); ++ if (gpg_err_code (rc) == GPG_ERR_CERT_EXPIRED) ++ { ++ gpgsm_status (ctrl, STATUS_EXPKEYSIG, fpr); ++ rc = 0; ++ } ++ else ++ gpgsm_status (ctrl, STATUS_GOODSIG, fpr); ++ ++ xfree (fpr); ++ ++ /* FIXME: INFO_PKALGO correctly shows ECDSA but PKALGO is then ++ * ECC. We should use the ECDSA here and need to find a way to ++ * figure this out without using the bogus assumption in ++ * gpgsm_check_cms_signature that ECC is always ECDSA. */ ++ ++ fpr = gpgsm_get_fingerprint_hexstring (cert, GCRY_MD_SHA1); ++ tstr = strtimestamp_r (sigtime); ++ buf = xasprintf ("%s %s %s %s 0 0 %d %d 00", fpr, tstr, ++ *sigtime? sigtime : "0", ++ *keyexptime? keyexptime : "0", ++ info_pkalgo, algo); ++ xfree (tstr); ++ /* Handle the --assert-signer option. */ ++ check_assert_signer_list (ctrl, fpr); ++ xfree (fpr); ++ /* Print the status line. */ ++ gpgsm_status (ctrl, STATUS_VALIDSIG, buf); ++ xfree (buf); ++ } ++ + audit_log_ok (ctrl->audit, AUDIT_CHAIN_STATUS, rc); + if (rc) /* of validate_chain */ + { +@@ -671,40 +705,6 @@ gpgsm_verify (ctrl_t ctrl, estream_t in_fp, estream_t data_fp, + goto next_signer; + } + +- { +- char *fpr, *buf, *tstr; +- +- fpr = gpgsm_fpr_and_name_for_status (cert); +- if (gpg_err_code (rc) == GPG_ERR_CERT_EXPIRED) +- { +- gpgsm_status (ctrl, STATUS_EXPKEYSIG, fpr); +- rc = 0; +- } +- else +- gpgsm_status (ctrl, STATUS_GOODSIG, fpr); +- +- xfree (fpr); +- +- /* FIXME: INFO_PKALGO correctly shows ECDSA but PKALGO is then +- * ECC. We should use the ECDSA here and need to find a way to +- * figure this out without using the bogus assumption in +- * gpgsm_check_cms_signature that ECC is always ECDSA. */ +- +- fpr = gpgsm_get_fingerprint_hexstring (cert, GCRY_MD_SHA1); +- tstr = strtimestamp_r (sigtime); +- buf = xasprintf ("%s %s %s %s 0 0 %d %d 00", fpr, tstr, +- *sigtime? sigtime : "0", +- *keyexptime? keyexptime : "0", +- info_pkalgo, algo); +- xfree (tstr); +- /* Handle the --assert-signer option. */ +- check_assert_signer_list (ctrl, fpr); +- xfree (fpr); +- /* Print the status line. */ +- gpgsm_status (ctrl, STATUS_VALIDSIG, buf); +- xfree (buf); +- } +- + audit_log_s (ctrl->audit, AUDIT_SIG_STATUS, "good"); + + for (i=0; (p = ksba_cert_get_subject (cert, i)); i++) +-- +2.54.0 + diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/gnupg/gnupg-2.5.20-r1.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/gnupg/gnupg-2.5.20-r1.ebuild new file mode 100644 index 00000000000..2af683c48b9 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-crypt/gnupg/gnupg-2.5.20-r1.ebuild @@ -0,0 +1,222 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintainers should: +# 1. Join the "Gentoo" project at https://dev.gnupg.org/project/view/27/ +# 2. Subscribe to release tasks like https://dev.gnupg.org/T6159 +# (find the one for the current release then subscribe to it + +# any subsequent ones linked within so you're covered for a while.) + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnupg.asc +# in-source builds are not supported: https://dev.gnupg.org/T6313#166339 +inherit flag-o-matic out-of-source multiprocessing systemd toolchain-funcs verify-sig + +MY_P="${P/_/-}" + +DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation" +HOMEPAGE="https://gnupg.org/" +SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2" +SRC_URI+=" verify-sig? ( mirror://gnupg/gnupg/${P}.tar.bz2.sig )" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="+alternatives bzip2 doc ldap nls readline selinux +smartcard ssl test +tofu tpm tools usb user-socket wks-server" +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( tofu )" + +# Existence of executables is checked during configuration +DEPEND=" + >=dev-libs/libassuan-3.0.0-r1:= + >=dev-libs/libgcrypt-1.11.0:= + >=dev-libs/libgpg-error-1.56 + >=dev-libs/libksba-1.6.3 + >=dev-libs/npth-1.2 + virtual/zlib:= + bzip2? ( app-arch/bzip2 ) + ldap? ( net-nds/openldap:= ) + readline? ( sys-libs/readline:0= ) + smartcard? ( usb? ( virtual/libusb:1 ) ) + tofu? ( >=dev-db/sqlite-3.27 ) + tpm? ( >=app-crypt/tpm2-tss-2.4.0:= ) + ssl? ( >=net-libs/gnutls-3.2:0= ) +" +RDEPEND=" + ${DEPEND} + nls? ( virtual/libintl ) + selinux? ( sec-policy/selinux-gpg ) + wks-server? ( virtual/mta ) +" +PDEPEND=" + app-crypt/pinentry + alternatives? ( + app-alternatives/gpg[-freepg(-)] + ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( sys-apps/texinfo ) + nls? ( sys-devel/gettext ) + verify-sig? ( sec-keys/openpgp-keys-gnupg ) +" + +DOCS=( + ChangeLog NEWS README THANKS TODO VERSION + doc/FAQ doc/DETAILS doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER +) + +PATCHES=( + "${FILESDIR}"/${PN}-2.1.20-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch + "${FILESDIR}"/0002-Fix-stub-functions-to-avoid-LTO-linking-bugs-followup.patch + "${FILESDIR}"/${PN}-2.5.20-gpgme-poppler-expire.patch +) + +src_prepare() { + default + + GNUPG_SYSTEMD_UNITS=( + dirmngr.service + dirmngr.socket + gpg-agent-browser.socket + gpg-agent-extra.socket + gpg-agent.service + gpg-agent.socket + gpg-agent-ssh.socket + ) + + cp "${GNUPG_SYSTEMD_UNITS[@]/#/${FILESDIR}/}" "${T}" || die + + # Inject SSH_AUTH_SOCK into user's sessions after enabling gpg-agent-ssh.socket in systemctl --user mode, + # idea borrowed from libdbus, see + # https://gitlab.freedesktop.org/dbus/dbus/-/blob/master/bus/systemd-user/dbus.socket.in#L6 + # + # This cannot be upstreamed, as it requires determining the exact prefix of 'systemctl', + # which in turn requires discovery in Autoconf, something that upstream deeply resents. + sed -e "/DirectoryMode=/a ExecStartPost=-${EPREFIX}/bin/systemctl --user set-environment SSH_AUTH_SOCK=%t/gnupg/S.gpg-agent.ssh" \ + -i "${T}"/gpg-agent-ssh.socket || die + + # Since 2.5.3, --supervised is called --deprecated-supervised. See + # https://dev.gnupg.org/rGa019a0fcd8dfb9d1eae5bc991fdd54b7cf55641e + sed -i "s/--supervised/--deprecated-supervised/g" "${T}"/*.service || die +} + +my_src_configure() { + local myconf=( + # --enable-selinux controls ENABLE_SELINUX_HACKS which + # prohibits import of secret keys, so doesn't seem desirable + # to have that forced on with USE=selinux. + $(use_enable bzip2) + $(use_enable nls) + $(use_enable smartcard scdaemon) + $(use_enable ssl gnutls) + $(use_enable test all-tests) + $(use_enable test tests) + $(use_enable tofu) + $(use_enable tofu keyboxd) + $(use_enable tofu sqlite) + $(usex tpm '--with-tss=intel' '--disable-tpm2d') + $(use smartcard && use_enable usb ccid-driver || echo '--disable-ccid-driver') + $(use_enable wks-server wks-tools) + $(use_with ldap) + $(use_with readline) + + # Hardcode mailprog to /usr/libexec/sendmail even if it does not exist. + # As of GnuPG 2.3, the mailprog substitution is used for the binary called + # by wks-client & wks-server; and if it's autodetected but not not exist at + # build time, then then 'gpg-wks-client --send' functionality will not + # work. This has an unwanted side-effect in stage3 builds: there was a + # [R]DEPEND on virtual/mta, which also brought in virtual/logger, bloating + # the build where the install guide previously make the user chose the + # logger & mta early in the install. + --with-mailprog=/usr/libexec/sendmail + + --disable-ntbtls + --enable-gpgsm + --enable-large-secmem + + CC_FOR_BUILD="$(tc-getBUILD_CC)" + GPGRT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpgrt-config" + + $("${S}/configure" --help | grep -o -- '--without-.*-prefix') + ) + + if use prefix && use usb; then + # bug #649598 + append-cppflags -I"${ESYSROOT}/usr/include/libusb-1.0" + fi + + if [[ ${CHOST} == *-solaris* ]] ; then + # these somehow are treated as fatal, but Solaris has different + # types for getpeername with socket_t + append-flags -Wno-incompatible-pointer-types + append-flags -Wno-unused-label + fi + + # bug #663142 + if use user-socket; then + myconf+=( --enable-run-gnupg-user-socket ) + fi + + # glib fails and picks up clang's internal stdint.h causing weird errors + tc-is-clang && export gl_cv_absolute_stdint_h="${ESYSROOT}"/usr/include/stdint.h + + econf "${myconf[@]}" +} + +my_src_compile() { + default + + use doc && emake -C doc html +} + +my_src_test() { + export TESTFLAGS="--parallel=$(get_makeopts_jobs)" + + default +} + +my_src_install() { + emake DESTDIR="${D}" install + + use tools && dobin tools/{gpgconf,gpgsplit,gpg-check-pattern} tools/make-dns-cert + + if use alternatives; then + # rename for app-alternatives/gpg + mv "${ED}"/usr/bin/gpg{,-reference} || die + mv "${ED}"/usr/bin/gpgv{,-reference} || die + mv "${ED}"/usr/share/man/man1/gpg{,-reference}.1 || die + mv "${ED}"/usr/share/man/man1/gpgv{,-reference}.1 || die + else + dosym gpg /usr/bin/gpg2 + dosym gpgv /usr/bin/gpgv2 + echo ".so man1/gpg.1" > "${ED}"/usr/share/man/man1/gpg2.1 || die + echo ".so man1/gpgv.1" > "${ED}"/usr/share/man/man1/gpgv2.1 || die + fi + + use doc && dodoc doc/gnupg.html/* +} + +my_src_install_all() { + einstalldocs + + use tools && dobin tools/{convert-from-106,mail-signed-keys,lspgpot} + use doc && dodoc doc/*.png + + # Dropped upstream in https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=eae28f1bd4a5632e8f8e85b7248d1c4d4a10a5ed. + dodoc "${FILESDIR}"/README-systemd + systemd_douserunit "${GNUPG_SYSTEMD_UNITS[@]/#/${T}/}" +} + +pkg_postinst() { + # If /usr/bin/gpg and /usr/bin/gpgv do not exist, provide them. + if [[ ! -e ${EROOT}/usr/bin/gpg ]]; then + ln -sf -- gpg-reference "${EROOT}"/usr/bin/gpg || die + fi + + if [[ ! -e ${EROOT}/usr/bin/gpgv ]]; then + ln -sf -- gpgv-reference "${EROOT}"/usr/bin/gpgv || die + fi +} diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/gnupg/gnupg-2.5.20.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/gnupg/gnupg-2.5.20.ebuild index e52a6cf4fa4..93b1f9b8cd2 100644 --- a/sdk_container/src/third_party/portage-stable/app-crypt/gnupg/gnupg-2.5.20.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-crypt/gnupg/gnupg-2.5.20.ebuild @@ -23,7 +23,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="GPL-3+" 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="+alternatives bzip2 doc ldap nls readline selinux +smartcard ssl test +tofu tpm tools usb user-socket wks-server" RESTRICT="!test? ( test )" REQUIRED_USE="test? ( tofu )" diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/gnupg/gnupg-2.5.21.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/gnupg/gnupg-2.5.21.ebuild new file mode 100644 index 00000000000..e52a6cf4fa4 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-crypt/gnupg/gnupg-2.5.21.ebuild @@ -0,0 +1,221 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintainers should: +# 1. Join the "Gentoo" project at https://dev.gnupg.org/project/view/27/ +# 2. Subscribe to release tasks like https://dev.gnupg.org/T6159 +# (find the one for the current release then subscribe to it + +# any subsequent ones linked within so you're covered for a while.) + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnupg.asc +# in-source builds are not supported: https://dev.gnupg.org/T6313#166339 +inherit flag-o-matic out-of-source multiprocessing systemd toolchain-funcs verify-sig + +MY_P="${P/_/-}" + +DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation" +HOMEPAGE="https://gnupg.org/" +SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2" +SRC_URI+=" verify-sig? ( mirror://gnupg/gnupg/${P}.tar.bz2.sig )" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="+alternatives bzip2 doc ldap nls readline selinux +smartcard ssl test +tofu tpm tools usb user-socket wks-server" +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( tofu )" + +# Existence of executables is checked during configuration +DEPEND=" + >=dev-libs/libassuan-3.0.0-r1:= + >=dev-libs/libgcrypt-1.11.0:= + >=dev-libs/libgpg-error-1.56 + >=dev-libs/libksba-1.6.3 + >=dev-libs/npth-1.2 + virtual/zlib:= + bzip2? ( app-arch/bzip2 ) + ldap? ( net-nds/openldap:= ) + readline? ( sys-libs/readline:0= ) + smartcard? ( usb? ( virtual/libusb:1 ) ) + tofu? ( >=dev-db/sqlite-3.27 ) + tpm? ( >=app-crypt/tpm2-tss-2.4.0:= ) + ssl? ( >=net-libs/gnutls-3.2:0= ) +" +RDEPEND=" + ${DEPEND} + nls? ( virtual/libintl ) + selinux? ( sec-policy/selinux-gpg ) + wks-server? ( virtual/mta ) +" +PDEPEND=" + app-crypt/pinentry + alternatives? ( + app-alternatives/gpg[-freepg(-)] + ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( sys-apps/texinfo ) + nls? ( sys-devel/gettext ) + verify-sig? ( sec-keys/openpgp-keys-gnupg ) +" + +DOCS=( + ChangeLog NEWS README THANKS TODO VERSION + doc/FAQ doc/DETAILS doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER +) + +PATCHES=( + "${FILESDIR}"/${PN}-2.1.20-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch + "${FILESDIR}"/0002-Fix-stub-functions-to-avoid-LTO-linking-bugs-followup.patch +) + +src_prepare() { + default + + GNUPG_SYSTEMD_UNITS=( + dirmngr.service + dirmngr.socket + gpg-agent-browser.socket + gpg-agent-extra.socket + gpg-agent.service + gpg-agent.socket + gpg-agent-ssh.socket + ) + + cp "${GNUPG_SYSTEMD_UNITS[@]/#/${FILESDIR}/}" "${T}" || die + + # Inject SSH_AUTH_SOCK into user's sessions after enabling gpg-agent-ssh.socket in systemctl --user mode, + # idea borrowed from libdbus, see + # https://gitlab.freedesktop.org/dbus/dbus/-/blob/master/bus/systemd-user/dbus.socket.in#L6 + # + # This cannot be upstreamed, as it requires determining the exact prefix of 'systemctl', + # which in turn requires discovery in Autoconf, something that upstream deeply resents. + sed -e "/DirectoryMode=/a ExecStartPost=-${EPREFIX}/bin/systemctl --user set-environment SSH_AUTH_SOCK=%t/gnupg/S.gpg-agent.ssh" \ + -i "${T}"/gpg-agent-ssh.socket || die + + # Since 2.5.3, --supervised is called --deprecated-supervised. See + # https://dev.gnupg.org/rGa019a0fcd8dfb9d1eae5bc991fdd54b7cf55641e + sed -i "s/--supervised/--deprecated-supervised/g" "${T}"/*.service || die +} + +my_src_configure() { + local myconf=( + # --enable-selinux controls ENABLE_SELINUX_HACKS which + # prohibits import of secret keys, so doesn't seem desirable + # to have that forced on with USE=selinux. + $(use_enable bzip2) + $(use_enable nls) + $(use_enable smartcard scdaemon) + $(use_enable ssl gnutls) + $(use_enable test all-tests) + $(use_enable test tests) + $(use_enable tofu) + $(use_enable tofu keyboxd) + $(use_enable tofu sqlite) + $(usex tpm '--with-tss=intel' '--disable-tpm2d') + $(use smartcard && use_enable usb ccid-driver || echo '--disable-ccid-driver') + $(use_enable wks-server wks-tools) + $(use_with ldap) + $(use_with readline) + + # Hardcode mailprog to /usr/libexec/sendmail even if it does not exist. + # As of GnuPG 2.3, the mailprog substitution is used for the binary called + # by wks-client & wks-server; and if it's autodetected but not not exist at + # build time, then then 'gpg-wks-client --send' functionality will not + # work. This has an unwanted side-effect in stage3 builds: there was a + # [R]DEPEND on virtual/mta, which also brought in virtual/logger, bloating + # the build where the install guide previously make the user chose the + # logger & mta early in the install. + --with-mailprog=/usr/libexec/sendmail + + --disable-ntbtls + --enable-gpgsm + --enable-large-secmem + + CC_FOR_BUILD="$(tc-getBUILD_CC)" + GPGRT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpgrt-config" + + $("${S}/configure" --help | grep -o -- '--without-.*-prefix') + ) + + if use prefix && use usb; then + # bug #649598 + append-cppflags -I"${ESYSROOT}/usr/include/libusb-1.0" + fi + + if [[ ${CHOST} == *-solaris* ]] ; then + # these somehow are treated as fatal, but Solaris has different + # types for getpeername with socket_t + append-flags -Wno-incompatible-pointer-types + append-flags -Wno-unused-label + fi + + # bug #663142 + if use user-socket; then + myconf+=( --enable-run-gnupg-user-socket ) + fi + + # glib fails and picks up clang's internal stdint.h causing weird errors + tc-is-clang && export gl_cv_absolute_stdint_h="${ESYSROOT}"/usr/include/stdint.h + + econf "${myconf[@]}" +} + +my_src_compile() { + default + + use doc && emake -C doc html +} + +my_src_test() { + export TESTFLAGS="--parallel=$(get_makeopts_jobs)" + + default +} + +my_src_install() { + emake DESTDIR="${D}" install + + use tools && dobin tools/{gpgconf,gpgsplit,gpg-check-pattern} tools/make-dns-cert + + if use alternatives; then + # rename for app-alternatives/gpg + mv "${ED}"/usr/bin/gpg{,-reference} || die + mv "${ED}"/usr/bin/gpgv{,-reference} || die + mv "${ED}"/usr/share/man/man1/gpg{,-reference}.1 || die + mv "${ED}"/usr/share/man/man1/gpgv{,-reference}.1 || die + else + dosym gpg /usr/bin/gpg2 + dosym gpgv /usr/bin/gpgv2 + echo ".so man1/gpg.1" > "${ED}"/usr/share/man/man1/gpg2.1 || die + echo ".so man1/gpgv.1" > "${ED}"/usr/share/man/man1/gpgv2.1 || die + fi + + use doc && dodoc doc/gnupg.html/* +} + +my_src_install_all() { + einstalldocs + + use tools && dobin tools/{convert-from-106,mail-signed-keys,lspgpot} + use doc && dodoc doc/*.png + + # Dropped upstream in https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=eae28f1bd4a5632e8f8e85b7248d1c4d4a10a5ed. + dodoc "${FILESDIR}"/README-systemd + systemd_douserunit "${GNUPG_SYSTEMD_UNITS[@]/#/${T}/}" +} + +pkg_postinst() { + # If /usr/bin/gpg and /usr/bin/gpgv do not exist, provide them. + if [[ ! -e ${EROOT}/usr/bin/gpg ]]; then + ln -sf -- gpg-reference "${EROOT}"/usr/bin/gpg || die + fi + + if [[ ! -e ${EROOT}/usr/bin/gpgv ]]; then + ln -sf -- gpgv-reference "${EROOT}"/usr/bin/gpgv || die + fi +} From c2a36f5944ccd189524605eba8fa6dc2a032e5f8 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:19 +0000 Subject: [PATCH 020/243] app-crypt/gpgme: Sync with Gentoo It's from Gentoo commit a609f1cb20d85ffb0d8b5e4943ec6d5a379e6a50. Signed-off-by: Flatcar Buildbot --- .../portage-stable/app-crypt/gpgme/Manifest | 6 +- ...tests-start-stop-agent-use-command-v.patch | 27 ++++++ ...{gpgme-2.0.0.ebuild => gpgme-2.1.0.ebuild} | 16 +++- .../app-crypt/gpgme/gpgme-2.1.1.ebuild | 96 +++++++++++++++++++ 4 files changed, 138 insertions(+), 7 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/app-crypt/gpgme/files/gpgme-2.1.0-tests-start-stop-agent-use-command-v.patch rename sdk_container/src/third_party/portage-stable/app-crypt/gpgme/{gpgme-2.0.0.ebuild => gpgme-2.1.0.ebuild} (83%) create mode 100644 sdk_container/src/third_party/portage-stable/app-crypt/gpgme/gpgme-2.1.1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/gpgme/Manifest b/sdk_container/src/third_party/portage-stable/app-crypt/gpgme/Manifest index b1d77b2bdce..e92c185e0f9 100644 --- a/sdk_container/src/third_party/portage-stable/app-crypt/gpgme/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-crypt/gpgme/Manifest @@ -1,4 +1,6 @@ -DIST gpgme-2.0.0.tar.bz2 1383911 BLAKE2B 7053955f80f9a69c62d8b4bb6cc80ea259e6854857b340577c4a68fac1d34c0f2aff1dbbf88b503dd2b021c48d9fff67709593817f3b0e74f72df913d7e3de0d SHA512 ee58dc2a4273c740d5b9ef13cc655d5e600ddddd137fb85a781c31e8854829283b4ce241d7810a963d9a125d603213600f37e7d0c1ce3b3cf1b935e62cf60777 -DIST gpgme-2.0.0.tar.bz2.sig 119 BLAKE2B 3fe43a1047f8fba1fe793b5f501b9902067b3eea8d08713c4358d78b7c0c19b82e417251dbe602d04c2f945e46e0c5651bead5a2bf59dfc0861d1e9261893a98 SHA512 fc7b3cafd0e9d830c1709a086185047ecf118997feaa8896707917c420d12386c6e298116b457fea478c2e2f85fc9413ab3fa268a1798793377e4739419fde66 DIST gpgme-2.0.1.tar.bz2 1392080 BLAKE2B b2dbc41abf6947b335307e5add09ff6104d3666998e2ae0efed518b5a0cfbced8a64b24b7567666fcf392bdb07ba01c1c2e4cb27a7b53569ce92f73661e5e1a4 SHA512 ad19169594b6048b11df9311080e179232ff03def08f377e7d7536a3a91e12f722cbae93e80364b73db013152b327bc3457ec9a9ddea9c660d74f389f6ab8837 DIST gpgme-2.0.1.tar.bz2.sig 147 BLAKE2B 3d2a6c19d052ba9885298bf90156cf43fda86b837902bf5ec74bb9bf2fdde693a2ef74fc533c0e8921fb6a24eafd5dac8bbfcd930aaf13656358e7db62333783 SHA512 53f45e0d61d3fca5965ecaf32fb8c0d75517d7267901da1f4facb664595d55713378161774415bbd5491f52d934944750478da8de9ddef0fec1d4702fac36100 +DIST gpgme-2.1.0.tar.bz2 1418236 BLAKE2B ed03f7603409e32b3a8792fe1515df09a9d16e94efd58aa070906c3c85b650723336559844321bce3665e12ce69d6bc9fe925ceb2f53304eedda3933568743d9 SHA512 78c4b6a93a648fd34e73cad6384a265a35842b9b3aaa68a511c5ee563605873a64f8438072c5a9cdfe399ccf0fe86f05e0ac3cf5e97cc76d6b5ddb41aaebadb8 +DIST gpgme-2.1.0.tar.bz2.sig 147 BLAKE2B 66a0f6536db3ab904311a230aa652ad6240f3c3599b5d902d80f73d537defb0133ff48ba3605f3b2b4e36d115b022fcfbd4cc1a67d3a54d8faf3141c20eccd46 SHA512 53dea5bdc4a46b64f7a7c0c363ecf6f596f52f61905e5f54eafd4d868edacc9259a8c3c3cb991d770a87090766e933ab1e1c1acab6e44db0b413229495efff57 +DIST gpgme-2.1.1.tar.bz2 1419085 BLAKE2B b70ba73898eab4a147f7af3af6d220be11a0ec1b473cd3a11d794c6bdc8dbc7f14800f679bb31c3cc856136d5219e1647c5b0991cc1975bb795fdbd608b53f24 SHA512 3bade9b29dd359c5ba13c8637a46a9bccadb0e4622d343f6de36f968be144c2a16f3cad5f494510f310d094aacfd8000f05d37bb94638b57d861bfe15c46a199 +DIST gpgme-2.1.1.tar.bz2.sig 147 BLAKE2B 139ca84d1b7130aa88b454b516d7084d172375cf06a76424a5d97fa142d62492cb679b56679c7a1cac8cbbf38ecfb73c45ee6d464b7dd29fd1c09b2d87767ef5 SHA512 d231f820b0339d8ae07d69edf5b2213dfc9ba61fe41dd77ecc057be34765d1ba114e9ce951e58118d43c10df8b7f6b075363a12134ab4931a665c045ea51ddb8 diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/gpgme/files/gpgme-2.1.0-tests-start-stop-agent-use-command-v.patch b/sdk_container/src/third_party/portage-stable/app-crypt/gpgme/files/gpgme-2.1.0-tests-start-stop-agent-use-command-v.patch new file mode 100644 index 00000000000..9961f707420 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-crypt/gpgme/files/gpgme-2.1.0-tests-start-stop-agent-use-command-v.patch @@ -0,0 +1,27 @@ +Sent upstream to gnupg-devel@ but not yet in archive. + +From: Sam James +Date: Mon, 15 Aug 2022 19:29:06 +0100 +Subject: [PATCH] tests/start-stop-agent: use 'command -v' instead of 'which' + +`which` is an external command which isn't required by POSIX. + +Debian and other distributions (like Gentoo!) are looking +to drop it from their base set of packages. + +Switch to `command -v` which should always work instead. + +Note we already use `command -v` at the start of this test anyway. + +Signed-off-by: Sam James +--- a/tests/start-stop-agent ++++ b/tests/start-stop-agent +@@ -15,7 +15,7 @@ fi + + GPG_AGENT_INFO= + export GPG_AGENT_INFO +-GPG_AGENT=$(which gpg-agent$EXEEXT) ++GPG_AGENT=$(command -v gpg-agent$EXEEXT) + + token=$(echo "gpgme-$(pwd)" | tr ' ' '_') + diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/gpgme/gpgme-2.0.0.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/gpgme/gpgme-2.1.0.ebuild similarity index 83% rename from sdk_container/src/third_party/portage-stable/app-crypt/gpgme/gpgme-2.0.0.ebuild rename to sdk_container/src/third_party/portage-stable/app-crypt/gpgme/gpgme-2.1.0.ebuild index 2749511cd9b..cfb998de2ab 100644 --- a/sdk_container/src/third_party/portage-stable/app-crypt/gpgme/gpgme-2.0.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-crypt/gpgme/gpgme-2.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -27,12 +27,15 @@ LICENSE="GPL-2 LGPL-2.1" # Please check ABI on each bump, even if SONAMEs didn't change: bug #833355 # Subslot: SONAME of each: SLOT="1/45.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="common-lisp static-libs test" RESTRICT="!test? ( test )" RDEPEND=" - >=app-crypt/gnupg-2 + || ( + app-alternatives/gpg[reference] + app-alternatives/gpg[freepg(-)] + ) >=dev-libs/libassuan-2.5.3:= >=dev-libs/libgpg-error-1.46-r1:= " @@ -43,7 +46,7 @@ BDEPEND=" " PATCHES=( - "${FILESDIR}"/${PN}-1.18.0-tests-start-stop-agent-use-command-v.patch + "${FILESDIR}"/${PN}-2.1.0-tests-start-stop-agent-use-command-v.patch ) src_prepare() { @@ -75,9 +78,12 @@ my_src_configure() { ) local myeconfargs=( - $(use test || echo "--disable-gpgconf-test --disable-gpg-test --disable-gpgsm-test --disable-g13-test") --enable-languages="${languages[*]}" $(use_enable static-libs static) + $(use_enable test gpgconf-test) + $(use_enable test gpg-test) + $(use_enable test gpgsm-test) + $(use_enable test g13-test) GPGRT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpgrt-config" ) diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/gpgme/gpgme-2.1.1.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/gpgme/gpgme-2.1.1.ebuild new file mode 100644 index 00000000000..cfb998de2ab --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-crypt/gpgme/gpgme-2.1.1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintainers should: +# 1. Join the "Gentoo" project at https://dev.gnupg.org/project/view/27/ +# 2. Subscribe to release tasks like https://dev.gnupg.org/T6159 +# (find the one for the current release then subscribe to it + +# any subsequent ones linked within so you're covered for a while.) + +# out-of-source b/c in-source builds are not supported: +# * https://dev.gnupg.org/T6313#166339 +# * https://dev.gnupg.org/T6673#174545 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnupg.asc +inherit libtool flag-o-matic out-of-source verify-sig + +DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use" +HOMEPAGE="https://www.gnupg.org/related_software/gpgme" +SRC_URI=" + mirror://gnupg/gpgme/${P}.tar.bz2 + verify-sig? ( mirror://gnupg/gpgme/${P}.tar.bz2.sig ) +" + +LICENSE="GPL-2 LGPL-2.1" +# Please check ABI on each bump, even if SONAMEs didn't change: bug #833355 +# Subslot: SONAME of each: +SLOT="1/45.0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="common-lisp static-libs test" +RESTRICT="!test? ( test )" + +RDEPEND=" + || ( + app-alternatives/gpg[reference] + app-alternatives/gpg[freepg(-)] + ) + >=dev-libs/libassuan-2.5.3:= + >=dev-libs/libgpg-error-1.46-r1:= +" +DEPEND="${RDEPEND}" +#doc? ( app-text/doxygen[dot] ) +BDEPEND=" + verify-sig? ( sec-keys/openpgp-keys-gnupg ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.1.0-tests-start-stop-agent-use-command-v.patch +) + +src_prepare() { + default + + elibtoolize + + # bug #697456 + addpredict /run/user/$(id -u)/gnupg + + local MAX_WORKDIR=66 + if use test && [[ "${#WORKDIR}" -gt "${MAX_WORKDIR}" ]]; then + eerror "Unable to run tests as WORKDIR='${WORKDIR}' is longer than ${MAX_WORKDIR} which causes failure!" + die "Could not run tests as requested with too-long WORKDIR." + fi + + # Make best effort to allow longer PORTAGE_TMPDIR as usock limitation + # fails build/tests. + ln -s "${P}" "${WORKDIR}/b" || die + S="${WORKDIR}/b" +} + +my_src_configure() { + # bug #847955 + append-lfs-flags + + local languages=( + $(usev common-lisp 'cl') + ) + + local myeconfargs=( + --enable-languages="${languages[*]}" + $(use_enable static-libs static) + $(use_enable test gpgconf-test) + $(use_enable test gpg-test) + $(use_enable test gpgsm-test) + $(use_enable test g13-test) + GPGRT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpgrt-config" + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +my_src_install() { + emake DESTDIR="${D}" install + find "${ED}" -type f -name '*.la' -delete || die +} From db11f7e6479e9bab60096ee79cb42f8cebbfe59f Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:20 +0000 Subject: [PATCH 021/243] app-crypt/libmd: Sync with Gentoo It's from Gentoo commit 8292769b7873553f4e93991eb47fd476dd29b994. Signed-off-by: Flatcar Buildbot --- .../portage-stable/app-crypt/libmd/libmd-1.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/libmd/libmd-1.2.0.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/libmd/libmd-1.2.0.ebuild index f58248ef167..c41bca7a5da 100644 --- a/sdk_container/src/third_party/portage-stable/app-crypt/libmd/libmd-1.2.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-crypt/libmd/libmd-1.2.0.ebuild @@ -15,7 +15,7 @@ SRC_URI=" LICENSE="|| ( BSD BSD-2 ISC BEER-WARE public-domain )" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" BDEPEND="verify-sig? ( sec-keys/openpgp-keys-guillemjover )" From 3e57c9e3e97b4ac84e2055f4a78cf6b066ecd7a6 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:20 +0000 Subject: [PATCH 022/243] app-crypt/mit-krb5: Sync with Gentoo It's from Gentoo commit 9219d0803571d901d27f522077c94ec767d5f381. Signed-off-by: Flatcar Buildbot --- .../app-crypt/mit-krb5/Manifest | 2 - .../mit-krb5/mit-krb5-1.21.3-r1.ebuild | 157 ----------------- .../app-crypt/mit-krb5/mit-krb5-1.21.3.ebuild | 158 ----------------- .../mit-krb5/mit-krb5-1.22.2-r1.ebuild | 162 ------------------ .../mit-krb5/mit-krb5-1.22.2-r2.ebuild | 2 +- .../app-crypt/mit-krb5/mit-krb5-1.22.2.ebuild | 155 ----------------- 6 files changed, 1 insertion(+), 635 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.21.3-r1.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.21.3.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.22.2-r1.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.22.2.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/Manifest b/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/Manifest index c2444c03c0f..86950c72efb 100644 --- a/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/Manifest @@ -1,3 +1 @@ -DIST krb5-1.21.3.tar.gz 9136145 BLAKE2B e909a55eaedab68e5c829bb7bbd26cec5db2d7b8d97f3b034de94d8f957003f16977ac619afee3b862f288e59f05c5e44f41e65b8883961c8b22a26e2f4733bc SHA512 87bc06607f4d95ff604169cea22180703a42d667af05f66f1569b8bd592670c42820b335e5c279e8b4f066d1e7da20f1948a1e4def7c5d295c170cbfc7f49c71 DIST krb5-1.22.2.tar.gz 8747729 BLAKE2B c0fee5d954fee1c10dcd16f37243fbf586b23f1136e58c21202cd38f195586592cf6d5fa1b9eba27c8b5210db4dcc72ea47a20011295980d5eda671861571a7e SHA512 3237cacfb2019285107991a3211e0d74944c605942ab38a8b4b372703b8f02f5779fa2de80c4e201bd59703d557f37ac346bdc5ea14b986b0a0db23eb422fc6f -DIST mit-krb5-1.21.3-c23.patch.xz 59948 BLAKE2B f611ccda16ee4e2bcfbdbaf72204f0ede6ebe3517f4df016ae7db9c364bc55d81e1e32aaaa0506197ddca09555a5a4d3ef75f7c33b6434115b6c57bd99f1bcb5 SHA512 35b226b351a81f4610e1ef2be9822a57f94f9cc5017ed082584fb8c85a0f0be78b8e9fda4fc5c78248421be39517df639cee9cae49ddccf3d62f1a0cff4224ae diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.21.3-r1.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.21.3-r1.ebuild deleted file mode 100644 index 7446719e381..00000000000 --- a/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.21.3-r1.ebuild +++ /dev/null @@ -1,157 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..13} ) -inherit autotools flag-o-matic python-any-r1 systemd toolchain-funcs multilib-minimal - -MY_P="${P/mit-}" -P_DIR=$(ver_cut 1-2) -DESCRIPTION="MIT Kerberos V" -HOMEPAGE="https://web.mit.edu/kerberos/www/" -SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-1.21.3-c23.patch.xz" -S=${WORKDIR}/${MY_P}/src - -LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 ~sparc x86" -IUSE="cpu_flags_x86_aes doc +keyutils lmdb nls openldap +pkinit selinux test xinetd" - -RESTRICT="!test? ( test )" - -DEPEND=" - !!app-crypt/heimdal - >=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}] - || ( - >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}] - >=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}] - ) - keyutils? ( >=sys-apps/keyutils-1.5.8:=[${MULTILIB_USEDEP}] ) - lmdb? ( dev-db/lmdb:= ) - nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] ) - openldap? ( >=net-nds/openldap-2.4.38-r1:=[${MULTILIB_USEDEP}] ) - pkinit? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] ) - xinetd? ( sys-apps/xinetd ) - " -BDEPEND=" - ${PYTHON_DEPS} - app-alternatives/yacc - >=sys-fs/e2fsprogs-1.46.4-r51 - cpu_flags_x86_aes? ( - amd64? ( dev-lang/yasm ) - x86? ( dev-lang/yasm ) - ) - doc? ( virtual/latex-base ) - test? ( dev-util/cmocka ) - " -RDEPEND="${DEPEND} - selinux? ( sec-policy/selinux-kerberos )" - -PATCHES=( - "${FILESDIR}/${PN}-1.12_warn_cflags.patch" - "${FILESDIR}/${PN}_dont_create_rundir.patch" - "${FILESDIR}/${PN}-1.18.2-krb5-config.patch" - "${WORKDIR}/${PN}-1.21.3-c23.patch" -) - -MULTILIB_CHOST_TOOLS=( - /usr/bin/krb5-config -) - -src_prepare() { - default - # Make sure we always use the system copies. - rm -rf util/{et,ss,verto} - sed -i 's:^[[:space:]]*util/verto$::' configure.ac || die - - eautoreconf -} - -src_configure() { - # lto-type-mismatch (bug #854225) - filter-lto - - multilib-minimal_src_configure -} - -multilib_src_configure() { - ECONF_SOURCE=${S} \ - AR="$(tc-getAR)" \ - WARN_CFLAGS="set" \ - econf \ - $(use_with openldap ldap) \ - $(use_enable nls) \ - $(use_enable pkinit) \ - $(use_with lmdb) \ - $(use_with keyutils) \ - --without-hesiod \ - --enable-shared \ - --with-system-et \ - --with-system-ss \ - --enable-dns-for-realm \ - --enable-kdc-lookaside-cache \ - --with-system-verto \ - --enable-thread-support \ - --disable-rpath -} - -multilib_src_compile() { - emake -j1 -} - -multilib_src_test() { - multilib_is_native_abi && emake -j1 check -} - -multilib_src_install() { - emake \ - DESTDIR="${D}" \ - EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \ - install -} - -multilib_src_install_all() { - # default database dir - keepdir /var/lib/krb5kdc - - cd .. - dodoc README - - newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind - newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc - newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd - newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind - newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc - newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd - - systemd_newunit "${FILESDIR}"/mit-krb5kadmind.service mit-krb5kadmind.service - systemd_newunit "${FILESDIR}"/mit-krb5kdc.service mit-krb5kdc.service - systemd_newunit "${FILESDIR}"/mit-krb5kpropd.service mit-krb5kpropd.service - systemd_newunit "${FILESDIR}"/mit-krb5kpropd_at.service "mit-krb5kpropd@.service" - systemd_newunit "${FILESDIR}"/mit-krb5kpropd.socket mit-krb5kpropd.socket - - insinto /etc - newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example - insinto /var/lib/krb5kdc - newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example - - if use openldap ; then - dodoc "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.ldif" - dodoc "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.openldap.ldif" - insinto /etc/openldap/schema - doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" - fi - - if use xinetd ; then - insinto /etc/xinetd.d - newins "${FILESDIR}/kpropd.xinetd" kpropd - fi - - if use doc; then - dodoc -r doc/html - docinto pdf - dodoc doc/pdf/*.pdf - fi -} diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.21.3.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.21.3.ebuild deleted file mode 100644 index 6a4989097d3..00000000000 --- a/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.21.3.ebuild +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..13} ) -inherit autotools flag-o-matic python-any-r1 systemd toolchain-funcs multilib-minimal - -MY_P="${P/mit-}" -P_DIR=$(ver_cut 1-2) -DESCRIPTION="MIT Kerberos V" -HOMEPAGE="https://web.mit.edu/kerberos/www/" -SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P}/src - -LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="cpu_flags_x86_aes doc +keyutils lmdb nls openldap +pkinit selinux test xinetd" - -RESTRICT="!test? ( test )" - -DEPEND=" - !!app-crypt/heimdal - >=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}] - || ( - >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}] - >=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}] - ) - keyutils? ( >=sys-apps/keyutils-1.5.8:=[${MULTILIB_USEDEP}] ) - lmdb? ( dev-db/lmdb:= ) - nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] ) - openldap? ( >=net-nds/openldap-2.4.38-r1:=[${MULTILIB_USEDEP}] ) - pkinit? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] ) - xinetd? ( sys-apps/xinetd ) - " -BDEPEND=" - ${PYTHON_DEPS} - app-alternatives/yacc - >=sys-fs/e2fsprogs-1.46.4-r51 - cpu_flags_x86_aes? ( - amd64? ( dev-lang/yasm ) - x86? ( dev-lang/yasm ) - ) - doc? ( virtual/latex-base ) - test? ( dev-util/cmocka ) - " -RDEPEND="${DEPEND} - selinux? ( sec-policy/selinux-kerberos )" - -PATCHES=( - "${FILESDIR}/${PN}-1.12_warn_cflags.patch" - "${FILESDIR}/${PN}_dont_create_rundir.patch" - "${FILESDIR}/${PN}-1.18.2-krb5-config.patch" -) - -MULTILIB_CHOST_TOOLS=( - /usr/bin/krb5-config -) - -src_prepare() { - default - # Make sure we always use the system copies. - rm -rf util/{et,ss,verto} - sed -i 's:^[[:space:]]*util/verto$::' configure.ac || die - - eautoreconf -} - -src_configure() { - # lto-type-mismatch (bug #854225) - filter-lto - - # https://github.com/krb5/krb5/pull/1304 (bug #944006) - append-cflags -std=gnu17 - - multilib-minimal_src_configure -} - -multilib_src_configure() { - ECONF_SOURCE=${S} \ - AR="$(tc-getAR)" \ - WARN_CFLAGS="set" \ - econf \ - $(use_with openldap ldap) \ - $(use_enable nls) \ - $(use_enable pkinit) \ - $(use_with lmdb) \ - $(use_with keyutils) \ - --without-hesiod \ - --enable-shared \ - --with-system-et \ - --with-system-ss \ - --enable-dns-for-realm \ - --enable-kdc-lookaside-cache \ - --with-system-verto \ - --enable-thread-support \ - --disable-rpath -} - -multilib_src_compile() { - emake -j1 -} - -multilib_src_test() { - multilib_is_native_abi && emake -j1 check -} - -multilib_src_install() { - emake \ - DESTDIR="${D}" \ - EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \ - install -} - -multilib_src_install_all() { - # default database dir - keepdir /var/lib/krb5kdc - - cd .. - dodoc README - - newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind - newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc - newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd - newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind - newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc - newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd - - systemd_newunit "${FILESDIR}"/mit-krb5kadmind.service mit-krb5kadmind.service - systemd_newunit "${FILESDIR}"/mit-krb5kdc.service mit-krb5kdc.service - systemd_newunit "${FILESDIR}"/mit-krb5kpropd.service mit-krb5kpropd.service - systemd_newunit "${FILESDIR}"/mit-krb5kpropd_at.service "mit-krb5kpropd@.service" - systemd_newunit "${FILESDIR}"/mit-krb5kpropd.socket mit-krb5kpropd.socket - - insinto /etc - newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example - insinto /var/lib/krb5kdc - newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example - - if use openldap ; then - dodoc "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.ldif" - dodoc "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.openldap.ldif" - insinto /etc/openldap/schema - doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" - fi - - if use xinetd ; then - insinto /etc/xinetd.d - newins "${FILESDIR}/kpropd.xinetd" kpropd - fi - - if use doc; then - dodoc -r doc/html - docinto pdf - dodoc doc/pdf/*.pdf - fi -} diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.22.2-r1.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.22.2-r1.ebuild deleted file mode 100644 index a9b51a01787..00000000000 --- a/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.22.2-r1.ebuild +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{12..14} ) -inherit autotools flag-o-matic python-any-r1 systemd toolchain-funcs multilib-minimal - -MY_P="${P/mit-}" -P_DIR=$(ver_cut 1-2) -DESCRIPTION="MIT Kerberos V" -HOMEPAGE="https://web.mit.edu/kerberos/www/" -SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P}/src - -LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cpu_flags_x86_aes doc +keyutils lmdb nls openldap +pkinit selinux test xinetd" - -RESTRICT="!test? ( test )" - -DEPEND=" - !!app-crypt/heimdal - >=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}] - || ( - >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}] - >=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}] - ) - keyutils? ( >=sys-apps/keyutils-1.5.8:=[${MULTILIB_USEDEP}] ) - lmdb? ( dev-db/lmdb:= ) - nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] ) - openldap? ( >=net-nds/openldap-2.4.38-r1:=[${MULTILIB_USEDEP}] ) - pkinit? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] ) - xinetd? ( sys-apps/xinetd ) - " -BDEPEND=" - ${PYTHON_DEPS} - app-alternatives/yacc - >=sys-fs/e2fsprogs-1.46.4-r51 - cpu_flags_x86_aes? ( - amd64? ( dev-lang/yasm ) - x86? ( dev-lang/yasm ) - ) - doc? ( virtual/latex-base ) - test? ( dev-util/cmocka ) - " -RDEPEND="${DEPEND} - selinux? ( sec-policy/selinux-kerberos )" - -PATCHES=( - "${FILESDIR}/${PN}-1.12_warn_cflags.patch" - "${FILESDIR}/${PN}_dont_create_rundir.patch" - "${FILESDIR}/${PN}-1.18.2-krb5-config.patch" -) - -MULTILIB_CHOST_TOOLS=( - /usr/bin/krb5-config -) - -src_prepare() { - default - # Make sure we always use the system copies. - rm -rf util/{et,ss,verto} - sed -i 's:^[[:space:]]*util/verto$::' configure.ac || die - - eautoreconf -} - -src_configure() { - # lto-type-mismatch (bug #854225) - filter-lto - - if tc-is-cross-compiler; then - # assume modern system - export krb5_cv_attr_constructor_destructor=y - export ac_cv_printf_positional=y - fi - - multilib-minimal_src_configure -} - -multilib_src_configure() { - ECONF_SOURCE=${S} \ - AR="$(tc-getAR)" \ - WARN_CFLAGS="set" \ - econf \ - $(use_with openldap ldap) \ - $(use_enable nls) \ - $(use_enable pkinit) \ - $(use_enable cpu_flags_x86_aes aesni) \ - $(use_with lmdb) \ - $(use_with keyutils) \ - --without-hesiod \ - --enable-shared \ - --with-system-et \ - --with-system-ss \ - --enable-dns-for-realm \ - --enable-kdc-lookaside-cache \ - --with-system-verto \ - --enable-thread-support \ - --disable-rpath -} - -multilib_src_compile() { - emake -j1 -} - -multilib_src_test() { - multilib_is_native_abi && emake -j1 check -} - -multilib_src_install() { - emake \ - DESTDIR="${D}" \ - EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \ - install -} - -multilib_src_install_all() { - # default database dir - keepdir /var/lib/krb5kdc - - cd .. - dodoc README - - newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind - newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc - newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd - newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind - newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc - newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd - - systemd_newunit "${FILESDIR}"/mit-krb5kadmind.service mit-krb5kadmind.service - systemd_newunit "${FILESDIR}"/mit-krb5kdc.service mit-krb5kdc.service - systemd_newunit "${FILESDIR}"/mit-krb5kpropd.service mit-krb5kpropd.service - systemd_newunit "${FILESDIR}"/mit-krb5kpropd_at.service "mit-krb5kpropd@.service" - systemd_newunit "${FILESDIR}"/mit-krb5kpropd.socket mit-krb5kpropd.socket - - insinto /etc - newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example - insinto /var/lib/krb5kdc - newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example - - if use openldap ; then - dodoc "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.ldif" - dodoc "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.openldap.ldif" - insinto /etc/openldap/schema - doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" - fi - - if use xinetd ; then - insinto /etc/xinetd.d - newins "${FILESDIR}/kpropd.xinetd" kpropd - fi - - if use doc; then - dodoc -r doc/html - docinto pdf - dodoc doc/pdf/*.pdf - fi -} diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.22.2-r2.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.22.2-r2.ebuild index ad39940b990..89efb66ea39 100644 --- a/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.22.2-r2.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.22.2-r2.ebuild @@ -15,7 +15,7 @@ S=${WORKDIR}/${MY_P}/src LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="cpu_flags_x86_aes doc +keyutils lmdb nls openldap +pkinit selinux test xinetd" RESTRICT="!test? ( test )" diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.22.2.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.22.2.ebuild deleted file mode 100644 index 199106b0396..00000000000 --- a/sdk_container/src/third_party/portage-stable/app-crypt/mit-krb5/mit-krb5-1.22.2.ebuild +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{12..14} ) -inherit autotools flag-o-matic python-any-r1 systemd toolchain-funcs multilib-minimal - -MY_P="${P/mit-}" -P_DIR=$(ver_cut 1-2) -DESCRIPTION="MIT Kerberos V" -HOMEPAGE="https://web.mit.edu/kerberos/www/" -SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P}/src - -LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="cpu_flags_x86_aes doc +keyutils lmdb nls openldap +pkinit selinux test xinetd" - -RESTRICT="!test? ( test )" - -DEPEND=" - !!app-crypt/heimdal - >=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}] - || ( - >=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}] - >=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}] - ) - keyutils? ( >=sys-apps/keyutils-1.5.8:=[${MULTILIB_USEDEP}] ) - lmdb? ( dev-db/lmdb:= ) - nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] ) - openldap? ( >=net-nds/openldap-2.4.38-r1:=[${MULTILIB_USEDEP}] ) - pkinit? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] ) - xinetd? ( sys-apps/xinetd ) - " -BDEPEND=" - ${PYTHON_DEPS} - app-alternatives/yacc - >=sys-fs/e2fsprogs-1.46.4-r51 - cpu_flags_x86_aes? ( - amd64? ( dev-lang/yasm ) - x86? ( dev-lang/yasm ) - ) - doc? ( virtual/latex-base ) - test? ( dev-util/cmocka ) - " -RDEPEND="${DEPEND} - selinux? ( sec-policy/selinux-kerberos )" - -PATCHES=( - "${FILESDIR}/${PN}-1.12_warn_cflags.patch" - "${FILESDIR}/${PN}_dont_create_rundir.patch" - "${FILESDIR}/${PN}-1.18.2-krb5-config.patch" -) - -MULTILIB_CHOST_TOOLS=( - /usr/bin/krb5-config -) - -src_prepare() { - default - # Make sure we always use the system copies. - rm -rf util/{et,ss,verto} - sed -i 's:^[[:space:]]*util/verto$::' configure.ac || die - - eautoreconf -} - -src_configure() { - # lto-type-mismatch (bug #854225) - filter-lto - - multilib-minimal_src_configure -} - -multilib_src_configure() { - ECONF_SOURCE=${S} \ - AR="$(tc-getAR)" \ - WARN_CFLAGS="set" \ - econf \ - $(use_with openldap ldap) \ - $(use_enable nls) \ - $(use_enable pkinit) \ - $(use_with lmdb) \ - $(use_with keyutils) \ - --without-hesiod \ - --enable-shared \ - --with-system-et \ - --with-system-ss \ - --enable-dns-for-realm \ - --enable-kdc-lookaside-cache \ - --with-system-verto \ - --enable-thread-support \ - --disable-rpath -} - -multilib_src_compile() { - emake -j1 -} - -multilib_src_test() { - multilib_is_native_abi && emake -j1 check -} - -multilib_src_install() { - emake \ - DESTDIR="${D}" \ - EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \ - install -} - -multilib_src_install_all() { - # default database dir - keepdir /var/lib/krb5kdc - - cd .. - dodoc README - - newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind - newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc - newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd - newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind - newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc - newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd - - systemd_newunit "${FILESDIR}"/mit-krb5kadmind.service mit-krb5kadmind.service - systemd_newunit "${FILESDIR}"/mit-krb5kdc.service mit-krb5kdc.service - systemd_newunit "${FILESDIR}"/mit-krb5kpropd.service mit-krb5kpropd.service - systemd_newunit "${FILESDIR}"/mit-krb5kpropd_at.service "mit-krb5kpropd@.service" - systemd_newunit "${FILESDIR}"/mit-krb5kpropd.socket mit-krb5kpropd.socket - - insinto /etc - newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example - insinto /var/lib/krb5kdc - newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example - - if use openldap ; then - dodoc "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.ldif" - dodoc "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.openldap.ldif" - insinto /etc/openldap/schema - doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema" - fi - - if use xinetd ; then - insinto /etc/xinetd.d - newins "${FILESDIR}/kpropd.xinetd" kpropd - fi - - if use doc; then - dodoc -r doc/html - docinto pdf - dodoc doc/pdf/*.pdf - fi -} From 555f83982aeff424269659129b16c7fe964d0d3f Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:21 +0000 Subject: [PATCH 023/243] app-crypt/pinentry: Sync with Gentoo It's from Gentoo commit 60b5d854df0e3ee6ae8e2ef00879c340925e5338. Signed-off-by: Flatcar Buildbot --- .../app-crypt/pinentry/pinentry-1.3.2-r1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/pinentry/pinentry-1.3.2-r1.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/pinentry/pinentry-1.3.2-r1.ebuild index a33429935f3..0230fffd746 100644 --- a/sdk_container/src/third_party/portage-stable/app-crypt/pinentry/pinentry-1.3.2-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-crypt/pinentry/pinentry-1.3.2-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnupg.asc -inherit autotools qmake-utils verify-sig +inherit autotools qt-utils verify-sig DESCRIPTION="Simple passphrase entry dialogs which utilize the Assuan protocol" HOMEPAGE="https://gnupg.org/related_software/pinentry/" @@ -14,7 +14,7 @@ SRC_URI+=" verify-sig? ( mirror://gnupg/${PN}/${P}.tar.bz2.sig )" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="caps efl emacs gtk keyring ncurses qt6 wayland X" +IUSE="caps efl emacs gtk keyring ncurses qt6 selinux wayland X" DEPEND=" >=dev-libs/libassuan-2.1:= @@ -37,6 +37,7 @@ RDEPEND=" app-crypt/gcr:4[gtk] gnome-base/gnome-keyring ) + selinux? ( sec-policy/selinux-gpg ) " BDEPEND=" sys-devel/gettext From 8bff0860944efa410de96ee0b4ee51c2f1c712b0 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:21 +0000 Subject: [PATCH 024/243] app-crypt/rhash: Sync with Gentoo It's from Gentoo commit 1c778cdc1eb2673de8681c615392dce8e879bafb. Signed-off-by: Flatcar Buildbot --- .../portage-stable/app-crypt/rhash/Manifest | 1 - .../app-crypt/rhash/rhash-1.4.5.ebuild | 91 ------------------- .../app-crypt/rhash/rhash-1.4.6-r1.ebuild | 4 +- 3 files changed, 2 insertions(+), 94 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/app-crypt/rhash/rhash-1.4.5.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/rhash/Manifest b/sdk_container/src/third_party/portage-stable/app-crypt/rhash/Manifest index 0b9b57b3994..6d053868d0b 100644 --- a/sdk_container/src/third_party/portage-stable/app-crypt/rhash/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-crypt/rhash/Manifest @@ -1,2 +1 @@ -DIST rhash-1.4.5-src.tar.gz 444526 BLAKE2B 11021119e8af28e12491eabd55232e24a056bce79b624c970e4806c28fe707ea1395eb390572dba3453900d4512e5896d70642370d0c9340359e2fee95d62c8d SHA512 49bd6aa2497efc4871ae31eaca51d2dc78ceb7126311557d5280b14fafe9355eaecad37f0f78f865e4e1dd1aeb506d3301989cd2f9fff7b0091c81978e8c2f2e DIST rhash-1.4.6-src.tar.gz 461244 BLAKE2B 15ee0bc55745937a3e2f7d7e7b4193a19691e2678cdbc0a2caf19f16a7742100174e283edfef0449854fd24624e708078877643ce062c3babbc9b57992f73b81 SHA512 c125b71ec36cce2ec31057239cac8b987555f5e3b152dacb6386b905f8cc4d449c1de5b53e5a5206a2d87975681225c9b54e5826c10ffd91b3440f8595d22b15 diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/rhash/rhash-1.4.5.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/rhash/rhash-1.4.5.ebuild deleted file mode 100644 index 78b6aee79d2..00000000000 --- a/sdk_container/src/third_party/portage-stable/app-crypt/rhash/rhash-1.4.5.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs multilib-minimal - -DESCRIPTION="Console utility and library for computing and verifying file hash sums" -HOMEPAGE="https://rhash.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}-src.tar.gz" -S="${WORKDIR}/RHash-${PV}" - -LICENSE="0BSD" -SLOT="0/1" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="debug nls ssl static-libs" - -RDEPEND=" - ssl? ( - dev-libs/openssl:0=[${MULTILIB_USEDEP}] -)" - -DEPEND=" - ${RDEPEND} -" - -BDEPEND=" - nls? ( sys-devel/gettext ) -" - -src_prepare() { - default - - if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then - # we lack posix_memalign - sed -i -e '/if _POSIX_VERSION/s/if .*$/if 0/' \ - librhash/util.h || die - fi - - # upstream fix for BSD and others, but was only applied for BSD - # we need support for Solaris, where we use a GNU toolchain, so use - # the original hack, hopefully next release has this fixed - # https://github.com/rhash/RHash/issues/238 - if [[ ${CHOST} == *-solaris* ]] ; then - sed -i -e 's/^elif linux; then/else/' configure || die - fi - - multilib_copy_sources -} - -multilib_src_configure() { - append-ldflags $(test-flags-CCLD -Wl,--undefined-version) - - set -- \ - ./configure \ - --target="${CHOST}" \ - --cc="$(tc-getCC)" \ - --ar="$(tc-getAR)" \ - --extra-cflags="${CFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - --prefix="${EPREFIX}"/usr \ - --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --sysconfdir="${EPREFIX}"/etc \ - --disable-openssl-runtime \ - --disable-static \ - --enable-lib-shared \ - $(use_enable debug) \ - $(use_enable nls gettext) \ - $(use_enable ssl openssl) \ - $(use_enable static-libs lib-static) - - echo "${@}" - "${@}" || die "configure failed" -} - -multilib_src_compile() { - emake all \ - $(multilib_is_native_abi && use nls && echo compile-gmo) -} - -multilib_src_install() { - # -j1 needed due to race condition. - emake DESTDIR="${D}" -j1 \ - install{,-lib-headers,-pkg-config} \ - $(multilib_is_native_abi && use nls && echo install-gmo) \ - install-lib-so-link -} - -multilib_src_test() { - emake test -} diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/rhash/rhash-1.4.6-r1.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/rhash/rhash-1.4.6-r1.ebuild index 5e55e113ad4..a4b9553717c 100644 --- a/sdk_container/src/third_party/portage-stable/app-crypt/rhash/rhash-1.4.6-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-crypt/rhash/rhash-1.4.6-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ S="${WORKDIR}/RHash-${PV}" LICENSE="0BSD" SLOT="0/1" -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="cpu_flags_x86_sha debug nls ssl static-libs" RDEPEND=" From f7bf8af45bd77d33708eb053dd208331aac1bbff Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:22 +0000 Subject: [PATCH 025/243] app-crypt/tpm2-tss: Sync with Gentoo It's from Gentoo commit a3355d4e04b28d282cc0495a197937f5eb082e40. Signed-off-by: Flatcar Buildbot --- .../app-crypt/tpm2-tss/Manifest | 1 - ...-failures-to-write-files-in-sys-hard.patch | 27 ----- ...-Make-sysusers-and-tmpfiles-optional.patch | 50 -------- ...m2-tss-4.0.2-Hide-write-all-function.patch | 24 ---- .../tpm2-tss/tpm2-tss-4.0.2-r2.ebuild | 110 ------------------ .../tpm2-tss/tpm2-tss-4.1.3-r1.ebuild | 110 ------------------ 6 files changed, 322 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/files/tpm2-tss-4.0.1-Do-not-consider-failures-to-write-files-in-sys-hard.patch delete mode 100644 sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/files/tpm2-tss-4.0.1-Make-sysusers-and-tmpfiles-optional.patch delete mode 100644 sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/files/tpm2-tss-4.0.2-Hide-write-all-function.patch delete mode 100644 sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/tpm2-tss-4.0.2-r2.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/tpm2-tss-4.1.3-r1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/Manifest b/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/Manifest index 25adb5daaa3..52e82a3ab58 100644 --- a/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/Manifest @@ -1,2 +1 @@ -DIST tpm2-tss-4.0.2.tar.gz 1833499 BLAKE2B 91e70bcc66099fe5d7d53cf98a2c46582e96f204fc7bcb89c46497cc811ca1eb39c752be077a6e8132fc980a6581a2df075fcc6670d646d1270e642c144f043c SHA512 e92038de985ac928bf87a707b0f9b190aaa936827923ea5e3cbdda216cbc6cf8590af650c59c2e1e420ad9914dc6c1f14232ab7930ffc1a50fb0c49fdef6d3f0 DIST tpm2-tss-4.1.3.tar.gz 1902009 BLAKE2B d8592f4797a4254883667476efb2fdf3c95547d9c472fe3557031e934c725e20e3cc70a9b7b41eaddac71e8d9f94beb5fbb39aec5d81b3eeb1b612df27312923 SHA512 c9a5e1e90f6545a466d43790ab2d67c52c4b788a0b21f8212575e27e04e0ac663105863fe00824e08a4e56a4f8c6b00c48c1a1c132531b8569cd5042c3bb9e69 diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/files/tpm2-tss-4.0.1-Do-not-consider-failures-to-write-files-in-sys-hard.patch b/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/files/tpm2-tss-4.0.1-Do-not-consider-failures-to-write-files-in-sys-hard.patch deleted file mode 100644 index 83f123ffdc5..00000000000 --- a/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/files/tpm2-tss-4.0.1-Do-not-consider-failures-to-write-files-in-sys-hard.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 0632885d08917092ffc8d98febd158745a74465a Mon Sep 17 00:00:00 2001 -From: Daan De Meyer -Date: Fri, 4 Aug 2023 16:07:52 +0200 -Subject: [PATCH] Do not consider failures to write files in /sys hard errors - -systemd-tmpfiles can run in containers, chroots, ... where writing to /sys will fail, so let's suffix these lines with "-" to avoid considering these cases hard errors. - -Signed-off-by: Daan De Meyer ---- - dist/tmpfiles.d/tpm2-tss-fapi.conf.in | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/dist/tmpfiles.d/tpm2-tss-fapi.conf.in b/dist/tmpfiles.d/tpm2-tss-fapi.conf.in -index 7ea3c652..51ff78e5 100644 ---- a/dist/tmpfiles.d/tpm2-tss-fapi.conf.in -+++ b/dist/tmpfiles.d/tpm2-tss-fapi.conf.in -@@ -3,5 +3,5 @@ d @localstatedir@/lib/tpm2-tss/system/keystore 2775 tss tss - - a+ @localstatedir@/lib/tpm2-tss/system/keystore - - - - default:group:tss:rwx - d @runstatedir@/tpm2-tss/eventlog 2775 tss tss - - - a+ @runstatedir@/tpm2-tss/eventlog - - - - default:group:tss:rwx --z /sys/kernel/security/tpm[0-9]/binary_bios_measurements 0440 root tss - - --z /sys/kernel/security/ima/binary_runtime_measurements 0440 root tss - - -+z- /sys/kernel/security/tpm[0-9]/binary_bios_measurements 0440 root tss - - -+z- /sys/kernel/security/ima/binary_runtime_measurements 0440 root tss - - --- -2.43.0 - diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/files/tpm2-tss-4.0.1-Make-sysusers-and-tmpfiles-optional.patch b/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/files/tpm2-tss-4.0.1-Make-sysusers-and-tmpfiles-optional.patch deleted file mode 100644 index d93fcf9ef2d..00000000000 --- a/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/files/tpm2-tss-4.0.1-Make-sysusers-and-tmpfiles-optional.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 75f53cf7eab591870ce735203995d01d2f577187 Mon Sep 17 00:00:00 2001 -From: Christopher Byrne -Date: Tue, 13 Jun 2023 21:40:56 -0500 -Subject: [PATCH] configure.ac: Make sysusers and tmpfiles optional - -Signed-off-by: Christopher Byrne ---- - Makefile.am | 6 +++++- - configure.ac | 4 ++-- - 2 files changed, 7 insertions(+), 3 deletions(-) - -diff --git a/Makefile.am b/Makefile.am -index 2c81cfa9..98965fa7 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -563,10 +563,14 @@ fapi-config.json: dist/fapi-config.json.in - -e 's|[@]sysmeasurements@|$(sysmeasurements)|g' \ - < "$<" > "$@" - -+if SYSD_SYSUSERS - sysusers_DATA = dist/sysusers.d/tpm2-tss.conf --tmpfiles_DATA = tpm2-tss-fapi.conf -+endif - -+if SYSD_TMPFILES -+tmpfiles_DATA = tpm2-tss-fapi.conf - CLEANFILES += tpm2-tss-fapi.conf -+endif - - # We have to do this ourselves, in order to get absolute paths - tpm2-tss-fapi.conf: dist/tmpfiles.d/tpm2-tss-fapi.conf.in -diff --git a/configure.ac b/configure.ac -index b6550278..2d478147 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -550,9 +550,9 @@ AS_IF([test "x$enable_integration" = "xyes" && test "x$enable_self_generated_cer - - # Check for systemd helper tools used by make install - AC_CHECK_PROG(systemd_sysusers, systemd-sysusers, yes) --AM_CONDITIONAL(SYSD_SYSUSERS, test "x$systemd_sysusers" = "xyes") -+AM_CONDITIONAL([SYSD_SYSUSERS], [test "x$systemd_sysusers" = "xyes" && test "x$sysusersdir" != "xno"]) - AC_CHECK_PROG(systemd_tmpfiles, systemd-tmpfiles, yes) --AM_CONDITIONAL(SYSD_TMPFILES, test "x$systemd_tmpfiles" = "xyes") -+AM_CONDITIONAL([SYSD_TMPFILES], [test "x$systemd_tmpfiles" = "xyes" && test "x$tmpfilesdir" != "xno"]) - - # Check all tools used by make install - AS_IF([test "$HOSTOS" = "Linux" && test "x$systemd_sysusers" != "xyes"], --- -2.39.3 - diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/files/tpm2-tss-4.0.2-Hide-write-all-function.patch b/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/files/tpm2-tss-4.0.2-Hide-write-all-function.patch deleted file mode 100644 index bd682df53ba..00000000000 --- a/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/files/tpm2-tss-4.0.2-Hide-write-all-function.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/src/util/io.c b/src/util/io.c -index c6446826..50c0fd6c 100644 ---- a/src/util/io.c -+++ b/src/util/io.c -@@ -81,6 +81,7 @@ read_all ( - return recvd_total; - } - -+__attribute__ ((visibility("hidden"))) - ssize_t - write_all ( - SOCKET fd, -diff --git a/src/util/io.h b/src/util/io.h -index 25dd5c45..fec391d8 100644 ---- a/src/util/io.h -+++ b/src/util/io.h -@@ -70,6 +70,7 @@ read_all ( - * are detected. This is currently limited to interrupted system calls and - * short writes. - */ -+__attribute__ ((visibility("hidden"))) - ssize_t - write_all ( - SOCKET fd, diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/tpm2-tss-4.0.2-r2.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/tpm2-tss-4.0.2-r2.ebuild deleted file mode 100644 index b5f0eb1e704..00000000000 --- a/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/tpm2-tss-4.0.2-r2.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic linux-info multilib-minimal tmpfiles udev - -DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" -HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" -SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0/4" -KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" -IUSE="doc +fapi +openssl mbedtls +policy static-libs test" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - ^^ ( mbedtls openssl ) - fapi? ( openssl !mbedtls ) - policy? ( openssl !mbedtls ) -" - -RDEPEND=" - acct-group/tss - acct-user/tss - sys-apps/util-linux:=[${MULTILIB_USEDEP}] - fapi? ( - dev-libs/json-c:=[${MULTILIB_USEDEP}] - >=net-misc/curl-7.80.0[${MULTILIB_USEDEP}] - ) - mbedtls? ( net-libs/mbedtls:0=[${MULTILIB_USEDEP}] ) - openssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] ) -" - -DEPEND=" - ${RDEPEND} - test? ( app-crypt/swtpm - dev-libs/uthash - dev-util/cmocka - fapi? ( >=net-misc/curl-7.80.0 ) ) -" - -BDEPEND=" - sys-apps/acl - virtual/pkgconfig - doc? ( app-text/doxygen ) -" - -PATCHES=( - "${FILESDIR}/${PN}-4.0.2-Dont-install-files-into-run.patch" - "${FILESDIR}/${PN}-4.0.1-Make-sysusers-and-tmpfiles-optional.patch" - "${FILESDIR}/${PN}-4.0.1-Do-not-consider-failures-to-write-files-in-sys-hard.patch" - "${FILESDIR}/${PN}-4.0.2-Hide-write-all-function.patch" -) - -pkg_setup() { - local CONFIG_CHECK="~TCG_TPM" - linux-info_pkg_setup - kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" -} - -src_prepare() { - default - eautoreconf -} - -multilib_src_configure() { - # Fails with inlining - filter-flags -fno-semantic-interposition - # tests fail with LTO enabbled. See bug 865275 and 865279 - filter-lto - - local myconf=( - --localstatedir=/var - $(multilib_native_use_enable doc doxygen-doc) - $(use_enable fapi) - $(use_enable policy) - $(use_enable static-libs static) - $(multilib_native_use_enable test unit) - $(multilib_native_use_enable test integration) - $(multilib_native_use_enable test self-generated-certificate) - --disable-tcti-libtpms - --disable-defaultflags - --disable-weakcrypto - --with-crypto="$(usex mbedtls mbed ossl)" - --with-runstatedir=/run - --with-udevrulesdir="$(get_udevdir)/rules.d" - --with-udevrulesprefix=60- - --without-sysusersdir - --with-tmpfilesdir="/usr/lib/tmpfiles.d" - ) - - ECONF_SOURCE=${S} econf "${myconf[@]}" -} - -multilib_src_install() { - default - keepdir /var/lib/tpm2-tss/system/keystore - find "${ED}" -name '*.la' -delete || die -} - -pkg_postinst() { - tmpfiles_process tpm2-tss-fapi.conf - udev_reload -} - -pkg_postrm() { - udev_reload -} diff --git a/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/tpm2-tss-4.1.3-r1.ebuild b/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/tpm2-tss-4.1.3-r1.ebuild deleted file mode 100644 index c9b5cd0a29b..00000000000 --- a/sdk_container/src/third_party/portage-stable/app-crypt/tpm2-tss/tpm2-tss-4.1.3-r1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic linux-info multilib-minimal tmpfiles udev - -DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" -HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" -SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0/4" -KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86" -IUSE="doc +fapi +openssl mbedtls +policy static-libs test" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - ^^ ( mbedtls openssl ) - fapi? ( openssl !mbedtls ) - policy? ( openssl !mbedtls ) -" - -RDEPEND=" - acct-group/tss - acct-user/tss - sys-apps/util-linux:=[${MULTILIB_USEDEP}] - fapi? ( - dev-libs/json-c:=[${MULTILIB_USEDEP}] - >=net-misc/curl-7.80.0[${MULTILIB_USEDEP}] - ) - mbedtls? ( net-libs/mbedtls:0=[${MULTILIB_USEDEP}] ) - openssl? ( dev-libs/openssl:=[${MULTILIB_USEDEP}] ) -" - -DEPEND=" - ${RDEPEND} - test? ( app-crypt/swtpm - dev-libs/uthash - dev-util/cmocka - fapi? ( >=net-misc/curl-7.80.0 ) ) -" - -BDEPEND=" - sys-apps/acl - virtual/pkgconfig - doc? ( app-text/doxygen ) -" - -PATCHES=( - "${FILESDIR}/${PN}-4.0.2-Dont-install-files-into-run.patch" -) - -pkg_setup() { - local CONFIG_CHECK="~TCG_TPM" - linux-info_pkg_setup - kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" -} - -src_prepare() { - default - eautoreconf -} - -multilib_src_configure() { - # Fails with inlining - filter-flags -fno-semantic-interposition - # tests fail with LTO enabbled. See bug 865275 and 865279 - filter-lto - - local myconf=( - --localstatedir=/var - $(multilib_native_use_enable doc doxygen-doc) - $(use_enable fapi) - $(use_enable policy) - $(use_enable static-libs static) - $(multilib_native_use_enable test unit) - $(multilib_native_use_enable test integration) - $(multilib_native_use_enable test self-generated-certificate) - --disable-tcti-libtpms - --disable-tcti-spi-ltt2go - --disable-tcti-spi-ftdi - --disable-tcti-i2c-ftdi - --disable-defaultflags - --disable-weakcrypto - --with-crypto="$(usex mbedtls mbed ossl)" - --with-runstatedir=/run - --with-udevrulesdir="$(get_udevdir)/rules.d" - --with-udevrulesprefix=60- - --without-sysusersdir - --with-tmpfilesdir="/usr/lib/tmpfiles.d" - ) - - ECONF_SOURCE=${S} econf "${myconf[@]}" -} - -multilib_src_install() { - default - keepdir /var/lib/tpm2-tss/system/keystore - find "${ED}" -name '*.la' -delete || die -} - -pkg_postinst() { - tmpfiles_process tpm2-tss-fapi.conf - udev_reload -} - -pkg_postrm() { - udev_reload -} From 94ef243e065efd775c0a619f06c3cb1b6fb93f99 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:23 +0000 Subject: [PATCH 026/243] app-doc/eclass-manpages: Sync with Gentoo It's from Gentoo commit 8f8f13fcbc4ff843f40b3b25c2d3273e052f5e2d. Signed-off-by: Flatcar Buildbot --- .../app-doc/eclass-manpages/Manifest | 1 + .../eclass-manpages-20260624.ebuild | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/app-doc/eclass-manpages/eclass-manpages-20260624.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-doc/eclass-manpages/Manifest b/sdk_container/src/third_party/portage-stable/app-doc/eclass-manpages/Manifest index 188278b7511..3061a0e7f68 100644 --- a/sdk_container/src/third_party/portage-stable/app-doc/eclass-manpages/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-doc/eclass-manpages/Manifest @@ -1 +1,2 @@ DIST eclass-manpages-20260426.tar.xz 516192 BLAKE2B 5fd40d3839fefcd90bce77c763b3a6b9ac53eca40f412c01e1bcf1a6744d376d11810a941541783dd901eb4f49ae656e1b78c9bd7ce01f7a6ed3069e29f19513 SHA512 dfc6a5ef6a9ad3bf12857618412146ac5081878fe1d2416b28fc37de85bc9f2ce4a25d3a087b5aff6953e79a3d6f9220be325d68e5b27c8d68fac62a12952aec +DIST eclass-manpages-20260624.tar.xz 518600 BLAKE2B 8b044c6c35820ddaf60e02203e562d4c1d01445c1bd982ff33235ee6e55f93cccf0da7eb536dc2febded3207c4fee8e1d73b35281dc348e10e16b3abdc35cfed SHA512 82ecee2f15f99db10422740e81478eb590e682e181983a12aa48d92b462537527bfa50dbf4eb3ae61799355b17cc6ad0e5256b3345b65d2a135e625d3e133066 diff --git a/sdk_container/src/third_party/portage-stable/app-doc/eclass-manpages/eclass-manpages-20260624.ebuild b/sdk_container/src/third_party/portage-stable/app-doc/eclass-manpages/eclass-manpages-20260624.ebuild new file mode 100644 index 00000000000..1427ea35350 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-doc/eclass-manpages/eclass-manpages-20260624.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Instructions to make a dist tarball: +# git clone https://github.com/projg2/eclass-to-manpage.git +# cd eclass-to-manpage +# make dist ECLASSDIR=~/g/eclass/ + +DESCRIPTION="Collection of Gentoo eclass manpages" +HOMEPAGE="https://github.com/projg2/eclass-to-manpage" +SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +# Keep the keywords stable. No need to change to ~arch. +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" + +BDEPEND="sys-apps/gawk" + +src_install() { + emake install DESTDIR="${D}" PREFIX="${EPREFIX}/usr" +} From 52b2a150da6f0dbcb4421391acaa7f1ee0065b70 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:23 +0000 Subject: [PATCH 027/243] app-editors/nano: Sync with Gentoo It's from Gentoo commit ae00ade1577071834a341debbeaec7e242637c8b. Signed-off-by: Flatcar Buildbot --- .../portage-stable/app-editors/nano/Manifest | 2 + .../app-editors/nano/nano-9.1.ebuild | 113 ++++++++++++++++++ 2 files changed, 115 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/app-editors/nano/nano-9.1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-editors/nano/Manifest b/sdk_container/src/third_party/portage-stable/app-editors/nano/Manifest index 90350ce4a2c..8ae3fdf9fa3 100644 --- a/sdk_container/src/third_party/portage-stable/app-editors/nano/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-editors/nano/Manifest @@ -2,3 +2,5 @@ DIST nano-8.7.1.tar.xz 1726976 BLAKE2B 25c73945c385c6615ad547cad65d6b7edc0098d53 DIST nano-8.7.1.tar.xz.asc 833 BLAKE2B 6d8e96c24cc9a5cf490d1ea8259fc26365fe2a923804e63eb079b3da4acb99bfb12b9adc37d9bdec0ca3f2ef3337b8c651e325962a5ef875e983614195489657 SHA512 71293b248d858b24fca5c150425f1fb89e572f76aa7cac1bec0689acfd6acda64b0f1ef8bb09a871a7f699e1dbd0e6ae277f5ff8dd201aabbff8fc8ed68fe0e1 DIST nano-9.0.tar.xz 1743088 BLAKE2B 6df92e9f1b0ba8c2ec3dfdd8b4605a34c08f33c747746d8d3b4145894f0cc64b705c59f2b5aee120050eb32292adf78bf267c568a266c17e2f99e48026d38106 SHA512 b684a20b676676900275b37f8dd652589574dd8ea4bf8c1cc97594ce85f8e504c5d746a009c99461308a4aa386aca2fb8e1d462a472fef7d5991d3f7bda6cbc4 DIST nano-9.0.tar.xz.asc 833 BLAKE2B 4abe90209698d6a9f750032af00cd42304dbd61c8de002099fe58da978fbd8fd504952dffb41a1f7261b79deb8fe9bd654b4c6244848b131c5823856a47ea4ff SHA512 969f7a5cc04c58a10a47c052e12abcad5ad1e3db66b2da99f9e4428e754bcdf1da619b4c16ebf3ae44af701827bba6a5c54f8e470ebc366ad12c6af86d6a9d1b +DIST nano-9.1.tar.xz 1756328 BLAKE2B d762076463b0c683d13cd4c47cc05db573a1890c9ea0629c2aa37d36305197242eb724229afc59468aa47c515dbfb8378d9fa6fafa88d8b90a2af6d1ed467b14 SHA512 4d49281bea50d251693a0fd2982ec9392ed72a91b863ac57ffd29fef9fe0e0fef0a8383131a185392de642fd292ab944311dc36b545420d5b2659ba982eff8b8 +DIST nano-9.1.tar.xz.asc 833 BLAKE2B b83134e7f60f12527109c8470d52330b5524c24cb4c2312dce1b7e9e98337329bfd79acaca371d37986838a5ce43a56ffa795a6aca25f03a51621e740d5f3604 SHA512 254b21f1f31e9e455cef3b1986c9db22d72a4a4970ef2d0039c3704afdf45c2e94d27fc8532d8d302b1dafff34314c94571a73082ae9c1411b3e8deb1b8bcf36 diff --git a/sdk_container/src/third_party/portage-stable/app-editors/nano/nano-9.1.ebuild b/sdk_container/src/third_party/portage-stable/app-editors/nano/nano-9.1.ebuild new file mode 100644 index 00000000000..d53000a57bf --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-editors/nano/nano-9.1.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://git.savannah.gnu.org/git/nano.git" + inherit autotools git-r3 +else + MY_P="${PN}-${PV/_}" + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/bennoschulenberg.asc + inherit verify-sig + + SRC_URI=" + https://www.nano-editor.org/dist/v${PV:0:1}/${MY_P}.tar.xz + verify-sig? ( https://www.nano-editor.org/dist/v${PV:0:1}/${MY_P}.tar.xz.asc ) + " + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-bennoschulenberg )" +fi + +DESCRIPTION="GNU GPL'd Pico clone with more functionality" +HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Guide" + +LICENSE="GPL-3+ LGPL-2.1+ || ( GPL-3+ FDL-1.2+ )" +SLOT="0" +IUSE="debug justify magic minimal ncurses nls +spell unicode" + +RDEPEND=" + >=sys-libs/ncurses-5.9-r1:=[unicode(+)?] + magic? ( sys-apps/file ) + nls? ( virtual/libintl ) +" +DEPEND="${RDEPEND}" +BDEPEND+=" + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +REQUIRED_USE=" + magic? ( !minimal ) +" + +# gnulib FPs +QA_CONFIG_IMPL_DECL_SKIP=( unreachable MIN static_assert ) + +src_prepare() { + default + + if [[ ${PV} == 9999 ]] ; then + eautoreconf + fi +} + +src_configure() { + local myconfargs=( + --bindir="${EPREFIX}"/bin + --htmldir=/trash + $(use_enable !minimal color) + $(use_enable !minimal multibuffer) + $(use_enable !minimal nanorc) + $(use_enable magic libmagic) + $(use_enable spell speller) + $(use_enable justify) + $(use_enable debug) + $(use_enable nls) + $(use_enable unicode utf8) + $(use_enable minimal tiny) + ) + + econf "${myconfargs[@]}" +} + +src_install() { + default + + # Don't use "${ED}" here or things break (#654534) + rm -r "${D}"/trash || die + + dodoc doc/sample.nanorc + docinto html + dodoc doc/faq.html + insinto /etc + newins doc/sample.nanorc nanorc + + if ! use minimal ; then + # Enable colorization by default. + sed -i \ + -e '/^# include /s:# *::' \ + "${ED}"/etc/nanorc || die + + # Since nano-5.0 these are no longer being "enabled" by default + # (bug #736848) + local rcdir="/usr/share/nano" + mv "${ED}"${rcdir}/extra/* "${ED}"/${rcdir}/ || die + rmdir "${ED}"${rcdir}/extra || die + + insinto "${rcdir}" + newins "${FILESDIR}/gentoo.nanorc-r1" gentoo.nanorc + fi +} + +pkg_postrm() { + [[ -n ${REPLACED_BY_VERSION} ]] && return + + local e + e=$(unset EDITOR; . "${EROOT}"/etc/profile &>/dev/null; echo "${EDITOR}") + if [[ ${e##*/} == nano ]]; then + ewarn "The EDITOR variable is still set to ${e}." + ewarn "You can update it with \"eselect editor\"." + fi +} From c59ba099956ea12875407737dee6d536ef823f52 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:25 +0000 Subject: [PATCH 028/243] app-emulation/qemu: Sync with Gentoo It's from Gentoo commit 8d9f3c21d4038bbf359dfe5bf10a9f22a9e7fad3. Signed-off-by: Flatcar Buildbot --- .../app-emulation/qemu/Manifest | 4 + .../app-emulation/qemu/qemu-10.0.10.ebuild | 1024 ++++++++++++++++ .../app-emulation/qemu/qemu-10.2.3.ebuild | 1036 +++++++++++++++++ .../app-emulation/qemu/qemu-9999.ebuild | 12 +- 4 files changed, 2075 insertions(+), 1 deletion(-) create mode 100644 sdk_container/src/third_party/portage-stable/app-emulation/qemu/qemu-10.0.10.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/app-emulation/qemu/qemu-10.2.3.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/qemu/Manifest b/sdk_container/src/third_party/portage-stable/app-emulation/qemu/Manifest index 07870a7f969..b07b4945be4 100644 --- a/sdk_container/src/third_party/portage-stable/app-emulation/qemu/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-emulation/qemu/Manifest @@ -2,10 +2,14 @@ DIST berkeley-softfloat-3-b64af41c3276f97f0e181920400ee056b9c88037.tar.bz2 84094 DIST berkeley-testfloat-3-e7af9751d9f9fd3b47911f51a5cfd08af256a9ab.tar.bz2 90020 BLAKE2B 3dda1ba90c4a5ad5cbce2acf35e93f7adbd387ae0e0f929b2cd4cbdf263f95183103118f32be38e8c80de49d7df44c26319ee2f465061d004ae7e64e43eeeb3e SHA512 65f41f42ea563b2cdceb6c71633f41e6694a79ffd02afed4540353a8e73668ae40118dfc108163aae751acbaa7c49630ed99f423465089503c03aee76b07f221 DIST keycodemapdb-f5772a62ec52591ff6870b7e8ef32482371f22c6.tar.bz2 27971 BLAKE2B 0ed69ad24c53bd459c8753565814bcc1cd858f20d3a046c38912a35bcb0ba6d388ef5d2b93157cd028959284b330caf5467d82071c3df56a405dd8e08fd177c7 SHA512 8f2cc14e8bd46cb045e3ebfe32e463793ab7472ebda9b57b8ea0b06fa107a1a99c3ebcacb9c4548e30698d8ec154c0e56f789385201182b680819b8068a103f2 DIST qemu-10.0.0-docs.tar.xz 2651472 BLAKE2B 38be083c0c046e975a829df28089428425904cf66a3ea99cebc99b6f51eebdedf10a60be0c4f6bfb9e6f6cbc5dff1724dcd3b8d0982b5c421158258d869db4f3 SHA512 5f9332340bf68b3c0da4b48174330674f5235b98c3e275792fcbeec4bacca2faa84865c01c0cdd1e95388d9656a5dbf1d6baca2d1c8b2996c42511c966d9edd7 +DIST qemu-10.0.10.tar.xz 141692312 BLAKE2B 6b7ede360ab27535f9be634fad0d423e412d803c428db63ebf4c47c7113a923273f289590c6c34b28929d274f83397a8fb35b4f14cdb300e24b17a1b2605c5e2 SHA512 d2c08f63f6f35b2d4cb8ef5ed7b39256e3e942dbdeb5cb04e68955948e397fe84052bab4bc81398ea5a0dd261ea399d5ec9ec45e9c8afe25e3235dbea769e022 +DIST qemu-10.0.10.tar.xz.sig 310 BLAKE2B ba325e51cb12fb4d452341faedfa70df3d4a77c5da46f2d04b1da3c71b9e41280b4daa4e7e337562fa75239d4ab6644fe1933f924a236859fae9912a64b88fc6 SHA512 f5618cfc3bbf8db4427fd2bca662361688482a5d04631ce1ba38bb20fa997430632b178cd5d1ebaea588cccb110a6b37577cd2b5711e365c6aa13089519d6921 DIST qemu-10.0.7.tar.xz 141766020 BLAKE2B 13016dfe09da81417f3359f980b2b62a857a28e6acce2b01eba3f397b985c422e52f3c68724bfad73ce6fbeec65cabb02d2df09f08340f9dad68578d5e3f801e SHA512 6def50d5ed08fde787e982a5ae668f97323d40f1996bc299c4c79fbd2944eb14c3f4d1ceab977a0fe6f80298825a5285decc20afca1966a738900932fbfeb31d DIST qemu-10.1.0-docs.tar.xz 2788092 BLAKE2B c9f1138e6eb19966da05b5be6e28640cabf698cb7c4247e0a69b29ed71d462423ba356efc8c0f26a727a58b4adc84edc3eefbff12a35e0c93e475f0ab51e6ff7 SHA512 96d9133d83991014c3ce9a57273a017f45bf29ae3f7029c5b926c8c5fbfd0e8da80dbbecca038b981312cec68b931a0471837a0aebd3e5dbc1648eb49e28ecc9 DIST qemu-10.1.3.tar.xz 142006316 BLAKE2B d0e3781a7fe84190eb96e9dd34860222b74fd73da182684f289c359c2555e8b02c0f3e77d3342837fe2ff5c5ce3ad81dac642fae9eab1d9e52f2bcac28ffe6c0 SHA512 67608a5a422c93c494159d649a0afb296231ec2d96a6fc03b119375da4180162ba25a74bb6204a8cb36375709c1f682ef56c42961816dc2107f4d67bb8e10db4 DIST qemu-10.2.0-docs.tar.xz 2858324 BLAKE2B 0c7a66f401ace63568cb9bb09fbfa4a456037f2d9712576211c57674d3aa6dacf9c22e92f1b92bc92794b61f0bc674fa4e1c415fd4873330df4befc492395382 SHA512 f078f0a219a52a3bcb18d046b3b0b297cfba5dc1181ee67db45919fede46db2c0d83288ab430bff1673fca8ae39cb99d10d9b770b52970e324f4b6d94374c937 DIST qemu-10.2.2.tar.xz 141119364 BLAKE2B 810efae886e5ba56900882455cc8714923378e34995dceaec8177ba5cc7f922547b7cbf68f7ac3804e498b3b4b3895165646c81ff9ad50b09c8286e8b2293a72 SHA512 c5409530505c2d1e69a80f1750e377261cea8fee42516a0a89d0343b19d55f9d33579cef181d7cc04d51519e50a55dff1b89175e7685bb803468c8ce03929591 +DIST qemu-10.2.3.tar.xz 141095748 BLAKE2B e726111fe5d48482c9804463339b14e0465b61fefee63291cd3a1f50ad13788426d777501c857953d93113eeec400df35f97361b661b2d8c666dc379b43f06e3 SHA512 b91e151d41856c54276e8ab348cbfc322f8c88a140276c77f72dcdbdfea71fc49db1519ca6a2974af7b5a7966cc30d530ee4ad62176503261da351333a8676b1 +DIST qemu-10.2.3.tar.xz.sig 310 BLAKE2B f9b8a49ef80320263a48a77c65049840bb1ad83e50b6d7ce55c8e65586cfb7546b8d186302b53e5235fa70437b89a2bb1a2ec5186796324a5dc553575b313129 SHA512 c6674cc9970030909859600faf9f4c6e288b294e20f468eae4c8522f4672c140d8c76d0cb80eef27c33c5ae9f6ae8ee4d63ae6471b2e1dd11af6d3d86419d319 DIST qemu-9.2.0-docs.tar.xz 2431076 BLAKE2B 420148b9d7cafbdc9aea21b0d0a84a53ca0d17fb99fc34ae4c0786fa7d4ce40838f4b3173508b90742d6dfbfd4b58dda25b2e5cd1394241b0b56a64fe5705d9b SHA512 88816e326e9eac9acf0a1c73e677552845d6885e220b55e795241c40d2c1bd1b1994a22e56f95046e420225e0b7dc839d459f1c1e5318c8c36392727a86b3008 DIST qemu-9.2.4.tar.xz 134782772 BLAKE2B 40b85e1204da263da16031dd9edd833062d632e437c0699ac582a641e7a7f85525b800649591d57930eafd01b799cde306f62a236e1ff3b54648f3d28f7924b2 SHA512 5aa2ea23d234dd896de73f778defde93f3b490bd22947c396091fdd2231ce5ccd17767c910170a952be88a5593725f1c31b15a6d19b3d30637465d17fb69651c diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/qemu/qemu-10.0.10.ebuild b/sdk_container/src/third_party/portage-stable/app-emulation/qemu/qemu-10.0.10.ebuild new file mode 100644 index 00000000000..f3b7c7c7eea --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/qemu/qemu-10.0.10.ebuild @@ -0,0 +1,1024 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-qemu-docs +# Set to 1 if prebuilt, 0 if not +# (the construct below is to allow overriding from env for script) +QEMU_DOCS_PREBUILT=${QEMU_DOCS_PREBUILT:-1} +QEMU_DOCS_PREBUILT_DEV=sam +QEMU_DOCS_VERSION=$(ver_cut 1-2).0 +# Default to generating docs (inc. man pages) if no prebuilt; overridden later +# bug #830088 +QEMU_DOC_USEFLAG="+doc" + +PYTHON_COMPAT=( python3_{12..13} ) +PYTHON_REQ_USE="ensurepip(-),ncurses,readline" + +inherit eapi9-ver flag-o-matic linux-info toolchain-funcs python-r1 udev fcaps \ + readme.gentoo-r1 pax-utils xdg-utils + +if [[ ${PV} == *9999* ]]; then + QEMU_DOCS_PREBUILT=0 + + EGIT_REPO_URI="https://gitlab.com/qemu-project/qemu.git/" + EGIT_SUBMODULES=() + inherit git-r3 + declare -A SUBPROJECTS=( + [keycodemapdb]="f5772a62ec52591ff6870b7e8ef32482371f22c6" + [berkeley-softfloat-3]="b64af41c3276f97f0e181920400ee056b9c88037" + [berkeley-testfloat-3]="e7af9751d9f9fd3b47911f51a5cfd08af256a9ab" + ) + + for proj in "${!SUBPROJECTS[@]}"; do + c=${SUBPROJECTS[${proj}]} + SRC_URI+=" https://gitlab.com/qemu-project/${proj}/-/archive/${c}/${proj}-${c}.tar.bz2" + done +else + inherit verify-sig + MY_P="${PN}-${PV/_rc/-rc}" + SRC_URI=" + https://download.qemu.org/${MY_P}.tar.xz + verify-sig? ( https://download.qemu.org/${MY_P}.tar.xz.sig ) + " + + if [[ ${QEMU_DOCS_PREBUILT} == 1 ]] ; then + SRC_URI+=" !doc? ( https://dev.gentoo.org/~${QEMU_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${QEMU_DOCS_VERSION}-docs.tar.xz )" + fi + + S="${WORKDIR}/${MY_P}" + [[ "${PV}" != *_rc* ]] && KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools" +HOMEPAGE="https://www.qemu.org https://www.linux-kvm.org" + +LICENSE="GPL-2 LGPL-2 BSD-2" +SLOT="0" + +[[ ${QEMU_DOCS_PREBUILT} == 1 ]] && QEMU_DOC_USEFLAG="doc" + +IUSE="accessibility +aio alsa bpf bzip2 capstone +curl debug ${QEMU_DOC_USEFLAG} + +fdt fuse glusterfs +gnutls gtk infiniband iscsi io-uring + jack jemalloc +jpeg keyutils + lzo multipath + ncurses nfs nls numa opengl +oss pam +pin-upstream-blobs pipewire + plugins +png pulseaudio python rbd sasl +seccomp sdl sdl-image selinux + +slirp + smartcard snappy spice ssh static-user systemtap test udev usb + usbredir vde +vhost-net virgl virtfs +vnc vte wayland X xattr xdp xen + zstd" + +COMMON_TARGETS=" + aarch64 + alpha + arm + hppa + i386 + loongarch64 + m68k + microblaze + microblazeel + mips + mips64 + mips64el + mipsel + or1k + ppc + ppc64 + riscv32 + riscv64 + s390x + sh4 + sh4eb + sparc + sparc64 + x86_64 + xtensa + xtensaeb +" +IUSE_SOFTMMU_TARGETS=" + ${COMMON_TARGETS} + avr + rx + tricore +" +IUSE_USER_TARGETS=" + ${COMMON_TARGETS} + aarch64_be + armeb + hexagon + mipsn32 + mipsn32el + ppc64le + sparc32plus +" + +use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS}) +use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS}) +IUSE+=" ${use_softmmu_targets} ${use_user_targets}" + +RESTRICT="!test? ( test )" + +# Allow no targets to be built so that people can get a tools-only build. +# Block USE flag configurations known to not work. +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + qemu_softmmu_targets_arm? ( fdt ) + qemu_softmmu_targets_microblaze? ( fdt ) + qemu_softmmu_targets_mips64el? ( fdt ) + qemu_softmmu_targets_ppc64? ( fdt ) + qemu_softmmu_targets_ppc? ( fdt ) + qemu_softmmu_targets_riscv32? ( fdt ) + qemu_softmmu_targets_riscv64? ( fdt ) + qemu_softmmu_targets_x86_64? ( fdt ) + sdl-image? ( sdl ) + static-user? ( !plugins ) + virgl? ( opengl ) + virtfs? ( xattr ) + vnc? ( gnutls ) + vte? ( gtk ) + multipath? ( udev ) + plugins? ( !static-user ) + xdp? ( bpf ) +" +for smname in ${IUSE_SOFTMMU_TARGETS} ; do + REQUIRED_USE+=" qemu_softmmu_targets_${smname}? ( kernel_linux? ( seccomp ) )" +done + +# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...) +# and user/softmmu targets (qemu-*, qemu-system-*). +# +# Yep, you need both libcap and libcap-ng since virtfs only uses libcap. +# +# The attr lib isn't always linked in (although the USE flag is always +# respected). This is because qemu supports using the C library's API +# when available rather than always using the external library. +ALL_DEPEND=" + dev-libs/glib:2[static-libs(+)] + virtual/zlib:=[static-libs(+)] + python? ( ${PYTHON_DEPS} ) + systemtap? ( dev-debug/systemtap ) + xattr? ( sys-apps/attr[static-libs(+)] ) +" + +# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...) +# softmmu targets (qemu-system-*). +SOFTMMU_TOOLS_DEPEND=" + >=x11-libs/pixman-0.28.0[static-libs(+)] + accessibility? ( + app-accessibility/brltty[api] + app-accessibility/brltty[static-libs(+)] + ) + aio? ( dev-libs/libaio[static-libs(+)] ) + alsa? ( >=media-libs/alsa-lib-1.0.13 ) + bpf? ( >=dev-libs/libbpf-1.1.0:= ) + bzip2? ( app-arch/bzip2[static-libs(+)] ) + capstone? ( dev-libs/capstone:=[static-libs(+)] ) + curl? ( >=net-misc/curl-7.15.4[static-libs(+)] ) + fdt? ( >=sys-apps/dtc-1.5.1[static-libs(+)] ) + fuse? ( >=sys-fs/fuse-3.1:3=[static-libs(+)] ) + glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] ) + gnutls? ( + >=net-libs/gnutls-3.0:=[static-libs(+)] + dev-libs/nettle:=[static-libs(+)] + ) + gtk? ( + x11-libs/gtk+:3[wayland?,X?] + vte? ( x11-libs/vte:2.91 ) + ) + infiniband? ( sys-cluster/rdma-core[static-libs(+)] ) + iscsi? ( net-libs/libiscsi ) + io-uring? ( sys-libs/liburing:=[static-libs(+)] ) + jack? ( virtual/jack ) + jemalloc? ( dev-libs/jemalloc ) + jpeg? ( media-libs/libjpeg-turbo:=[static-libs(+)] ) + kernel_linux? ( sys-libs/libcap-ng[static-libs(+)] ) + keyutils? ( sys-apps/keyutils[static-libs(+)] ) + lzo? ( dev-libs/lzo:2[static-libs(+)] ) + multipath? ( sys-fs/multipath-tools ) + ncurses? ( + sys-libs/ncurses:=[unicode(+)] + sys-libs/ncurses:=[static-libs(+)] + ) + nfs? ( >=net-fs/libnfs-1.9.3:=[static-libs(+)] ) + numa? ( sys-process/numactl[static-libs(+)] ) + opengl? ( + virtual/opengl + media-libs/libepoxy[static-libs(+)] + media-libs/mesa[static-libs(+)] + media-libs/mesa[egl(+),gbm(+)] + ) + pam? ( sys-libs/pam ) + pipewire? ( >=media-video/pipewire-0.3.60 ) + png? ( >=media-libs/libpng-1.6.34:=[static-libs(+)] ) + pulseaudio? ( media-libs/libpulse ) + rbd? ( sys-cluster/ceph ) + sasl? ( dev-libs/cyrus-sasl[static-libs(+)] ) + sdl? ( + media-libs/libsdl2[video] + media-libs/libsdl2[static-libs(+)] + ) + sdl-image? ( media-libs/sdl2-image[static-libs(+)] ) + seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] ) + slirp? ( net-libs/libslirp[static-libs(+)] ) + smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] ) + snappy? ( app-arch/snappy:= ) + spice? ( + >=app-emulation/spice-protocol-0.14.0 + >=app-emulation/spice-0.14.0[static-libs(+)] + ) + ssh? ( >=net-libs/libssh-0.8.6[static-libs(+)] ) + udev? ( virtual/libudev:= ) + usb? ( >=virtual/libusb-1-r2:1[static-libs(+)] ) + usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] ) + vde? ( net-misc/vde[static-libs(+)] ) + virgl? ( media-libs/virglrenderer[static-libs(+)] ) + virtfs? ( sys-libs/libcap ) + xdp? ( net-libs/xdp-tools ) + xen? ( app-emulation/xen-tools:= ) + zstd? ( >=app-arch/zstd-1.4.0[static-libs(+)] ) +" + +# +# With USE=+pin-upstream-blobs we pin firmware versions to known good +# version in order to minimize the frequency of disruptive changes. This +# avoids unnecessary frustration on user side because changing the firmware +# version can break resume of hibernated guest, inhibit live migrations, +# and might have other unwanted consequences. For now, let us try to +# synchronize firmware blobs with the ones bundled in upstream qemu. Simply +# check the upstream git repository for any changes, for example: +# https://github.com/qemu/qemu/tree/v10.0.2/roms for the 10.0.2 release. +# +# When changing pinned firmware versions +# - create a separate ebuild with revision -r50 +# - update the FIRMWARE_ABI_VERSION to the current package version +# + +FIRMWARE_ABI_VERSION="10.0.2" +EDK2_OVMF_VERSION="202408" +SEABIOS_VERSION="1.16.3" + +X86_FIRMWARE_DEPEND=" + pin-upstream-blobs? ( + ~sys-firmware/edk2-bin-${EDK2_OVMF_VERSION}[qemu_softmmu_targets_x86_64(+)] + ~sys-firmware/ipxe-1.21.1_p20230601[binary,qemu] + ~sys-firmware/seabios-bin-${SEABIOS_VERSION} + ~sys-firmware/sgabios-0.1_pre10[binary] + ) + !pin-upstream-blobs? ( + || ( + >=sys-firmware/edk2-${EDK2_OVMF_VERSION} + >=sys-firmware/edk2-bin-${EDK2_OVMF_VERSION}[qemu_softmmu_targets_x86_64(+)] + ) + sys-firmware/ipxe[qemu] + || ( + >=sys-firmware/seabios-${SEABIOS_VERSION}[seavgabios] + >=sys-firmware/seabios-bin-${SEABIOS_VERSION} + ) + sys-firmware/sgabios + ) +" +PPC_FIRMWARE_DEPEND=" + pin-upstream-blobs? ( + ~sys-firmware/seabios-bin-${SEABIOS_VERSION} + ) + !pin-upstream-blobs? ( + || ( + >=sys-firmware/seabios-${SEABIOS_VERSION}[seavgabios] + >=sys-firmware/seabios-bin-${SEABIOS_VERSION} + ) + ) +" + +# See bug #913084 for pip dep +BDEPEND=" + ${PYTHON_DEPS} + dev-python/distlib[${PYTHON_USEDEP}] + dev-lang/perl + >=dev-build/meson-0.63.0 + >=dev-util/gdbus-codegen-2.80.5-r1 + app-alternatives/ninja + virtual/pkgconfig + doc? ( + >=dev-python/sphinx-1.6.0[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ) + gtk? ( nls? ( sys-devel/gettext ) ) + test? ( + app-alternatives/bc + dev-libs/glib[utils] + dev-python/pycotap[${PYTHON_USEDEP}] + ) +" +if [[ ${PV} != 9999 ]]; then + # https://www.qemu.org/download/ + BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-mdroth )" + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/mdroth.asc +fi +CDEPEND=" + ${ALL_DEPEND//\[static-libs(+)]} + ${SOFTMMU_TOOLS_DEPEND//\[static-libs(+)]} + qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} ) + qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} ) + qemu_softmmu_targets_ppc? ( ${PPC_FIRMWARE_DEPEND} ) + qemu_softmmu_targets_ppc64? ( ${PPC_FIRMWARE_DEPEND} ) +" +DEPEND=" + ${CDEPEND} + kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 ) + static-user? ( ${ALL_DEPEND} ) +" +RDEPEND=" + ${CDEPEND} + acct-group/kvm + selinux? ( + sec-policy/selinux-qemu + sys-libs/libselinux + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-9.0.0-disable-keymap.patch + "${FILESDIR}"/${PN}-9.2.0-capstone-include-path.patch + "${FILESDIR}"/${PN}-8.1.0-skip-tests.patch + "${FILESDIR}"/${PN}-8.1.0-find-sphinx.patch + "${FILESDIR}"/${PN}-10.2.2-optionrom-pass-Wl-no-error-rwx-segments.patch +) + +QA_PREBUILT=" + usr/share/qemu/hppa-firmware.img + usr/share/qemu/hppa-firmware64.img + usr/share/qemu/openbios-ppc + usr/share/qemu/openbios-sparc64 + usr/share/qemu/openbios-sparc32 + usr/share/qemu/opensbi-riscv64-generic-fw_dynamic.elf + usr/share/qemu/opensbi-riscv32-generic-fw_dynamic.elf + usr/share/qemu/palcode-clipper + usr/share/qemu/s390-ccw.img + usr/share/qemu/s390-netboot.img + usr/share/qemu/u-boot.e500 +" + +QA_WX_LOAD=" + usr/bin/qemu-i386 + usr/bin/qemu-x86_64 + usr/bin/qemu-alpha + usr/bin/qemu-arm + usr/bin/qemu-cris + usr/bin/qemu-m68k + usr/bin/qemu-microblaze + usr/bin/qemu-microblazeel + usr/bin/qemu-mips + usr/bin/qemu-mipsel + usr/bin/qemu-or1k + usr/bin/qemu-ppc + usr/bin/qemu-ppc64 + usr/bin/qemu-sh4 + usr/bin/qemu-sh4eb + usr/bin/qemu-sparc + usr/bin/qemu-sparc64 + usr/bin/qemu-armeb + usr/bin/qemu-sparc32plus + usr/bin/qemu-s390x + usr/bin/qemu-unicore32 +" + +DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure you have the +kernel module loaded before running kvm. The easiest way to ensure that the +kernel module is loaded is to load it on boot. + For AMD CPUs the module is called 'kvm-amd'. + For Intel CPUs the module is called 'kvm-intel'. +Please review /etc/conf.d/modules for how to load these. + +Make sure your user is in the 'kvm' group. Just run + # gpasswd -a kvm +then have re-login. + +For brand new installs, the default permissions on /dev/kvm might not let +you access it. You can tell udev to reset ownership/perms: + # udevadm trigger -c add /dev/kvm + +If you want to register binfmt handlers for qemu user targets: +For openrc: + # rc-update add qemu-binfmt +For systemd: + # ln -s /usr/share/qemu/binfmt.d/qemu.conf /etc/binfmt.d/qemu.conf" + +pkg_pretend() { + if use kernel_linux && kernel_is lt 2 6 25; then + eerror "This version of KVM requires a host kernel of 2.6.25 or higher." + elif use kernel_linux; then + if ! linux_config_exists; then + eerror "Unable to check your kernel for KVM support" + else + CONFIG_CHECK="~KVM ~TUN ~BRIDGE" + ERROR_KVM="You must enable KVM in your kernel to continue" + ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in" + ERROR_KVM_AMD+=" your kernel configuration." + ERROR_KVM_INTEL="If you have an Intel CPU, you must enable" + ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration." + ERROR_TUN="You will need the Universal TUN/TAP driver compiled" + ERROR_TUN+=" into your kernel or loaded as a module to use the" + ERROR_TUN+=" virtual network device if using -net tap." + ERROR_BRIDGE="You will also need support for 802.1d" + ERROR_BRIDGE+=" Ethernet Bridging for some network configurations." + use vhost-net && CONFIG_CHECK+=" ~VHOST_NET" + ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net" + ERROR_VHOST_NET+=" support" + use test && CONFIG_CHECK+=" IP_MULTICAST" + ERROR_IP_MULTICAST="Test suite requires IP_MULTICAST" + + if use amd64 || use x86; then + if grep -q AuthenticAMD /proc/cpuinfo; then + CONFIG_CHECK+=" ~KVM_AMD" + elif grep -q GenuineIntel /proc/cpuinfo; then + CONFIG_CHECK+=" ~KVM_INTEL" + fi + fi + + use python && CONFIG_CHECK+=" ~DEBUG_FS" + ERROR_DEBUG_FS="debugFS support required for kvm_stat" + + # Now do the actual checks setup above + check_extra_config + fi + fi + + if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then + eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt" + eerror "instances are still pointing to it. Please update your" + eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag" + eerror "and the right system binary (e.g. qemu-system-x86_64)." + die "update your virt configs to not use qemu-kvm" + fi +} + +# Sanity check to make sure target lists are kept up-to-date. +check_targets() { + local var=$1 mak=$2 + local detected sorted + + pushd "${S}"/configs/targets/ >/dev/null || die + + # Force C locale until glibc is updated. #564936 + detected=$(echo $(printf '%s\n' *-${mak}.mak | sed "s:-${mak}.mak::" | LC_COLLATE=C sort -u)) + sorted=$(echo $(printf '%s\n' ${!var} | LC_COLLATE=C sort -u)) + if [[ ${sorted} != "${detected}" ]] ; then + eerror "The ebuild needs to be kept in sync." + eerror "${var}: ${sorted}" + eerror "$(printf '%-*s' ${#var} configure): ${detected}" + die "sync ${var} to the list of targets" + fi + + popd >/dev/null +} + +src_unpack() { + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + for file in ${A}; do + unpack "${file}" + done + cd "${WORKDIR}" || die + for proj in "${!SUBPROJECTS[@]}"; do + mv "${proj}-${SUBPROJECTS[${proj}]}" "${S}/subprojects/${proj}" || die + done + cd "${S}" || die + meson subprojects packagefiles --apply || die + else + use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.sig} + default + fi +} + +src_prepare() { + check_targets IUSE_SOFTMMU_TARGETS softmmu + check_targets IUSE_USER_TARGETS linux-user + + default + + # Use correct toolchain to fix cross-compiling + tc-export AR AS LD NM OBJCOPY PKG_CONFIG RANLIB STRINGS + export WINDRES=${CHOST}-windres + + # defang automagic dependencies + use X || append-flags -DGENTOO_GTK_HIDE_X11 + use wayland || append-flags -DGENTOO_GTK_HIDE_WAYLAND + + # Workaround for bug #938302 + if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then + cat >> "${S}"/configs/meson/linux.txt <<-EOF || die + [binaries] + dtrace='stap-dtrace' + EOF + fi + + # Verbose builds + MAKEOPTS+=" V=1" + + # Remove bundled modules + rm -r roms/*/ || die +} + +## +# configures qemu based on the build directory and the build type +# we are using. +# +qemu_src_configure() { + debug-print-function ${FUNCNAME} "$@" + + local buildtype=$1 + local builddir="${S}/${buildtype}-build" + + mkdir "${builddir}" || die + + local conf_opts=( + --prefix=/usr + --sysconfdir=/etc + --bindir=/usr/bin + --libdir=/usr/$(get_libdir) + --datadir=/usr/share + --docdir=/usr/share/doc/${PF}/html + --mandir=/usr/share/man + --localstatedir=/var + --disable-bsd-user + --disable-containers # bug #732972 + --disable-guest-agent + --disable-strip + --disable-download + --python="${PYTHON}" + + # bug #746752: TCG interpreter has a few limitations: + # - it does not support FPU + # - it's generally slower on non-self-modifying code + # It's advantage is support for host architectures + # where native codegeneration is not implemented. + # Gentoo has qemu keyworded only on targets with + # native code generation available. Avoid the interpreter. + --disable-tcg-interpreter + + --disable-werror + # We support gnutls/nettle for crypto operations. It is possible + # to use gcrypt when gnutls/nettle are disabled (but not when they + # are enabled), but it's not really worth the hassle. Disable it + # all the time to avoid automatically detecting it. #568856 + --disable-gcrypt + --cc="$(tc-getCC)" + --cxx="$(tc-getCXX)" + --objcc="$(tc-getCC)" + --host-cc="$(tc-getBUILD_CC)" + + $(use_enable alsa) + $(use_enable debug debug-info) + $(use_enable debug debug-tcg) + $(use_enable jack) + $(use_enable nls gettext) + $(use_enable oss) + $(use_enable pipewire) + $(use_enable plugins) + $(use_enable pulseaudio pa) + $(use_enable selinux) + $(use_enable xattr attr) + ) + + # Disable options not used by user targets. This simplifies building + # static user targets (USE=static-user) considerably. + conf_notuser() { + if [[ ${buildtype} == "user" ]] ; then + echo "--disable-${2:-$1}" + else + use_enable "$@" + fi + } + # Enable option only for softmmu build, but not 'user' or 'tools' + conf_softmmu() { + if [[ ${buildtype} == "softmmu" ]] ; then + use_enable "$@" + else + echo "--disable-${2:-$1}" + fi + } + # Enable option only for tools build, but not 'user' or 'softmmu' + conf_tools() { + if [[ ${buildtype} == "tools" ]] ; then + use_enable "$@" + else + echo "--disable-${2:-$1}" + fi + } + # Special case for the malloc flag, because the --disable flag does + # not exist and trying like above will break configuring. + conf_malloc() { + if [[ ! ${buildtype} == "user" ]] ; then + usex "${1}" "--enable-malloc=${1}" "" + fi + } + conf_opts+=( + $(conf_notuser accessibility brlapi) + $(conf_notuser aio linux-aio) + $(conf_softmmu bpf) + $(conf_notuser bzip2) + $(conf_notuser capstone) + $(conf_notuser curl) + $(conf_tools doc docs) + $(conf_notuser fdt) + $(conf_notuser fuse) + $(conf_notuser glusterfs) + $(conf_notuser gnutls) + $(conf_notuser gnutls nettle) + $(conf_notuser gtk) + $(conf_notuser infiniband rdma) + $(conf_notuser iscsi libiscsi) + $(conf_notuser io-uring linux-io-uring) + $(conf_malloc jemalloc) + $(conf_notuser jpeg vnc-jpeg) + $(conf_notuser kernel_linux kvm) + $(conf_notuser keyutils libkeyutils) + $(conf_notuser lzo) + $(conf_notuser multipath mpath) + $(conf_notuser ncurses curses) + $(conf_notuser nfs libnfs) + $(conf_notuser numa) + $(conf_notuser opengl) + $(conf_notuser pam auth-pam) + $(conf_notuser png) + $(conf_notuser rbd) + $(conf_notuser sasl vnc-sasl) + $(conf_notuser sdl) + $(conf_softmmu sdl-image) + $(conf_notuser seccomp) + $(conf_notuser slirp) + $(conf_notuser smartcard) + $(conf_notuser snappy) + $(conf_notuser spice) + $(conf_notuser ssh libssh) + $(conf_notuser udev libudev) + $(conf_notuser usb libusb) + $(conf_notuser usbredir usb-redir) + $(conf_notuser vde) + $(conf_notuser vhost-net) + $(conf_notuser virgl virglrenderer) + $(conf_softmmu virtfs) + $(conf_notuser vnc) + $(conf_notuser vte) + $(conf_softmmu xdp af-xdp) + $(conf_notuser xen) + $(conf_notuser xen xen-pci-passthrough) + # use prebuilt keymaps, bug #759604 + --disable-xkbcommon + $(conf_notuser zstd) + ) + + if [[ ! ${buildtype} == "user" ]] ; then + # audio options + local audio_opts=( + # Note: backend order matters here: #716202 + # We iterate from higher-level to lower level. + $(usex pulseaudio pa "") + $(usev pipewire) + $(usev jack) + $(usev sdl) + $(usev alsa) + $(usev oss) + ) + conf_opts+=( + --audio-drv-list=$(IFS=,; echo "${audio_opts[*]}") + ) + fi + + case ${buildtype} in + user) + conf_opts+=( + --enable-linux-user + --disable-system + --disable-tools + --disable-cap-ng + --disable-seccomp + ) + local static_flag="static-user" + ;; + softmmu) + conf_opts+=( + --disable-linux-user + --enable-system + --disable-tools + --enable-cap-ng + --enable-seccomp + --disable-libcbor + ) + local static_flag="none" + ;; + tools) + conf_opts+=( + --disable-linux-user + --disable-system + --enable-tools + --enable-cap-ng + ) + local static_flag="none" + ;; + esac + + local targets="${buildtype}_targets" + [[ -n ${targets} ]] && conf_opts+=( --target-list="${!targets}" ) + + # Add support for SystemTap + use systemtap && conf_opts+=( --enable-trace-backends="dtrace" ) + + # We always want to attempt to build with PIE support as it results + # in a more secure binary. But it doesn't work with static or if + # the current GCC doesn't have PIE support. + if [[ ${static_flag} != "none" ]] && use ${static_flag}; then + conf_opts+=( --static --disable-pie ) + else + tc-enables-pie && conf_opts+=( --enable-pie ) + fi + + # Meson will not use a cross-file unless cross_prefix is set. + tc-is-cross-compiler && conf_opts+=( --cross-prefix="${CHOST}-" ) + + # Plumb through equivalent of EXTRA_ECONF to allow experiments + # like bug #747928. + conf_opts+=( ${EXTRA_CONF_QEMU} ) + + echo "../configure ${conf_opts[*]}" + cd "${builddir}" + ../configure "${conf_opts[@]}" || die "configure failed" +} + +src_configure() { + local target + + python_setup + + softmmu_targets= softmmu_bins=() + user_targets= user_bins=() + + for target in ${IUSE_SOFTMMU_TARGETS} ; do + if use "qemu_softmmu_targets_${target}"; then + softmmu_targets+=",${target}-softmmu" + softmmu_bins+=( "qemu-system-${target}" ) + fi + done + + for target in ${IUSE_USER_TARGETS} ; do + if use "qemu_user_targets_${target}"; then + user_targets+=",${target}-linux-user" + user_bins+=( "qemu-${target}" ) + fi + done + + softmmu_targets=${softmmu_targets#,} + user_targets=${user_targets#,} + + [[ -n ${softmmu_targets} ]] && qemu_src_configure "softmmu" + [[ -n ${user_targets} ]] && qemu_src_configure "user" + qemu_src_configure "tools" +} + +src_compile() { + if [[ -n ${user_targets} ]]; then + cd "${S}/user-build" || die + default + fi + + if [[ -n ${softmmu_targets} ]]; then + cd "${S}/softmmu-build" || die + default + fi + + cd "${S}/tools-build" || die + default +} + +src_test() { + if [[ -n ${softmmu_targets} ]]; then + cd "${S}/softmmu-build" || die + pax-mark m */qemu-system-* #515550 + emake check + fi +} + +qemu_python_install() { + python_domodule "${S}/python/qemu" + + python_doscript "${S}/scripts/kvm/vmxcap" + python_doscript "${S}/scripts/qmp/qmp-shell" + python_doscript "${S}/scripts/qmp/qemu-ga-client" +} + +# Generate binfmt support files. +# - /etc/init.d/qemu-binfmt script which registers the user handlers (openrc) +# - /usr/share/qemu/binfmt.d/qemu.conf (for use with systemd-binfmt) +generate_initd() { + local out="${T}/qemu-binfmt" + local out_systemd="${T}/qemu.conf" + local d="${T}/binfmt.d" + + einfo "Generating qemu binfmt scripts and configuration files" + + # Generate the debian fragments first. + mkdir -p "${d}" + "${S}"/scripts/qemu-binfmt-conf.sh \ + --debian \ + --exportdir "${d}" \ + --qemu-path "${EPREFIX}/usr/bin" \ + || die + # Then turn the fragments into a shell script we can source. + sed -E -i \ + -e 's:^([^ ]+) (.*)$:\1="\2":' \ + "${d}"/* || die + + # Generate the init.d script by assembling the fragments from above. + local f qcpu package interpreter magic mask + cat "${FILESDIR}"/qemu-binfmt.initd.head >"${out}" || die + for f in "${d}"/qemu-* ; do + source "${f}" + + # Normalize the cpu logic like we do in the init.d for the native cpu. + qcpu=${package#qemu-} + case ${qcpu} in + arm*) qcpu="arm";; + mips*) qcpu="mips";; + ppc*) qcpu="ppc";; + s390*) qcpu="s390";; + sh*) qcpu="sh";; + sparc*) qcpu="sparc";; + esac + + # we use 'printf' here to be portable across 'sh' + # implementations: #679168 + cat <>"${out}" + if [ "\${cpu}" != "${qcpu}" -a -x "${interpreter}" ] ; then + printf '%s\n' ':${package}:M::${magic}:${mask}:${interpreter}:'"\${QEMU_BINFMT_FLAGS}" >/proc/sys/fs/binfmt_misc/register + fi +EOF + + echo ":${package}:M::${magic}:${mask}:${interpreter}:OC" >>"${out_systemd}" + + done + cat "${FILESDIR}"/qemu-binfmt.initd.tail >>"${out}" || die +} + +src_install() { + if [[ -n ${user_targets} ]]; then + cd "${S}/user-build" + emake DESTDIR="${ED}" install + + # Install binfmt handler init script for user targets. + generate_initd + doinitd "${T}/qemu-binfmt" + + # Install binfmt/qemu.conf. + insinto "/usr/share/qemu/binfmt.d" + doins "${T}/qemu.conf" + fi + + if [[ -n ${softmmu_targets} ]]; then + cd "${S}/softmmu-build" + emake DESTDIR="${ED}" install + + # This might not exist if the test failed. #512010 + [[ -e check-report.html ]] && dodoc check-report.html + + if use kernel_linux; then + udev_newrules "${FILESDIR}"/65-kvm.rules-r2 65-kvm.rules + fi + + if use python; then + python_foreach_impl qemu_python_install + fi + fi + + cd "${S}/tools-build" || die + emake DESTDIR="${ED}" install + + # If USE=doc, there'll be newly generated docs which we install instead. + if ! use doc && [[ ${QEMU_DOCS_PREBUILT} == 1 ]] ; then + doman "${WORKDIR}"/${PN}-${QEMU_DOCS_VERSION}-docs/docs/*.[0-8] + fi + + # Disable mprotect on the qemu binaries as they use JITs to be fast #459348 + pushd "${ED}"/usr/bin >/dev/null || die + pax-mark mr "${softmmu_bins[@]}" "${user_bins[@]}" # bug 575594 + popd >/dev/null || die + + # Install config file example for qemu-bridge-helper + insinto "/etc/qemu" + doins "${FILESDIR}/bridge.conf" + + cd "${S}" || die + dodoc MAINTAINERS + newdoc pc-bios/README README.pc-bios + + # Disallow stripping of prebuilt firmware files. + dostrip -x ${QA_PREBUILT} + + if [[ -n ${softmmu_targets} ]]; then + # Remove SeaBIOS since we're using the SeaBIOS packaged one + if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then + dosym ../seabios/bios-256k.bin /usr/share/qemu/bios-256k.bin + fi + + # Remove vgabios since we're using the seavgabios packaged one + rm "${ED}/usr/share/qemu/vgabios.bin" + rm "${ED}/usr/share/qemu/vgabios-cirrus.bin" + rm "${ED}/usr/share/qemu/vgabios-qxl.bin" + rm "${ED}/usr/share/qemu/vgabios-stdvga.bin" + rm "${ED}/usr/share/qemu/vgabios-virtio.bin" + rm "${ED}/usr/share/qemu/vgabios-vmware.bin" + + # PPC/PPC64 loads vgabios-stdvga + if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 || use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64; then + dosym ../seavgabios/vgabios-isavga.bin /usr/share/qemu/vgabios.bin + dosym ../seavgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin + dosym ../seavgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin + dosym ../seavgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin + dosym ../seavgabios/vgabios-virtio.bin /usr/share/qemu/vgabios-virtio.bin + dosym ../seavgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin + fi + + # Remove sgabios since we're using the sgabios packaged one + if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then + dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin + fi + + # Remove iPXE since we're using the iPXE packaged one + if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then + dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom + dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom + dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom + dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom + dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom + dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom + fi + fi + + DISABLE_AUTOFORMATTING=true + readme.gentoo_create_doc +} + +pkg_postinst() { + if [[ -n ${softmmu_targets} ]] && use kernel_linux; then + udev_reload + fi + + xdg_icon_cache_update + + [[ -z ${EPREFIX} ]] && [[ -f ${EROOT}/usr/libexec/qemu-bridge-helper ]] && \ + fcaps -m u+s cap_net_admin "${EROOT}"/usr/libexec/qemu-bridge-helper + + DISABLE_AUTOFORMATTING=true + readme.gentoo_print_elog + + if use pin-upstream-blobs && ver_replacing -lt ${FIRMWARE_ABI_VERSION}; then + ewarn "This version of qemu pins new versions of firmware blobs:" + + if has_version 'sys-firmware/edk2-bin'; then + ewarn " $(best_version sys-firmware/edk2-bin)" + else + ewarn " $(best_version sys-firmware/edk2)" + fi + + if has_version 'sys-firmware/seabios-bin'; then + ewarn " $(best_version sys-firmware/seabios-bin)" + else + ewarn " $(best_version sys-firmware/seabios)" + fi + + ewarn " $(best_version sys-firmware/ipxe)" + ewarn " $(best_version sys-firmware/sgabios)" + ewarn "This might break resume of hibernated guests (started with a different" + ewarn "firmware version) and live migration to/from qemu versions with different" + ewarn "firmware. Please (cold) restart all running guests. For functional" + ewarn "guest migration ensure that all hosts run at least" + ewarn " app-emulation/qemu-${FIRMWARE_ABI_VERSION}." + fi +} + +pkg_info() { + echo "Using:" + echo " $(best_version app-emulation/spice-protocol)" + + if has_version 'sys-firmware/edk2-bin'; then + echo " $(best_version sys-firmware/edk2-bin)" + else + echo " $(best_version sys-firmware/edk2)" + fi + + if has_version 'sys-firmware/seabios-bin'; then + echo " $(best_version sys-firmware/seabios-bin)" + else + echo " $(best_version sys-firmware/seabios)" + fi + + echo " $(best_version sys-firmware/ipxe)" + echo " $(best_version sys-firmware/sgabios)" +} + +pkg_postrm() { + xdg_icon_cache_update + udev_reload +} diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/qemu/qemu-10.2.3.ebuild b/sdk_container/src/third_party/portage-stable/app-emulation/qemu/qemu-10.2.3.ebuild new file mode 100644 index 00000000000..cfbdeea52fb --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-emulation/qemu/qemu-10.2.3.ebuild @@ -0,0 +1,1036 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-qemu-docs +# Set to 1 if prebuilt, 0 if not +# (the construct below is to allow overriding from env for script) +QEMU_DOCS_PREBUILT=${QEMU_DOCS_PREBUILT:-1} +QEMU_DOCS_PREBUILT_DEV=sam +QEMU_DOCS_VERSION=$(ver_cut 1-2).0 +# Default to generating docs (inc. man pages) if no prebuilt; overridden later +# bug #830088 +QEMU_DOC_USEFLAG="+doc" + +PYTHON_COMPAT=( python3_{12..14} ) +PYTHON_REQ_USE="ensurepip(-),ncurses,readline" + +inherit eapi9-ver flag-o-matic linux-info toolchain-funcs python-r1 udev fcaps \ + readme.gentoo-r1 pax-utils xdg-utils + +if [[ ${PV} == *9999* ]]; then + QEMU_DOCS_PREBUILT=0 + + EGIT_REPO_URI="https://gitlab.com/qemu-project/qemu.git/" + EGIT_SUBMODULES=() + inherit git-r3 + declare -A SUBPROJECTS=( + [keycodemapdb]="f5772a62ec52591ff6870b7e8ef32482371f22c6" + [berkeley-softfloat-3]="b64af41c3276f97f0e181920400ee056b9c88037" + [berkeley-testfloat-3]="e7af9751d9f9fd3b47911f51a5cfd08af256a9ab" + ) + + for proj in "${!SUBPROJECTS[@]}"; do + c=${SUBPROJECTS[${proj}]} + SRC_URI+=" https://gitlab.com/qemu-project/${proj}/-/archive/${c}/${proj}-${c}.tar.bz2" + done +else + inherit verify-sig + MY_P="${PN}-${PV/_rc/-rc}" + SRC_URI=" + https://download.qemu.org/${MY_P}.tar.xz + verify-sig? ( https://download.qemu.org/${MY_P}.tar.xz.sig ) + " + + if [[ ${QEMU_DOCS_PREBUILT} == 1 ]] ; then + SRC_URI+=" !doc? ( https://dev.gentoo.org/~${QEMU_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${QEMU_DOCS_VERSION}-docs.tar.xz )" + fi + + S="${WORKDIR}/${MY_P}" + [[ "${PV}" != *_rc* ]] && KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools" +HOMEPAGE="https://www.qemu.org https://www.linux-kvm.org" + +LICENSE="GPL-2 LGPL-2 BSD-2" +SLOT="0" + +[[ ${QEMU_DOCS_PREBUILT} == 1 ]] && QEMU_DOC_USEFLAG="doc" + +IUSE="accessibility +aio alsa bpf bzip2 capstone +curl debug ${QEMU_DOC_USEFLAG} + +fdt fuse glusterfs +gnutls gtk infiniband iscsi io-uring + jack jemalloc +jpeg keyutils + lzo multipath + ncurses nfs nls numa opengl +oss pam passt +pin-upstream-blobs pipewire + plugins +png pulseaudio python rbd sasl +seccomp sdl sdl-image selinux + +slirp + smartcard snappy spice ssh static-user systemtap test udev usb + usbredir valgrind vde +vhost-net virgl virtfs +vnc vte wayland X xattr xdp xen + zstd" + +COMMON_TARGETS=" + aarch64 + alpha + arm + hppa + i386 + loongarch64 + m68k + microblaze + microblazeel + mips + mips64 + mips64el + mipsel + or1k + ppc + ppc64 + riscv32 + riscv64 + s390x + sh4 + sh4eb + sparc + sparc64 + x86_64 + xtensa + xtensaeb +" +IUSE_SOFTMMU_TARGETS=" + ${COMMON_TARGETS} + avr + rx + tricore +" +IUSE_USER_TARGETS=" + ${COMMON_TARGETS} + aarch64_be + armeb + hexagon + mipsn32 + mipsn32el + ppc64le + sparc32plus +" + +use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS}) +use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS}) +IUSE+=" ${use_softmmu_targets} ${use_user_targets}" + +RESTRICT="!test? ( test )" + +# Allow no targets to be built so that people can get a tools-only build. +# Block USE flag configurations known to not work. +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + qemu_softmmu_targets_arm? ( fdt ) + qemu_softmmu_targets_microblaze? ( fdt ) + qemu_softmmu_targets_mips64el? ( fdt ) + qemu_softmmu_targets_ppc64? ( fdt ) + qemu_softmmu_targets_ppc? ( fdt ) + qemu_softmmu_targets_riscv32? ( fdt ) + qemu_softmmu_targets_riscv64? ( fdt ) + qemu_softmmu_targets_x86_64? ( fdt ) + sdl-image? ( sdl ) + static-user? ( !plugins ) + virgl? ( opengl ) + virtfs? ( xattr ) + vnc? ( gnutls ) + vte? ( gtk ) + multipath? ( udev ) + plugins? ( !static-user ) + xdp? ( bpf ) +" +for smname in ${IUSE_SOFTMMU_TARGETS} ; do + REQUIRED_USE+=" qemu_softmmu_targets_${smname}? ( kernel_linux? ( seccomp ) )" +done + +# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...) +# and user/softmmu targets (qemu-*, qemu-system-*). +# +# Yep, you need both libcap and libcap-ng since virtfs only uses libcap. +# +# The attr lib isn't always linked in (although the USE flag is always +# respected). This is because qemu supports using the C library's API +# when available rather than always using the external library. +ALL_DEPEND=" + dev-libs/glib:2[static-libs(+)] + virtual/zlib:=[static-libs(+)] + python? ( ${PYTHON_DEPS} ) + systemtap? ( dev-debug/systemtap ) + xattr? ( sys-apps/attr[static-libs(+)] ) +" + +# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...) +# softmmu targets (qemu-system-*). +SOFTMMU_TOOLS_DEPEND=" + >=x11-libs/pixman-0.28.0[static-libs(+)] + accessibility? ( + app-accessibility/brltty[api] + app-accessibility/brltty[static-libs(+)] + ) + aio? ( dev-libs/libaio[static-libs(+)] ) + alsa? ( >=media-libs/alsa-lib-1.0.13 ) + bpf? ( >=dev-libs/libbpf-1.1.0:= ) + bzip2? ( app-arch/bzip2[static-libs(+)] ) + capstone? ( dev-libs/capstone:=[static-libs(+)] ) + curl? ( >=net-misc/curl-7.15.4[static-libs(+)] ) + fdt? ( >=sys-apps/dtc-1.5.1[static-libs(+)] ) + fuse? ( >=sys-fs/fuse-3.1:3=[static-libs(+)] ) + glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] ) + gnutls? ( + >=net-libs/gnutls-3.7.5:=[static-libs(+)] + >=dev-libs/nettle-3.7.3:=[static-libs(+)] + ) + gtk? ( + x11-libs/gtk+:3[wayland?,X?] + vte? ( x11-libs/vte:2.91 ) + ) + infiniband? ( sys-cluster/rdma-core[static-libs(+)] ) + iscsi? ( net-libs/libiscsi ) + io-uring? ( sys-libs/liburing:=[static-libs(+)] ) + jack? ( virtual/jack ) + jemalloc? ( dev-libs/jemalloc ) + jpeg? ( media-libs/libjpeg-turbo:=[static-libs(+)] ) + kernel_linux? ( sys-libs/libcap-ng[static-libs(+)] ) + keyutils? ( sys-apps/keyutils[static-libs(+)] ) + lzo? ( dev-libs/lzo:2[static-libs(+)] ) + multipath? ( sys-fs/multipath-tools ) + ncurses? ( + sys-libs/ncurses:=[unicode(+)] + sys-libs/ncurses:=[static-libs(+)] + ) + nfs? ( >=net-fs/libnfs-1.9.3:=[static-libs(+)] ) + numa? ( sys-process/numactl[static-libs(+)] ) + opengl? ( + virtual/opengl + media-libs/libepoxy[static-libs(+)] + media-libs/mesa[static-libs(+)] + media-libs/mesa[egl(+),gbm(+)] + ) + pam? ( sys-libs/pam ) + passt? ( net-misc/passt ) + pipewire? ( >=media-video/pipewire-0.3.60 ) + png? ( >=media-libs/libpng-1.6.34:=[static-libs(+)] ) + pulseaudio? ( media-libs/libpulse ) + rbd? ( sys-cluster/ceph ) + sasl? ( dev-libs/cyrus-sasl[static-libs(+)] ) + sdl? ( + media-libs/libsdl2[video] + media-libs/libsdl2[static-libs(+)] + ) + sdl-image? ( media-libs/sdl2-image[static-libs(+)] ) + seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] ) + slirp? ( net-libs/libslirp[static-libs(+)] ) + smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] ) + snappy? ( app-arch/snappy:= ) + spice? ( + >=app-emulation/spice-protocol-0.14.0 + >=app-emulation/spice-0.14.0[static-libs(+)] + ) + ssh? ( >=net-libs/libssh-0.8.6[static-libs(+)] ) + udev? ( virtual/libudev:= ) + usb? ( >=virtual/libusb-1-r2:1[static-libs(+)] ) + usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] ) + vde? ( net-misc/vde[static-libs(+)] ) + virgl? ( media-libs/virglrenderer[static-libs(+)] ) + virtfs? ( sys-libs/libcap ) + xdp? ( net-libs/xdp-tools ) + xen? ( app-emulation/xen-tools:= ) + zstd? ( >=app-arch/zstd-1.4.0[static-libs(+)] ) +" + +# +# With USE=+pin-upstream-blobs we pin firmware versions to known good +# version in order to minimize the frequency of disruptive changes. This +# avoids unnecessary frustration on user side because changing the firmware +# version can break resume of hibernated guest, inhibit live migrations, +# and might have other unwanted consequences. For now, let us try to +# synchronize firmware blobs with the ones bundled in upstream qemu. Simply +# check the upstream git repository for any changes, for example: +# https://github.com/qemu/qemu/tree/v10.0.2/roms for the 10.0.2 release. +# +# When changing pinned firmware versions +# - create a separate ebuild with revision -r50 +# - update the FIRMWARE_ABI_VERSION to the current package version +# + +FIRMWARE_ABI_VERSION="10.0.2" +EDK2_OVMF_VERSION="202408" +SEABIOS_VERSION="1.16.3" + +X86_FIRMWARE_DEPEND=" + pin-upstream-blobs? ( + ~sys-firmware/edk2-bin-${EDK2_OVMF_VERSION}[qemu_softmmu_targets_x86_64(+)] + ~sys-firmware/ipxe-1.21.1_p20230601[binary,qemu] + ~sys-firmware/seabios-bin-${SEABIOS_VERSION} + ~sys-firmware/sgabios-0.1_pre10[binary] + ) + !pin-upstream-blobs? ( + || ( + >=sys-firmware/edk2-${EDK2_OVMF_VERSION} + >=sys-firmware/edk2-bin-${EDK2_OVMF_VERSION}[qemu_softmmu_targets_x86_64(+)] + ) + sys-firmware/ipxe[qemu] + || ( + >=sys-firmware/seabios-${SEABIOS_VERSION}[seavgabios] + >=sys-firmware/seabios-bin-${SEABIOS_VERSION} + ) + sys-firmware/sgabios + ) +" +PPC_FIRMWARE_DEPEND=" + pin-upstream-blobs? ( + ~sys-firmware/seabios-bin-${SEABIOS_VERSION} + ) + !pin-upstream-blobs? ( + || ( + >=sys-firmware/seabios-${SEABIOS_VERSION}[seavgabios] + >=sys-firmware/seabios-bin-${SEABIOS_VERSION} + ) + ) +" + +# See bug #913084 for pip dep +BDEPEND=" + ${PYTHON_DEPS} + dev-python/distlib[${PYTHON_USEDEP}] + dev-lang/perl + >=dev-build/meson-0.63.0 + >=dev-util/gdbus-codegen-2.80.5-r1 + app-alternatives/ninja + virtual/pkgconfig + doc? ( + >=dev-python/sphinx-1.6.0[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ) + gtk? ( nls? ( sys-devel/gettext ) ) + test? ( + app-alternatives/bc + dev-libs/glib[utils] + dev-python/pycotap[${PYTHON_USEDEP}] + ) +" +if [[ ${PV} != 9999 ]]; then + # https://www.qemu.org/download/ + BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-mdroth )" + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/mdroth.asc +fi +CDEPEND=" + ${ALL_DEPEND//\[static-libs(+)]} + ${SOFTMMU_TOOLS_DEPEND//\[static-libs(+)]} + qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} ) + qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} ) + qemu_softmmu_targets_ppc? ( ${PPC_FIRMWARE_DEPEND} ) + qemu_softmmu_targets_ppc64? ( ${PPC_FIRMWARE_DEPEND} ) +" +DEPEND=" + ${CDEPEND} + kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 ) + static-user? ( ${ALL_DEPEND} ) + valgrind? ( dev-debug/valgrind ) +" +RDEPEND=" + ${CDEPEND} + acct-group/kvm + selinux? ( + sec-policy/selinux-qemu + sys-libs/libselinux + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-10.1.2-fix_passt.patch + "${FILESDIR}"/${PN}-9.0.0-disable-keymap.patch + "${FILESDIR}"/${PN}-9.2.0-capstone-include-path.patch + "${FILESDIR}"/${PN}-8.1.0-skip-tests.patch + "${FILESDIR}"/${PN}-8.1.0-find-sphinx.patch + "${FILESDIR}"/${PN}-10.2.2-optionrom-pass-Wl-no-error-rwx-segments.patch +) + +QA_PREBUILT=" + usr/share/qemu/hppa-firmware.img + usr/share/qemu/hppa-firmware64.img + usr/share/qemu/openbios-ppc + usr/share/qemu/openbios-sparc64 + usr/share/qemu/openbios-sparc32 + usr/share/qemu/opensbi-riscv64-generic-fw_dynamic.elf + usr/share/qemu/opensbi-riscv32-generic-fw_dynamic.elf + usr/share/qemu/palcode-clipper + usr/share/qemu/s390-ccw.img + usr/share/qemu/s390-netboot.img + usr/share/qemu/u-boot.e500 +" + +QA_WX_LOAD=" + usr/bin/qemu-i386 + usr/bin/qemu-x86_64 + usr/bin/qemu-alpha + usr/bin/qemu-arm + usr/bin/qemu-cris + usr/bin/qemu-m68k + usr/bin/qemu-microblaze + usr/bin/qemu-microblazeel + usr/bin/qemu-mips + usr/bin/qemu-mipsel + usr/bin/qemu-or1k + usr/bin/qemu-ppc + usr/bin/qemu-ppc64 + usr/bin/qemu-sh4 + usr/bin/qemu-sh4eb + usr/bin/qemu-sparc + usr/bin/qemu-sparc64 + usr/bin/qemu-armeb + usr/bin/qemu-sparc32plus + usr/bin/qemu-s390x + usr/bin/qemu-unicore32 +" + +DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure you have the +kernel module loaded before running kvm. The easiest way to ensure that the +kernel module is loaded is to load it on boot. + For AMD CPUs the module is called 'kvm-amd'. + For Intel CPUs the module is called 'kvm-intel'. +Please review /etc/conf.d/modules for how to load these. + +Make sure your user is in the 'kvm' group. Just run + # gpasswd -a kvm +then have re-login. + +For brand new installs, the default permissions on /dev/kvm might not let +you access it. You can tell udev to reset ownership/perms: + # udevadm trigger -c add /dev/kvm + +If you want to register binfmt handlers for qemu user targets: +For openrc: + # rc-update add qemu-binfmt +For systemd: + # ln -s /usr/share/qemu/binfmt.d/qemu.conf /etc/binfmt.d/qemu.conf" + +pkg_pretend() { + if use kernel_linux && kernel_is lt 2 6 25; then + eerror "This version of KVM requires a host kernel of 2.6.25 or higher." + elif use kernel_linux; then + if ! linux_config_exists; then + eerror "Unable to check your kernel for KVM support" + else + CONFIG_CHECK="~KVM ~TUN ~BRIDGE" + ERROR_KVM="You must enable KVM in your kernel to continue" + ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in" + ERROR_KVM_AMD+=" your kernel configuration." + ERROR_KVM_INTEL="If you have an Intel CPU, you must enable" + ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration." + ERROR_TUN="You will need the Universal TUN/TAP driver compiled" + ERROR_TUN+=" into your kernel or loaded as a module to use the" + ERROR_TUN+=" virtual network device if using -net tap." + ERROR_BRIDGE="You will also need support for 802.1d" + ERROR_BRIDGE+=" Ethernet Bridging for some network configurations." + use vhost-net && CONFIG_CHECK+=" ~VHOST_NET" + ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net" + ERROR_VHOST_NET+=" support" + use test && CONFIG_CHECK+=" IP_MULTICAST" + ERROR_IP_MULTICAST="Test suite requires IP_MULTICAST" + + if use amd64 || use x86; then + if grep -q AuthenticAMD /proc/cpuinfo; then + CONFIG_CHECK+=" ~KVM_AMD" + elif grep -q GenuineIntel /proc/cpuinfo; then + CONFIG_CHECK+=" ~KVM_INTEL" + fi + fi + + use python && CONFIG_CHECK+=" ~DEBUG_FS" + ERROR_DEBUG_FS="debugFS support required for kvm_stat" + + # Now do the actual checks setup above + check_extra_config + fi + fi + + if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then + eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt" + eerror "instances are still pointing to it. Please update your" + eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag" + eerror "and the right system binary (e.g. qemu-system-x86_64)." + die "update your virt configs to not use qemu-kvm" + fi +} + +# Sanity check to make sure target lists are kept up-to-date. +check_targets() { + local var=$1 mak=$2 + local detected sorted + + pushd "${S}"/configs/targets/ >/dev/null || die + + # Force C locale until glibc is updated. #564936 + detected=$(echo $(printf '%s\n' *-${mak}.mak | sed "s:-${mak}.mak::" | LC_COLLATE=C sort -u)) + sorted=$(echo $(printf '%s\n' ${!var} | LC_COLLATE=C sort -u)) + if [[ ${sorted} != "${detected}" ]] ; then + eerror "The ebuild needs to be kept in sync." + eerror "${var}: ${sorted}" + eerror "$(printf '%-*s' ${#var} configure): ${detected}" + die "sync ${var} to the list of targets" + fi + + popd >/dev/null +} + +src_unpack() { + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + for file in ${A}; do + unpack "${file}" + done + cd "${WORKDIR}" || die + for proj in "${!SUBPROJECTS[@]}"; do + mv "${proj}-${SUBPROJECTS[${proj}]}" "${S}/subprojects/${proj}" || die + done + cd "${S}" || die + meson subprojects packagefiles --apply || die + else + use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.sig} + default + fi +} + +src_prepare() { + check_targets IUSE_SOFTMMU_TARGETS softmmu + check_targets IUSE_USER_TARGETS linux-user + + default + + # Use correct toolchain to fix cross-compiling + tc-export AR AS LD NM OBJCOPY PKG_CONFIG RANLIB STRINGS + export WINDRES=${CHOST}-windres + + # defang automagic dependencies + use X || append-flags -DGENTOO_GTK_HIDE_X11 + use wayland || append-flags -DGENTOO_GTK_HIDE_WAYLAND + + # Workaround for bug #938302 + if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then + cat >> "${S}"/configs/meson/linux.txt <<-EOF || die + [binaries] + dtrace='stap-dtrace' + EOF + fi + + # Verbose builds + MAKEOPTS+=" V=1" + + # Remove bundled modules + rm -r roms/*/ || die +} + +## +# configures qemu based on the build directory and the build type +# we are using. +# +qemu_src_configure() { + debug-print-function ${FUNCNAME} "$@" + + local buildtype=$1 + local builddir="${S}/${buildtype}-build" + + mkdir "${builddir}" || die + + local conf_opts=( + --prefix=/usr + --sysconfdir=/etc + --bindir=/usr/bin + --libdir=/usr/$(get_libdir) + --datadir=/usr/share + --docdir=/usr/share/doc/${PF}/html + --mandir=/usr/share/man + --localstatedir=/var + --disable-bsd-user + --disable-containers # bug #732972 + --disable-guest-agent + --disable-strip + --disable-download + --python="${PYTHON}" + + # bug #746752: TCG interpreter has a few limitations: + # - it does not support FPU + # - it's generally slower on non-self-modifying code + # It's advantage is support for host architectures + # where native codegeneration is not implemented. + # Gentoo has qemu keyworded only on targets with + # native code generation available. Avoid the interpreter. + --disable-tcg-interpreter + + --disable-werror + # We support gnutls/nettle for crypto operations. It is possible + # to use gcrypt when gnutls/nettle are disabled (but not when they + # are enabled), but it's not really worth the hassle. Disable it + # all the time to avoid automatically detecting it. #568856 + --disable-gcrypt + --cc="$(tc-getCC)" + --cxx="$(tc-getCXX)" + --objcc="$(tc-getCC)" + --host-cc="$(tc-getBUILD_CC)" + + $(use_enable alsa) + $(use_enable debug debug-info) + $(use_enable debug debug-tcg) + $(use_enable jack) + $(use_enable nls gettext) + $(use_enable oss) + $(use_enable pipewire) + $(use_enable plugins) + $(use_enable pulseaudio pa) + $(use_enable selinux) + $(use_enable xattr attr) + $(use_enable valgrind) + ) + + # Disable options not used by user targets. This simplifies building + # static user targets (USE=static-user) considerably. + conf_notuser() { + if [[ ${buildtype} == "user" ]] ; then + echo "--disable-${2:-$1}" + else + use_enable "$@" + fi + } + # Enable option only for softmmu build, but not 'user' or 'tools' + conf_softmmu() { + if [[ ${buildtype} == "softmmu" ]] ; then + use_enable "$@" + else + echo "--disable-${2:-$1}" + fi + } + # Enable option only for tools build, but not 'user' or 'softmmu' + conf_tools() { + if [[ ${buildtype} == "tools" ]] ; then + use_enable "$@" + else + echo "--disable-${2:-$1}" + fi + } + # Special case for the malloc flag, because the --disable flag does + # not exist and trying like above will break configuring. + conf_malloc() { + if [[ ! ${buildtype} == "user" ]] ; then + usex "${1}" "--enable-malloc=${1}" "" + fi + } + conf_opts+=( + $(conf_notuser accessibility brlapi) + $(conf_notuser aio linux-aio) + $(conf_softmmu bpf) + $(conf_notuser bzip2) + $(conf_notuser capstone) + $(conf_notuser curl) + $(conf_tools doc docs) + $(conf_notuser fdt) + $(conf_notuser fuse) + $(conf_notuser glusterfs) + $(conf_notuser gnutls) + $(conf_notuser gnutls nettle) + $(conf_notuser gtk) + $(conf_notuser infiniband rdma) + $(conf_notuser iscsi libiscsi) + $(conf_notuser io-uring linux-io-uring) + $(conf_malloc jemalloc) + $(conf_notuser jpeg vnc-jpeg) + $(conf_notuser kernel_linux kvm) + $(conf_notuser keyutils libkeyutils) + $(conf_notuser lzo) + $(conf_notuser multipath mpath) + $(conf_notuser ncurses curses) + $(conf_notuser nfs libnfs) + $(conf_notuser numa) + $(conf_notuser opengl) + $(conf_notuser pam auth-pam) + $(conf_notuser passt) + $(conf_notuser png) + $(conf_notuser rbd) + $(conf_notuser sasl vnc-sasl) + $(conf_notuser sdl) + $(conf_softmmu sdl-image) + $(conf_notuser seccomp) + $(conf_notuser slirp) + $(conf_notuser smartcard) + $(conf_notuser snappy) + $(conf_notuser spice) + $(conf_notuser ssh libssh) + $(conf_notuser udev libudev) + $(conf_notuser usb libusb) + $(conf_notuser usbredir usb-redir) + $(conf_notuser vde) + $(conf_notuser vhost-net) + $(conf_notuser virgl virglrenderer) + $(conf_softmmu virtfs) + $(conf_notuser vnc) + $(conf_notuser vte) + $(conf_softmmu xdp af-xdp) + $(conf_notuser xen) + $(conf_notuser xen xen-pci-passthrough) + # use prebuilt keymaps, bug #759604 + --disable-xkbcommon + $(conf_notuser zstd) + ) + + if [[ ! ${buildtype} == "user" ]] ; then + # used by passt and spice, enable it because glib is required anyway + conf_opts+=( + --enable-gio + ) + # audio options + local audio_opts=( + # Note: backend order matters here: #716202 + # We iterate from higher-level to lower level. + $(usex pulseaudio pa "") + $(usev pipewire) + $(usev jack) + $(usev sdl) + $(usev alsa) + $(usev oss) + ) + conf_opts+=( + --audio-drv-list=$(IFS=,; echo "${audio_opts[*]}") + ) + fi + + case ${buildtype} in + user) + conf_opts+=( + --enable-linux-user + --disable-system + --disable-tools + --disable-cap-ng + --disable-seccomp + ) + local static_flag="static-user" + ;; + softmmu) + conf_opts+=( + --disable-linux-user + --enable-system + --disable-tools + --enable-cap-ng + --enable-seccomp + --disable-libcbor + ) + local static_flag="none" + ;; + tools) + conf_opts+=( + --disable-linux-user + --disable-system + --enable-tools + --enable-cap-ng + ) + local static_flag="none" + ;; + esac + + local targets="${buildtype}_targets" + [[ -n ${targets} ]] && conf_opts+=( --target-list="${!targets}" ) + + # Add support for SystemTap + use systemtap && conf_opts+=( --enable-trace-backends="dtrace" ) + + # We always want to attempt to build with PIE support as it results + # in a more secure binary. But it doesn't work with static or if + # the current GCC doesn't have PIE support. + if [[ ${static_flag} != "none" ]] && use ${static_flag}; then + conf_opts+=( --static --disable-pie ) + else + tc-enables-pie && conf_opts+=( --enable-pie ) + fi + + # Meson will not use a cross-file unless cross_prefix is set. + tc-is-cross-compiler && conf_opts+=( --cross-prefix="${CHOST}-" ) + + # Plumb through equivalent of EXTRA_ECONF to allow experiments + # like bug #747928. + conf_opts+=( ${EXTRA_CONF_QEMU} ) + + echo "../configure ${conf_opts[*]}" + cd "${builddir}" + ../configure "${conf_opts[@]}" || die "configure failed" +} + +src_configure() { + local target + + python_setup + + softmmu_targets= softmmu_bins=() + user_targets= user_bins=() + + for target in ${IUSE_SOFTMMU_TARGETS} ; do + if use "qemu_softmmu_targets_${target}"; then + softmmu_targets+=",${target}-softmmu" + softmmu_bins+=( "qemu-system-${target}" ) + fi + done + + for target in ${IUSE_USER_TARGETS} ; do + if use "qemu_user_targets_${target}"; then + user_targets+=",${target}-linux-user" + user_bins+=( "qemu-${target}" ) + fi + done + + softmmu_targets=${softmmu_targets#,} + user_targets=${user_targets#,} + + [[ -n ${softmmu_targets} ]] && qemu_src_configure "softmmu" + [[ -n ${user_targets} ]] && qemu_src_configure "user" + qemu_src_configure "tools" +} + +src_compile() { + if [[ -n ${user_targets} ]]; then + cd "${S}/user-build" || die + default + fi + + if [[ -n ${softmmu_targets} ]]; then + cd "${S}/softmmu-build" || die + default + fi + + cd "${S}/tools-build" || die + default +} + +src_test() { + if [[ -n ${softmmu_targets} ]]; then + cd "${S}/softmmu-build" || die + pax-mark m */qemu-system-* #515550 + emake check + fi +} + +qemu_python_install() { + python_domodule "${S}/python/qemu" + + python_doscript "${S}/scripts/kvm/vmxcap" + python_doscript "${S}/scripts/qmp/qmp-shell" + python_doscript "${S}/scripts/qmp/qemu-ga-client" +} + +# Generate binfmt support files. +# - /etc/init.d/qemu-binfmt script which registers the user handlers (openrc) +# - /usr/share/qemu/binfmt.d/qemu.conf (for use with systemd-binfmt) +generate_initd() { + local out="${T}/qemu-binfmt" + local out_systemd="${T}/qemu.conf" + local d="${T}/binfmt.d" + + einfo "Generating qemu binfmt scripts and configuration files" + + # Generate the debian fragments first. + mkdir -p "${d}" + "${S}"/scripts/qemu-binfmt-conf.sh \ + --debian \ + --exportdir "${d}" \ + --qemu-path "${EPREFIX}/usr/bin" \ + || die + # Then turn the fragments into a shell script we can source. + sed -E -i \ + -e 's:^([^ ]+) (.*)$:\1="\2":' \ + "${d}"/* || die + + # Generate the init.d script by assembling the fragments from above. + local f qcpu package interpreter magic mask + cat "${FILESDIR}"/qemu-binfmt.initd.head >"${out}" || die + for f in "${d}"/qemu-* ; do + source "${f}" + + # Normalize the cpu logic like we do in the init.d for the native cpu. + qcpu=${package#qemu-} + case ${qcpu} in + arm*) qcpu="arm";; + mips*) qcpu="mips";; + ppc*) qcpu="ppc";; + s390*) qcpu="s390";; + sh*) qcpu="sh";; + sparc*) qcpu="sparc";; + esac + + # we use 'printf' here to be portable across 'sh' + # implementations: #679168 + cat <>"${out}" + if [ "\${cpu}" != "${qcpu}" -a -x "${interpreter}" ] ; then + printf '%s\n' ':${package}:M::${magic}:${mask}:${interpreter}:'"\${QEMU_BINFMT_FLAGS}" >/proc/sys/fs/binfmt_misc/register + fi +EOF + + echo ":${package}:M::${magic}:${mask}:${interpreter}:OC" >>"${out_systemd}" + + done + cat "${FILESDIR}"/qemu-binfmt.initd.tail >>"${out}" || die +} + +src_install() { + if [[ -n ${user_targets} ]]; then + cd "${S}/user-build" + emake DESTDIR="${ED}" install + + # Install binfmt handler init script for user targets. + generate_initd + doinitd "${T}/qemu-binfmt" + + # Install binfmt/qemu.conf. + insinto "/usr/share/qemu/binfmt.d" + doins "${T}/qemu.conf" + fi + + if [[ -n ${softmmu_targets} ]]; then + cd "${S}/softmmu-build" + emake DESTDIR="${ED}" install + + # This might not exist if the test failed. #512010 + [[ -e check-report.html ]] && dodoc check-report.html + + if use kernel_linux; then + udev_newrules "${FILESDIR}"/65-kvm.rules-r2 65-kvm.rules + fi + + if use python; then + python_foreach_impl qemu_python_install + fi + fi + + cd "${S}/tools-build" || die + emake DESTDIR="${ED}" install + + # If USE=doc, there'll be newly generated docs which we install instead. + if ! use doc && [[ ${QEMU_DOCS_PREBUILT} == 1 ]] ; then + doman "${WORKDIR}"/${PN}-${QEMU_DOCS_VERSION}-docs/docs/*.[0-8] + fi + + # Disable mprotect on the qemu binaries as they use JITs to be fast #459348 + pushd "${ED}"/usr/bin >/dev/null || die + pax-mark mr "${softmmu_bins[@]}" "${user_bins[@]}" # bug 575594 + popd >/dev/null || die + + # suid in src_install to allow FEATURES=suidctl to work properly + fperms u+s /usr/libexec/qemu-bridge-helper + + # Install config file example for qemu-bridge-helper + insinto "/etc/qemu" + doins "${FILESDIR}/bridge.conf" + + cd "${S}" || die + dodoc MAINTAINERS + newdoc pc-bios/README README.pc-bios + + # Disallow stripping of prebuilt firmware files. + dostrip -x ${QA_PREBUILT} + + if [[ -n ${softmmu_targets} ]]; then + # Remove SeaBIOS since we're using the SeaBIOS packaged one + if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then + dosym ../seabios/bios-256k.bin /usr/share/qemu/bios-256k.bin + fi + + # Remove vgabios since we're using the seavgabios packaged one + rm "${ED}/usr/share/qemu/vgabios.bin" + rm "${ED}/usr/share/qemu/vgabios-cirrus.bin" + rm "${ED}/usr/share/qemu/vgabios-qxl.bin" + rm "${ED}/usr/share/qemu/vgabios-stdvga.bin" + rm "${ED}/usr/share/qemu/vgabios-virtio.bin" + rm "${ED}/usr/share/qemu/vgabios-vmware.bin" + + # PPC/PPC64 loads vgabios-stdvga + if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 || use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64; then + dosym ../seavgabios/vgabios-isavga.bin /usr/share/qemu/vgabios.bin + dosym ../seavgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin + dosym ../seavgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin + dosym ../seavgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin + dosym ../seavgabios/vgabios-virtio.bin /usr/share/qemu/vgabios-virtio.bin + dosym ../seavgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin + fi + + # Remove sgabios since we're using the sgabios packaged one + if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then + dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin + fi + + # Remove iPXE since we're using the iPXE packaged one + if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then + dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom + dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom + dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom + dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom + dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom + dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom + fi + fi + + DISABLE_AUTOFORMATTING=true + readme.gentoo_create_doc +} + +pkg_postinst() { + if [[ -n ${softmmu_targets} ]] && use kernel_linux; then + udev_reload + fi + + xdg_icon_cache_update + + [[ -z ${EPREFIX} ]] && [[ -f ${EROOT}/usr/libexec/qemu-bridge-helper ]] && \ + fcaps -M u-s cap_net_admin "${EROOT}"/usr/libexec/qemu-bridge-helper + + DISABLE_AUTOFORMATTING=true + readme.gentoo_print_elog + + if use pin-upstream-blobs && ver_replacing -lt ${FIRMWARE_ABI_VERSION}; then + ewarn "This version of qemu pins new versions of firmware blobs:" + + if has_version 'sys-firmware/edk2-bin'; then + ewarn " $(best_version sys-firmware/edk2-bin)" + else + ewarn " $(best_version sys-firmware/edk2)" + fi + + if has_version 'sys-firmware/seabios-bin'; then + ewarn " $(best_version sys-firmware/seabios-bin)" + else + ewarn " $(best_version sys-firmware/seabios)" + fi + + ewarn " $(best_version sys-firmware/ipxe)" + ewarn " $(best_version sys-firmware/sgabios)" + ewarn "This might break resume of hibernated guests (started with a different" + ewarn "firmware version) and live migration to/from qemu versions with different" + ewarn "firmware. Please (cold) restart all running guests. For functional" + ewarn "guest migration ensure that all hosts run at least" + ewarn " app-emulation/qemu-${FIRMWARE_ABI_VERSION}." + fi +} + +pkg_info() { + echo "Using:" + echo " $(best_version app-emulation/spice-protocol)" + + if has_version 'sys-firmware/edk2-bin'; then + echo " $(best_version sys-firmware/edk2-bin)" + else + echo " $(best_version sys-firmware/edk2)" + fi + + if has_version 'sys-firmware/seabios-bin'; then + echo " $(best_version sys-firmware/seabios-bin)" + else + echo " $(best_version sys-firmware/seabios)" + fi + + echo " $(best_version sys-firmware/ipxe)" + echo " $(best_version sys-firmware/sgabios)" +} + +pkg_postrm() { + xdg_icon_cache_update + udev_reload +} diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/qemu/qemu-9999.ebuild b/sdk_container/src/third_party/portage-stable/app-emulation/qemu/qemu-9999.ebuild index c3ede67f21b..facd58b4088 100644 --- a/sdk_container/src/third_party/portage-stable/app-emulation/qemu/qemu-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-emulation/qemu/qemu-9999.ebuild @@ -36,8 +36,12 @@ if [[ ${PV} == *9999* ]]; then SRC_URI+=" https://gitlab.com/qemu-project/${proj}/-/archive/${c}/${proj}-${c}.tar.bz2" done else + inherit verify-sig MY_P="${PN}-${PV/_rc/-rc}" - SRC_URI="https://download.qemu.org/${MY_P}.tar.xz" + SRC_URI=" + https://download.qemu.org/${MY_P}.tar.xz + verify-sig? ( https://download.qemu.org/${MY_P}.tar.xz.sig ) + " if [[ ${QEMU_DOCS_PREBUILT} == 1 ]] ; then SRC_URI+=" !doc? ( https://dev.gentoo.org/~${QEMU_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${QEMU_DOCS_VERSION}-docs.tar.xz )" @@ -309,6 +313,11 @@ BDEPEND=" dev-python/pycotap[${PYTHON_USEDEP}] ) " +if [[ ${PV} != 9999 ]]; then + # https://www.qemu.org/download/ + BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-mdroth )" + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/mdroth.asc +fi CDEPEND=" ${ALL_DEPEND//\[static-libs(+)]} ${SOFTMMU_TOOLS_DEPEND//\[static-libs(+)]} @@ -482,6 +491,7 @@ src_unpack() { cd "${S}" || die meson subprojects packagefiles --apply || die else + use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.xz{,.sig} default fi } From dcb52e7d0d42785961ee0469f77a461de54ddbe2 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:26 +0000 Subject: [PATCH 029/243] app-emulation/qemu-guest-agent: Sync with Gentoo It's from Gentoo commit 7ef3a6b521553c0df040eac8bdb87b7d9721792f. Signed-off-by: Flatcar Buildbot --- .../qemu-guest-agent/qemu-guest-agent-10.2.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/qemu-guest-agent/qemu-guest-agent-10.2.2.ebuild b/sdk_container/src/third_party/portage-stable/app-emulation/qemu-guest-agent/qemu-guest-agent-10.2.2.ebuild index a5d0017489f..ee3bef16624 100644 --- a/sdk_container/src/third_party/portage-stable/app-emulation/qemu-guest-agent/qemu-guest-agent-10.2.2.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-emulation/qemu-guest-agent/qemu-guest-agent-10.2.2.ebuild @@ -18,7 +18,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="GPL-2 BSD-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86" RDEPEND="dev-libs/glib" DEPEND="${RDEPEND}" From 467a53babeef394f66f0ee8537fcdf8e2afc8676 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:26 +0000 Subject: [PATCH 030/243] app-emulation/virt-firmware: Sync with Gentoo It's from Gentoo commit cf7999f20100262208fed5df84c4917ad352a5bc. Signed-off-by: Flatcar Buildbot --- .../app-emulation/virt-firmware/Manifest | 2 - .../virt-firmware/virt-firmware-25.10.ebuild | 55 ------------------- .../virt-firmware/virt-firmware-25.12.ebuild | 55 ------------------- ....2.ebuild => virt-firmware-26.2-r1.ebuild} | 1 + 4 files changed, 1 insertion(+), 112 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/virt-firmware-25.10.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/virt-firmware-25.12.ebuild rename sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/{virt-firmware-26.2.ebuild => virt-firmware-26.2-r1.ebuild} (96%) diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/Manifest b/sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/Manifest index 78c1d9c880f..65f512fc443 100644 --- a/sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/Manifest @@ -1,4 +1,2 @@ -DIST virt_firmware-25.10.tar.gz 137685 BLAKE2B d1ab74eae907048549e2129aa256597752c5219110606bd623e0e6f0b90f88dd38226d8b7a992fe05ef49ab8c4ddf3a917184051715ebd6224cdbda4303754a5 SHA512 2fdf609f0ba335d6064cb595c5e4b465b0a148f258f87292f0b82d1aa653f5bfd1f9b851d36f1c46a94fb8be36d6cd6c5c3f5d633e86d34b8f6159186f872908 -DIST virt_firmware-25.12.tar.gz 143352 BLAKE2B f456a444e529ed7abf9fbba4491b56b1b1f76bf9c9d76c3a82e1c3a716b88c952bd494330680a4b21576a792a516e69b74203126dc4bac688e083185f1589924 SHA512 faa2f8abd0f8f633f2c620a2b7fd6ff91809e2a546b01088154e48d5151426f5b7b6134de0325664028419fe50376214b575f9da25095d2522edb814024ff8dc DIST virt_firmware-26.2.tar.gz 143457 BLAKE2B fd0b977539af0cde4059e67e86ddf97c6dcffc3f7b1cf5975d181dd51b698334c8b22b2c6a951da2e39327a0dd43b44d03a05d0ff56be6defb4a48f872ac4e80 SHA512 6e7fa94009da095e15880b6be850b130ea3097394572c01fe0404b6d4bc11117b9ae730ca43408cb02b5ae9dc2671ef5635520dd2c8776bb2b6b68c8246d06c7 DIST virt_firmware-26.5.4.tar.gz 151249 BLAKE2B 05724cb57e33ef4d30cf987bdc7cf71b49be0b32437b27cec5fb43d39fe9fd0456f104da3ecac05e251f8249a974f18286f162f041247de2267436c993864be9 SHA512 5a61d4cf9e4aa025a12eab17f5f61ada197a7fc5c18d1ecdf0a6282d26cec8d261112a88ea24fbcdfd4ef69421667225ad8df1645cd30a1c1c374c8475e5c532 diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/virt-firmware-25.10.ebuild b/sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/virt-firmware-25.10.ebuild deleted file mode 100644 index 3481311f677..00000000000 --- a/sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/virt-firmware-25.10.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..13} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 optfeature pypi systemd - -DESCRIPTION="Tools for ovmf/armvirt firmware volumes" -HOMEPAGE=" - https://gitlab.com/kraxel/virt-firmware - https://pypi.org/project/virt-firmware/ -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" - -RDEPEND=" - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/pefile[${PYTHON_USEDEP}] -" - -# Need systemd-detect-virt -BDEPEND=" - test? ( - sys-apps/systemd - ) -" - -distutils_enable_tests unittest - -python_test() { - eunittest tests -} - -python_install_all() { - distutils-r1_python_install_all - - doman man/*.1 - - doinitd "${FILESDIR}/kernel-bootcfg-boot-successful" - systemd_dounit systemd/kernel-bootcfg-boot-successful.service - - # Use our own provided by sys-kernel/installkernel[efistub,systemd] - #exeinto /usr/lib/kernel/install.d - #doexe systemd/99-uki-uefi-setup.install -} - -pkg_postinst() { - optfeature "automatically updating UEFI configuration on each kernel installation or removal" \ - "sys-kernel/installkernel[systemd,efistub]" -} diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/virt-firmware-25.12.ebuild b/sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/virt-firmware-25.12.ebuild deleted file mode 100644 index 2460c7c17d0..00000000000 --- a/sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/virt-firmware-25.12.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2024-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..14} ) -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 optfeature pypi systemd - -DESCRIPTION="Tools for ovmf/armvirt firmware volumes" -HOMEPAGE=" - https://gitlab.com/kraxel/virt-firmware - https://pypi.org/project/virt-firmware/ -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" - -RDEPEND=" - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/pefile[${PYTHON_USEDEP}] -" - -# Need systemd-detect-virt -BDEPEND=" - test? ( - sys-apps/systemd - ) -" - -distutils_enable_tests unittest - -python_test() { - eunittest tests -} - -python_install_all() { - distutils-r1_python_install_all - - doman man/*.1 - - doinitd "${FILESDIR}/kernel-bootcfg-boot-successful" - systemd_dounit systemd/kernel-bootcfg-boot-successful.service - - # Use our own provided by sys-kernel/installkernel[efistub,systemd] - #exeinto /usr/lib/kernel/install.d - #doexe systemd/99-uki-uefi-setup.install -} - -pkg_postinst() { - optfeature "automatically updating UEFI configuration on each kernel installation or removal" \ - "sys-kernel/installkernel[systemd,efistub]" -} diff --git a/sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/virt-firmware-26.2.ebuild b/sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/virt-firmware-26.2-r1.ebuild similarity index 96% rename from sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/virt-firmware-26.2.ebuild rename to sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/virt-firmware-26.2-r1.ebuild index 2c647c10b8e..222ce47f260 100644 --- a/sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/virt-firmware-26.2.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-emulation/virt-firmware/virt-firmware-26.2-r1.ebuild @@ -21,6 +21,7 @@ KEYWORDS="amd64 arm arm64 ~loong ~riscv x86" RDEPEND=" dev-python/cryptography[${PYTHON_USEDEP}] dev-python/pefile[${PYTHON_USEDEP}] + dev-python/pkg-resources[${PYTHON_USEDEP}] " # Need systemd-detect-virt From 34800e4bfce5aac6fcbaa6cbda27f8722c18259f Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:28 +0000 Subject: [PATCH 031/243] app-eselect/eselect-pinentry: Sync with Gentoo It's from Gentoo commit fe3d10a12e74d44f5531ccf4a62f793da6247839. Signed-off-by: Flatcar Buildbot --- .../eselect-pinentry-0.7.5.ebuild | 19 +++++++++++++++ .../files/pinentry.eselect-0.7.5 | 23 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/app-eselect/eselect-pinentry/eselect-pinentry-0.7.5.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/app-eselect/eselect-pinentry/files/pinentry.eselect-0.7.5 diff --git a/sdk_container/src/third_party/portage-stable/app-eselect/eselect-pinentry/eselect-pinentry-0.7.5.ebuild b/sdk_container/src/third_party/portage-stable/app-eselect/eselect-pinentry/eselect-pinentry-0.7.5.ebuild new file mode 100644 index 00000000000..25a23ca03d2 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-eselect/eselect-pinentry/eselect-pinentry-0.7.5.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Manage /usr/bin/pinentry symlink" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Eselect" +S="${WORKDIR}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +RDEPEND=">=app-eselect/eselect-lib-bin-symlink-0.1.1" + +src_install() { + insinto /usr/share/eselect/modules + newins "${FILESDIR}"/pinentry.eselect-${PV} pinentry.eselect +} diff --git a/sdk_container/src/third_party/portage-stable/app-eselect/eselect-pinentry/files/pinentry.eselect-0.7.5 b/sdk_container/src/third_party/portage-stable/app-eselect/eselect-pinentry/files/pinentry.eselect-0.7.5 new file mode 100644 index 00000000000..5a99321c8c7 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-eselect/eselect-pinentry/files/pinentry.eselect-0.7.5 @@ -0,0 +1,23 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +DESCRIPTION="Manage /usr/bin/pinentry implementation" +MAINTAINER="maintainer-needed@gentoo.org" +VERSION="0.7.5" + +SYMLINK_PATH=/usr/bin/pinentry +SYMLINK_TARGETS=( + pinentry-efl + pinentry-gnome3 + pinentry-qt5 + pinentry-qt6 + pinentry-curses + pinentry-tty + pinentry-emacs + pinentry-tqt + pinentry-bemenu + pinentry-fuzzel +) +SYMLINK_DESCRIPTION='pinentry binary' + +inherit bin-symlink From 2060226070fc4fb8bd8f8330fcf11dd878dda801 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:34 +0000 Subject: [PATCH 032/243] app-misc/jq: Sync with Gentoo It's from Gentoo commit 84a6c51de937aca57fb7daea534b38385a2a10bd. Signed-off-by: Flatcar Buildbot --- .../portage-stable/app-misc/jq/Manifest | 1 + .../app-misc/jq/jq-1.8.2.ebuild | 86 +++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/app-misc/jq/jq-1.8.2.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-misc/jq/Manifest b/sdk_container/src/third_party/portage-stable/app-misc/jq/Manifest index 4e91097584a..f7783d7825e 100644 --- a/sdk_container/src/third_party/portage-stable/app-misc/jq/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-misc/jq/Manifest @@ -1,2 +1,3 @@ DIST jq-1.7.1.gh.tar.gz 1323338 BLAKE2B 17e3b68e23f9a7f1aa8749ede6c0b8fe435990899886f0c96da36d130c17d13609ba7f910321316f0c3b35985360f8cb5e6a3b12caea5e9bc7792e128798f137 SHA512 af9c444e5306423182f467a53acdf45bb8aefa058a47f490ce16395f0aebfb7627e3843f65e96f41cd9d4b72b8ad274ab0bdb061abc6990b1158f86d2256d4ec DIST jq-1.8.1.gh.tar.gz 1409730 BLAKE2B 8a7cad88d62c6ec4388d8859eca2e7acdf0053f1277d61bccf87cdb6eafb69a0a00574c6b0bd5f46a512a3857ca880a9ac5f0732b3ea5e29a17fd67b90e193e7 SHA512 7eece5744008710d6098d2b945b52250184e981ed3b7a66d4e8e1d0484539a281031900fa9dda7e1004a3fcfa8b5be39814d499c66c34707b35962a365d24fde +DIST jq-1.8.2.gh.tar.gz 1440150 BLAKE2B 1f20c8b02aac326dab44bc0222786075705c7a1aee2d7e52fd085301d65b26d490c4fa35ee88147a45f9672febf552dc1089cfbb470c93004dcc94898c84f1ab SHA512 08915a125694a68319728b21c754cd00a9e982d9a83c2b78f268eb1011452fda535bcecaf7008f231662f38ba0ab274aeb7be0d7b89e46003ab2d7143da91be5 diff --git a/sdk_container/src/third_party/portage-stable/app-misc/jq/jq-1.8.2.ebuild b/sdk_container/src/third_party/portage-stable/app-misc/jq/jq-1.8.2.ebuild new file mode 100644 index 00000000000..7a9e8abc520 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-misc/jq/jq-1.8.2.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +MY_PV="${PV/_/}" +MY_P="${PN}-${MY_PV}" +DESCRIPTION="A lightweight and flexible command-line JSON processor" +HOMEPAGE="https://stedolan.github.io/jq/" +SRC_URI="https://github.com/jqlang/jq/archive/refs/tags/${MY_P}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${PN}-${MY_P}" + +LICENSE="MIT icu CC-BY-3.0" +SLOT="0/1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="+oniguruma static-libs test" + +ONIGURUMA_MINPV='>=dev-libs/oniguruma-6.9.10' # Keep this in sync with bundled vendor/oniguruma/ +DEPEND=" + >=sys-devel/bison-3.0 + app-alternatives/lex + oniguruma? ( ${ONIGURUMA_MINPV}:=[static-libs?] ) +" +RDEPEND=" + !static-libs? ( + oniguruma? ( ${ONIGURUMA_MINPV}[static-libs?] ) + ) +" +PATCHES=( + "${FILESDIR}"/jq-1.6-r3-never-bundle-oniguruma.patch +) + +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( oniguruma )" + +src_prepare() { + sed -e '/^dist_doc_DATA/d; s:-Wextra ::' -i Makefile.am || die + printf "#!/bin/sh\\nprintf '%s'\\n\n" "${MY_PV}" > scripts/version || die + + # jq-1.6-r3-never-bundle-oniguruma makes sure we build with the system oniguruma, + # but the bundled copy of oniguruma still gets eautoreconf'd since it + # exists; save the cycles by nuking it. + sed -e '/vendor\/oniguruma/d' -i Makefile.am || die + rm -rf "${S}"/vendor/oniguruma || die + + default + + sed -i "s/\[jq_version\]/[${MY_PV}]/" configure.ac || die + + eautoreconf +} + +src_configure() { + # TODO: Drop on next release > 1.7.1 + # bug #944014 + append-cflags -std=gnu17 + + local econfargs=( + # don't try to rebuild docs + --disable-docs + --enable-valgrind=no + --disable-maintainer-mode + $(use_enable static-libs static) + $(use_with oniguruma oniguruma yes) + ) + econf "${econfargs[@]}" +} + +src_test() { + if ! LD_LIBRARY_PATH="${S}/.libs" nonfatal emake check; then + if [[ -r "${S}/test-suite.log" ]]; then + eerror "Tests failed, outputting testsuite log" + cat "${S}/test-suite.log" + fi + die "Tests failed" + fi +} + +src_install() { + local DOCS=( AUTHORS NEWS.md README.md SECURITY.md ) + default + + use static-libs || { find "${D}" -name '*.la' -delete || die; } +} From 018a2c11dde5b54705c86bf4c02a8f8185f9d9d7 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:34 +0000 Subject: [PATCH 033/243] app-misc/mime-types: Sync with Gentoo It's from Gentoo commit 8c40df5e056ac099f023d42358c4930ea2cef184. Signed-off-by: Flatcar Buildbot --- .../portage-stable/app-misc/mime-types/Manifest | 2 +- .../portage-stable/app-misc/mime-types/metadata.xml | 3 +++ .../app-misc/mime-types/mime-types-2.1.54.ebuild | 9 ++++----- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/app-misc/mime-types/Manifest b/sdk_container/src/third_party/portage-stable/app-misc/mime-types/Manifest index 7bce0a3c768..2cfa605ef80 100644 --- a/sdk_container/src/third_party/portage-stable/app-misc/mime-types/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-misc/mime-types/Manifest @@ -1 +1 @@ -DIST mailcap-r2-1-54.tar.gz 28518 BLAKE2B d56fcd5d662bc7feeb20b310f7582e4b670d400e1059371bfce8a5e36a69ea24675c6016b7ed6bde9ba8d078a0ad10281ede3f7060f063302dba2ec7da707b5d SHA512 6c68df26caac326ce14630e2cec582ab88cda27710155f336dbab4681e76a94d2818452ed39f2e9edd2d960603b783a6e801da6e7c400bb708b910e61ed66b6e +DIST r2-1-54.tar.gz 28851 BLAKE2B 4630c6d6ebb230b131a3206fb4acbc19e1e73114e2f89a11d1165d1df04863012ee42281196629d9fe7cd43ebf105c3b2bae7df544307e509bddd4ac419730a4 SHA512 cd99fa9435a0f8172662f57a205b1d82b10aa57187fba322508f9093a3472f7dfb793b3caa3411d90116c793571a4e4844f46ed201460102d4774f240b6cd793 diff --git a/sdk_container/src/third_party/portage-stable/app-misc/mime-types/metadata.xml b/sdk_container/src/third_party/portage-stable/app-misc/mime-types/metadata.xml index 902d856ebac..a765c22f308 100644 --- a/sdk_container/src/third_party/portage-stable/app-misc/mime-types/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/app-misc/mime-types/metadata.xml @@ -1,6 +1,9 @@ + + InfrastructureServices/mailcap + eras@gentoo.org Eray Aslan diff --git a/sdk_container/src/third_party/portage-stable/app-misc/mime-types/mime-types-2.1.54.ebuild b/sdk_container/src/third_party/portage-stable/app-misc/mime-types/mime-types-2.1.54.ebuild index 7a56cf88cd7..d81c4d5ddc5 100644 --- a/sdk_container/src/third_party/portage-stable/app-misc/mime-types/mime-types-2.1.54.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-misc/mime-types/mime-types-2.1.54.ebuild @@ -1,20 +1,19 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 MY_PV=${PV//./-} DESCRIPTION="Provides /etc/mime.types file" -HOMEPAGE="https://pagure.io/mailcap" -SRC_URI="https://pagure.io/mailcap/archive/r${MY_PV}/mailcap-r${MY_PV}.tar.gz" +HOMEPAGE="https://github.com/InfrastructureServices/mailcap" +SRC_URI="https://github.com/InfrastructureServices/mailcap/archive/refs/tags/r${MY_PV}.tar.gz" +S="${WORKDIR}/mailcap-r${MY_PV}" LICENSE="public-domain MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" IUSE="nginx" -S="${WORKDIR}/mailcap-r${MY_PV}" - src_install() { insinto /etc doins mime.types From aacc24f5ba2d71e221f5b0452d0fae79aaca09a2 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:36 +0000 Subject: [PATCH 034/243] app-portage/gentoolkit: Sync with Gentoo It's from Gentoo commit 8261254dc766685ec10d0ba159b198f97a13f0e9. Signed-off-by: Flatcar Buildbot --- .../app-portage/gentoolkit/Manifest | 3 + .../gentoolkit/gentoolkit-0.7.4.ebuild | 130 ++++++++++++++++++ .../gentoolkit/gentoolkit-0.7.5.ebuild | 130 ++++++++++++++++++ .../gentoolkit/gentoolkit-0.7.6.ebuild | 130 ++++++++++++++++++ 4 files changed, 393 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.7.4.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.7.5.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.7.6.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/Manifest b/sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/Manifest index 5672ad21410..f42f47ca093 100644 --- a/sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/Manifest @@ -1 +1,4 @@ DIST gentoolkit-0.7.2.tar.bz2 3190909 BLAKE2B b8646c98858cd4e7c1c4dee5656319fd30b2668ea0b6739e327b94fc9955bb0fd8591769df0168fae46a98e28a96d1a95ff28fa35fe4a146cb100c554cd8a55a SHA512 9afe0e249bcee9f184cf5e691dd841756d00ac4ea63de223d89bc6a4a457f30a7def4390afe2e3f6f83425828f4c22086d381930e35b161000dea4c7146d5cd2 +DIST gentoolkit-0.7.4.tar.bz2 3191147 BLAKE2B 7bc7bb819b277269bb0d714d74efe522beee0e1c7a09c818007847bfb5d26006178cf4f9a53da11d7dfb217683752769d53b269711d267da61261d6f997b5623 SHA512 d0f36205210d2a1402d64756983a021465943924657e433120c11c137f18b6c6c42c9a074d75f6d60f1ba0831f1f82feaaeb293086190b224ba6ed9f970e3659 +DIST gentoolkit-0.7.5.tar.bz2 3192126 BLAKE2B 028d6f0c441babc5a49c64c16642d03ffe2863403ee37944b6787b7cccb7f6c25fac2a2a410974fd87ac8552c2891bff8401c332fba9d7bcdcf9c226e6be57eb SHA512 9c08ac0a58f43c3d7aea6867f2aafbeef87bda70d5e26b4c47e6088de38f00604097b943f43bb7a2e79354dc30e642a7f81fb16e1234684dd7019532b2060a6b +DIST gentoolkit-0.7.6.tar.bz2 3191813 BLAKE2B a56c575ab2026abe2ace0b6fe7c411d892b8aeb8722ecac929ccfe8da141683c630c490d35bedcfe0cf67e0fe071a2f45b7b7731b052a34b47f798c10102f240 SHA512 723611caea039272870b928a8fb3c2681fbde68ace09049d2f1b44fb9181b4ceb706593b9e6c7b4b465393e80e3582791c384d79b8622423bbc676b3d28a6a44 diff --git a/sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.7.4.ebuild b/sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.7.4.ebuild new file mode 100644 index 00000000000..89f1792d964 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.7.4.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..14} ) +PYTHON_REQ_USE="xml(+),threads(+)" + +inherit meson python-r1 tmpfiles + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/gentoolkit.git + https://github.com/gentoo/gentoolkit + " + inherit git-r3 +else + SRC_URI="https://gitweb.gentoo.org/proj/gentoolkit.git/snapshot/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +fi + +DESCRIPTION="Collection of administration scripts for Gentoo" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools" + +LICENSE="GPL-2" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +IUSE="test" +RESTRICT="!test? ( test )" + +# Need newer Portage for eclean-pkg API, bug #900224 +DEPEND=" + >=sys-apps/portage-3.0.57[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} + app-alternatives/awk + sys-apps/gentoo-functions +" + +# setuptools is still needed as a workaround for Python 3.12+ for now. +# https://github.com/mesonbuild/meson/issues/7702 +# +# >=meson-1.2.1-r1 for bug #912051 +BDEPEND=" + ${PYTHON_DEPS} + >=dev-build/meson-1.2.1-r1 + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ' python3_12) + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + default + if use prefix-guest ; then + # use correct repo name, bug #632223 + sed -i \ + -e "/load_profile_data/s/repo='gentoo'/repo='gentoo_prefix'/" \ + pym/gentoolkit/profile.py || die + fi +} + +src_configure() { + local code_only=false + python_foreach_impl my_src_configure +} + +my_src_configure() { + local emesonargs=( + -Dcode-only=${code_only} + $(meson_use test tests) + -Deprefix="${EPREFIX}" + -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" + ) + + meson_src_configure + code_only=true +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + python_foreach_impl epytest +} + +src_install() { + python_foreach_impl my_src_install + dotmpfiles data/tmpfiles.d/revdep-rebuild.conf + + local scripts + mapfile -t scripts < <(awk '/^#!.*python/ {print FILENAME} {nextfile}' "${ED}"/usr/bin/* || die) + python_replicate_script "${scripts[@]}" +} + +my_src_install() { + local pydirs=( + "${D}$(python_get_sitedir)" + ) + + meson_src_install + python_optimize "${pydirs[@]}" +} + +pkg_postinst() { + tmpfiles_process revdep-rebuild.conf + + # Only show the elog information on a new install + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog + elog "For further information on gentoolkit, please read the gentoolkit" + elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit" + elog + elog "Another alternative to equery is app-portage/portage-utils" + elog + elog "Additional tools that may be of interest:" + elog + elog " app-admin/eclean-kernel" + elog " app-portage/diffmask" + elog " app-portage/flaggie" + elog " app-portage/portpeek" + elog " app-portage/smart-live-rebuild" + fi +} diff --git a/sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.7.5.ebuild b/sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.7.5.ebuild new file mode 100644 index 00000000000..89f1792d964 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.7.5.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..14} ) +PYTHON_REQ_USE="xml(+),threads(+)" + +inherit meson python-r1 tmpfiles + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/gentoolkit.git + https://github.com/gentoo/gentoolkit + " + inherit git-r3 +else + SRC_URI="https://gitweb.gentoo.org/proj/gentoolkit.git/snapshot/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +fi + +DESCRIPTION="Collection of administration scripts for Gentoo" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools" + +LICENSE="GPL-2" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +IUSE="test" +RESTRICT="!test? ( test )" + +# Need newer Portage for eclean-pkg API, bug #900224 +DEPEND=" + >=sys-apps/portage-3.0.57[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} + app-alternatives/awk + sys-apps/gentoo-functions +" + +# setuptools is still needed as a workaround for Python 3.12+ for now. +# https://github.com/mesonbuild/meson/issues/7702 +# +# >=meson-1.2.1-r1 for bug #912051 +BDEPEND=" + ${PYTHON_DEPS} + >=dev-build/meson-1.2.1-r1 + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ' python3_12) + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + default + if use prefix-guest ; then + # use correct repo name, bug #632223 + sed -i \ + -e "/load_profile_data/s/repo='gentoo'/repo='gentoo_prefix'/" \ + pym/gentoolkit/profile.py || die + fi +} + +src_configure() { + local code_only=false + python_foreach_impl my_src_configure +} + +my_src_configure() { + local emesonargs=( + -Dcode-only=${code_only} + $(meson_use test tests) + -Deprefix="${EPREFIX}" + -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" + ) + + meson_src_configure + code_only=true +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + python_foreach_impl epytest +} + +src_install() { + python_foreach_impl my_src_install + dotmpfiles data/tmpfiles.d/revdep-rebuild.conf + + local scripts + mapfile -t scripts < <(awk '/^#!.*python/ {print FILENAME} {nextfile}' "${ED}"/usr/bin/* || die) + python_replicate_script "${scripts[@]}" +} + +my_src_install() { + local pydirs=( + "${D}$(python_get_sitedir)" + ) + + meson_src_install + python_optimize "${pydirs[@]}" +} + +pkg_postinst() { + tmpfiles_process revdep-rebuild.conf + + # Only show the elog information on a new install + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog + elog "For further information on gentoolkit, please read the gentoolkit" + elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit" + elog + elog "Another alternative to equery is app-portage/portage-utils" + elog + elog "Additional tools that may be of interest:" + elog + elog " app-admin/eclean-kernel" + elog " app-portage/diffmask" + elog " app-portage/flaggie" + elog " app-portage/portpeek" + elog " app-portage/smart-live-rebuild" + fi +} diff --git a/sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.7.6.ebuild b/sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.7.6.ebuild new file mode 100644 index 00000000000..89f1792d964 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.7.6.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..14} ) +PYTHON_REQ_USE="xml(+),threads(+)" + +inherit meson python-r1 tmpfiles + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/gentoolkit.git + https://github.com/gentoo/gentoolkit + " + inherit git-r3 +else + SRC_URI="https://gitweb.gentoo.org/proj/gentoolkit.git/snapshot/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +fi + +DESCRIPTION="Collection of administration scripts for Gentoo" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools" + +LICENSE="GPL-2" +SLOT="0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +IUSE="test" +RESTRICT="!test? ( test )" + +# Need newer Portage for eclean-pkg API, bug #900224 +DEPEND=" + >=sys-apps/portage-3.0.57[${PYTHON_USEDEP}] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} + app-alternatives/awk + sys-apps/gentoo-functions +" + +# setuptools is still needed as a workaround for Python 3.12+ for now. +# https://github.com/mesonbuild/meson/issues/7702 +# +# >=meson-1.2.1-r1 for bug #912051 +BDEPEND=" + ${PYTHON_DEPS} + >=dev-build/meson-1.2.1-r1 + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_USEDEP}] + ' python3_12) + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +src_prepare() { + default + if use prefix-guest ; then + # use correct repo name, bug #632223 + sed -i \ + -e "/load_profile_data/s/repo='gentoo'/repo='gentoo_prefix'/" \ + pym/gentoolkit/profile.py || die + fi +} + +src_configure() { + local code_only=false + python_foreach_impl my_src_configure +} + +my_src_configure() { + local emesonargs=( + -Dcode-only=${code_only} + $(meson_use test tests) + -Deprefix="${EPREFIX}" + -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" + ) + + meson_src_configure + code_only=true +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + python_foreach_impl epytest +} + +src_install() { + python_foreach_impl my_src_install + dotmpfiles data/tmpfiles.d/revdep-rebuild.conf + + local scripts + mapfile -t scripts < <(awk '/^#!.*python/ {print FILENAME} {nextfile}' "${ED}"/usr/bin/* || die) + python_replicate_script "${scripts[@]}" +} + +my_src_install() { + local pydirs=( + "${D}$(python_get_sitedir)" + ) + + meson_src_install + python_optimize "${pydirs[@]}" +} + +pkg_postinst() { + tmpfiles_process revdep-rebuild.conf + + # Only show the elog information on a new install + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog + elog "For further information on gentoolkit, please read the gentoolkit" + elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit" + elog + elog "Another alternative to equery is app-portage/portage-utils" + elog + elog "Additional tools that may be of interest:" + elog + elog " app-admin/eclean-kernel" + elog " app-portage/diffmask" + elog " app-portage/flaggie" + elog " app-portage/portpeek" + elog " app-portage/smart-live-rebuild" + fi +} From 120342c362e0e15db1bc0caa35cefadec81fcb65 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:36 +0000 Subject: [PATCH 035/243] app-portage/getuto: Sync with Gentoo It's from Gentoo commit 1b163e66acc7d30d3b1acf55dc4ee4c6e549f32a. Signed-off-by: Flatcar Buildbot --- .../portage-stable/app-portage/getuto/Manifest | 2 +- .../app-portage/getuto/getuto-1.19.1.ebuild | 2 +- .../getuto/{getuto-1.15-r1.ebuild => getuto-2.0.ebuild} | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) rename sdk_container/src/third_party/portage-stable/app-portage/getuto/{getuto-1.15-r1.ebuild => getuto-2.0.ebuild} (89%) diff --git a/sdk_container/src/third_party/portage-stable/app-portage/getuto/Manifest b/sdk_container/src/third_party/portage-stable/app-portage/getuto/Manifest index 86c50e0efbc..ce466a0284d 100644 --- a/sdk_container/src/third_party/portage-stable/app-portage/getuto/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-portage/getuto/Manifest @@ -1,4 +1,4 @@ -DIST getuto-1.15.tar.gz 10749 BLAKE2B 535a400a2ebdf2cee2d00466557863a1d1ab5f409c3fa12e8d0bb08379331d5684ba9f9aed5da67e761b9373aa8d675810ff7b803a993a606982bfc56cbe9195 SHA512 98f6c8900fa4469fb76bae42712e8457a3cf07b8c0ca99aa24ece2691677a06b6952b714d3a04f6f102880c5dd7fe390352b4474cdd39647d88cb7d7b7c776c7 DIST getuto-1.18.tar.gz 11096 BLAKE2B dc0bf33459f3fab1894cd40fb5dcd749d38790a65e5a5476460903229a373284e6246bae4ad13f2fca44cd9d545e11d70554c4635e07bf95941a3182e73b2944 SHA512 1886dad9ff361377e9f1fc392569e2227c71af9636b1bc333f4f1c7e322328e6dda8384508f129c79e0e6588180d0d25015c3df03e2749d63b5009adc6eb1a30 DIST getuto-1.19.1.tar.gz 11149 BLAKE2B 8f3ea5378ae1741b7608457f7451d6a5b18b2752842a62d728690d33212746df81c595a068ddc1aad6f346f30497018a6aec09876563940333965c3fd4757505 SHA512 86dd4c53dffcb079825c51783a593d0fbed76134446fdd674fc98ab5f1beef3429c05ed2003b926efcaed29f93e0237a621648a738d64bce6b97f579eacf3229 +DIST getuto-2.0.tar.gz 11207 BLAKE2B 520a1f8ee7d38d5613654aee143a374660575dc25d7e2dea247108e66a4e562eda8ac41ebb0945e4386f1931fc296f506bc312cab92de89cf7978bcae6347fff SHA512 001c19870e51e13f3acded0cd421236b114e30e67ae82748c9281a65bd3062cf4d448aac61ebb0708b8fe9860c949f5ac29e9fb43c4035216f2af46a40e6f273 DIST getuto-23.0-libc-1-r1-1.gpkg.tar 20480 BLAKE2B a6f9284131690c39ff63a6046b19478a9f460d4115b1bd306d2996b631026fe9c4c4b2e3be23f30d2668794302d2a1686680738dd052a53e2d4c3ecb2a513070 SHA512 a692817ea63fb69c7cbb5e32fcba21e78bd87dd4e670d4c1ac9105e390ef63ea0f3660464e573adb28320b0a9cb0a78c52fe895ecdfd62a24986b1d79d2c692e diff --git a/sdk_container/src/third_party/portage-stable/app-portage/getuto/getuto-1.19.1.ebuild b/sdk_container/src/third_party/portage-stable/app-portage/getuto/getuto-1.19.1.ebuild index d3a88caccdf..c806519f761 100644 --- a/sdk_container/src/third_party/portage-stable/app-portage/getuto/getuto-1.19.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-portage/getuto/getuto-1.19.1.ebuild @@ -15,7 +15,7 @@ else " S=${WORKDIR}/${PN}-${P} - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" fi SRC_URI+=" test? ( https://mirror.bytemark.co.uk/gentoo/releases/amd64/binpackages/23.0/x86-64/virtual/libc/libc-1-r1-1.gpkg.tar -> ${PN}-23.0-libc-1-r1-1.gpkg.tar )" diff --git a/sdk_container/src/third_party/portage-stable/app-portage/getuto/getuto-1.15-r1.ebuild b/sdk_container/src/third_party/portage-stable/app-portage/getuto/getuto-2.0.ebuild similarity index 89% rename from sdk_container/src/third_party/portage-stable/app-portage/getuto/getuto-1.15-r1.ebuild rename to sdk_container/src/third_party/portage-stable/app-portage/getuto/getuto-2.0.ebuild index e76ca23e1a8..c806519f761 100644 --- a/sdk_container/src/third_party/portage-stable/app-portage/getuto/getuto-1.15-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-portage/getuto/getuto-2.0.ebuild @@ -50,6 +50,14 @@ src_unpack() { fi } +src_test() { + # The default portage tempdir is too long for AF_UNIX sockets + local -x TMPDIR + TMPDIR="$(mktemp -d --tmpdir=/tmp ${PF}-XXX || die)" + + default +} + src_install() { dobin getuto } From ba3e07cb8eec37abeba62a653e8c85be391f2be8 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:37 +0000 Subject: [PATCH 036/243] app-shells/bash: Sync with Gentoo It's from Gentoo commit 90d1bd0d2be91a8f9f0198c54757d6fa08f9cfec. Signed-off-by: Flatcar Buildbot --- .../portage-stable/app-shells/bash/Manifest | 12 + .../app-shells/bash/bash-2.05b_p13.ebuild | 3 +- .../app-shells/bash/bash-3.0_p22.ebuild | 3 +- .../app-shells/bash/bash-3.1_p23.ebuild | 3 +- .../app-shells/bash/bash-3.2_p57.ebuild | 3 +- .../app-shells/bash/bash-4.0_p44.ebuild | 3 +- .../app-shells/bash/bash-4.1_p17.ebuild | 3 +- .../app-shells/bash/bash-4.2_p53.ebuild | 3 +- .../app-shells/bash/bash-4.3_p48-r2.ebuild | 3 +- .../app-shells/bash/bash-4.4_p23-r2.ebuild | 3 +- .../app-shells/bash/bash-5.0_p18-r3.ebuild | 3 +- .../app-shells/bash/bash-5.1_p16-r14.ebuild | 3 +- .../app-shells/bash/bash-5.2_p37-r5.ebuild | 1 + .../app-shells/bash/bash-5.3_p12.ebuild | 486 ++++++++++++++++++ .../app-shells/bash/bash-5.3_p15.ebuild | 486 ++++++++++++++++++ .../app-shells/bash/bash-5.3_p9-r1.ebuild | 1 + .../app-shells/bash/bash-5.3_p9-r2.ebuild | 3 +- .../app-shells/bash/bash-5.3_p9.ebuild | 1 + .../bash/bash-5.4_alpha_pre20251202-r1.ebuild | 1 + .../app-shells/bash/bash-9999.ebuild | 1 + 20 files changed, 1013 insertions(+), 12 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p12.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p15.ebuild diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/Manifest b/sdk_container/src/third_party/portage-stable/app-shells/bash/Manifest index 332795ab8e8..b9a7f261952 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/Manifest +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/Manifest @@ -467,3 +467,15 @@ DIST bash53-008 5717 BLAKE2B 7ebe5ac77d3697da01ad7beb88a8fdaeac3ac2fb671cc5151ce DIST bash53-008.sig 95 BLAKE2B 729bf597066d09ebe386832df6717c785333e05d03b14fa073949cf9404450b777bb0f63dcea47909fbcd20bdfa13b82b9c673ab53771e11347f7231820f6bfb SHA512 21e796bcdd25bdf2bd70768d93a2cb8a53dc5f070168bfbf97fc9a4312a710b422ac38cbe5925669a8e8abfebe22ce44a14a1aa7ce1770e91ad8148d74391660 DIST bash53-009 2468 BLAKE2B 09ddf6b605d409142a4107bd52c8b48a91a225d65b867b5074c8b5359d0b1012d2f50e54d1d5636b3413431cf4840d6bd34f9c84f062f3ead96eeaf912127532 SHA512 07f37cee118e510ae58ea408f9d97b942017e1378532d4e3cd5a4d7405994ddadaba5d3ddb4bbda6b375760967faa51add7f46914ba919a27c14e7036f64f3be DIST bash53-009.sig 95 BLAKE2B dcbdd9e7646ff83d94f3b5fa5d26cc9221871b6e0b95132516ca01de8a802001d6df1b5b55e8f3a9363ec0712a74bc1f73861713e8555d32dcd566bbcbad28c6 SHA512 f20bb74e3d7074425387a65678f0d4c28cedf48065a857c1b4c59ae74195f41937ea780919174945d9af5e4b83ccb3bfbfa2c4e2561a8a62f60129d79a28aefd +DIST bash53-010 1457 BLAKE2B 0ca1df76a06c59dc773e603930747000cfa249219adb79cecb173e36986ccd2b2f49ced66702abbcec25ace05bafc109e23565cd19a202ce05840516d7c3aa70 SHA512 976e23a734fbc38b8bf705b36d74c1861e5d69e3f3fbde683210ad93b1c14f59c014b3fcd4aea0b0f5b1f35bc23770abb5a741a7a25a2081816ee22da7bdedad +DIST bash53-010.sig 123 BLAKE2B eed882a0462cf09f140344b0c979b17fcf9c7dc14e8e256675c8b9b091a14ee1b92ddadfcdd30fdff5aeb567c9d7fa520de7e4681936c9cd4a3eb0f1391a8004 SHA512 5d1949733eb875f129560ae50802a82645e833437b8f7f5b3f2d8ba1e4c3244c5ddf3d04964966089567ee4ec6504afd69f44acfc809d20a95da35364d77d7c9 +DIST bash53-011 2251 BLAKE2B 21fe0e08c06257ea415c4ff697a44251460eb636667300cbb3946c77bbbdb67c667fd20bd561bb7635ee3917b13d0860234c6c159d786542e8403e7cedeba986 SHA512 10da4ad156c83a18ce023845339399fd60f627292af15345612c88764a98259231f7f3a75f9d7820beea34ba6b25cb151d2abca8ce871d07e29e32dcee8adb64 +DIST bash53-011.sig 123 BLAKE2B e857b08c4f76d03f7ee3b0a6f4f5186621b81dfa5ed82b656ec6f3b559173abb4e800013c9e29c84e836128fc5ff6cafe0507aabce58e019db3dfa5da2f4c075 SHA512 27b9b25e5d81976b45b88a59d6731adbf18f00c539197a47a4f73651e14baa9a70b14602cace84bcb6cd1515159c88868bec338c15ad11e973ca8da56d565a4d +DIST bash53-012 2378 BLAKE2B bb3e4ef57170185d3e0be91211632cb5c9a776a71848d2b44a13982bc91f68c2f07ed0aa52b377004f1b872a2b38e5292970d738bdda13fffcd0120c77c4042d SHA512 e178cd27f1db5d7607ec90bb4305059d996cf95486a1e5e3b4d76f37811a0320433a2a2900e50c5704b199fae946280edb50daedb8ab8aabed9ec83dc2540d2b +DIST bash53-012.sig 123 BLAKE2B 14d13fd1abf139f8779d6ef401882274d0e2b57eea155ec617c5d76f692bdd0787ad0b41761bb5369bf22088110cf4a070a5a2e41fc0c932bf9bdbfe526010cd SHA512 53660adcbca8ed207aa3461524e2dced62f5a9c32f664243b33bbd08d22d5bd64f3ca16c5d40cb9ffe6244a07662426c2cc65840069a4eeca0288796ae505c0a +DIST bash53-013 1467 BLAKE2B 133ee6faf3e62fa5f8b99aafef114fc2038dfa96bad769bf9ab2f7129d5d52f19d7d3ca1b3e7ac1d12c883ed276ac06b832c61f5aea134de184a6e3bb95cf4fa SHA512 a973b7d9c37dc1b271fe1efa3afe3b700c1bebbf9f72e6e4e6a72a8d1f50f7875d82ee26af335e26d20883376d89c78f14b1901a0a70a8f9a9b2418df40f71fc +DIST bash53-013.sig 123 BLAKE2B 952840295e69e6f127f4c27719365bf56fb37568cad2d7de0eca3840a4f342fe675753689014e5d305687a1b2f46ddc1b8ce334766fe961f7032627b4adca834 SHA512 6754bba760962601440ed82d798e082073528b69408c598af9b1e523e3454b363a9d03067ade033613d9a2fb7baaf94856ce6e2761af81898a95f028bc18a99a +DIST bash53-014 2229 BLAKE2B cb525fe154e792c467e06f0d930a09466f6f3cf5a688bf13abd7bbb64410f93f6c797e186609f9540c64355d5fd78d0be4473348d948907284bf631f2b60a381 SHA512 7beb4a1c39b126189a94deb12d5065b571196f27abdd8ae9c9b340ffccc1f52ed9fec31a475b72fed661097d081b1a93d088fabe53c45c8b2cc286b831c16977 +DIST bash53-014.sig 123 BLAKE2B 844560e7c4e1cc3335c1abe93391488cafa3338c69f67e51f49ce49cecdabf03be5c9e2d6c8b31b0dab2a52558f8ba5cde33841bba4b7a8c5688b0ca6d812e57 SHA512 bbf798db784109068d8fdc9e4e0bef4f6d12449b92efece20b157442bc959d39a595fb567784ef77b9cae9f1cd93204c49a4e163ca1b84408dbcf1b3eb25c24a +DIST bash53-015 2151 BLAKE2B 5d333c73b891910df4bf13c28fa0cc493dcadadb5c51a240501c5ab450b83673d75baece5c8112b937520cacfc726248ede1d30dba6b60075b88408b585b9f3f SHA512 812fbffd1b755cc9bbf730a4632f68a573351c4eeb5a4f495fa8f2f4dd7dbe1587dd22aed0f9c4d5c941130489ecc3def96068c77cc142680326ba8785862432 +DIST bash53-015.sig 123 BLAKE2B 5e6c7ca967594097aef625a9146654867715dd850ca2116d46a0d3f5f31c8fbd0028c02d6b0dc9be9014710762f9a28506d8bbd6597c113b8bcd341d98e9a2c0 SHA512 33802e00732d4846c83da5fe178d5efb1f140adab510ff2d8135c70ee106e1204bffe7176ed0c244c870084c527ae76921793ace6ad80c7900662ccbd5d2ed07 diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-2.05b_p13.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-2.05b_p13.ebuild index 5e19cc14527..d0e2388f484 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-2.05b_p13.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-2.05b_p13.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -103,6 +103,7 @@ src_configure() { append-cflags $(test-flags-CC -std=gnu17) if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" fi diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-3.0_p22.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-3.0_p22.ebuild index 25a9bd78710..b13a7f90923 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-3.0_p22.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-3.0_p22.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -108,6 +108,7 @@ src_configure() { append-cflags $(test-flags-CC -std=gnu17) if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" fi diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-3.1_p23.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-3.1_p23.ebuild index 6d014e552e1..e5e83cf3228 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-3.1_p23.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-3.1_p23.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -103,6 +103,7 @@ src_configure() { append-cflags $(test-flags-CC -std=gnu17) if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" fi diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-3.2_p57.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-3.2_p57.ebuild index 9a3390de15c..b85a5e40f32 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-3.2_p57.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-3.2_p57.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -105,6 +105,7 @@ src_configure() { append-cflags $(test-flags-CC -std=gnu17) if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" fi diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.0_p44.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.0_p44.ebuild index 06f65b1bcc9..a472a4bde92 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.0_p44.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.0_p44.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -99,6 +99,7 @@ src_configure() { append-cflags $(test-flags-CC -std=gnu17) if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" fi diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.1_p17.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.1_p17.ebuild index e5e57031ebb..92f92801fd8 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.1_p17.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.1_p17.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -94,6 +94,7 @@ src_configure() { append-cflags $(test-flags-CC -std=gnu17) if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" fi diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.2_p53.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.2_p53.ebuild index 130ea1f0213..8edf46c14e8 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.2_p53.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.2_p53.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -106,6 +106,7 @@ src_configure() { append-cflags $(test-flags-CC -std=gnu17) if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" fi diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.3_p48-r2.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.3_p48-r2.ebuild index 959a910e0bf..c5977db06f7 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.3_p48-r2.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.3_p48-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -114,6 +114,7 @@ src_configure() { append-cflags $(test-flags-CC -std=gnu17) if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" fi diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.4_p23-r2.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.4_p23-r2.ebuild index 76fe9c20294..1808df0bd02 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.4_p23-r2.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-4.4_p23-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -124,6 +124,7 @@ src_configure() { append-cflags $(test-flags-CC -std=gnu17) if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" fi diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.0_p18-r3.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.0_p18-r3.ebuild index 4be5c744f32..79330f9b0ce 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.0_p18-r3.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.0_p18-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -128,6 +128,7 @@ src_configure() { append-cflags $(test-flags-CC -std=gnu89) if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" fi diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.1_p16-r14.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.1_p16-r14.ebuild index 8e3559b3a0a..49354825bf1 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.1_p16-r14.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.1_p16-r14.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -178,6 +178,7 @@ src_configure() { append-cflags $(test-flags-CC -std=gnu17) if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" fi diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.2_p37-r5.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.2_p37-r5.ebuild index daa46acf601..7454b39a463 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.2_p37-r5.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.2_p37-r5.ebuild @@ -195,6 +195,7 @@ src_configure() { append-cflags $(test-flags-CC -std=gnu17) if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" fi diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p12.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p12.ebuild new file mode 100644 index 00000000000..214a8bf8bc0 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p12.ebuild @@ -0,0 +1,486 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/chetramey.asc +inherit flag-o-matic toolchain-funcs prefix verify-sig + +# Uncomment if we have a patchset. +#GENTOO_PATCH_DEV="sam" +#GENTOO_PATCH_VER="${PV}" + +MY_PV=${PV/_p*} +MY_PV=${MY_PV/_/-} +MY_P=${PN}-${MY_PV} +MY_PATCHES=() + +# Determine the patchlevel. See https://ftp.gnu.org/gnu/bash/bash-5.3-patches/. +case ${PV} in + 9999|*_alpha*|*_beta*|*_rc*) + # Set a negative patchlevel to indicate that it's a pre-release. + PLEVEL=-1 + if [[ ${PV} =~ _pre[0-9]{8}$ ]]; then + BASH_COMMIT= + fi + ;; + *_p*) + PLEVEL=${PV##*_p} + ;; + *) + PLEVEL=0 +esac + +# The version of readline this bash normally ships with. Note that we only use +# the bundled copy of readline for pre-releases. +READLINE_VER="8.3" + +DESCRIPTION="The standard GNU Bourne again shell" +HOMEPAGE="https://tiswww.case.edu/php/chet/bash/bashtop.html https://git.savannah.gnu.org/cgit/bash.git" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://git.savannah.gnu.org/git/bash.git" + EGIT_BRANCH=devel + inherit git-r3 +elif (( PLEVEL < 0 )) && [[ ${BASH_COMMIT} ]]; then + # It can be useful to have snapshots in the pre-release period once + # the first alpha is out, as various bugs get reported and fixed from + # the alpha, and the next pre-release is usually quite far away. + # + # i.e. if it's worth packaging the alpha, it's worth packaging a followup. + SRC_URI="https://git.savannah.gnu.org/cgit/bash.git/snapshot/bash-${BASH_COMMIT}.tar.gz -> ${P}-${BASH_COMMIT}.tar.gz" + S=${WORKDIR}/${PN}-${BASH_COMMIT} +else + my_urls=( "mirror://gnu/bash/${MY_P}.tar.gz" ) + + # bash-5.1 -> bash51 + my_p=${PN}$(ver_cut 1-2) my_p=${my_p/.} + + for (( my_patch_idx = 1; my_patch_idx <= PLEVEL; my_patch_idx++ )); do + printf -v my_patch_ver %s-%03d "${my_p}" "${my_patch_idx}" + my_urls+=( "mirror://gnu/bash/${MY_P}-patches/${my_patch_ver}" ) + MY_PATCHES+=( "${DISTDIR}/${my_patch_ver}" ) + done + + SRC_URI="${my_urls[*]} verify-sig? ( ${my_urls[*]/%/.sig} )" + S=${WORKDIR}/${MY_P} + + unset -v my_urls my_p my_patch_idx my_patch_ver +fi + +if [[ ${GENTOO_PATCH_VER} ]]; then + SRC_URI+=" https://dev.gentoo.org/~${GENTOO_PATCH_DEV:?}/distfiles/${CATEGORY}/${PN}/${PN}-${GENTOO_PATCH_VER:?}-patches.tar.xz" +fi + +LICENSE="GPL-3+" +SLOT="0" +if (( PLEVEL >= 0 )); then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +fi +IUSE="afs bashlogger examples mem-scramble +net nls plugins pgo +readline" + +DEPEND=" + >=sys-libs/ncurses-5.2-r2:= + nls? ( virtual/libintl ) +" +if (( PLEVEL >= 0 )); then + DEPEND+=" readline? ( >=sys-libs/readline-${READLINE_VER}:= )" +fi +RDEPEND=" + ${DEPEND} +" +# We only need bison (yacc) when the .y files get patched (bash42-005, bash51-011). +BDEPEND=" + pgo? ( dev-util/gperf ) + verify-sig? ( sec-keys/openpgp-keys-chetramey ) +" + +# EAPI 8 tries to append it but it doesn't exist here. +QA_CONFIGURE_OPTIONS="--disable-static" + +PATCHES=( + #"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}/ + + # bug #971782 + "${FILESDIR}"/${PN}-5.3_p9-general-workaround-aliasing-violation-in-REVERSE_LIS.patch + + # bug #965423, bug #970713 + "${FILESDIR}"/${PN}-5.3_p9-pid-reuse.patch + + # Patches to or from Chet, posted to the bug-bash mailing list. + "${FILESDIR}"/${PN}-5.0-syslog-history-extern.patch +) + +pkg_setup() { + # bug #7332 + if is-flag -malign-double; then + eerror "Detected bad CFLAGS '-malign-double'. Do not use this" + eerror "as it breaks LFS (struct stat64) on x86." + die "remove -malign-double from your CFLAGS mr ricer" + fi + + if use bashlogger; then + ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs." + ewarn "This will log ALL output you enter into the shell, you have been warned." + fi +} + +src_unpack() { + local patch + + if [[ ${PV} == 9999 ]]; then + git-r3_src_unpack + elif (( PLEVEL < 0 )) && [[ ${BASH_COMMIT} ]]; then + default + else + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}/${MY_P}.tar.gz"{,.sig} + + for patch in "${MY_PATCHES[@]}"; do + verify-sig_verify_detached "${patch}"{,.sig} + done + fi + + unpack "${MY_P}.tar.gz" + + if [[ ${GENTOO_PATCH_VER} ]]; then + unpack "${PN}-${GENTOO_PATCH_VER}-patches.tar.xz" + fi + fi +} + +src_prepare() { + # Include official patches. + (( PLEVEL > 0 )) && eapply -p0 "${MY_PATCHES[@]}" + + # Prefixify hardcoded path names. No-op for non-prefix. + hprefixify pathnames.h.in + + # Avoid regenerating docs after patches, bug #407985. + sed -i -E '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in \ + && touch -r . doc/* \ + || die + + # Sometimes hangs (more noticeable w/ pgo), bug #907403. + rm tests/run-jobs || die + + eapply -p0 "${PATCHES[@]}" + eapply_user +} + +src_configure() { + local -a myconf + + # Upstream only test with Bison and require GNUisms like YYEOF and + # YYERRCODE. The former at least may be in POSIX soon: + # https://www.austingroupbugs.net/view.php?id=1269. + # + # configure warns on use of non-Bison but doesn't abort. The result + # may misbehave at runtime. Chet also advises against use of byacc: + # https://lists.gnu.org/archive/html/bug-bash/2025-08/msg00115.html + unset -v YACC + + if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" + # https://lists.gnu.org/archive/html/bug-bash/2025-05/msg00029.html + export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" + + if use kernel_Hurd ; then + # Necessary for cross-built bash for Hurd, otherwise + # config.status generation at end of configure will hang + # natively. + # + # https://lists.debian.org/debian-cross/2023/11/msg00000.html + # https://lists.gnu.org/archive/html/bug-bash/2024-11/msg00202.html + # https://lists.gnu.org/archive/html/bug-bash/2005-04/msg00074.html + cat <<-EOF > builtins/psize.sh || die + #!/bin/sh + echo "#define PIPESIZE 16384" + EOF + chmod +x builtins/psize.sh || die + fi + fi + + myconf=( + --disable-profiling + + # Force linking with system curses ... the bundled termcap lib + # sucks bad compared to ncurses. For the most part, ncurses + # is here because readline needs it. But bash itself calls + # ncurses in one or two small places :(. + --with-curses + + $(use_enable mem-scramble) + $(use_enable net net-redirections) + $(use_enable readline) + $(use_enable readline bang-history) + $(use_enable readline history) + $(use_with afs) + $(use_with mem-scramble bash-malloc) + ) + + # For descriptions of these, see config-top.h. + # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426 + append-cppflags \ + -DDEFAULT_PATH_VALUE=\'\""${EPREFIX}"/usr/local/sbin:"${EPREFIX}"/usr/local/bin:"${EPREFIX}"/usr/sbin:"${EPREFIX}"/usr/bin:"${EPREFIX}"/sbin:"${EPREFIX}"/bin\"\' \ + -DSTANDARD_UTILS_PATH=\'\""${EPREFIX}"/bin:"${EPREFIX}"/usr/bin:"${EPREFIX}"/sbin:"${EPREFIX}"/usr/sbin\"\' \ + -DDEFAULT_LOADABLE_BUILTINS_PATH=\'\""${EPREFIX}"/usr/local/$(get_libdir)/bash:"${EPREFIX}"/usr/$(get_libdir)/bash\"\' \ + -DSYS_BASHRC=\'\""${EPREFIX}"/etc/bash/bashrc\"\' \ + -DSYS_BASH_LOGOUT=\'\""${EPREFIX}"/etc/bash/bash_logout\"\' \ + -DNON_INTERACTIVE_LOGIN_SHELLS \ + -DSSH_SOURCE_BASHRC \ + $(use bashlogger && echo -DSYSLOG_HISTORY) + + use nls || myconf+=( --disable-nls ) + + if (( PLEVEL >= 0 )); then + # Historically, we always used the builtin readline, but since + # our handling of SONAME upgrades has gotten much more stable + # in the PM (and the readline ebuild itself preserves the old + # libs during upgrades), linking against the system copy should + # be safe. + # Exact cached version here doesn't really matter as long as it + # is at least what's in the DEPEND up above. + export ac_cv_rl_version=${READLINE_VER%%_*} + + # Use system readline only with released versions. + myconf+=( --with-installed-readline=. ) + fi + + if use plugins; then + append-ldflags "-Wl,-rpath,${EPREFIX}/usr/$(get_libdir)/bash" + else + # Disable the plugins logic by hand since bash doesn't provide + # a way of doing it. + export ac_cv_func_dl{close,open,sym}=no \ + ac_cv_lib_dl_dlopen=no ac_cv_header_dlfcn_h=no + + sed -i -e '/LOCAL_LDFLAGS=/s:-rdynamic::' configure || die + fi + + # bug #444070 + tc-export AR + + econf "${myconf[@]}" +} + +src_compile() { + local -a pgo_generate_flags pgo_use_flags + local flag + + # -fprofile-partial-training because upstream notes the test suite isn't + # super comprehensive. + # https://documentation.suse.com/sbp/all/html/SBP-GCC-10/index.html#sec-gcc10-pgo + if use pgo; then + pgo_generate_flags=( + -fprofile-update=atomic + -fprofile-dir="${T}"/pgo + -fprofile-generate="${T}"/pgo + ) + pgo_use_flags=( + -fprofile-use="${T}"/pgo + -fprofile-dir="${T}"/pgo + ) + if flag=$(test-flags-CC -fprofile-partial-training); then + pgo_generate_flags+=( "${flag}" ) + pgo_use_flags+=( "${flag}" ) + fi + fi + + emake CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}" + use plugins && emake -C examples/loadables CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}" all others + + # Build Bash and run its tests to generate profiles. + if (( ${#pgo_generate_flags[@]} )); then + # Used in test suite. + unset -v A + + emake CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}" -k check + + if tc-is-clang; then + llvm-profdata merge "${T}"/pgo --output="${T}"/pgo/default.profdata || die + fi + + # Rebuild Bash using the profiling data we just generated. + emake clean + emake CFLAGS="${CFLAGS} ${pgo_use_flags[*]}" + use plugins && emake -C examples/loadables CFLAGS="${CFLAGS} ${pgo_use_flags[*]}" all others + fi +} + +src_test() { + # Used in test suite. + unset -v A + + default +} + +src_install() { + local d f + + default + + my_prefixify() { + while read -r; do + if [[ $REPLY == *$1* ]]; then + REPLY=${REPLY/"/etc/"/"${EPREFIX}/etc/"} + fi + printf '%s\n' "${REPLY}" || ! break + done < "$2" || die + } + + dodir /bin + mv -- "${ED}"/usr/bin/bash "${ED}"/bin/ || die + dosym bash /bin/rbash + + insinto /etc/bash + doins "${FILESDIR}"/bash_logout + my_prefixify bashrc.d "${FILESDIR}"/bashrc-r2 | newins - bashrc + + insinto /etc/bash/bashrc.d + my_prefixify DIR_COLORS "${FILESDIR}"/bashrc.d/10-gentoo-color-r2.bash | newins - 10-gentoo-color.bash + newins "${FILESDIR}"/bashrc.d/10-gentoo-title-r3.bash 10-gentoo-title.bash + + insinto /etc/profile.d + doins "${FILESDIR}/profile.d/00-prompt-command.sh" + + insinto /etc/skel + for f in bash{_logout,_profile,rc}; do + newins "${FILESDIR}/skel/dot-${f}" ".${f}" + done + + if use plugins; then + exeinto "/usr/$(get_libdir)/bash" + set -- examples/loadables/*.o + doexe "${@%.o}" + + insinto /usr/include/bash-plugins + doins *.h builtins/*.h include/*.h lib/{glob/glob.h,tilde/tilde.h} + fi + + if use examples; then + for d in examples/{functions,misc,scripts,startup-files}; do + exeinto "/usr/share/doc/${PF}/${d}" + docinto "${d}" + for f in "${d}"/*; do + if [[ ${f##*/} != @(PERMISSION|*README) ]]; then + doexe "${f}" + else + dodoc "${f}" + fi + done + done + fi + + # Install bash_builtins.1 and rbash.1. + emake -C doc DESTDIR="${D}" install_builtins + sed 's:bash\.1:man1/&:' doc/rbash.1 > "${T}"/rbash.1 || die + doman "${T}"/rbash.1 + + newdoc CWRU/changelog ChangeLog + dosym bash.info /usr/share/info/bashref.info +} + +pkg_preinst() { + if [[ -e ${EROOT}/etc/bashrc ]] && [[ ! -d ${EROOT}/etc/bash ]]; then + mkdir -p -- "${EROOT}"/etc/bash \ + && mv -f -- "${EROOT}"/etc/bashrc "${EROOT}"/etc/bash/ \ + || die + fi +} + +pkg_postinst() { + local IFS old_ver ver + local -a versions + + # If /bin/sh does not exist, provide it. + if [[ ! -e ${EROOT}/bin/sh ]]; then + ln -sf -- bash "${EROOT}"/bin/sh || die + fi + + if [[ -e ${EROOT}/etc/bash/bashrc.d/15-gentoo-bashrc-check.bash ]]; then + ewarn "The following file is no longer packaged and can safely be deleted:" + ewarn "${EROOT}/etc/bash/bashrc.d/15-gentoo-bashrc-check.bash" + fi + + read -rd '' -a versions <<<"${REPLACING_VERSIONS}" + for ver in "${versions[@]}"; do + if [[ ! ${old_ver} ]] || ver_test "${ver}" -lt "${old_ver}"; then + old_ver=${ver} + fi + done + + if [[ ! ${old_ver} ]]; then + return + fi + + { + if ver_test "${old_ver}" -ge "5.2" \ + && ver_test "${old_ver}" -ge "5.2_p26-r8" + then + : + elif ver_test "${old_ver}" -lt "5.2" \ + && ver_test "${old_ver}" -ge "5.1_p16-r8" + then + : + else + cat <<'EOF' +Files under /etc/bash/bashrc.d must now have a suffix of .sh or .bash. + +Gentoo now defaults to defining PROMPT_COMMAND as an array. Depending on the +characteristics of the operating environment, it may contain a command to set +the terminal's window title. Those who were already choosing to customise the +PROMPT_COMMAND variable are now advised to append their commands like so: + +PROMPT_COMMAND+=('custom command goes here') + +Gentoo no longer defaults to having bash set the window title in the case +that the terminal is controlled by sshd(8), unless screen is launched on the +remote side or the terminal reliably supports saving and restoring the title +(as alacritty, foot and tmux do). Those wanting for the title to be set +regardless may adjust ~/.bashrc - or create a custom /etc/bash/bashrc.d +drop-in - to set PROMPT_COMMMAND like so: + +PROMPT_COMMAND=(genfun_set_win_title) + +Those who would prefer for bash never to interfere with the window title may +now opt out of the default title setting behaviour, either with the "unset -v +PROMPT_COMMAND" command or by re-defining PROMPT_COMMAND as desired. +EOF + fi + + if ver_test "${old_ver}" -ge "5.3" \ + && ver_test "${old_ver}" -ge "5.3_p3-r3" + then + : + elif ver_test "${old_ver}" -lt "5.3" \ + && ver_test "${old_ver}" -ge "5.2_p37-r5" + then + : + else + cat <<'EOF' +The window title setting behaviour has been improved. It is now formatted as +"\u@\h \W", in accordance with the prompting mechanism of bash. For example, +after switching to the home directory, the current working directory will be +shown as the character. + +The value of PROMPT_DIRTRIM is now respected. If this variable is unset, the +use of the \W prompt string escape will prevail, with the current working +directory typically being shown as its basename. If set to 0 or greater, \w +will be used instead, which may be trimmed. This also means that the title +can be made to show the full path by setting PROMPT_DIRTRIM=0. + +For further information, run info '(bash)Bash Variables' or visit +https://www.gnu.org/software/bash/manual/bash.html#index-PROMPT_005fDIRTRIM. +EOF + fi + } \ + | if [[ ${COLUMNS} == [1-9]*([0-9]) ]] && (( COLUMNS > 80 )); then + fmt -w "$(( COLUMNS - 3 ))" + else + cat + fi \ + | while read -r; do + ewarn "${REPLY}" + done +} diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p15.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p15.ebuild new file mode 100644 index 00000000000..214a8bf8bc0 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p15.ebuild @@ -0,0 +1,486 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/chetramey.asc +inherit flag-o-matic toolchain-funcs prefix verify-sig + +# Uncomment if we have a patchset. +#GENTOO_PATCH_DEV="sam" +#GENTOO_PATCH_VER="${PV}" + +MY_PV=${PV/_p*} +MY_PV=${MY_PV/_/-} +MY_P=${PN}-${MY_PV} +MY_PATCHES=() + +# Determine the patchlevel. See https://ftp.gnu.org/gnu/bash/bash-5.3-patches/. +case ${PV} in + 9999|*_alpha*|*_beta*|*_rc*) + # Set a negative patchlevel to indicate that it's a pre-release. + PLEVEL=-1 + if [[ ${PV} =~ _pre[0-9]{8}$ ]]; then + BASH_COMMIT= + fi + ;; + *_p*) + PLEVEL=${PV##*_p} + ;; + *) + PLEVEL=0 +esac + +# The version of readline this bash normally ships with. Note that we only use +# the bundled copy of readline for pre-releases. +READLINE_VER="8.3" + +DESCRIPTION="The standard GNU Bourne again shell" +HOMEPAGE="https://tiswww.case.edu/php/chet/bash/bashtop.html https://git.savannah.gnu.org/cgit/bash.git" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://git.savannah.gnu.org/git/bash.git" + EGIT_BRANCH=devel + inherit git-r3 +elif (( PLEVEL < 0 )) && [[ ${BASH_COMMIT} ]]; then + # It can be useful to have snapshots in the pre-release period once + # the first alpha is out, as various bugs get reported and fixed from + # the alpha, and the next pre-release is usually quite far away. + # + # i.e. if it's worth packaging the alpha, it's worth packaging a followup. + SRC_URI="https://git.savannah.gnu.org/cgit/bash.git/snapshot/bash-${BASH_COMMIT}.tar.gz -> ${P}-${BASH_COMMIT}.tar.gz" + S=${WORKDIR}/${PN}-${BASH_COMMIT} +else + my_urls=( "mirror://gnu/bash/${MY_P}.tar.gz" ) + + # bash-5.1 -> bash51 + my_p=${PN}$(ver_cut 1-2) my_p=${my_p/.} + + for (( my_patch_idx = 1; my_patch_idx <= PLEVEL; my_patch_idx++ )); do + printf -v my_patch_ver %s-%03d "${my_p}" "${my_patch_idx}" + my_urls+=( "mirror://gnu/bash/${MY_P}-patches/${my_patch_ver}" ) + MY_PATCHES+=( "${DISTDIR}/${my_patch_ver}" ) + done + + SRC_URI="${my_urls[*]} verify-sig? ( ${my_urls[*]/%/.sig} )" + S=${WORKDIR}/${MY_P} + + unset -v my_urls my_p my_patch_idx my_patch_ver +fi + +if [[ ${GENTOO_PATCH_VER} ]]; then + SRC_URI+=" https://dev.gentoo.org/~${GENTOO_PATCH_DEV:?}/distfiles/${CATEGORY}/${PN}/${PN}-${GENTOO_PATCH_VER:?}-patches.tar.xz" +fi + +LICENSE="GPL-3+" +SLOT="0" +if (( PLEVEL >= 0 )); then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +fi +IUSE="afs bashlogger examples mem-scramble +net nls plugins pgo +readline" + +DEPEND=" + >=sys-libs/ncurses-5.2-r2:= + nls? ( virtual/libintl ) +" +if (( PLEVEL >= 0 )); then + DEPEND+=" readline? ( >=sys-libs/readline-${READLINE_VER}:= )" +fi +RDEPEND=" + ${DEPEND} +" +# We only need bison (yacc) when the .y files get patched (bash42-005, bash51-011). +BDEPEND=" + pgo? ( dev-util/gperf ) + verify-sig? ( sec-keys/openpgp-keys-chetramey ) +" + +# EAPI 8 tries to append it but it doesn't exist here. +QA_CONFIGURE_OPTIONS="--disable-static" + +PATCHES=( + #"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}/ + + # bug #971782 + "${FILESDIR}"/${PN}-5.3_p9-general-workaround-aliasing-violation-in-REVERSE_LIS.patch + + # bug #965423, bug #970713 + "${FILESDIR}"/${PN}-5.3_p9-pid-reuse.patch + + # Patches to or from Chet, posted to the bug-bash mailing list. + "${FILESDIR}"/${PN}-5.0-syslog-history-extern.patch +) + +pkg_setup() { + # bug #7332 + if is-flag -malign-double; then + eerror "Detected bad CFLAGS '-malign-double'. Do not use this" + eerror "as it breaks LFS (struct stat64) on x86." + die "remove -malign-double from your CFLAGS mr ricer" + fi + + if use bashlogger; then + ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs." + ewarn "This will log ALL output you enter into the shell, you have been warned." + fi +} + +src_unpack() { + local patch + + if [[ ${PV} == 9999 ]]; then + git-r3_src_unpack + elif (( PLEVEL < 0 )) && [[ ${BASH_COMMIT} ]]; then + default + else + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}/${MY_P}.tar.gz"{,.sig} + + for patch in "${MY_PATCHES[@]}"; do + verify-sig_verify_detached "${patch}"{,.sig} + done + fi + + unpack "${MY_P}.tar.gz" + + if [[ ${GENTOO_PATCH_VER} ]]; then + unpack "${PN}-${GENTOO_PATCH_VER}-patches.tar.xz" + fi + fi +} + +src_prepare() { + # Include official patches. + (( PLEVEL > 0 )) && eapply -p0 "${MY_PATCHES[@]}" + + # Prefixify hardcoded path names. No-op for non-prefix. + hprefixify pathnames.h.in + + # Avoid regenerating docs after patches, bug #407985. + sed -i -E '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in \ + && touch -r . doc/* \ + || die + + # Sometimes hangs (more noticeable w/ pgo), bug #907403. + rm tests/run-jobs || die + + eapply -p0 "${PATCHES[@]}" + eapply_user +} + +src_configure() { + local -a myconf + + # Upstream only test with Bison and require GNUisms like YYEOF and + # YYERRCODE. The former at least may be in POSIX soon: + # https://www.austingroupbugs.net/view.php?id=1269. + # + # configure warns on use of non-Bison but doesn't abort. The result + # may misbehave at runtime. Chet also advises against use of byacc: + # https://lists.gnu.org/archive/html/bug-bash/2025-08/msg00115.html + unset -v YACC + + if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" + # https://lists.gnu.org/archive/html/bug-bash/2025-05/msg00029.html + export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" + + if use kernel_Hurd ; then + # Necessary for cross-built bash for Hurd, otherwise + # config.status generation at end of configure will hang + # natively. + # + # https://lists.debian.org/debian-cross/2023/11/msg00000.html + # https://lists.gnu.org/archive/html/bug-bash/2024-11/msg00202.html + # https://lists.gnu.org/archive/html/bug-bash/2005-04/msg00074.html + cat <<-EOF > builtins/psize.sh || die + #!/bin/sh + echo "#define PIPESIZE 16384" + EOF + chmod +x builtins/psize.sh || die + fi + fi + + myconf=( + --disable-profiling + + # Force linking with system curses ... the bundled termcap lib + # sucks bad compared to ncurses. For the most part, ncurses + # is here because readline needs it. But bash itself calls + # ncurses in one or two small places :(. + --with-curses + + $(use_enable mem-scramble) + $(use_enable net net-redirections) + $(use_enable readline) + $(use_enable readline bang-history) + $(use_enable readline history) + $(use_with afs) + $(use_with mem-scramble bash-malloc) + ) + + # For descriptions of these, see config-top.h. + # bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426 + append-cppflags \ + -DDEFAULT_PATH_VALUE=\'\""${EPREFIX}"/usr/local/sbin:"${EPREFIX}"/usr/local/bin:"${EPREFIX}"/usr/sbin:"${EPREFIX}"/usr/bin:"${EPREFIX}"/sbin:"${EPREFIX}"/bin\"\' \ + -DSTANDARD_UTILS_PATH=\'\""${EPREFIX}"/bin:"${EPREFIX}"/usr/bin:"${EPREFIX}"/sbin:"${EPREFIX}"/usr/sbin\"\' \ + -DDEFAULT_LOADABLE_BUILTINS_PATH=\'\""${EPREFIX}"/usr/local/$(get_libdir)/bash:"${EPREFIX}"/usr/$(get_libdir)/bash\"\' \ + -DSYS_BASHRC=\'\""${EPREFIX}"/etc/bash/bashrc\"\' \ + -DSYS_BASH_LOGOUT=\'\""${EPREFIX}"/etc/bash/bash_logout\"\' \ + -DNON_INTERACTIVE_LOGIN_SHELLS \ + -DSSH_SOURCE_BASHRC \ + $(use bashlogger && echo -DSYSLOG_HISTORY) + + use nls || myconf+=( --disable-nls ) + + if (( PLEVEL >= 0 )); then + # Historically, we always used the builtin readline, but since + # our handling of SONAME upgrades has gotten much more stable + # in the PM (and the readline ebuild itself preserves the old + # libs during upgrades), linking against the system copy should + # be safe. + # Exact cached version here doesn't really matter as long as it + # is at least what's in the DEPEND up above. + export ac_cv_rl_version=${READLINE_VER%%_*} + + # Use system readline only with released versions. + myconf+=( --with-installed-readline=. ) + fi + + if use plugins; then + append-ldflags "-Wl,-rpath,${EPREFIX}/usr/$(get_libdir)/bash" + else + # Disable the plugins logic by hand since bash doesn't provide + # a way of doing it. + export ac_cv_func_dl{close,open,sym}=no \ + ac_cv_lib_dl_dlopen=no ac_cv_header_dlfcn_h=no + + sed -i -e '/LOCAL_LDFLAGS=/s:-rdynamic::' configure || die + fi + + # bug #444070 + tc-export AR + + econf "${myconf[@]}" +} + +src_compile() { + local -a pgo_generate_flags pgo_use_flags + local flag + + # -fprofile-partial-training because upstream notes the test suite isn't + # super comprehensive. + # https://documentation.suse.com/sbp/all/html/SBP-GCC-10/index.html#sec-gcc10-pgo + if use pgo; then + pgo_generate_flags=( + -fprofile-update=atomic + -fprofile-dir="${T}"/pgo + -fprofile-generate="${T}"/pgo + ) + pgo_use_flags=( + -fprofile-use="${T}"/pgo + -fprofile-dir="${T}"/pgo + ) + if flag=$(test-flags-CC -fprofile-partial-training); then + pgo_generate_flags+=( "${flag}" ) + pgo_use_flags+=( "${flag}" ) + fi + fi + + emake CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}" + use plugins && emake -C examples/loadables CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}" all others + + # Build Bash and run its tests to generate profiles. + if (( ${#pgo_generate_flags[@]} )); then + # Used in test suite. + unset -v A + + emake CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}" -k check + + if tc-is-clang; then + llvm-profdata merge "${T}"/pgo --output="${T}"/pgo/default.profdata || die + fi + + # Rebuild Bash using the profiling data we just generated. + emake clean + emake CFLAGS="${CFLAGS} ${pgo_use_flags[*]}" + use plugins && emake -C examples/loadables CFLAGS="${CFLAGS} ${pgo_use_flags[*]}" all others + fi +} + +src_test() { + # Used in test suite. + unset -v A + + default +} + +src_install() { + local d f + + default + + my_prefixify() { + while read -r; do + if [[ $REPLY == *$1* ]]; then + REPLY=${REPLY/"/etc/"/"${EPREFIX}/etc/"} + fi + printf '%s\n' "${REPLY}" || ! break + done < "$2" || die + } + + dodir /bin + mv -- "${ED}"/usr/bin/bash "${ED}"/bin/ || die + dosym bash /bin/rbash + + insinto /etc/bash + doins "${FILESDIR}"/bash_logout + my_prefixify bashrc.d "${FILESDIR}"/bashrc-r2 | newins - bashrc + + insinto /etc/bash/bashrc.d + my_prefixify DIR_COLORS "${FILESDIR}"/bashrc.d/10-gentoo-color-r2.bash | newins - 10-gentoo-color.bash + newins "${FILESDIR}"/bashrc.d/10-gentoo-title-r3.bash 10-gentoo-title.bash + + insinto /etc/profile.d + doins "${FILESDIR}/profile.d/00-prompt-command.sh" + + insinto /etc/skel + for f in bash{_logout,_profile,rc}; do + newins "${FILESDIR}/skel/dot-${f}" ".${f}" + done + + if use plugins; then + exeinto "/usr/$(get_libdir)/bash" + set -- examples/loadables/*.o + doexe "${@%.o}" + + insinto /usr/include/bash-plugins + doins *.h builtins/*.h include/*.h lib/{glob/glob.h,tilde/tilde.h} + fi + + if use examples; then + for d in examples/{functions,misc,scripts,startup-files}; do + exeinto "/usr/share/doc/${PF}/${d}" + docinto "${d}" + for f in "${d}"/*; do + if [[ ${f##*/} != @(PERMISSION|*README) ]]; then + doexe "${f}" + else + dodoc "${f}" + fi + done + done + fi + + # Install bash_builtins.1 and rbash.1. + emake -C doc DESTDIR="${D}" install_builtins + sed 's:bash\.1:man1/&:' doc/rbash.1 > "${T}"/rbash.1 || die + doman "${T}"/rbash.1 + + newdoc CWRU/changelog ChangeLog + dosym bash.info /usr/share/info/bashref.info +} + +pkg_preinst() { + if [[ -e ${EROOT}/etc/bashrc ]] && [[ ! -d ${EROOT}/etc/bash ]]; then + mkdir -p -- "${EROOT}"/etc/bash \ + && mv -f -- "${EROOT}"/etc/bashrc "${EROOT}"/etc/bash/ \ + || die + fi +} + +pkg_postinst() { + local IFS old_ver ver + local -a versions + + # If /bin/sh does not exist, provide it. + if [[ ! -e ${EROOT}/bin/sh ]]; then + ln -sf -- bash "${EROOT}"/bin/sh || die + fi + + if [[ -e ${EROOT}/etc/bash/bashrc.d/15-gentoo-bashrc-check.bash ]]; then + ewarn "The following file is no longer packaged and can safely be deleted:" + ewarn "${EROOT}/etc/bash/bashrc.d/15-gentoo-bashrc-check.bash" + fi + + read -rd '' -a versions <<<"${REPLACING_VERSIONS}" + for ver in "${versions[@]}"; do + if [[ ! ${old_ver} ]] || ver_test "${ver}" -lt "${old_ver}"; then + old_ver=${ver} + fi + done + + if [[ ! ${old_ver} ]]; then + return + fi + + { + if ver_test "${old_ver}" -ge "5.2" \ + && ver_test "${old_ver}" -ge "5.2_p26-r8" + then + : + elif ver_test "${old_ver}" -lt "5.2" \ + && ver_test "${old_ver}" -ge "5.1_p16-r8" + then + : + else + cat <<'EOF' +Files under /etc/bash/bashrc.d must now have a suffix of .sh or .bash. + +Gentoo now defaults to defining PROMPT_COMMAND as an array. Depending on the +characteristics of the operating environment, it may contain a command to set +the terminal's window title. Those who were already choosing to customise the +PROMPT_COMMAND variable are now advised to append their commands like so: + +PROMPT_COMMAND+=('custom command goes here') + +Gentoo no longer defaults to having bash set the window title in the case +that the terminal is controlled by sshd(8), unless screen is launched on the +remote side or the terminal reliably supports saving and restoring the title +(as alacritty, foot and tmux do). Those wanting for the title to be set +regardless may adjust ~/.bashrc - or create a custom /etc/bash/bashrc.d +drop-in - to set PROMPT_COMMMAND like so: + +PROMPT_COMMAND=(genfun_set_win_title) + +Those who would prefer for bash never to interfere with the window title may +now opt out of the default title setting behaviour, either with the "unset -v +PROMPT_COMMAND" command or by re-defining PROMPT_COMMAND as desired. +EOF + fi + + if ver_test "${old_ver}" -ge "5.3" \ + && ver_test "${old_ver}" -ge "5.3_p3-r3" + then + : + elif ver_test "${old_ver}" -lt "5.3" \ + && ver_test "${old_ver}" -ge "5.2_p37-r5" + then + : + else + cat <<'EOF' +The window title setting behaviour has been improved. It is now formatted as +"\u@\h \W", in accordance with the prompting mechanism of bash. For example, +after switching to the home directory, the current working directory will be +shown as the character. + +The value of PROMPT_DIRTRIM is now respected. If this variable is unset, the +use of the \W prompt string escape will prevail, with the current working +directory typically being shown as its basename. If set to 0 or greater, \w +will be used instead, which may be trimmed. This also means that the title +can be made to show the full path by setting PROMPT_DIRTRIM=0. + +For further information, run info '(bash)Bash Variables' or visit +https://www.gnu.org/software/bash/manual/bash.html#index-PROMPT_005fDIRTRIM. +EOF + fi + } \ + | if [[ ${COLUMNS} == [1-9]*([0-9]) ]] && (( COLUMNS > 80 )); then + fmt -w "$(( COLUMNS - 3 ))" + else + cat + fi \ + | while read -r; do + ewarn "${REPLY}" + done +} diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p9-r1.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p9-r1.ebuild index dc19f60f380..f61667e6808 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p9-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p9-r1.ebuild @@ -178,6 +178,7 @@ src_configure() { unset -v YACC if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" # https://lists.gnu.org/archive/html/bug-bash/2025-05/msg00029.html export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p9-r2.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p9-r2.ebuild index e42f6276d05..9b4f607f642 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p9-r2.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p9-r2.ebuild @@ -75,7 +75,7 @@ fi LICENSE="GPL-3+" SLOT="0" if (( PLEVEL >= 0 )); 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="afs bashlogger examples mem-scramble +net nls plugins pgo +readline" @@ -181,6 +181,7 @@ src_configure() { unset -v YACC if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" # https://lists.gnu.org/archive/html/bug-bash/2025-05/msg00029.html export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p9.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p9.ebuild index e36c6f85707..26da3e1d87a 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p9.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.3_p9.ebuild @@ -175,6 +175,7 @@ src_configure() { unset -v YACC if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" # https://lists.gnu.org/archive/html/bug-bash/2025-05/msg00029.html export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.4_alpha_pre20251202-r1.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.4_alpha_pre20251202-r1.ebuild index 81176677a9d..319ea42b6a9 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.4_alpha_pre20251202-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-5.4_alpha_pre20251202-r1.ebuild @@ -181,6 +181,7 @@ src_configure() { unset -v YACC if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" # https://lists.gnu.org/archive/html/bug-bash/2025-05/msg00029.html export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" diff --git a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-9999.ebuild b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-9999.ebuild index 0c592a0178c..dfc334f5bcf 100644 --- a/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-shells/bash/bash-9999.ebuild @@ -181,6 +181,7 @@ src_configure() { unset -v YACC if tc-is-cross-compiler; then + export CC_FOR_BUILD="$(tc-getBUILD_CC)" # https://lists.gnu.org/archive/html/bug-bash/2025-05/msg00029.html export CFLAGS_FOR_BUILD="${BUILD_CFLAGS} -std=gnu17" From 0794fccaefc7d37a9adae43d9a3765b7dad84d7c Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:49 +0000 Subject: [PATCH 037/243] dev-build/autoconf: Sync with Gentoo It's from Gentoo commit 0d3941dbfdcd68a33b05793159ffdf9f7663d203. Signed-off-by: Flatcar Buildbot --- .../{autoconf-2.13-r8.ebuild => autoconf-2.13-r9.ebuild} | 3 ++- .../{autoconf-2.69-r10.ebuild => autoconf-2.69-r11.ebuild} | 3 ++- .../{autoconf-2.71-r8.ebuild => autoconf-2.71-r9.ebuild} | 3 ++- .../{autoconf-2.72-r6.ebuild => autoconf-2.72-r7.ebuild} | 1 + .../{autoconf-2.73-r1.ebuild => autoconf-2.73-r2.ebuild} | 1 + .../portage-stable/dev-build/autoconf/autoconf-9999.ebuild | 1 + 6 files changed, 9 insertions(+), 3 deletions(-) rename sdk_container/src/third_party/portage-stable/dev-build/autoconf/{autoconf-2.13-r8.ebuild => autoconf-2.13-r9.ebuild} (95%) rename sdk_container/src/third_party/portage-stable/dev-build/autoconf/{autoconf-2.69-r10.ebuild => autoconf-2.69-r11.ebuild} (96%) rename sdk_container/src/third_party/portage-stable/dev-build/autoconf/{autoconf-2.71-r8.ebuild => autoconf-2.71-r9.ebuild} (97%) rename sdk_container/src/third_party/portage-stable/dev-build/autoconf/{autoconf-2.72-r6.ebuild => autoconf-2.72-r7.ebuild} (98%) rename sdk_container/src/third_party/portage-stable/dev-build/autoconf/{autoconf-2.73-r1.ebuild => autoconf-2.73-r2.ebuild} (98%) diff --git a/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.13-r8.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.13-r9.ebuild similarity index 95% rename from sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.13-r8.ebuild rename to sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.13-r9.ebuild index f1829133606..ea6f5f056da 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.13-r8.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.13-r9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -64,4 +64,5 @@ src_install() { # dissuade Portage from removing our dir file touch "${ED}"/usr/share/${P}/info/.keepinfodir || die + docompress -x /usr/share/${P}/info/dir } diff --git a/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.69-r10.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.69-r11.ebuild similarity index 96% rename from sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.69-r10.ebuild rename to sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.69-r11.ebuild index fbcb629182a..539ff2e4073 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.69-r10.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.69-r11.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -86,4 +86,5 @@ src_install() { # dissuade Portage from removing our dir file touch "${ED}"/usr/share/${P}/info/.keepinfodir || die + docompress -x /usr/share/${P}/info/dir } diff --git a/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.71-r8.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.71-r9.ebuild similarity index 97% rename from sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.71-r8.ebuild rename to sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.71-r9.ebuild index c55177336a6..c235544d188 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.71-r8.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.71-r9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -95,6 +95,7 @@ src_install() { # dissuade Portage from removing our dir file touch "${ED}"/usr/share/${P}/info/.keepinfodir || die + docompress -x /usr/share/${P}/info/dir local f for f in config.{guess,sub} ; do diff --git a/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.72-r6.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.72-r7.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.72-r6.ebuild rename to sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.72-r7.ebuild index 187306c0636..d3eb3920689 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.72-r6.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.72-r7.ebuild @@ -96,6 +96,7 @@ src_install() { # dissuade Portage from removing our dir file touch "${ED}"/usr/share/${P}/info/.keepinfodir || die + docompress -x /usr/share/${P}/info/dir local f for f in config.{guess,sub} ; do diff --git a/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.73-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.73-r2.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.73-r1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.73-r2.ebuild index 13d5a52addf..9170a04e78b 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.73-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-2.73-r2.ebuild @@ -103,6 +103,7 @@ src_install() { # dissuade Portage from removing our dir file touch "${ED}"/usr/share/${P}/info/.keepinfodir || die + docompress -x /usr/share/${P}/info/dir local f for f in config.{guess,sub} ; do diff --git a/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-9999.ebuild index 13d5a52addf..9170a04e78b 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/autoconf/autoconf-9999.ebuild @@ -103,6 +103,7 @@ src_install() { # dissuade Portage from removing our dir file touch "${ED}"/usr/share/${P}/info/.keepinfodir || die + docompress -x /usr/share/${P}/info/dir local f for f in config.{guess,sub} ; do From ea9b87255be7ba29ffea95fd6f202b1f19fc1a6a Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:51 +0000 Subject: [PATCH 038/243] dev-build/automake: Sync with Gentoo It's from Gentoo commit b33a6940d277bca359de1e514dee7b4594ece724. Signed-off-by: Flatcar Buildbot --- .../{automake-1.11.6-r4.ebuild => automake-1.11.6-r5.ebuild} | 3 ++- .../{automake-1.17-r2.ebuild => automake-1.17-r3.ebuild} | 3 ++- .../{automake-1.18.1.ebuild => automake-1.18.1-r1.ebuild} | 3 ++- .../portage-stable/dev-build/automake/automake-9999.ebuild | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) rename sdk_container/src/third_party/portage-stable/dev-build/automake/{automake-1.11.6-r4.ebuild => automake-1.11.6-r5.ebuild} (96%) rename sdk_container/src/third_party/portage-stable/dev-build/automake/{automake-1.17-r2.ebuild => automake-1.17-r3.ebuild} (97%) rename sdk_container/src/third_party/portage-stable/dev-build/automake/{automake-1.18.1.ebuild => automake-1.18.1-r1.ebuild} (97%) diff --git a/sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.11.6-r4.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.11.6-r5.ebuild similarity index 96% rename from sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.11.6-r4.ebuild rename to sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.11.6-r5.ebuild index 56f8239be7e..01ed2336b21 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.11.6-r4.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.11.6-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -59,6 +59,7 @@ src_install() { # dissuade Portage from removing our dir file touch "${ED}"/usr/share/${P}/info/.keepinfodir || die + docompress -x /usr/share/${P}/info/dir rm \ "${ED}"/usr/bin/{aclocal,automake} \ diff --git a/sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.17-r2.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.17-r3.ebuild similarity index 97% rename from sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.17-r2.ebuild rename to sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.17-r3.ebuild index ad8bc564232..387b7ebf52f 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.17-r2.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.17-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -108,6 +108,7 @@ src_install() { # dissuade Portage from removing our dir file touch "${ED}"/usr/share/${P}/info/.keepinfodir || die + docompress -x /usr/share/${P}/info/dir rm "${ED}"/usr/share/aclocal/README || die rmdir "${ED}"/usr/share/aclocal || die diff --git a/sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.18.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.18.1-r1.ebuild similarity index 97% rename from sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.18.1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.18.1-r1.ebuild index c8668492bc5..418efb57579 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.18.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/automake/automake-1.18.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -103,6 +103,7 @@ src_install() { # dissuade Portage from removing our dir file touch "${ED}"/usr/share/${P}/info/.keepinfodir || die + docompress -x /usr/share/${P}/info/dir rm "${ED}"/usr/share/aclocal/README || die rmdir "${ED}"/usr/share/aclocal || die diff --git a/sdk_container/src/third_party/portage-stable/dev-build/automake/automake-9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/automake/automake-9999.ebuild index c43cf2af555..d9bcd431f5e 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/automake/automake-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/automake/automake-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -103,6 +103,7 @@ src_install() { # dissuade Portage from removing our dir file touch "${ED}"/usr/share/${P}/info/.keepinfodir || die + docompress -x /usr/share/${P}/info/dir rm "${ED}"/usr/share/aclocal/README || die rmdir "${ED}"/usr/share/aclocal || die From 936cc199d580f807d6620716348ee8182d62e51d Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:52 +0000 Subject: [PATCH 039/243] dev-build/cmake: Sync with Gentoo It's from Gentoo commit d49bdd6df5ffd58f2dd5d69a5c9ac7330d95cf13. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-build/cmake/Manifest | 9 +- .../dev-build/cmake/cmake-4.1.4.ebuild | 10 +- .../dev-build/cmake/cmake-4.1.5.ebuild | 10 +- .../dev-build/cmake/cmake-4.2.4.ebuild | 10 +- .../dev-build/cmake/cmake-4.3.2.ebuild | 333 ------------------ ...ake-4.3.3.ebuild => cmake-4.3.3-r1.ebuild} | 12 +- ...{cmake-4.3.1.ebuild => cmake-4.3.4.ebuild} | 12 +- .../dev-build/cmake/cmake-9999.ebuild | 12 +- .../dev-build/cmake/files/50cmake-gentoo.el | 4 - 9 files changed, 54 insertions(+), 358 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.3.2.ebuild rename sdk_container/src/third_party/portage-stable/dev-build/cmake/{cmake-4.3.3.ebuild => cmake-4.3.3-r1.ebuild} (98%) rename sdk_container/src/third_party/portage-stable/dev-build/cmake/{cmake-4.3.1.ebuild => cmake-4.3.4.ebuild} (98%) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-build/cmake/files/50cmake-gentoo.el diff --git a/sdk_container/src/third_party/portage-stable/dev-build/cmake/Manifest b/sdk_container/src/third_party/portage-stable/dev-build/cmake/Manifest index 9ee401c8d60..14c7a34f9fa 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/cmake/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-build/cmake/Manifest @@ -8,12 +8,9 @@ DIST cmake-4.1.5.tar.gz 12048837 BLAKE2B c62c615a480edfd60c694003e26f70a6d2365d0 DIST cmake-4.2.4-SHA-256.txt 2015 BLAKE2B 2f53c1aaedbb9e7421312ecf843f35f7538ad72e6bf4dd41271d8cef6eeab0375d45969c09ff255e0587562276711d77f334e670441a08892ad6bf3ce8e0ed16 SHA512 778023fbd242da7de84d8c3a312466022160cc58206fe9945e97b570fc8011db188c2996d6a47f6b6092345b123197c9d083af56b7002acffb4465c08aab601f DIST cmake-4.2.4-SHA-256.txt.asc 833 BLAKE2B 63ad10bdfba3408d2c23c33130519b6404c2e796d0d84cdb46b0bf18567954ef35768ba69343adabfea701fdad73db308ae751c4bffe9679d834f78b1eb0ab5a SHA512 11819ed1c70938f8980597d2a62c89f393efd2e6ca4e2e4b472fc7e78ad89a7f59c3a92cec03ee2baeb551fcbe6a720edeab7790a300e6339b71a9e5efb607d1 DIST cmake-4.2.4.tar.gz 12348311 BLAKE2B 367f75fb2493caf2c137ffe04857843e4a94ea01b7ac1c3128e18ab550a97db83eda49f2d8e1600dbcf81a528330bb7517ab3a82ab32cbc0936054cda8b07c09 SHA512 255838f89ef5dd01936bbc13252d099e41d99a681e4279d305e3a3b0ddd85597e7e0334b87052d4766a77e7d5ef189dd77259a194e27d1a6f19a0d0a0e8e7d76 -DIST cmake-4.3.1-SHA-256.txt 2015 BLAKE2B f642be0fe25f036e3200587d38b013258b41d3abd9794376611b1bc9b176485bde415e6587f3776f028b9e7f82b6901a6d01cd31aab8a83887edf08555d79161 SHA512 dce1e1a3701962f0e3b7e69ef004d52093a070affba3f4d8dea428e0118562c7c27cd90883fbff0b039ff7fb2e3dbb1986e4827ecad4f10b0685728acd3bbaca -DIST cmake-4.3.1-SHA-256.txt.asc 833 BLAKE2B 2b8d29633dfb27affcad468258a1d4b529380c4e3a94e5fb25034f3f77bc6f77ade58314e3f5a81e605bbe15077d549f692658605d2fa8a76c0d77d47c2b4305 SHA512 cf8a9ac2e0c9f37d07fc69556933eae56dd8fdc03838060908f1fa64ce4e9d9cede8f46c4a8b73829c3384ad50db804daff3ac6d6af8f5d9c17fa03c961211b4 -DIST cmake-4.3.1.tar.gz 12966559 BLAKE2B 5685a52e9dacc69e267c0616564c8198424ce2a471822d05c63834fed8fe1931e0c9123a4f8f7ab86bb9954d29b2cff0d927d66d1748b8f3fd92a1d0fb8fc1c5 SHA512 010744f82b5448e589a8cbcaa45aea43280e529cafc1897ff311f5c21598c71ee4e822ef7fd679cdf0e49c4d22941f83a3fe21ffde08b2e39bbb92fb94d83ba3 -DIST cmake-4.3.2-SHA-256.txt 2015 BLAKE2B d8dec4928b25922b7d94bf577cefe9f2998f802fc36285df2589aa55de56d035d2c9cc62bb91e556886c92d80ee74fa09e80379702d921b04b70f5979d87b21d SHA512 04ccb8f71544d0923ebe636acd777621dbd7a899bcf782974139131e68e3ad871fba77096917ba3dd1c34b3220c7c63f703c83f9ab1ead821cf5c09fef4ae5cc -DIST cmake-4.3.2-SHA-256.txt.asc 833 BLAKE2B 5957e0be571c42ebfee57dcb933dfeea78e8103fa364f18dcd65c8ae182538e7054c9fed7446684888f9ede2bcaa8c617c9003e8d1775194f9dc001b8cb82542 SHA512 3e86faa633989affa1e301e045092350750be2943e166c4f29778aee162bc80c9f716da5e806133f4a7fb1cf1d4bcca0d1955764933a473b30e5888be781f17e -DIST cmake-4.3.2.tar.gz 12968608 BLAKE2B 58e48f7dd618b8732da960fdb3373618dded50d6d57af30f590c2ee77f657744e998b526b3e8f08463e0d9ff7514d14e3e96ad42284fcea0971ed1b52a0a16cf SHA512 ee78390be3907f4ce398e41ece9067952a25c2cba2edd9cb17f12827466d5bf2476ad8a2bba5df95b3d7950bb5122cb1754d005b6544e43901949869adf8c74a DIST cmake-4.3.3-SHA-256.txt 2015 BLAKE2B a73f3dfd4a95a353e95cf75c8fe68343020b3936f78da4c1579d49f4bf51360d952193aaf744accd820f9da22e180cfd1f13b029bf13deda293e74306869377f SHA512 23c9851300aa16881cd32d22df69db4189ac2288cc3cdb6cc9534c7de5f2abc0d1d5e53f2b1bdbfce81c4901cb7ea5857019598edd53f95ad0f6554028c65720 DIST cmake-4.3.3-SHA-256.txt.asc 833 BLAKE2B ff69825df8b777894ef200a418f2b6f1d1cf534d040c54f5b2399aa9a63069d70bb72deeb118245484c00da9a471c8c93a2ea7da26cfe5a3aee3ce23609473e1 SHA512 f1a018f80aa42c62836bd3aeb1a3866d11815041b26adcc3e0f2f0bba482f7564b426a805c3ccf02ff3ad375382ad1a47f0df327c736d2c0428c1573eede33a4 DIST cmake-4.3.3.tar.gz 12971567 BLAKE2B 30de7da05576d0cc44d67320a2d6fa250c44f5262f73a9e7c3a568cb7f9bda9aee578486911e6dfe2881c55ac618fb7c4443755aec4a105ac54ac304d005a4af SHA512 7f6af59cc53ea412311d54aeb52ad6981c46c53bac1ce0d3bf5944e85952534888267ea952596ad612e2b582f6897a818566963c85b88099f698df0803fe29d9 +DIST cmake-4.3.4-SHA-256.txt 2015 BLAKE2B 360522f5897b115e9373271354ee464f72435c589f693b356b041324b2513b8d09c5a5cae059701ae3eeb837d9b0d9a5e31d8a99ecb2239d14f68a2b5e6255c4 SHA512 b58a83444024efb8428be9110400d618d261979493d45af42318a6ffca7fbb3a496ade6825db5b0b3935f052336e380f07f21e9bbf9bc9dcaeeadea1ae5dc516 +DIST cmake-4.3.4-SHA-256.txt.asc 833 BLAKE2B 4b30bd7a3f004c3d3a35d4225f462045fe05681c77bebc8dfa5ecc958fd64d787597a09863afa41c8dc8a2d9d3facf2f3800c601d2d7cac2493a33a4cd80015a SHA512 41138746ad77af5926a38937b81a8edb9dc77d38755d3c4c190cc9f71206154111f0e8c60a3370a560b91e00c6fd5fd21fbb1bf8cee82d90f04edeecc4068244 +DIST cmake-4.3.4.tar.gz 12976016 BLAKE2B b73bfdd09444d6b47145c33b4f139b83e4b336c237a8f537b2dd3b2b3e1316f88a59af3c6e2dd624e6f56da8c10f991670de6ee8e1a0ff90fcc9039881866b1c SHA512 3194f604432549eacd8bf0def22798eb84356e7c63ce288a4d60cbf31f63405ded0a1c004682fd5e1507f2a709ea9fe93df40d8fb16a9681f4c56b35afc83e06 diff --git a/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.1.4.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.1.4.ebuild index 5f815951e2e..526bd5574bb 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.1.4.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.1.4.ebuild @@ -91,8 +91,6 @@ BDEPEND+=" test? ( app-arch/libarchive[zstd] ) " -SITEFILE="50${PN}-gentoo.el" - PATCHES=( # Prefix "${FILESDIR}"/${PN}-3.27.0_rc1-0001-Don-t-use-.so-for-modules-on-darwin-macos.-Use-.bund.patch @@ -292,6 +290,11 @@ src_test() { "RunCMake.CMP0125" ) + local myctestargs=( + # Filter all tests requiring Fortran + -LE "Fortran" + ) + local -x QT_QPA_PLATFORM=offscreen cmake_src_test @@ -314,6 +317,9 @@ src_install() { insinto /usr/share/vim/vimfiles/ftdetect doins "${FILESDIR}/${PN}.vim" + # Part of app-emacs/cmake-mode instead + rm -r "${ED}"/usr/share/emacs || die + dobashcomp Auxiliary/bash-completion/{${PN},ctest,cpack} } diff --git a/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.1.5.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.1.5.ebuild index a3917f21387..b44bbfdd647 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.1.5.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.1.5.ebuild @@ -91,8 +91,6 @@ BDEPEND+=" test? ( app-arch/libarchive[zstd] ) " -SITEFILE="50${PN}-gentoo.el" - PATCHES=( # Prefix "${FILESDIR}"/${PN}-3.27.0_rc1-0001-Don-t-use-.so-for-modules-on-darwin-macos.-Use-.bund.patch @@ -292,6 +290,11 @@ src_test() { "RunCMake.CMP0125" ) + local myctestargs=( + # Filter all tests requiring Fortran + -LE "Fortran" + ) + local -x QT_QPA_PLATFORM=offscreen cmake_src_test @@ -314,6 +317,9 @@ src_install() { insinto /usr/share/vim/vimfiles/ftdetect doins "${FILESDIR}/${PN}.vim" + # Part of app-emacs/cmake-mode instead + rm -r "${ED}"/usr/share/emacs || die + dobashcomp Auxiliary/bash-completion/{${PN},ctest,cpack} } diff --git a/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.2.4.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.2.4.ebuild index 0bf58953c50..d39c8da0a64 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.2.4.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.2.4.ebuild @@ -91,8 +91,6 @@ BDEPEND+=" test? ( app-arch/libarchive[zstd] ) " -SITEFILE="50${PN}-gentoo.el" - PATCHES=( # Prefix "${FILESDIR}"/${PN}-3.27.0_rc1-0001-Don-t-use-.so-for-modules-on-darwin-macos.-Use-.bund.patch @@ -291,6 +289,11 @@ src_test() { "RunCMake.CMP0125" ) + local myctestargs=( + # Filter all tests requiring Fortran + -LE "Fortran" + ) + local -x QT_QPA_PLATFORM=offscreen cmake_src_test @@ -313,6 +316,9 @@ src_install() { insinto /usr/share/vim/vimfiles/ftdetect doins "${FILESDIR}/${PN}.vim" + # Part of app-emacs/cmake-mode instead + rm -r "${ED}"/usr/share/emacs || die + dobashcomp Auxiliary/bash-completion/{${PN},ctest,cpack} } diff --git a/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.3.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.3.2.ebuild deleted file mode 100644 index c2fda1de812..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.3.2.ebuild +++ /dev/null @@ -1,333 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-cmake-docs -# Set to 1 if prebuilt, 0 if not -# (the construct below is to allow overriding from env for script) -: ${CMAKE_DOCS_PREBUILT:=1} - -CMAKE_DOCS_PREBUILT_DEV=sam -CMAKE_DOCS_VERSION=4.0.0_rc1 -#CMAKE_DOCS_VERSION=${PV} -#CMAKE_DOCS_VERSION=$(ver_cut 1-2).0 -# Default to generating docs (inc. man pages) if no prebuilt; overridden later -# See bug #784815 -CMAKE_DOCS_USEFLAG="+doc" - -CMAKE_QA_COMPAT_SKIP=1 # bug #964514; cmake itself is the last pkg we worry about - -# TODO RunCMake.LinkWhatYouUse fails consistently w/ ninja -# ... but seems fine as of 3.22.3? -# TODO ... but bootstrap sometimes(?) fails with ninja now. bug #834759. -CMAKE_MAKEFILE_GENERATOR="emake" -CMAKE_REMOVE_MODULES_LIST=() -inherit bash-completion-r1 cmake flag-o-matic multiprocessing \ - toolchain-funcs xdg-utils - -MY_P="${P/_/-}" - -DESCRIPTION="Cross platform Make" -HOMEPAGE="https://cmake.org/" -if [[ ${PV} == *9999* ]] ; then - CMAKE_DOCS_PREBUILT=0 - - EGIT_REPO_URI="https://gitlab.kitware.com/cmake/cmake.git" - inherit git-r3 -else - SRC_URI="https://cmake.org/files/v$(ver_cut 1-2)/${MY_P}.tar.gz" - - if [[ ${CMAKE_DOCS_PREBUILT} == 1 ]] ; then - SRC_URI+=" !doc? ( https://dev.gentoo.org/~${CMAKE_DOCS_PREBUILT_DEV}/distfiles/${CATEGORY}/${PN}/${PN}-${CMAKE_DOCS_VERSION}-docs.tar.xz )" - fi - - VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/bradking.asc - inherit verify-sig - - SRC_URI+=" verify-sig? ( - https://cmake.org/files/v$(ver_cut 1-2)/${MY_P}-SHA-256.txt - https://cmake.org/files/v$(ver_cut 1-2)/${MY_P}-SHA-256.txt.asc - https://github.com/Kitware/CMake/releases/download/v${PV/_/-}/${MY_P}-SHA-256.txt - https://github.com/Kitware/CMake/releases/download/v${PV/_/-}/${MY_P}-SHA-256.txt.asc - )" - - if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" - fi - - BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-bradking-20250904 )" -fi - -[[ ${CMAKE_DOCS_PREBUILT} == 1 ]] && CMAKE_DOCS_USEFLAG="doc" - -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD" -SLOT="0" -IUSE="${CMAKE_DOCS_USEFLAG} dap gui ncurses test" -RESTRICT="!test? ( test )" - -# >= 1.51.0-r1 for ppc32 workaround (bug #941738) -RDEPEND=" - >=app-arch/libarchive-3.3.3:= - app-crypt/rhash:0= - >=dev-libs/expat-2.0.1 - >=dev-libs/jsoncpp-1.9.2-r2:0= - >=dev-libs/libuv-1.51.0-r1:= - >=net-misc/curl-7.21.5[ssl] - virtual/zlib:= - virtual/pkgconfig - dap? ( dev-cpp/cppdap ) - gui? ( dev-qt/qtbase:6[gui,widgets] ) - ncurses? ( sys-libs/ncurses:= ) -" -DEPEND="${RDEPEND}" -BDEPEND+=" - doc? ( - dev-python/requests - dev-python/sphinx - ) - test? ( app-arch/libarchive[zstd] ) -" - -SITEFILE="50${PN}-gentoo.el" - -PATCHES=( - # Prefix - "${FILESDIR}"/${PN}-3.27.0_rc1-0001-Don-t-use-.so-for-modules-on-darwin-macos.-Use-.bund.patch - "${FILESDIR}"/${PN}-3.27.0_rc1-0002-Set-some-proper-paths-to-make-cmake-find-our-tools.patch - # Misc - "${FILESDIR}"/${PN}-3.27.0_rc1-0004-Ensure-that-the-correct-version-of-Qt-is-always-used.patch - "${FILESDIR}"/${PN}-3.27.0_rc1-0005-Respect-Gentoo-s-Python-eclasses.patch - # Cuda - "${FILESDIR}/${PN}-3.30.3-cudahostld.patch" - - # Upstream fixes (can usually be removed with a version bump) -) - -cmake_src_bootstrap() { - # disable running of cmake in bootstrap command - sed -i \ - -e '/"${cmake_bootstrap_dir}\/cmake"/s/^/#DONOTRUN /' \ - bootstrap || die "sed failed" - - # execinfo.h on Solaris isn't quite what it is on Darwin - if [[ ${CHOST} == *-solaris* ]] ; then - sed -i -e 's/execinfo\.h/blablabla.h/' \ - Source/kwsys/CMakeLists.txt || die - fi - - # bootstrap script isn't exactly /bin/sh compatible - tc-env_build ${CONFIG_SHELL:-sh} ./bootstrap \ - --prefix="${T}/cmakestrap/" \ - --parallel=$(get_makeopts_jobs "$(get_nproc)") \ - || die "Bootstrap failed" -} - -pkg_pretend() { - if [[ -z ${EPREFIX} ]] ; then - local file - local errant_files=() - - # See bug #599684 and bug #753581 (at least) - for file in /etc/arch-release /etc/redhat-release /etc/debian_version ; do - if [[ -e ${file} ]]; then - errant_files+=( "${file}" ) - fi - done - - # If errant files exist - if [[ ${#errant_files[@]} -gt 0 ]]; then - eerror "Errant files found!" - eerror "The presence of these files is known to confuse CMake's" - eerror "library path logic. Please (re)move these files:" - - for file in "${errant_files[@]}"; do - eerror " mv ${file} ${file}.bak" - done - - die "Stray files found in /etc/, see above message" - fi - fi -} - -src_unpack() { - if [[ ${PV} == 9999 ]] ; then - git-r3_src_unpack - elif [[ ${PV} == *_rc* ]] || ! use verify-sig ; then - default - else - cd "${DISTDIR}" || die - - # See https://mgorny.pl/articles/verify-sig-by-example.html#verifying-using-a-checksum-file-with-a-detached-signature - verify-sig_verify_detached ${MY_P}-SHA-256.txt{,.asc} - verify-sig_verify_unsigned_checksums ${MY_P}-SHA-256.txt sha256 ${MY_P}.tar.gz - - cd "${WORKDIR}" || die - - default - fi -} - -src_prepare() { - cmake_src_prepare - - if [[ ${CHOST} == *-darwin* ]] ; then - # Disable Xcode hooks, bug #652134 - sed -i -e 's/cm\(\|Global\|Local\)XCode[^.]\+\.\(cxx\|h\)//' \ - Source/CMakeLists.txt || die - sed -i -e '/define CMAKE_USE_XCODE/s/XCODE/NO_XCODE/' \ - -e '/cmGlobalXCodeGenerator.h/d' \ - Source/cmake.cxx || die - # Disable system integration, bug #933744 - sed -i -e 's/__APPLE__/__DISABLED__/' \ - Source/cmFindProgramCommand.cxx \ - Source/CPack/cmCPackGeneratorFactory.cxx || die - sed -i -e 's/__MAC_OS_X_VERSION_MIN_REQUIRED/__DISABLED__/' \ - Source/cmMachO.cxx || die - sed -i -e 's:CPack/cmCPack\(Bundle\|DragNDrop\|PKG\|ProductBuild\)Generator.cxx::' \ - Source/CMakeLists.txt || die - - # Disable isysroot usage with GCC, we've properly instructed - # where things are via GCC configuration and ldwrapper - sed -i -e '/cmake_gnu_set_sysroot_flag/d' \ - Modules/Platform/Apple-GNU-*.cmake || die - # Disable isysroot usage with clang as well - sed -i -e '/_SYSROOT_FLAG/d' \ - Modules/Platform/Apple-Clang.cmake || die - # Don't set a POSIX standard, system headers don't like that, #757426 - sed -i -e 's/^#if !defined(_WIN32) && !defined(__sun)/& \&\& !defined(__APPLE__)/' \ - Source/cmLoadCommandCommand.cxx \ - Source/cmStandardLexer.h \ - Source/cmSystemTools.cxx \ - Source/cmTimestamp.cxx - sed -i -e 's/^#if !defined(_POSIX_C_SOURCE) && !defined(_WIN32) && !defined(__sun)/& \&\& !defined(__APPLE__)/' \ - Source/cmStandardLexer.h - fi - - # Add gcc libs to the default link paths - sed -i \ - -e "s|@GENTOO_PORTAGE_GCCLIBDIR@|${EPREFIX}/usr/${CHOST}/lib/|g" \ - -e "$(usex prefix-guest "s|@GENTOO_HOST@||" "/@GENTOO_HOST@/d")" \ - -e "s|@GENTOO_PORTAGE_EPREFIX@|${EPREFIX}/|g" \ - Modules/Platform/{UnixPaths,Darwin}.cmake || die "sed failed" - - ## in theory we could handle these flags in src_configure, as we do in many other packages. But we *must* - ## handle them as part of bootstrapping, sadly. - - # Fix linking on Solaris - [[ ${CHOST} == *-solaris* ]] && append-ldflags -lsocket -lnsl - - # ODR warnings, bug #858335 - # https://gitlab.kitware.com/cmake/cmake/-/issues/20740 - filter-lto - - # 4.0.0_rc1 is missing this, fails to configure - # https://gitlab.kitware.com/cmake/cmake/-/issues/26712 - touch .clang-tidy Utilities/.clang-tidy || die - - if ! has_version -b \>=${CATEGORY}/${PN}-3.13 || ! cmake --version &>/dev/null ; then - CMAKE_BINARY="${S}/Bootstrap.cmk/cmake" - cmake_src_bootstrap - fi -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_USE_SYSTEM_LIBRARIES=ON - -DCMake_ENABLE_DEBUGGER=$(usex dap) - -DCMAKE_DOC_DIR=/share/doc/${PF} - -DCMAKE_MAN_DIR=/share/man - -DCMAKE_DATA_DIR=/share/${PN} - -DSPHINX_MAN=$(usex doc) - -DSPHINX_HTML=$(usex doc) - -DBUILD_CursesDialog="$(usex ncurses)" - -DBUILD_TESTING=$(usex test) - -DBUILD_QtDialog=$(usex gui) - ) - - use gui && mycmakeargs+=( -DCMake_QT_MAJOR_VERSION=6 ) - - cmake_src_configure -} - -src_test() { - # Fix OutDir and SelectLibraryConfigurations tests - # these are altered thanks to our eclass - sed -i -e 's:^#_cmake_modify_IGNORE ::g' \ - "${S}"/Tests/{OutDir,CMakeOnly/SelectLibraryConfigurations}/CMakeLists.txt \ - || die - - unset CLICOLOR CLICOLOR_FORCE CMAKE_COMPILER_COLOR_DIAGNOSTICS CMAKE_COLOR_DIAGNOSTICS - - pushd "${BUILD_DIR}" > /dev/null || die - - # Excluded tests: - local CMAKE_SKIP_TESTS=( - # BootstrapTest: we actually bootstrap it every time so why test it? - "BootstrapTest" - # BundleUtilities: bundle creation broken - "BundleUtilities" - # CMakeOnly.AllFindModules: pthread issues - "CMakeOnly.AllFindModules" - # TODO - "CompileOptions" - # CTest.updatecvs: which fails to commit as root - "CTest.UpdateCVS" - # Fortran: requires fortran - "Fortran" - # RunCMake.CompilerLauncher: also requires fortran - "RunCMake.CompilerLauncher" - # RunCMake.CPack_RPM: breaks if app-arch/rpm is installed because - # debugedit binary is not in the expected location - # RunCMake.CPack_DEB: breaks if app-arch/dpkg is installed because - # it can't find a deb package that owns libc - # RunCMake.CPack_TGZ: requires 64-bit time_t (bug #967480) - "RunCMake.CPack_(DEB|RPM|TGZ)" - # TestUpload, which requires network access - "TestUpload" - # RunCMake.CMP0125, known failure reported upstream (bug #829414) - "RunCMake.CMP0125" - ) - - local -x QT_QPA_PLATFORM=offscreen - - cmake_src_test -} - -src_install() { - cmake_src_install - - # If USE=doc, there'll be newly generated docs which we install instead. - if ! use doc && [[ ${CMAKE_DOCS_PREBUILT} == 1 ]] ; then - doman "${WORKDIR}"/${PN}-${CMAKE_DOCS_VERSION}-docs/man*/*.[0-8] - fi - - insinto /usr/share/vim/vimfiles/syntax - doins Auxiliary/vim/syntax/cmake.vim - - insinto /usr/share/vim/vimfiles/indent - doins Auxiliary/vim/indent/cmake.vim - - insinto /usr/share/vim/vimfiles/ftdetect - doins "${FILESDIR}/${PN}.vim" - - dobashcomp Auxiliary/bash-completion/{${PN},ctest,cpack} -} - -pkg_postinst() { - if use gui; then - xdg_icon_cache_update - xdg_desktop_database_update - xdg_mimeinfo_database_update - fi -} - -pkg_postrm() { - if use gui; then - xdg_icon_cache_update - xdg_desktop_database_update - xdg_mimeinfo_database_update - fi -} diff --git a/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.3.3.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.3.3-r1.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.3.3.ebuild rename to sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.3.3-r1.ebuild index 0bf58953c50..76ceffde857 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.3.3.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.3.3-r1.ebuild @@ -70,7 +70,7 @@ RESTRICT="!test? ( test )" # >= 1.51.0-r1 for ppc32 workaround (bug #941738) RDEPEND=" - >=app-arch/libarchive-3.3.3:= + >=app-arch/libarchive-3.8.0:= app-crypt/rhash:0= >=dev-libs/expat-2.0.1 >=dev-libs/jsoncpp-1.9.2-r2:0= @@ -91,8 +91,6 @@ BDEPEND+=" test? ( app-arch/libarchive[zstd] ) " -SITEFILE="50${PN}-gentoo.el" - PATCHES=( # Prefix "${FILESDIR}"/${PN}-3.27.0_rc1-0001-Don-t-use-.so-for-modules-on-darwin-macos.-Use-.bund.patch @@ -291,6 +289,11 @@ src_test() { "RunCMake.CMP0125" ) + local myctestargs=( + # Filter all tests requiring Fortran + -LE "Fortran" + ) + local -x QT_QPA_PLATFORM=offscreen cmake_src_test @@ -313,6 +316,9 @@ src_install() { insinto /usr/share/vim/vimfiles/ftdetect doins "${FILESDIR}/${PN}.vim" + # Part of app-emacs/cmake-mode instead + rm -r "${ED}"/usr/share/emacs || die + dobashcomp Auxiliary/bash-completion/{${PN},ctest,cpack} } diff --git a/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.3.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.3.4.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.3.1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.3.4.ebuild index c2fda1de812..37708104da5 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.3.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-4.3.4.ebuild @@ -70,7 +70,7 @@ RESTRICT="!test? ( test )" # >= 1.51.0-r1 for ppc32 workaround (bug #941738) RDEPEND=" - >=app-arch/libarchive-3.3.3:= + >=app-arch/libarchive-3.8.0:= app-crypt/rhash:0= >=dev-libs/expat-2.0.1 >=dev-libs/jsoncpp-1.9.2-r2:0= @@ -91,8 +91,6 @@ BDEPEND+=" test? ( app-arch/libarchive[zstd] ) " -SITEFILE="50${PN}-gentoo.el" - PATCHES=( # Prefix "${FILESDIR}"/${PN}-3.27.0_rc1-0001-Don-t-use-.so-for-modules-on-darwin-macos.-Use-.bund.patch @@ -291,6 +289,11 @@ src_test() { "RunCMake.CMP0125" ) + local myctestargs=( + # Filter all tests requiring Fortran + -LE "Fortran" + ) + local -x QT_QPA_PLATFORM=offscreen cmake_src_test @@ -313,6 +316,9 @@ src_install() { insinto /usr/share/vim/vimfiles/ftdetect doins "${FILESDIR}/${PN}.vim" + # Part of app-emacs/cmake-mode instead + rm -r "${ED}"/usr/share/emacs || die + dobashcomp Auxiliary/bash-completion/{${PN},ctest,cpack} } diff --git a/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-9999.ebuild index c2fda1de812..37708104da5 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/cmake/cmake-9999.ebuild @@ -70,7 +70,7 @@ RESTRICT="!test? ( test )" # >= 1.51.0-r1 for ppc32 workaround (bug #941738) RDEPEND=" - >=app-arch/libarchive-3.3.3:= + >=app-arch/libarchive-3.8.0:= app-crypt/rhash:0= >=dev-libs/expat-2.0.1 >=dev-libs/jsoncpp-1.9.2-r2:0= @@ -91,8 +91,6 @@ BDEPEND+=" test? ( app-arch/libarchive[zstd] ) " -SITEFILE="50${PN}-gentoo.el" - PATCHES=( # Prefix "${FILESDIR}"/${PN}-3.27.0_rc1-0001-Don-t-use-.so-for-modules-on-darwin-macos.-Use-.bund.patch @@ -291,6 +289,11 @@ src_test() { "RunCMake.CMP0125" ) + local myctestargs=( + # Filter all tests requiring Fortran + -LE "Fortran" + ) + local -x QT_QPA_PLATFORM=offscreen cmake_src_test @@ -313,6 +316,9 @@ src_install() { insinto /usr/share/vim/vimfiles/ftdetect doins "${FILESDIR}/${PN}.vim" + # Part of app-emacs/cmake-mode instead + rm -r "${ED}"/usr/share/emacs || die + dobashcomp Auxiliary/bash-completion/{${PN},ctest,cpack} } diff --git a/sdk_container/src/third_party/portage-stable/dev-build/cmake/files/50cmake-gentoo.el b/sdk_container/src/third_party/portage-stable/dev-build/cmake/files/50cmake-gentoo.el deleted file mode 100644 index e4a1a6d47cb..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-build/cmake/files/50cmake-gentoo.el +++ /dev/null @@ -1,4 +0,0 @@ -(add-to-list 'load-path "@SITELISP@") -(autoload 'cmake-mode "cmake-mode" "Major mode for editing CMake files." t) -(add-to-list 'auto-mode-alist '("CMakeLists\\.txt\\'" . cmake-mode)) -(add-to-list 'auto-mode-alist '("\\.cmake\\'" . cmake-mode)) From 6f13c2fae18706c7cc0c5142d797910a48552a5f Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:34:55 +0000 Subject: [PATCH 040/243] dev-build/meson: Sync with Gentoo It's from Gentoo commit bfbc574d634bd48d66eebd48b6c39d6c7f3df164. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-build/meson/Manifest | 3 - .../dev-build/meson/meson-1.10.2.ebuild | 2 +- .../dev-build/meson/meson-1.11.0.ebuild | 239 ------------------ .../dev-build/meson/meson-1.11.1.ebuild | 2 +- 4 files changed, 2 insertions(+), 244 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-build/meson/meson-1.11.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-build/meson/Manifest b/sdk_container/src/third_party/portage-stable/dev-build/meson/Manifest index d8e9d339368..43a48217a67 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/meson/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-build/meson/Manifest @@ -1,12 +1,9 @@ DIST meson-1.10.2.tar.gz 2422765 BLAKE2B 0c6966640988985f8c0af165cb89e0302b0d5e2d506a4c24639971b854dd7e2fe2ea4e4f52be65e0a1524a2c9a4ed71d13093f4881612c82e885ab34d5c46a7a SHA512 43d408fde7390c81eaef63b835deb4acfcae279cf05bcd63a368c4bc1de69b7fb620f801a7700345d4c41e155a4429a43cdef12e60322aa20a33edfaeb5ce7e9 DIST meson-1.10.2.tar.gz.asc 833 BLAKE2B f4609f3e51f32d290582f3b339e7b008bf244c3cded918fc115393d0f4644485eb7da1b3b56f1743ca3690665f5314486bbbdfa36ecc65019fca14958ef2c4f8 SHA512 55dbfe41eb8b29206536fa71d36eb483a4be35b7528f15ef00c660b828816c72deb34e63bca52c2641f4134917494ff55761835a9dae187986aa9cef7989bf06 -DIST meson-1.11.0.tar.gz 2461494 BLAKE2B 121589b9d5e42430b28a3226f6bdd46697e2b9271c512ae849aa648ba4268359b85daf11717666a78cff021cf710fc907fd3aa172275d6553767d5b8f1909f69 SHA512 9a4c678c523388d51e47ae1f1a506368f539fab0a9c1eb51ae6e148aeb6418ab26bae758c10c4c3d6f41bfc00949003ec52aabbcd7a9dc7bd33de8fa02477926 -DIST meson-1.11.0.tar.gz.asc 833 BLAKE2B 21d00c6901384c79c2c028a0a64e61fd552054c67287f20bcafec24998aea44e5483fc2407b7408c3274f88b51d2ba272c587510c788fa13a218469d73a20186 SHA512 f8e7868cfbfa322e9ff82b53de89130e064e21a80a7b9a70d15490a564b3050c954251395895aa6b278a6a77911cf18bdfdaefd766c59c418d5e91734c4f7a9e DIST meson-1.11.1.tar.gz 5190321 BLAKE2B 3fcedb28ae3646e1c6bc1b9596ec3f04af1752bef7de9a0a1086aa103d8e0e91b22c66b85f66751447571d2d8815cf3582aacb1e252ea4af59aa18ae1bbede13 SHA512 c30c98714ab595ca1b5241fbb546c9c5fbb3eada53bfe782652a5734b04d45d66944a5fc8673ee602797c8173e27473036bcb01e09032bbc518567ee89dd6d70 DIST meson-1.11.1.tar.gz.asc 395 BLAKE2B ed30367a763c06bc4dd241629b31dd416c9ff898a12e72ce4285608f0b1b66ff62a06b42bb90682f45e9d3298a112342fd451ca45fbf2397b30668ff28e5d5e6 SHA512 9115834e1dffefd5468206fb4539ebd4bdbe94d35a86ef2d62947d9268ffab6848994e75878d73d4b7b5880bdb0ab9ed648b77dd37321020461aaa89f11b6b45 DIST meson-1.9.2.tar.gz 2382854 BLAKE2B f099352abbc0fa8d358cbe406955ddf817453cdc244b36f322e11b5b3020013641d162c68c9bce119cf866e8082a14a3f7db9930b66dfba15805afb32440f555 SHA512 3237e55bb8374f65f40dccd8a93493a42fc425337758b8600b377c5e9795a1bdc97942fc19fedd4c3cb697f87c1d54364a637110704a5dc1a391d712be1463bc DIST meson-1.9.2.tar.gz.asc 833 BLAKE2B f161b2918c341172de5f141ac367d7d62a60f2d0eadd793f71fb6a19e8944b4ad6bbfbb25d233862066eec8e422295d46e03ce8aca26e1081f2bcb456b7c1057 SHA512 c8cace334e31d5ba3e4f2da687ed945182e3039dc8bbea94015caa82d373c4b4d96a425eccb7617793fd471040705711b00ab37705dcd2070be6ba089586652b DIST meson-reference-1.10.2.3 366569 BLAKE2B 28b37c33cb94f3cad8de68eeaaf210a470d14df68fa00d8fe18b79ab9acee71a725fa9cbcf57c9c470f98acd540123612dfd9974fb67121ce72fdc70168cfab8 SHA512 1defa912aeac9a5768e7f3ad669d4471a457c6fc70ead30c428ecc335d3a06db56314a5ad343aff7805b1a46388cbfba5b4188e2ef55d10b35767c046dcb0f36 -DIST meson-reference-1.11.0.3 383896 BLAKE2B 76f4a93c9f168bb2b2bb852918b4f4bd506df3c49ef31d34541a312a0ebb812abde4bc15e3525f795289b80a6a83df7827d10850e83fc32544a0aa0731119172 SHA512 0f9c095a41cb1a050439e68e1478ffccc4147094455103e4929275ffb0233e28fb8f7e6f8948b039bcc5a9ea3879156305a3e1b795760ac5bf54ac524c430b08 DIST meson-reference-1.11.1.3 383896 BLAKE2B 6262239b32c9be67eb426f2c208f7395ddb7894869d2d96618aec035a60e1529273c0e22f8fe141393465a96a962f3f307cad2353569dd0d7006e79cd9e36f41 SHA512 52a6efd4b52b389986c7ce346b5ccb2abc9e2afc66dcc83ee3b2d981a81c7052520afbbc34c483e6db53660048fb14925ca6fb5718c76768c6773458b8adf814 DIST meson-reference-1.9.2.3 347286 BLAKE2B ece5e2075e1d1aabe9daf09e8dbdd4c22d0940b957cc61443c9ea0136e54c9f39244cc082f7a784209bb1bb81b116acae74f02501a9cd16df6d06ff9dcda08c0 SHA512 dbf57730e6c6ac6d3ebfba70f4c4b479d8e1a502854343c776f5ba0e9c7a4ba10bf75758b3434dd418041019ab7d704fe1424f49adaf41e260f652b58fd9cb23 diff --git a/sdk_container/src/third_party/portage-stable/dev-build/meson/meson-1.10.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/meson/meson-1.10.2.ebuild index c11d7f38bda..4e5127727a6 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/meson/meson-1.10.2.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/meson/meson-1.10.2.ebuild @@ -37,7 +37,7 @@ else VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/jpakkane.gpg if [[ ${PV} != *_rc* ]] ; 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 fi diff --git a/sdk_container/src/third_party/portage-stable/dev-build/meson/meson-1.11.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/meson/meson-1.11.0.ebuild deleted file mode 100644 index c11d7f38bda..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-build/meson/meson-1.11.0.ebuild +++ /dev/null @@ -1,239 +0,0 @@ -# Copyright 2016-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) -DISTUTILS_USE_PEP517=setuptools - -inherit shell-completion edo distutils-r1 flag-o-matic toolchain-funcs - -if [[ ${PV} = *9999* ]]; then - EGIT_REPO_URI="https://github.com/mesonbuild/meson" - inherit ninja-utils git-r3 - - BDEPEND=" - ${NINJA_DEPEND} - $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') - " - -else - inherit verify-sig - - MY_PV=${PV/_/} - MY_P=${P/_/} - S=${WORKDIR}/${MY_P} - - SRC_URI=" - https://github.com/mesonbuild/meson/releases/download/${MY_PV}/${MY_P}.tar.gz - verify-sig? ( https://github.com/mesonbuild/meson/releases/download/${MY_PV}/${MY_P}.tar.gz.asc ) - https://github.com/mesonbuild/meson/releases/download/${MY_PV}/meson-reference.3 -> meson-reference-${MY_PV}.3 - " - # Releases may be signed by those listed in Releasing.md. Jussi - # remains the default release manager. - # https://github.com/mesonbuild/meson/commit/c2d795735fa1c46c54d6aed4d4a30f36a1f853cb - BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-eschwartz-20250723-r1 sec-keys/openpgp-keys-jpakkane )" - #VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/eschwartz.asc - VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/jpakkane.gpg - - if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" - fi -fi - -DESCRIPTION="Open source build system" -HOMEPAGE="https://mesonbuild.com/" - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="test test-full" -RESTRICT="!test? ( test )" -REQUIRED_USE="test-full? ( test )" - -# test-full contains various test dependencies, for optional test cases of -# frameworks Meson has support for. These will *usually* get skipped -# automatically if uninstalled. The dep allows: -# - guaranteeing the whole test suite runs transparently without skips -# - reducing brittleness of frameworks that straddle multiple packages -# - Qt is a particular example of this. qt5 is deprecated, but we need qtbase -# consistently installed as long as it isn't masked for removal. TODO: drop -# dev-qt/*:5 from DEPEND once they are masked. - -DEPEND=" - test? ( - dev-libs/glib:2 - >=dev-libs/gobject-introspection-1.82.0-r2 - app-alternatives/ninja - dev-vcs/git - virtual/zlib:=[static-libs(+)] - virtual/pkgconfig - dev-build/cmake - ) - test-full? ( - || ( dev-lang/rust dev-lang/rust-bin ) - dev-lang/nasm - >=dev-lang/pypy-3 - dev-lang/vala - dev-python/cython - virtual/fortran - virtual/jdk - - app-text/doxygen - dev-cpp/gtest - dev-libs/protobuf - dev-util/bindgen - dev-util/gtk-doc - dev-util/itstool - llvm-core/llvm - media-libs/libsdl2 - media-libs/libwmf - net-libs/libpcap - sci-libs/hdf5[cxx,fortran] - sci-libs/netcdf - sys-cluster/openmpi[fortran] - sys-devel/bison - sys-devel/flex - - dev-qt/qtbase:6[gui,widgets] - dev-qt/qtdeclarative:6 - dev-qt/qttools:6 - >=dev-util/gdbus-codegen-2.80.5-r1 - x11-libs/gtk+:3 - - dev-libs/wayland - dev-util/wayland-scanner - ) -" -RDEPEND=" - !/dev/null) - - ${EPYTHON} -u run_tests.py - ) || die "Testing failed with ${EPYTHON}" -} - -python_install_all() { - distutils-r1_python_install_all - - insinto /usr/share/vim/vimfiles - doins -r data/syntax-highlighting/vim/{ftdetect,indent,syntax} - - dozshcomp data/shell-completions/zsh/_meson - dobashcomp data/shell-completions/bash/meson - - if [[ ${PV} = *9999* ]]; then - DESTDIR="${ED}" eninja -C docs/builddir install - else - newman "${DISTDIR}"/meson-reference-${MY_PV}.3 meson-reference.3 - fi -} diff --git a/sdk_container/src/third_party/portage-stable/dev-build/meson/meson-1.11.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-build/meson/meson-1.11.1.ebuild index d232bd7fea9..cfe127b706d 100644 --- a/sdk_container/src/third_party/portage-stable/dev-build/meson/meson-1.11.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-build/meson/meson-1.11.1.ebuild @@ -37,7 +37,7 @@ else #VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/jpakkane.gpg if [[ ${PV} != *_rc* ]] ; 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 fi From 957a7b7166f851095a2b77988c102ca64b89e980 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:03 +0000 Subject: [PATCH 041/243] dev-db/etcd: Sync with Gentoo It's from Gentoo commit aea7f825b1841b83a58803727fa3c5a77f7b714f. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-db/etcd/Manifest | 2 + .../dev-db/etcd/etcd-3.6.11.ebuild | 78 +++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-db/etcd/etcd-3.6.11.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-db/etcd/Manifest b/sdk_container/src/third_party/portage-stable/dev-db/etcd/Manifest index db880c7bdf7..2a522a57735 100644 --- a/sdk_container/src/third_party/portage-stable/dev-db/etcd/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-db/etcd/Manifest @@ -4,5 +4,7 @@ DIST etcd-3.5.18-deps.tar.xz 46453448 BLAKE2B 677370cb6d9064f8474adbfc5030b46f33 DIST etcd-3.5.18.tar.gz 4128059 BLAKE2B 32f867170bf1195d019dcf562bff9104db00f6ccff6b91bf12a4c95a63a5d92dda6984437bed819240be7bd8d4e2b507904251f636e945c5847ef93e72f1dd63 SHA512 0d72c40d575997d70d9d4964e7ff4be75c77e13a40ea08fcc020fddc64dc420338f1853d5a51a2dbe3f4c2881ae196a7aa32565e4b41dbda77bc2b6ae2313104 DIST etcd-3.5.26-deps.tar.xz 48943308 BLAKE2B 6c5719f47ef4be8b98260ff8b1f4d09c25bf01eb830e8e7851793d617336df0556bf7010bd9b6dba611b017501bdda18541282363e275d3ecded6c25efa43c50 SHA512 e3544d6787800d734ec9e851ea4755f166e3eaf6e82c3353e172aa2f34336a312f97811e39aae4babc905d91627fa182aed007c450737194db937d4ba76dc8c9 DIST etcd-3.5.26.tar.gz 4145585 BLAKE2B e261a5ef3b629a69cc044b1a92ee6b3a2d56ee7e648b86036016c79b084bbb5dd748ecaf0214900b88c596b14f297815ab166e468c0fe84d63f46e6b51e867d5 SHA512 3a014d259725d8a116a3823fd921c6fa6cf9587c993038c12765085032610e997bf318d29ca2ae9ed34a55990cb500b61e2bc1f8151a80e200ec2299d918cf76 +DIST etcd-3.6.11-deps.tar.xz 111959652 BLAKE2B bfe2bb60c5a0a428401333f5ee9f33c1cad7f455fce768318625aceb95ffd6927a588c81166e67cad21d6055cda6e290a6e8a0d0151ab0b566494fb2e899adee SHA512 160078a709a58656fbc584ddeb35baa1ffe447ae9ed9b4dca5e40aa316e162caccde13c29b0eff5ef144153d601565d253e897f3ffe5684c4f807dd87517a5ca +DIST etcd-3.6.11.tar.gz 7384738 BLAKE2B ba4730a1cdf31ae94365124a48aeb222a91b1df835e5b919dac15c3eceecf1165ac92ab2a19e70067be7ba8f42df59100e1679c5cee423fe86cd4aeea7d3efbd SHA512 56423c42443d9d1d2d06ff28aff389a381ed9b726cbee0d3523ac34fe2a8e22029377a42aa808077bb985f524a153c5fe63fd6166857749e8217b705fdf41910 DIST etcd-3.6.7-deps.tar.xz 109371156 BLAKE2B 46f3d0cfed7ad1f9c799d569cd78d766266e8f33f3b2421011860443d644044cd46a58c67180ac7c15d63385b33ab18b9139dc0954a509898147e616f470e4e0 SHA512 711506c537d721a3c64466a7b57a5cc32f25a018947b232a9fc6b28f0faa1985c3f319161ba6ca20e7a909574fd5c4887a0cf0290461a97d713182a38f11f48c DIST etcd-3.6.7.tar.gz 7379199 BLAKE2B 011a5fb132dbb3a5229d20f803df3ba8785c068e3ed38d14d8be798af74cf3895efe980be605014e648883903512f910129d5bb57600dd7f170361a1fb7c488b SHA512 05d85c127bf947799deccbf082bfb7e93c3a37378a13723d0cc925bec8fc153a2391b4d1be3cf9da46fc575ed45c3afbbdb143f227a163b37e92a27163f5a2e8 diff --git a/sdk_container/src/third_party/portage-stable/dev-db/etcd/etcd-3.6.11.ebuild b/sdk_container/src/third_party/portage-stable/dev-db/etcd/etcd-3.6.11.ebuild new file mode 100644 index 00000000000..2e453cecb92 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-db/etcd/etcd-3.6.11.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd tmpfiles +GIT_COMMIT=ec166e229 + +DESCRIPTION="Highly-available key value store for shared configuration and service discovery" +HOMEPAGE="https://github.com/etcd-io/etcd" +SRC_URI="https://github.com/etcd-io/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~chewi/distfiles/${P}-deps.tar.xz" + +LICENSE="Apache-2.0" +LICENSE+=" BSD BSD-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv" +IUSE="doc +server" + +COMMON_DEPEND="server? ( + acct-group/etcd + acct-user/etcd + )" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" +BDEPEND=">=dev-lang/go-1.25.9" + +# Unit tests attempt to download go modules. +PROPERTIES="test_network" +RESTRICT="test" + +src_prepare() { + default + sed -i "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|" scripts/build_lib.sh || die + + # Don't test these as they are not built. + find tools/ -name "*_test.go" -delete || die +} + +src_configure() { + export FORCE_HOST_GO=1 GO_BUILD_FLAGS="-v -x" +} + +src_compile() { + scripts/build.sh || die +} + +src_test() { + PASSES="unit" scripts/test.sh -v || die +} + +src_install() { + dobin bin/etcdctl + dobin bin/etcdutl + use doc && dodoc -r Documentation + if use server; then + insinto /etc/${PN} + sed -e 's|^data-dir:|\0 /var/lib/etcd|' -i etcd.conf.yml.sample || die + newins etcd.conf.yml.sample etcd.conf.yml + dobin bin/etcd + dodoc README.md + systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service" + newtmpfiles "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf + newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} + newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN} + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotated" "${PN}" + keepdir /var/lib/${PN} /var/log/${PN} + fowners ${PN}:${PN} /var/lib/${PN} /var/log/${PN} + fperms 0700 /var/lib/${PN} + fperms 0755 /var/log/${PN} + fi +} + +pkg_postinst() { + if use server; then + tmpfiles_process ${PN}.conf + fi +} From 5b69cec882b1288624c6ea0eefdd643a3e5dc4ce Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:03 +0000 Subject: [PATCH 042/243] dev-db/sqlite: Sync with Gentoo It's from Gentoo commit 9d6091049050db2778fa199e37539e901c77884c. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-db/sqlite/Manifest | 8 +- .../sqlite/files/sqlite-3.51.3-test.patch | 106 ------------------ ....2-hwtime.h-Don-t-use-rdtsc-on-i486.patch} | 18 ++- .../dev-db/sqlite/sqlite-3.53.1.ebuild | 2 +- ...-3.51.3.ebuild => sqlite-3.53.2-r1.ebuild} | 9 +- ...ite-3.51.2.ebuild => sqlite-3.53.3.ebuild} | 18 +-- .../dev-db/sqlite/sqlite-9999.ebuild | 23 ++-- 7 files changed, 41 insertions(+), 143 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-db/sqlite/files/sqlite-3.51.3-test.patch rename sdk_container/src/third_party/portage-stable/dev-db/sqlite/files/{sqlite-3.47.2-hwtime.h-Don-t-use-rdtsc-on-i486.patch => sqlite-3.53.2-hwtime.h-Don-t-use-rdtsc-on-i486.patch} (80%) rename sdk_container/src/third_party/portage-stable/dev-db/sqlite/{sqlite-3.51.3.ebuild => sqlite-3.53.2-r1.ebuild} (96%) rename sdk_container/src/third_party/portage-stable/dev-db/sqlite/{sqlite-3.51.2.ebuild => sqlite-3.53.3.ebuild} (95%) diff --git a/sdk_container/src/third_party/portage-stable/dev-db/sqlite/Manifest b/sdk_container/src/third_party/portage-stable/dev-db/sqlite/Manifest index bc4f208bd4c..72d5f5fc773 100644 --- a/sdk_container/src/third_party/portage-stable/dev-db/sqlite/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-db/sqlite/Manifest @@ -1,6 +1,6 @@ -DIST sqlite-doc-3510200.zip 11620595 BLAKE2B c799fc3285b61200ff4cbdbfd0cd126183d84fe71db9f1bcb59db93117deadd38f9a5ca719768ba0cd923daa2f68da759dc887cc18923fedb83b5cb40707e74b SHA512 7f6151f61748c6b9c081be5b52755f963a913009864e667cadd014744d14009f28e8ff61e940e971f9db69144106a51e87e88c25a12d5b157decc58178e63d59 -DIST sqlite-doc-3510300.zip 11638860 BLAKE2B f60c59023f9c6ceaeedf16ca20b71720c962ed5b3f2550c54f8c06b156f6d2ef38e9673a833e60f7df2072fcbb2ba1dd5c7b61bc6827a06b333ae92abb7a013e SHA512 331905c02fb0f7840d76bc75706790767caf9468ef642877c00830aee4622b0bdf4b484d48749b4400bc27f7f865309b7371ee2042a03dca12ef75e330f4e5e9 DIST sqlite-doc-3530100.zip 11796231 BLAKE2B aff3462d5d9ccdac9cb7bed65d4ed1b52ae8268c6eff738804ba32bb6852fee4ce0a934ccaf47259cd86b0d832dc57571652816159411493d435d6f5f4029ed0 SHA512 fe1234a91408536c899991cd50633fc755544206931560e0308cf9aa9114f4161fe33eb6046eb3f4c62a0d94439108ad32c2ef5cedb410c59c89d70c1260118a -DIST sqlite-src-3510200.zip 14202690 BLAKE2B d723603b6ba38a980442c730827c8ac3b6fef2a3e431ce9afefc3814c184873794e5005850a4e75ced56fab4a062a072ff9005b08febed1119fa5e2fda1de14e SHA512 89e1c76d6cae41f2ececb85af2e8bfd5cf60e8b9e3d8a48f98f3913513762bc8846f6b5c28e76cca12505ce670cdaf6ca95ecb2267b9527e47929fb928847605 -DIST sqlite-src-3510300.zip 14206164 BLAKE2B e9526059cc84153a3564ec2a42484f6219985006130d5291c2c20d063c0002ea607fa5da2293db658e0f36388e44c98a1882185c35dca09d32d8b24a7365892e SHA512 2bf2d0fd824580a5f4d4312c1c350459fce9342de45ba33ba521f539ef455ce0afe35ea58aefc3f39f7a353f998f4b9b98ffafe56d65582ef6ae78c2ec503125 +DIST sqlite-doc-3530200.zip 11807834 BLAKE2B 6dcdd24e80cf82ded185c4ec17b9be33b7e55c7628128727c23073cd5d9e18214035cee41e20c2c6c564c40e89f8c000f2b1476e536bf4103325828933724701 SHA512 58048eff2245b3371a46a8728410d663d1ed9f65f54da87691499ad5bb8d8479e22c2400a6e0e5ba993cc7608da4a981964974bc36c6aeddedd170873ec35a96 +DIST sqlite-doc-3530300.zip 11814077 BLAKE2B 26a7c8ba32034ff7d2eed3b077d5ebb966b89f933a6a7601a8e8558f4f86fdd6512168ae48b5ef776eb0a78addef6eeba949793db73925c31f102d3a7068940e SHA512 9c63baa5156090061b4741e318a4f647c70e92230f077d4ea43f422bbf605dd9ae7bf21eaad7ffac079cf900ca3949b867d650c05333fd1119a6dfc1b6ac49ba DIST sqlite-src-3530100.zip 14515734 BLAKE2B 4677b83156ded5d65336161dc6b565268ba5d39bf110e3b69a71809b7a9ae1511684a2150d268c298f9991a316ac2cda7adea2bd692292d75a78f05d5807cd0d SHA512 e6b429dbec2056e1e90557896940f46b0976b9c4a3cfa6890d23f690fcab4d7cff2f2dea3a3d2cfc5faf87d0d6feb318c70212ec101008416d106189c6bc0133 +DIST sqlite-src-3530200.zip 14527073 BLAKE2B d06696d0d77becea85b15a04be178971e356dfe8babb9440ce150633dfe6e6195eac852ff434d306ca27a511273ef4f02bf2aec70a3ce6ec86f0b003c9aa64c4 SHA512 ebb8f1d05c416f1e8962ea94b5e09a7d92df9ace3af6ff0c090d4bec244fff741861257b3cb79f14b7b38c16992f5b1495121266bd01e865fb377aa402e33332 +DIST sqlite-src-3530300.zip 14537772 BLAKE2B c9e2de4e20398f9cd954ccce5fcb05c1a6d3ca7950d0141b7aab9f121b59a365c9cfefbe6cd64eea90a62486447dbf1b26ca31e67055f3bf6c11d9c6deb219b9 SHA512 56faea22a885b556877fba25b750de627b0c5a449545b95bd771c8a8a885363c73a876db099b438632c1f8ededa70d1897156cd04b84f53d2af9ca88c2948096 diff --git a/sdk_container/src/third_party/portage-stable/dev-db/sqlite/files/sqlite-3.51.3-test.patch b/sdk_container/src/third_party/portage-stable/dev-db/sqlite/files/sqlite-3.51.3-test.patch deleted file mode 100644 index 69db285cfae..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-db/sqlite/files/sqlite-3.51.3-test.patch +++ /dev/null @@ -1,106 +0,0 @@ ---- a/Makefile.msc -+++ b/Makefile.msc -@@ -2551,43 +2551,19 @@ coretestprogs: testfixture.exe sqlite3.exe - - testprogs: $(TESTPROGS) srcck1.exe fuzzcheck.exe sessionfuzz.exe - --fulltest: alltest fuzztest -- --alltest: $(TESTPROGS) -- @set PATH=$(LIBTCLPATH);$(PATH) -- .\testfixture.exe $(TOP)\test\all.test $(TESTOPTS) -- --soaktest: $(TESTPROGS) -- @set PATH=$(LIBTCLPATH);$(PATH) -- .\testfixture.exe $(TOP)\test\all.test -soak=1 $(TESTOPTS) -- --fulltestonly: $(TESTPROGS) fuzztest -- @set PATH=$(LIBTCLPATH);$(PATH) -- .\testfixture.exe $(TOP)\test\full.test -- --queryplantest: testfixture.exe shell -- @set PATH=$(LIBTCLPATH);$(PATH) -- .\testfixture.exe $(TOP)\test\permutations.test queryplanner $(TESTOPTS) -- - fuzztest: fuzzcheck.exe - .\fuzzcheck.exe $(FUZZDATA) - --# Legacy testing target for third-party integrators. The SQLite --# developers seldom use this target themselves. Instead --# they use "nmake /f Makefile.msc devtest" which runs tests on --# a standard set of options --# --test: $(TESTPROGS) sourcetest fuzztest tcltest -- --# Minimal testing that runs in less than 3 minutes (on a fast machine) - # --quicktest: testfixture.exe sourcetest -- @set PATH=$(LIBTCLPATH);$(PATH) -- .\testfixture.exe $(TOP)\test\extraquick.test $(TESTOPTS) -- --# This is the common case. Run many tests that do not take too long, --# including fuzzcheck, sqlite3_analyzer, and sqldiff tests. -+# Legacy testing targets, no longer used by the developers and -+# now aliased to one of the commonly used testing targets. - # -+quicktest: devtest -+test: devtest -+fulltest: releasetest -+alltest: releasetest -+soaktest: releasetest -+fulltestonly: releasetest - - # The veryquick.test TCL tests. - # -diff --git a/main.mk b/main.mk -index aca5fc7856..037634091a 100644 ---- a/main.mk -+++ b/main.mk -@@ -1817,20 +1817,6 @@ coretestprogs: testfixture$(B.exe) sqlite3$(B.exe) - - testprogs: $(TESTPROGS) srcck1$(B.exe) fuzzcheck$(T.exe) sessionfuzz$(T.exe) - --# A very detailed test running most or all test cases --fulltest: alltest fuzztest -- --# Run most or all tcl test cases --alltest: $(TESTPROGS) -- ./testfixture$(T.exe) $(TOP)/test/all.test $(TESTOPTS) -- --# Really really long testing --soaktest: $(TESTPROGS) -- ./testfixture$(T.exe) $(TOP)/test/all.test -soak=1 $(TESTOPTS) -- --# Do extra testing but not everything. --fulltestonly: $(TESTPROGS) fuzztest -- ./testfixture$(T.exe) $(TOP)/test/full.test - - # - # Fuzz testing -@@ -1906,19 +1892,15 @@ releasetest: srctree-check has_tclsh85 verify-source - $(TCLSH_CMD) $(TOP)/test/testrunner.tcl release $(TSTRNNR_OPTS) - - # --# Minimal testing that runs in less than 3 minutes --# --quicktest: ./testfixture$(T.exe) -- ./testfixture$(T.exe) $(TOP)/test/extraquick.test $(TESTOPTS) -- --# --# Try to run tests on whatever options are specified by the --# ./configure. The developers seldom use this target. Instead --# they use "make devtest" which runs tests on a standard set of --# options regardless of how SQLite is configured. This "test" --# target is provided for legacy only. -+# Legacy testing targets, no longer used by the developers and -+# now aliased to one of the commonly used testing targets. - # --test: srctree-check fuzztest sourcetest $(TESTPROGS) tcltest -+quicktest: devtest -+test: devtest -+fulltest: releasetest -+alltest: releasetest -+soaktest: releasetest -+fulltestonly: releasetest - - # diff --git a/sdk_container/src/third_party/portage-stable/dev-db/sqlite/files/sqlite-3.47.2-hwtime.h-Don-t-use-rdtsc-on-i486.patch b/sdk_container/src/third_party/portage-stable/dev-db/sqlite/files/sqlite-3.53.2-hwtime.h-Don-t-use-rdtsc-on-i486.patch similarity index 80% rename from sdk_container/src/third_party/portage-stable/dev-db/sqlite/files/sqlite-3.47.2-hwtime.h-Don-t-use-rdtsc-on-i486.patch rename to sdk_container/src/third_party/portage-stable/dev-db/sqlite/files/sqlite-3.53.2-hwtime.h-Don-t-use-rdtsc-on-i486.patch index 499fe2d21bd..af6b9ebdf9a 100644 --- a/sdk_container/src/third_party/portage-stable/dev-db/sqlite/files/sqlite-3.47.2-hwtime.h-Don-t-use-rdtsc-on-i486.patch +++ b/sdk_container/src/third_party/portage-stable/dev-db/sqlite/files/sqlite-3.53.2-hwtime.h-Don-t-use-rdtsc-on-i486.patch @@ -19,15 +19,13 @@ Bug: https://bugs.gentoo.org/948671 Signed-off-by: Sam James --- a/src/hwtime.h +++ b/src/hwtime.h -@@ -24,7 +24,7 @@ - */ - #if !defined(__STRICT_ANSI__) && \ - (defined(__GNUC__) || defined(_MSC_VER)) && \ +@@ -28,7 +28,7 @@ + } + + #elif !defined(__STRICT_ANSI__) && defined(__GNUC__) && \ - (defined(i386) || defined(__i386__) || defined(_M_IX86)) -+ (defined(i586) || defined(__i586__) || defined(_M_IX86)) - - #if defined(__GNUC__) - --- -2.48.1 ++ (defined(i586) || defined(__i386__) || defined(_M_IX86)) + + __inline__ sqlite_uint64 sqlite3Hwtime(void){ + unsigned int lo, hi; diff --git a/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.53.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.53.1.ebuild index 992e2a6461d..fe32a0d817d 100644 --- a/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.53.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.53.1.ebuild @@ -24,7 +24,7 @@ else " S="${WORKDIR}/${PN}-src-${SRC_PV}" - 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 LICENSE="public-domain" diff --git a/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.51.3.ebuild b/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.53.2-r1.ebuild similarity index 96% rename from sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.51.3.ebuild rename to sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.53.2-r1.ebuild index 87282ea0581..5ee98da6c05 100644 --- a/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.51.3.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.53.2-r1.ebuild @@ -24,7 +24,7 @@ else " S="${WORKDIR}/${PN}-src-${SRC_PV}" - 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 LICENSE="public-domain" @@ -51,8 +51,7 @@ else fi PATCHES=( - "${FILESDIR}"/${PN}-3.47.2-hwtime.h-Don-t-use-rdtsc-on-i486.patch - "${FILESDIR}"/${PN}-3.51.3-test.patch + "${FILESDIR}"/${PN}-3.53.2-hwtime.h-Don-t-use-rdtsc-on-i486.patch ) _fossil_fetch() { @@ -338,7 +337,7 @@ multilib_src_compile() { emake HAVE_TCL="$(usex tcl 1 0)" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" if use tools && multilib_is_native_abi; then - emake changeset dbdump dbhash dbtotxt index_usage rbu scrub showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_checker sqlite3_expert sqltclsh + emake changeset dbdump dbhash dbtotxt index_usage rbu showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_expert sqltclsh fi if [[ ${PV} == 9999 ]] && use doc && multilib_is_native_abi; then @@ -406,7 +405,6 @@ multilib_src_install() { install_tool dbtotxt sqlite3-db-to-txt install_tool index_usage sqlite3-index-usage install_tool rbu sqlite3-rbu - install_tool scrub sqlite3-scrub install_tool showdb sqlite3-show-db install_tool showjournal sqlite3-show-journal install_tool showshm sqlite3-show-shm @@ -414,7 +412,6 @@ multilib_src_install() { install_tool showwal sqlite3-show-wal install_tool sqldiff sqlite3-diff install_tool sqlite3_analyzer sqlite3-analyzer - install_tool sqlite3_checker sqlite3-checker install_tool sqlite3_expert sqlite3-expert install_tool sqltclsh sqlite3-tclsh diff --git a/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.51.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.53.3.ebuild similarity index 95% rename from sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.51.2.ebuild rename to sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.53.3.ebuild index 06981e6d847..5ee98da6c05 100644 --- a/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.51.2.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-3.53.3.ebuild @@ -24,12 +24,13 @@ else " S="${WORKDIR}/${PN}-src-${SRC_PV}" - 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 LICENSE="public-domain" SLOT="3" -IUSE="debug doc icu +readline secure-delete static-libs tcl test tools" +IUSE="debug doc icu +readline secure-delete static-libs tcl test test-full tools" +REQUIRED_USE="test-full? ( test )" RESTRICT="!test? ( test )" RDEPEND=" @@ -50,7 +51,7 @@ else fi PATCHES=( - "${FILESDIR}"/${PN}-3.47.2-hwtime.h-Don-t-use-rdtsc-on-i486.patch + "${FILESDIR}"/${PN}-3.53.2-hwtime.h-Don-t-use-rdtsc-on-i486.patch ) _fossil_fetch() { @@ -336,7 +337,7 @@ multilib_src_compile() { emake HAVE_TCL="$(usex tcl 1 0)" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" if use tools && multilib_is_native_abi; then - emake changeset dbdump dbhash dbtotxt index_usage rbu scrub showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_checker sqlite3_expert sqltclsh + emake changeset dbdump dbhash dbtotxt index_usage rbu showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_expert sqltclsh fi if [[ ${PV} == 9999 ]] && use doc && multilib_is_native_abi; then @@ -369,7 +370,12 @@ multilib_src_test() { addpredict "/test.db" addpredict "/ÿ.db" - emake -Onone $(usex debug 'fulltest' 'test') + emake tclextension + if multilib_is_native_abi; then + emake -Onone $(usex test-full 'xdevtest' 'test') + else + emake srctree-check fuzztest sourcetest $TESTPROGS testrunner + fi } multilib_src_install() { @@ -399,7 +405,6 @@ multilib_src_install() { install_tool dbtotxt sqlite3-db-to-txt install_tool index_usage sqlite3-index-usage install_tool rbu sqlite3-rbu - install_tool scrub sqlite3-scrub install_tool showdb sqlite3-show-db install_tool showjournal sqlite3-show-journal install_tool showshm sqlite3-show-shm @@ -407,7 +412,6 @@ multilib_src_install() { install_tool showwal sqlite3-show-wal install_tool sqldiff sqlite3-diff install_tool sqlite3_analyzer sqlite3-analyzer - install_tool sqlite3_checker sqlite3-checker install_tool sqlite3_expert sqlite3-expert install_tool sqltclsh sqlite3-tclsh diff --git a/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-9999.ebuild index 3023b268d07..5ee98da6c05 100644 --- a/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-db/sqlite/sqlite-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,8 +19,8 @@ else #printf -v DOC_PV "%u%02u%02u00" $(ver_rs 1-3 " ") SRC_URI=" - https://sqlite.org/2025/${PN}-src-${SRC_PV}.zip - doc? ( https://sqlite.org/2025/${PN}-doc-${DOC_PV}.zip ) + https://sqlite.org/2026/${PN}-src-${SRC_PV}.zip + doc? ( https://sqlite.org/2026/${PN}-doc-${DOC_PV}.zip ) " S="${WORKDIR}/${PN}-src-${SRC_PV}" @@ -29,7 +29,8 @@ fi LICENSE="public-domain" SLOT="3" -IUSE="debug doc icu +readline secure-delete static-libs tcl test tools" +IUSE="debug doc icu +readline secure-delete static-libs tcl test test-full tools" +REQUIRED_USE="test-full? ( test )" RESTRICT="!test? ( test )" RDEPEND=" @@ -50,7 +51,7 @@ else fi PATCHES=( - "${FILESDIR}"/${PN}-3.47.2-hwtime.h-Don-t-use-rdtsc-on-i486.patch + "${FILESDIR}"/${PN}-3.53.2-hwtime.h-Don-t-use-rdtsc-on-i486.patch ) _fossil_fetch() { @@ -333,10 +334,10 @@ multilib_src_configure() { } multilib_src_compile() { - emake HAVE_TCL="$(usev tcl 1)" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" + emake HAVE_TCL="$(usex tcl 1 0)" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" if use tools && multilib_is_native_abi; then - emake changeset dbdump dbhash dbtotxt index_usage rbu scrub showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_expert sqltclsh + emake changeset dbdump dbhash dbtotxt index_usage rbu showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_expert sqltclsh fi if [[ ${PV} == 9999 ]] && use doc && multilib_is_native_abi; then @@ -369,7 +370,12 @@ multilib_src_test() { addpredict "/test.db" addpredict "/ÿ.db" - emake -Onone $(usex debug 'fulltest' 'test') + emake tclextension + if multilib_is_native_abi; then + emake -Onone $(usex test-full 'xdevtest' 'test') + else + emake srctree-check fuzztest sourcetest $TESTPROGS testrunner + fi } multilib_src_install() { @@ -399,7 +405,6 @@ multilib_src_install() { install_tool dbtotxt sqlite3-db-to-txt install_tool index_usage sqlite3-index-usage install_tool rbu sqlite3-rbu - install_tool scrub sqlite3-scrub install_tool showdb sqlite3-show-db install_tool showjournal sqlite3-show-journal install_tool showshm sqlite3-show-shm From f6dea7a88def864c65883017a2bbd5b842ae3122 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:04 +0000 Subject: [PATCH 043/243] dev-debug/gdb: Sync with Gentoo It's from Gentoo commit c86326ed46583d945c02a15098f0857587f20943. Signed-off-by: Flatcar Buildbot --- .../third_party/portage-stable/dev-debug/gdb/gdb-17.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-debug/gdb/gdb-17.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-debug/gdb/gdb-17.2.ebuild index 9352858cc0f..b4197abd6a0 100644 --- a/sdk_container/src/third_party/portage-stable/dev-debug/gdb/gdb-17.2.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-debug/gdb/gdb-17.2.ebuild @@ -78,7 +78,7 @@ LICENSE="GPL-3+ LGPL-2.1+" SLOT="0" IUSE="babeltrace cet +debuginfod guile lzma multitarget nls +python rocm +server sim source-highlight test vanilla +xml xxhash zstd" if [[ -n ${REGULAR_RELEASE} ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris" fi REQUIRED_USE=" guile? ( ${GUILE_REQUIRED_USE} ) From 453c09cbea762589a9a73435808d3055fb4e7c79 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:04 +0000 Subject: [PATCH 044/243] dev-debug/strace: Sync with Gentoo It's from Gentoo commit f6d21b8335767d674950edba20e965c454047bd7. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-debug/strace/Manifest | 2 + .../dev-debug/strace/strace-7.0-r1.ebuild | 2 +- .../dev-debug/strace/strace-7.1.ebuild | 129 ++++++++++++++++++ 3 files changed, 132 insertions(+), 1 deletion(-) create mode 100644 sdk_container/src/third_party/portage-stable/dev-debug/strace/strace-7.1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-debug/strace/Manifest b/sdk_container/src/third_party/portage-stable/dev-debug/strace/Manifest index 412bec54bd2..4bce856520c 100644 --- a/sdk_container/src/third_party/portage-stable/dev-debug/strace/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-debug/strace/Manifest @@ -2,3 +2,5 @@ DIST strace-6.19.tar.xz 2743524 BLAKE2B f46ff7788bfebef06af467cac1554fa2bfdb4439 DIST strace-6.19.tar.xz.asc 833 BLAKE2B e79d60b763e813d09cf1062b62edaa3be8c4b012d2d6b5c80b4b3de6fa97fd5d47ab6ff25ab232534d3dafddd709e63d7ca2eb6a140b4e95b48e753e66e23834 SHA512 953bd7819692d39f3fc71cc98600c4fdf3aa1ea4ba847a0d6d66cf5f83825e2f5e3424b172d62b91505ee80d85a732f226356692f02cc25f4c6905d0a6ee5990 DIST strace-7.0.tar.xz 2764808 BLAKE2B dbf95b95742e274350955fc5e59f6c3f05ca8e029e5ecdd823dbe5ae4a1c8a971d115838e122d6a3d05cd7e017f7c6891776ce26821370ac9adc1e90bc8fd9fc SHA512 52a2d1a32caf622cdd7bb471b9e215bbb1ed33c9dd2afc1bb2d4bc69b68c01e6850223753ec7fbade33d33537268632a30cd15ffad37c7eb63e803e47a2fe020 DIST strace-7.0.tar.xz.asc 833 BLAKE2B 048782b2235f9f3007b3cef2565e794cefa58fdb0d5e576e38692f442e1c5656599beb7130fb6010a83c46bad90a7f5a6085966877a91a214f1b8ff28c326d90 SHA512 c003187bf2f6f068de200af2e23000998edd07cc10774d88b2d659419d08464b997b5ad141e858adcf47f236decdddd2e7cf1d0e383e5586b8c8bee280c2dc17 +DIST strace-7.1.tar.xz 2792640 BLAKE2B 755ebf184008896bbb8537918b54ca00a7206a6e553a70b19d46554cada314315d3dc92ebef53c661634bd270a7b51e2131d524134a7a76cd93e40d0ec294380 SHA512 81afed51fdb220e2fb8a83adbb0f9c1c702679955550f6a5037c56d0918ad497829274d5e5f64cfd2c3146802488f07e23f60b5590556b2d1d9b6442abe69717 +DIST strace-7.1.tar.xz.asc 833 BLAKE2B c10cdd02355531a8aeea98770d93e9636a656692f2c12bfd877ad85c1520a198150d5e5e2731cab4bd2e8263d8e35ca3c12f1209acc4ab29eccfd1c3ca56114f SHA512 09001f948e59439ac2d8dba302782367fcb14ea237e9faf206656b311ca176803f7cd79c13d7e4e6d67727cb3ecb4f9bc671641007210ddd9b1ac4ff65773d5e diff --git a/sdk_container/src/third_party/portage-stable/dev-debug/strace/strace-7.0-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-debug/strace/strace-7.0-r1.ebuild index 81359e48de5..34bfff1ba52 100644 --- a/sdk_container/src/third_party/portage-stable/dev-debug/strace/strace-7.0-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-debug/strace/strace-7.0-r1.ebuild @@ -16,7 +16,7 @@ else https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz verify-sig? ( https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz.asc ) " - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" fi VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/strace.asc diff --git a/sdk_container/src/third_party/portage-stable/dev-debug/strace/strace-7.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-debug/strace/strace-7.1.ebuild new file mode 100644 index 00000000000..81359e48de5 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-debug/strace/strace-7.1.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools edo flag-o-matic toolchain-funcs verify-sig + +DESCRIPTION="Useful diagnostic, instructional, and debugging tool" +HOMEPAGE="https://strace.io/" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/strace/strace.git" + inherit git-r3 +else + SRC_URI=" + https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz + verify-sig? ( https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz.asc ) + " + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/strace.asc + +LICENSE="LGPL-2.1+ test? ( GPL-2+ )" +SLOT="0" +IUSE="aio ncurses perl selinux static test unwind elfutils" +RESTRICT="!test? ( test )" +REQUIRED_USE="?? ( unwind elfutils )" + +BDEPEND=" + virtual/pkgconfig + verify-sig? ( >=sec-keys/openpgp-keys-strace-20251130 ) +" +STATIC_DEPEND=" + elfutils? ( dev-libs/elfutils[static-libs(+)] ) + ncurses? ( sys-libs/ncurses[static-libs(+)] ) + selinux? ( sys-libs/libselinux[static-libs(+)] ) + unwind? ( sys-libs/libunwind[static-libs(+)] ) +" +LIB_DEPEND=" + elfutils? ( dev-libs/elfutils ) + ncurses? ( sys-libs/ncurses:= ) + selinux? ( sys-libs/libselinux ) + unwind? ( sys-libs/libunwind:= ) +" +# strace only uses the header from libaio to decode structs +DEPEND=" + static? ( ${STATIC_DEPEND} ) + !static? ( ${LIB_DEPEND} ) + aio? ( >=dev-libs/libaio-0.3.106 ) +" +RDEPEND=" + !static? ( ${LIB_DEPEND} ) + perl? ( dev-lang/perl ) +" + +PATCHES=( + "${FILESDIR}/${PN}-6.5-static.patch" +) + +src_prepare() { + default + + if [[ ! -e configure ]] ; then + # git generation + sed /autoreconf/d -i bootstrap || die + edo ./bootstrap + [[ ! -e CREDITS ]] && cp CREDITS{.in,} + fi + + eautoreconf + + # Stub out the -k test since it's known to be flaky. bug #545812 + sed -i '1iexit 77' tests*/strace-k.test || die +} + +src_configure() { + # Set up the default build settings, and then use the names strace expects. + tc-export_build_env BUILD_{CC,CPP} + local v bv + for v in CC CPP {C,CPP,LD}FLAGS ; do + bv="BUILD_${v}" + export "${v}_FOR_BUILD=${!bv}" + done + + filter-lfs-flags # configure handles this sanely + + export ac_cv_header_libaio_h=$(usex aio) + export ac_cv_header_termcap_h=$(usex ncurses) + use elibc_musl && export ac_cv_header_stdc=no + + local myeconfargs=( + --disable-gcc-Werror + + # Don't require mpers support on non-multilib systems. #649560 + --enable-mpers=check + + # We don't want to pin to exact linux-headers versions (bug #950309) + --enable-bundled=yes + + $(use_enable static) + $(use_with unwind libunwind) + $(use_with elfutils libdw) + $(use_with selinux libselinux) + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + if has usersandbox ${FEATURES} ; then + # bug #643044 + ewarn "Test suite is known to fail with FEATURES=usersandbox -- skipping ..." + return 0 + fi + + default +} + +src_install() { + default + + if use perl ; then + exeinto /usr/bin + doexe src/strace-graph + fi + + dodoc CREDITS +} From 8fb458ce74f59f8c8caf1e7ec4ff8d2cd3c7058c Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:05 +0000 Subject: [PATCH 045/243] dev-go/go-md2man: Sync with Gentoo It's from Gentoo commit c736a8c1e0ad2a2780f952a869a277648187ded3. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-go/go-md2man/Manifest | 2 -- .../dev-go/go-md2man/go-md2man-2.0.6.ebuild | 30 ------------------- .../dev-go/go-md2man/go-md2man-2.0.7.ebuild | 9 +++--- 3 files changed, 4 insertions(+), 37 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-go/go-md2man/go-md2man-2.0.6.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-go/go-md2man/Manifest b/sdk_container/src/third_party/portage-stable/dev-go/go-md2man/Manifest index 17af0e6d638..7748fc26f61 100644 --- a/sdk_container/src/third_party/portage-stable/dev-go/go-md2man/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-go/go-md2man/Manifest @@ -1,4 +1,2 @@ -DIST go-md2man-2.0.6-deps.tar.xz 76368 BLAKE2B 010d274d5e5c20e14848e92b210b03447d11c6fe8fd728b0f148a6f2cbc9f0a7cca22217f1920e00b0f7c363bbe2c5f572fb95ce02e67e3e55175c56cbd372d9 SHA512 7abc4eb75b4a168f2269936049eaca68ecb9ed39b29e6885cddf3683daf9b439b1573848192dff98ce67b99da0d1f09ddc27261e97c8cdfeb71e09e0030876b6 -DIST go-md2man-2.0.6.tar.gz 11064 BLAKE2B fec5c061c5d1b85e3ad86563a301afd01d47f2d83ef5b97bf964f77ebbbbb19c58108ecd8caa9df1663396a13c8b178578a9b02c3c30341cea0bb9abe1d196ea SHA512 c6273040edf7e4c97851c0bfb5366ed0298e92ff1f7f4740104979f1cac17d6303b998ff75396a4264b164872886854e7dadfee3f139d76f684c1b6ca5512828 DIST go-md2man-2.0.7-deps.tar.xz 76368 BLAKE2B 010d274d5e5c20e14848e92b210b03447d11c6fe8fd728b0f148a6f2cbc9f0a7cca22217f1920e00b0f7c363bbe2c5f572fb95ce02e67e3e55175c56cbd372d9 SHA512 7abc4eb75b4a168f2269936049eaca68ecb9ed39b29e6885cddf3683daf9b439b1573848192dff98ce67b99da0d1f09ddc27261e97c8cdfeb71e09e0030876b6 DIST go-md2man-2.0.7.tar.gz 11337 BLAKE2B 4b82e6cff896317e555b0eb50da69e9c29b9532d115e3c9b2c5a9c98681ba2726db81bab6dc8fac95a2dc4ca32f9e99161c0a8943001863ef68191acf8fd6c09 SHA512 cc6878af3cfdb0c06ee46b39aa407ec5e48814dc8f68eeae885607407833ac263995fe61c0870217e7c2b2102904f1cf732fa210d89ba38e2443ab1436212905 diff --git a/sdk_container/src/third_party/portage-stable/dev-go/go-md2man/go-md2man-2.0.6.ebuild b/sdk_container/src/third_party/portage-stable/dev-go/go-md2man/go-md2man-2.0.6.ebuild deleted file mode 100644 index bfe8fa04997..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-go/go-md2man/go-md2man-2.0.6.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit edo go-module - -DESCRIPTION="A utility to convert markdown to man pages" -HOMEPAGE="https://github.com/cpuguy83/go-md2man" -SRC_URI="https://github.com/cpuguy83/go-md2man/archive/v${PV}.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://dev.gentoo.org/~arthurzam/distfiles/dev-go/${PN}/${P}-deps.tar.xz" - -LICENSE="BSD-2 MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86" - -src_compile() { - emake build -} - -src_test() { - emake test -} - -src_install() { - dobin bin/go-md2man - - edo "${S}"/bin/go-md2man -in go-md2man.1.md -out go-md2man.1 - doman go-md2man.1 -} diff --git a/sdk_container/src/third_party/portage-stable/dev-go/go-md2man/go-md2man-2.0.7.ebuild b/sdk_container/src/third_party/portage-stable/dev-go/go-md2man/go-md2man-2.0.7.ebuild index bfe8fa04997..c3b79643a00 100644 --- a/sdk_container/src/third_party/portage-stable/dev-go/go-md2man/go-md2man-2.0.7.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-go/go-md2man/go-md2man-2.0.7.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit edo go-module +inherit go-module sysroot DESCRIPTION="A utility to convert markdown to man pages" HOMEPAGE="https://github.com/cpuguy83/go-md2man" @@ -16,6 +16,7 @@ KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86" src_compile() { emake build + sysroot_try_run_prefixed ./bin/go-md2man -in go-md2man.1.md -out go-md2man.1 } src_test() { @@ -24,7 +25,5 @@ src_test() { src_install() { dobin bin/go-md2man - - edo "${S}"/bin/go-md2man -in go-md2man.1.md -out go-md2man.1 - doman go-md2man.1 + [[ -s go-md2man.1 ]] && doman go-md2man.1 } From 2ac52d37d81fac771b81fb76a2b1751b966e9ebd Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:07 +0000 Subject: [PATCH 046/243] dev-lang/go: Sync with Gentoo It's from Gentoo commit a86f7fdf8fa080508ef024c2f93cb1b05967d31c. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-lang/go/Manifest | 2 + .../dev-lang/go/go-1.25.10.ebuild | 2 +- .../dev-lang/go/go-1.25.11.ebuild | 152 ++++++++++++++++++ .../dev-lang/go/go-1.26.3.ebuild | 2 +- .../dev-lang/go/go-1.26.4.ebuild | 151 +++++++++++++++++ 5 files changed, 307 insertions(+), 2 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/dev-lang/go/go-1.25.11.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-lang/go/go-1.26.4.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/go/Manifest b/sdk_container/src/third_party/portage-stable/dev-lang/go/Manifest index ebd9553fd26..5b278aa2f44 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/go/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-lang/go/Manifest @@ -1,6 +1,7 @@ DIST go1.24.11.src.tar.gz 30801851 BLAKE2B 04463c4a238b0303df88ad2d7670bdb208deced4f38c9bfc2b98ec04cc2e182a03fcf029334481507efa766b17e81c92bac9d63fc93948f94ee2b2c8adff40b4 SHA512 9344039d231e50b63f52acbdd6cf2f483a4052d95b5fcc3e8a6d8fde80f0195f66ac5588302809ff0425de4d7c6b428ae842ec33b468c7020873acedbdea16ef DIST go1.24.12.src.tar.gz 30803950 BLAKE2B b3f7d2f1392d3337e6645c4fa53e2e53c4258aa9ecf12b38a10305d172f0c2172d98d273dd030c17f82df17fa3cd5ec464986836261ffdb3324e8f97b2f2b437 SHA512 2de51c56f7ca04003b16d0fecc4cb35a3c5a42bd54f4da1f1e49d45b702d7a872057756d389f2283b4f7283fb33f0618465e231a6333b7cb6cfff98f67b2454e DIST go1.25.10.src.tar.gz 32000721 BLAKE2B 020336996667a6bb5fd9f3b4af8a8a2012d4c1f162301b83db65f62820945a4f927c76cfc8b5ec183b7ddb12587d74aecbdf17a0c4dd3e66ddc461e7af716919 SHA512 4a938b18d00af583d1ab8592386b8c71385997b1c8fab661549232ee84ac2f42716dc8304c38f1f462335a12048da19611bb614a7007d8201e6818a11f187487 +DIST go1.25.11.src.tar.gz 31999704 BLAKE2B 44149e7a24ebfd1941f774014f50b841ba568fababea031b7039fa23480572ddceaf56b9316e6afcac85ebe2b8dd6f47c62484378b54243a53423bd9d96316f7 SHA512 d1fa0d267ee8ba55aacbe47562c128cccabb757dc1f5c553ac0fe70eec9edc49cf66133df6f88997c752e89f9d24b77bf4b6448f73fdd7d05f8bca88951eea26 DIST go1.25.5.src.tar.gz 31983405 BLAKE2B b6349931e6174b1b11c00360fb7a3040a80f3d3d463894b29393a464548398bad37be685923c725eb8a3fb71d42849254319102c833418f81eca477f52579222 SHA512 97ec368521253bce610e1e3a6f10460f4a38eba440289553a40ab27afcdf2bb9b426d150ffaa3be8db50e84a00a4eb723a631ebc4f39168bc133bf7b2f1ccf66 DIST go1.25.6.src.tar.gz 31987986 BLAKE2B f9937808018f058d0f50fd0c0c1fa8f5a0f25d983a477e158e310d46dea30e33f3e0ea3d97ab550b6e5ed8d9f3b5354e76923b539ddb16a081f42e24fd3e4cfc SHA512 214b2d82b5322d544e80d7202db9169c24e5f097338f2d0e6d34189bd5bde9e7c1656f06611062c78a156181f03956181971b346172fc14617726bfece5e61e9 DIST go1.25.8.src.tar.gz 31991986 BLAKE2B c8a18a74a8903e53954bcc39ce804518e94bd6b2ee0b8a0cc4b5cd87f5d1760d6b1235233d2bf2804e3ec55a42cf6f5345a6fe4382e7406483915101ca107c97 SHA512 2f5c9f314d18169985a9a4b19346e00dd5d4b396c8c17bfffe5719e51f27d834cc9649d0165f7eeb7367d3b6d384f49917325a40b49ba4da65e22f2c5362c739 @@ -8,3 +9,4 @@ DIST go1.25.9.src.tar.gz 31997830 BLAKE2B aa5baa0892d730d850ad622ff1168086d8069e DIST go1.26.1.src.tar.gz 34108253 BLAKE2B 3128218a9c24dfacfbe2f0f5fa7fc3feb86a1954ba11bdad3b3a9af0e3359bb98dce79453d8fdaedaf5403dc15b3cb233883d0815520f094662ca7dcf9f509b2 SHA512 7bab2a762b4aff1c2c3a3cf3ad20bce63fabff28c7ff63b18cb8b0ce427a7bc1781cfd3fa291f4bff499247b1f0fd56f1698bb19bc7c1be7d7d2f38716438d41 DIST go1.26.2.src.tar.gz 34120738 BLAKE2B 86586f1d5e9d27e235219110023f8005388c5002784eb8f5c23c78e2594f21e495fbf2697d5945c61577896f00a2ca29cbbc51017053d65670c3fd730b165251 SHA512 370773727c0e6fbf0acd534726938aaaa03ff785f0634c258c94a7a896e9a27acc0ba57120967f711a942e9e275cec46251a194d6f84ba15f28b5dcf0efed673 DIST go1.26.3.src.tar.gz 34119059 BLAKE2B 985d0739d18c5dac0fc9f661006449dc20e76a157a9974a7dcfba2c43ec3c92c5ca3b785795af101e1b2df2b4d57349ea9ee2ca3b0c56d9df400686b0118329b SHA512 9c673a9ec7783a345b6294984486a5c76ba52de3eb72c95cbd68626312d100c50adb7a3ed15c93d1dc9ce9969b0f6fb4b86c87771118091cc7b0297afaf74fec +DIST go1.26.4.src.tar.gz 34118246 BLAKE2B 6a9da2e9b876f52f8f35754ff6640eb5b26c17478a4aad52f8ad4f2b28d12dc74ec8665d0b8c4f77aca3e6332c86c05a5159a9e89684e3c3dc25c16da251bd1f SHA512 adacc6a34ad239d98277acd2ac8da867110da0b184dbbafb82e8a06d2b7fd23434f878a8a8cd550172c21bd31ac6391d01a0bd095c9f5c1250be66b459c8de88 diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/go/go-1.25.10.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/go/go-1.25.10.ebuild index e217c802596..c366214fcce 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/go/go-1.25.10.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/go/go-1.25.10.ebuild @@ -20,7 +20,7 @@ case ${PV} in *) SRC_URI="https://go.dev/dl/go${MY_PV}.src.tar.gz " S="${WORKDIR}"/go - KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86 ~x64-macos ~x64-solaris" + KEYWORDS="-* amd64 arm arm64 ~loong ~mips ppc64 ~riscv ~s390 x86 ~x64-macos ~x64-solaris" ;; esac diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/go/go-1.25.11.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/go/go-1.25.11.ebuild new file mode 100644 index 00000000000..4fae67fcf5a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-lang/go/go-1.25.11.ebuild @@ -0,0 +1,152 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} + +# See "Bootstrap" in release notes +GO_BOOTSTRAP_MIN=1.22.12 +MY_PV=${PV/_/} + +inherit flag-o-matic go-env toolchain-funcs + +case ${PV} in +*9999*) + EGIT_REPO_URI="https://github.com/golang/go.git" + inherit git-r3 + ;; +*) + SRC_URI="https://go.dev/dl/go${MY_PV}.src.tar.gz " + S="${WORKDIR}"/go + KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86 ~x64-macos ~x64-solaris" + ;; +esac + +DESCRIPTION="A concurrent garbage collected and typesafe programming language" +HOMEPAGE="https://go.dev" + +LICENSE="BSD" +SLOT="0/${PV}" +IUSE="cpu_flags_x86_sse2" + +BDEPEND="|| ( + >=dev-lang/go-${GO_BOOTSTRAP_MIN} + >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )" + +# the *.syso files have writable/executable stacks +QA_EXECSTACK='*.syso' + +# Do not complain about CFLAGS, etc, since Go doesn't use them. +QA_FLAGS_IGNORED='.*' + +# The tools in /usr/lib/go should not cause the multilib-strict check to fail. +QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*" + +# This package triggers "unrecognized elf file(s)" notices on riscv. +# https://bugs.gentoo.org/794046 +QA_PREBUILT="*" +QA_PRESTRIPPED="*.syso" + +# The Go data race detector (go test -race) requires an unstripped Go toolchain. +# https://bugs.gentoo.org/961618 +RESTRICT="strip" + +DOCS=( + CONTRIBUTING.md + PATENTS + README.md + SECURITY.md +) + +go_tuple() { + echo "$(go-env_goos $@)_$(go-env_goarch $@)" +} + +go_cross_compile() { + [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]] +} + +PATCHES=( + "${FILESDIR}"/go-1.24-skip-gdb-tests.patch + "${FILESDIR}"/go-1.25-no-dwarf5.patch + "${FILESDIR}"/go-1.25-strip-top-level-const.patch + "${FILESDIR}"/go-never-download-newer-toolchains.patch +) + +src_compile() { + if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then + export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go" + elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then + export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap" + else + eerror "Go cannot be built without go or go-bootstrap installed" + die "Should not be here, please report a bug" + fi + + if tc-is-gcc ; then + # XXX: Hack for checking ICE (bug #912152, gcc PR113204) + # + # For either USE=debug or an unreleased compiler, non-default + # checking will trigger. + if has_version -b "sys-devel/gcc[debug]" || [[ $(gcc-minor-version) -eq 0 ]] ; then + rm src/cmd/link/cgo_test.go || die + fi + + # bug #929219 + replace-flags -g3 -g + replace-flags -ggdb3 -ggdb + fi + + # Go's build script does not use BUILD/HOST/TARGET consistently. :( + export GOHOSTARCH=$(go-env_goarch ${CBUILD}) + export GOHOSTOS=$(go-env_goos ${CBUILD}) + export CC=$(tc-getBUILD_CC) + + export GOARCH=$(go-env_goarch) + export GOOS=$(go-env_goos) + export CC_FOR_TARGET=$(tc-getCC) + export CXX_FOR_TARGET=$(tc-getCXX) + use arm && export GOARM=$(go-env_goarm) + use x86 && export GO386=$(go-env_go386) + + cd src + bash -x ./make.bash || die "build failed" +} + +src_test() { + go_cross_compile && return 0 + cd src || die + + # remove bad test because of ebuild toolchain environment + rm -v cmd/go/testdata/script/autocgo.txt || die + + PATH="${GOBIN}:${PATH}" \ + ./run.bash -no-rebuild -k || die "tests failed" +} + +src_install() { + dodir /usr/lib/go + # The use of cp is deliberate in order to retain permissions + cp -R . "${ED}"/usr/lib/go + einstalldocs + + # testdata directories are not needed on the installed system + # The other files we remove are installed by einstalldocs + rm -r $(find "${ED}"/usr/lib/go -iname testdata -type d -print) || die + rm "${ED}"/usr/lib/go/{CONTRIBUTING.md,PATENTS,README.md} || die + rm "${ED}"/usr/lib/go/{SECURITY.md,codereview.cfg,LICENSE} || die + + local bin_path + if go_cross_compile; then + bin_path="bin/$(go_tuple)" + else + bin_path=bin + fi + local f x + for x in ${bin_path}/*; do + f=${x##*/} + dosym ../lib/go/${bin_path}/${f} /usr/bin/${f} + done +} diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/go/go-1.26.3.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/go/go-1.26.3.ebuild index 516348a63cc..d9aeb13211b 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/go/go-1.26.3.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/go/go-1.26.3.ebuild @@ -20,7 +20,7 @@ case ${PV} in *) SRC_URI="https://go.dev/dl/go${MY_PV}.src.tar.gz " S="${WORKDIR}"/go - KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86 ~x64-macos ~x64-solaris" + KEYWORDS="-* amd64 arm arm64 ~loong ~mips ~ppc64 ~riscv ~s390 x86 ~x64-macos ~x64-solaris" ;; esac diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/go/go-1.26.4.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/go/go-1.26.4.ebuild new file mode 100644 index 00000000000..452231977fd --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-lang/go/go-1.26.4.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} + +# See "Bootstrap" in release notes +GO_BOOTSTRAP_MIN=1.24.6 +MY_PV=${PV/_/} + +inherit flag-o-matic go-env toolchain-funcs + +case ${PV} in +*9999*) + EGIT_REPO_URI="https://github.com/golang/go.git" + inherit git-r3 + ;; +*) + SRC_URI="https://go.dev/dl/go${MY_PV}.src.tar.gz " + S="${WORKDIR}"/go + KEYWORDS="-* ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~s390 ~x86 ~x64-macos ~x64-solaris" + ;; +esac + +DESCRIPTION="A concurrent garbage collected and typesafe programming language" +HOMEPAGE="https://go.dev" + +LICENSE="BSD" +SLOT="0/${PV}" +IUSE="cpu_flags_x86_sse2" + +BDEPEND="|| ( + >=dev-lang/go-${GO_BOOTSTRAP_MIN} + >=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN} )" + +# the *.syso files have writable/executable stacks +QA_EXECSTACK='*.syso' + +# Do not complain about CFLAGS, etc, since Go doesn't use them. +QA_FLAGS_IGNORED='.*' + +# The tools in /usr/lib/go should not cause the multilib-strict check to fail. +QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*" + +# This package triggers "unrecognized elf file(s)" notices on riscv. +# https://bugs.gentoo.org/794046 +QA_PREBUILT="*" +QA_PRESTRIPPED="*.syso" + +# The Go data race detector (go test -race) requires an unstripped Go toolchain. +# https://bugs.gentoo.org/961618 +RESTRICT="strip" + +DOCS=( + CONTRIBUTING.md + PATENTS + README.md + SECURITY.md +) + +go_tuple() { + echo "$(go-env_goos $@)_$(go-env_goarch $@)" +} + +go_cross_compile() { + [[ $(go_tuple ${CBUILD}) != $(go_tuple) ]] +} + +PATCHES=( + "${FILESDIR}"/go-1.24-skip-gdb-tests.patch + "${FILESDIR}"/go-1.25-no-dwarf5.patch + "${FILESDIR}"/go-never-download-newer-toolchains.patch +) + +src_compile() { + if has_version -b ">=dev-lang/go-${GO_BOOTSTRAP_MIN}"; then + export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go" + elif has_version -b ">=dev-lang/go-bootstrap-${GO_BOOTSTRAP_MIN}"; then + export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap" + else + eerror "Go cannot be built without go or go-bootstrap installed" + die "Should not be here, please report a bug" + fi + + if tc-is-gcc ; then + # XXX: Hack for checking ICE (bug #912152, gcc PR113204) + # + # For either USE=debug or an unreleased compiler, non-default + # checking will trigger. + if has_version -b "sys-devel/gcc[debug]" || [[ $(gcc-minor-version) -eq 0 ]] ; then + rm src/cmd/link/cgo_test.go || die + fi + + # bug #929219 + replace-flags -g3 -g + replace-flags -ggdb3 -ggdb + fi + + # Go's build script does not use BUILD/HOST/TARGET consistently. :( + export GOHOSTARCH=$(go-env_goarch ${CBUILD}) + export GOHOSTOS=$(go-env_goos ${CBUILD}) + export CC=$(tc-getBUILD_CC) + + export GOARCH=$(go-env_goarch) + export GOOS=$(go-env_goos) + export CC_FOR_TARGET=$(tc-getCC) + export CXX_FOR_TARGET=$(tc-getCXX) + use arm && export GOARM=$(go-env_goarm) + use x86 && export GO386=$(go-env_go386) + + cd src + bash -x ./make.bash || die "build failed" +} + +src_test() { + go_cross_compile && return 0 + cd src || die + + # remove bad test because of ebuild toolchain environment + rm -v cmd/go/testdata/script/autocgo.txt || die + + PATH="${GOBIN}:${PATH}" \ + ./run.bash -no-rebuild -k || die "tests failed" +} + +src_install() { + dodir /usr/lib/go + # The use of cp is deliberate in order to retain permissions + cp -R . "${ED}"/usr/lib/go + einstalldocs + + # testdata directories are not needed on the installed system + # The other files we remove are installed by einstalldocs + rm -r $(find "${ED}"/usr/lib/go -iname testdata -type d -print) || die + rm "${ED}"/usr/lib/go/{CONTRIBUTING.md,PATENTS,README.md} || die + rm "${ED}"/usr/lib/go/{SECURITY.md,codereview.cfg,LICENSE} || die + + local bin_path + if go_cross_compile; then + bin_path="bin/$(go_tuple)" + else + bin_path=bin + fi + local f x + for x in ${bin_path}/*; do + f=${x##*/} + dosym ../lib/go/${bin_path}/${f} /usr/bin/${f} + done +} From dd017dbdaad16d27b73a9c1ea875dd5c4bb798c2 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:07 +0000 Subject: [PATCH 047/243] dev-lang/nasm: Sync with Gentoo It's from Gentoo commit 3d178a5943c7289dbd6586668f9d596632014583. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-lang/nasm/Manifest | 1 + .../dev-lang/nasm/nasm-3.02.ebuild | 94 +++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-lang/nasm/nasm-3.02.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/nasm/Manifest b/sdk_container/src/third_party/portage-stable/dev-lang/nasm/Manifest index 0c3cc661ad5..5d8e50c0993 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/nasm/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-lang/nasm/Manifest @@ -1,2 +1,3 @@ DIST nasm-2.16.03.tar.xz 1032388 BLAKE2B 742cbf330341fde9f778d8ca13e8c06199f48796d47028ac973d39e3d9e434450cdfebe89f6ab248d372bdaeb0c88a25eb7153a39b66fc05e770523d4c9e11e9 SHA512 0c706e41a9c33e1ac3bad5056e8bf8cbcd51785b551a6e34ce7d0d723df8eaab8603a033e89b3dcda1004b558f9e9ef3196691500f10d8201bf47a323a516f84 DIST nasm-3.01.tar.xz 1499136 BLAKE2B 182d908e949e8212ec29bfaa4b747312f7b57dd686195c9b44701f0055ced4b40555624e27d1e1183b356095da76ba1ac8b2a5aa84b2e0d2277106de8ca915d1 SHA512 ca9550ad3239cfaa9546a908e8de86e11a7c7dd9d6006f42d272d0b025b601cdb205e60b8b3929f31123ef450dd0f0403e1300328cadf0ffdfd459f443944482 +DIST nasm-3.02.tar.xz 1531636 BLAKE2B 616a807e7ab126a1223618a457266b6f00ee3f212cbb11027125ce3ecf3beebaa935cd96e3f9640cc46d99659ad19c9d6506bf5e5a062718b203cc62f8a217fe SHA512 dc80d8a9a582423e62703da3cc3f37ee57735939b975faa8a72d061a8b596f763d206c7cc3e48c32d2ad726f38e430dc3b85cffd0c3b32e71e20ad9cc24f4804 diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/nasm/nasm-3.02.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/nasm/nasm-3.02.ebuild new file mode 100644 index 00000000000..10fe527cc0b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-lang/nasm/nasm-3.02.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="groovy little assembler" +HOMEPAGE="https://www.nasm.us/" +SRC_URI="https://www.nasm.us/pub/nasm/releasebuilds/${PV/_}/${P/_}.tar.xz" +S=${WORKDIR}/${P/_} + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="doc" + +QA_CONFIG_IMPL_DECL_SKIP=( + # Windows. + _BitScanReverse + _BitScanReverse64 + + # Linux headers that are not included. + __cpu_to_le16 + __cpu_to_le32 + __cpu_to_le64 + _byteswap_uint64 + _byteswap_ulong + _byteswap_ushort + cpu_to_le16 + cpu_to_le32 + cpu_to_le64 + + # __typeof as gnu extensions are not enabled + typeof + + # musl doesn't define __bswap_N in endian.h (it's named _bswapN + # instead). could be fixed to call this instead, or to include + # musl's byteswap.h instead, but it is much easier to fall back on + # __builtin_bswapN. Bug #928848 + __bswap_16 + __bswap_32 + __bswap_64 + + # has fallback code to handle this missing on musl + stdc_leading_zeros +) + +# [fonts note] doc/psfonts.ph defines ordered list of font preference. +# Currently 'media-fonts/source-pro' is most preferred and is able to +# satisfy all 6 font flavours: tilt, chapter, head, etc. +BDEPEND=" + dev-lang/perl + doc? ( + app-text/ghostscript-gpl + dev-perl/Font-TTF + dev-perl/Sort-Versions + media-fonts/source-code-pro + media-fonts/source-sans:3 + virtual/perl-File-Spec + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.15-bsd-cp-doc.patch +) + +src_prepare() { + default + + # https://bugs.gentoo.org/870214 + # During the split of media-fonts/source-pro, the source-sans files + # were renamed. Currently depend on media-fonts/source-sans:3 which works + # with this sed. + sed -i 's/SourceSansPro/SourceSans3/g' doc/psfonts.ph || die + + AT_M4DIR="${S}/autoconf/m4" eautoreconf +} + +src_configure() { + # --enable-lto just appends -flto to *FLAGS + # so let users just use lto through normal make.conf *FLAGS + econf +} + +src_compile() { + default + use doc && emake doc +} + +src_install() { + default + emake DESTDIR="${D}" install $(usex doc install_doc '') +} From 6c3e49243985f23412c93ce85d013ee21e1b7b22 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:08 +0000 Subject: [PATCH 048/243] dev-lang/perl: Sync with Gentoo It's from Gentoo commit 7fb8218442209a886278de750dc638866fb00532. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-lang/perl/Manifest | 2 + .../dev-lang/perl/perl-5.40.2.ebuild | 7 +- .../dev-lang/perl/perl-5.42.0-r1.ebuild | 5 + .../dev-lang/perl/perl-5.42.2.ebuild | 7 +- .../dev-lang/perl/perl-5.44.0_rc1.ebuild | 877 ++++++++++++++++++ 5 files changed, 896 insertions(+), 2 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/dev-lang/perl/perl-5.44.0_rc1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/perl/Manifest b/sdk_container/src/third_party/portage-stable/dev-lang/perl/Manifest index d1191fee244..1380e1b99e1 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/perl/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-lang/perl/Manifest @@ -3,6 +3,8 @@ DIST perl-5.40.2.tar.xz 13923524 BLAKE2B e37d0a71fcf91c065f7d6a75077be257c679eb1 DIST perl-5.42.0-patches-1.tar.xz 17108 BLAKE2B 0ac95f8c2665a087215dc896c3e00ccfe4103a781c05eff2f4f80bda4ffc36b5745e190dd85056934d340726a6c25885fda458e560581175531f17fe1e27ae22 SHA512 7e1efa62911229f48250a97f7479d15155e94f577bf257020a7a280b38b7547a3b4a397c212dbfcf5a2d187caa29c6006e76f95c66fe5dd59d3c333680c55986 DIST perl-5.42.0.tar.xz 14400988 BLAKE2B 51c31bfd924e6fb4fca5e149986575cb9b455a40ae2a3e03935423612b34491c8382866ca2f3b1ea9cb6ed415f0c570c817612265335bff2603be721c145da61 SHA512 b10f74d1245a879ae51d3ad93ad519a148df126ec865715474c801548ccfc3f542ef3bbb1f59568cea2ec77302d428dc772aba605357d7faf13eb6a351917275 DIST perl-5.42.2.tar.xz 14483976 BLAKE2B 459a623377ff9a824b948fd53708594ea77b19577da8f2ffd8fe7c6034467353f1e45269171c3fc7153a2b02a9b14d8a33e7a1535bfee0ec7c3f84b123315dcf SHA512 3c77dbede22df1a7ab3714c7dc6d675f14cb99b084fcc4e4d9b65aed1a080ac4d5ecf2cbf4759b2565f6452e52b337633f870dbcbf152dc66833cfe71f04fffc +DIST perl-5.44.0-RC1-patches-2.tar.xz 17156 BLAKE2B 52fd270e5416eda628fc586484fbba6a1be8b413cd4b42a470e2cfb2c043539dc9b96924cdf9b48003e5131577909ac9155009d8ea6d97e2c90a5a1bb7ae20d4 SHA512 b811e583f4af9645b132ef00bf7daab8e565aa07988f63f62b43f951a540647fc2a6289f1beb4eee5cd444d37db126b71e402b4c95241d8e831fada42ed6ea33 +DIST perl-5.44.0-RC1.tar.xz 14922504 BLAKE2B c9acffd699f0db707a1fee13c69d24f9d279da4d6bc498da39791be634dbc87099ad11e7c7b6c6da3c247885cea4bc57c50cff4765e871e6d036d707701b2d5c SHA512 f8eaa83047c5818457bdf1d641dfc6e29eac308682d8e36d8a80a46a57ce33918f840d18b7e3e31e0e98bda5bf6d900abdc969b1c98be88dcc2347597a969a40 DIST perl-cross-1.6.2.tar.gz 123761 BLAKE2B c3c51d5a86940914c3a037d1cace49c6def531cdc380771f968461a3552c0200c8a802f4ff74ddb5fcd494ab1e1b582a4c1c5214be4faae8712fc506b19ca04f SHA512 51b45bf972304634d706d09e27d457636e43f9f27f739004eca529b21245ba78612dcb08b54225fc7ca19511983642c37915939ea8aa1c1a4560093474d9e76b DIST perl-cross-1.6.3.tar.gz 121133 BLAKE2B 2362a53928230e13c607dd481e5614f80b210f7a5127cac05baa3daf69a263410d05eb50855f063b1bd7d4e3693d01369fdb512fb713c854beda2eece71844d1 SHA512 eb8aa2d57121ef288e253f9443bd4f53ad8b23152096265a0f8211ca4f2a61fdf3fdd03ca1e7d1e1c4a8a408421c7254cfaf12d1f81333aa4a0bf53d74cfa223 DIST perl-cross-1.6.4.tar.gz 119502 BLAKE2B 4a087fc2e4d4488a77b4d889b4d60f7aeb9f00a10ed0161207c86037f62206b908e6448f31f6d24d250c5b2e9344d6c7d9effd9f8cc9b8ae449dd352118744ed SHA512 0a6152cfaef1da7611554fa8fc93ff1edb3ece83f0c8a746cf2e0006624f2dd0908cf84a53bb06b048995d14923aa0b4783ad3696f8a2e3d4f742107966e9923 diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/perl/perl-5.40.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/perl/perl-5.40.2.ebuild index b54c9b487ed..f403930fbcf 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/perl/perl-5.40.2.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/perl/perl-5.40.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -635,6 +635,11 @@ src_configure() { HOSTCC=$(tc-getBUILD_CC) \ HOSTCFLAGS="${CFLAGS_FOR_BUILD} -D_GNU_SOURCE" \ HOSTLDFLAGS="${LDFLAGS_FOR_BUILD}" + + # bug #977768 + if tc-is-clang; then + export HOSTCFLAGS="${HOSTCFLAGS} -fno-strict-aliasing" + fi fi # bug #877659, bug #821577 diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/perl/perl-5.42.0-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/perl/perl-5.42.0-r1.ebuild index 32cf3722bc6..9d6652c2908 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/perl/perl-5.42.0-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/perl/perl-5.42.0-r1.ebuild @@ -649,6 +649,11 @@ src_configure() { HOSTCC=$(tc-getBUILD_CC) \ HOSTCFLAGS="${CFLAGS_FOR_BUILD} -D_GNU_SOURCE" \ HOSTLDFLAGS="${LDFLAGS_FOR_BUILD}" + + # bug #977768 + if tc-is-clang; then + export HOSTCFLAGS="${HOSTCFLAGS} -fno-strict-aliasing" + fi fi # bug #877659, bug #821577 diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/perl/perl-5.42.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/perl/perl-5.42.2.ebuild index 00998d772e3..d126e4656fb 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/perl/perl-5.42.2.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/perl/perl-5.42.2.ebuild @@ -55,7 +55,7 @@ LICENSE="|| ( Artistic GPL-1+ )" SLOT="0/${SUBSLOT}" if [[ "${PV##*.}" != "9999" ]] && [[ "${PV/rc//}" == "${PV}" ]] ; 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="berkdb perl_features_debug doc gdbm perl_features_ithreads minimal perl_features_quadmath" @@ -639,6 +639,11 @@ src_configure() { HOSTCC=$(tc-getBUILD_CC) \ HOSTCFLAGS="${CFLAGS_FOR_BUILD} -D_GNU_SOURCE" \ HOSTLDFLAGS="${LDFLAGS_FOR_BUILD}" + + # bug #977768 + if tc-is-clang; then + export HOSTCFLAGS="${HOSTCFLAGS} -fno-strict-aliasing" + fi fi # bug #877659, bug #821577 diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/perl/perl-5.44.0_rc1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/perl/perl-5.44.0_rc1.ebuild new file mode 100644 index 00000000000..c7fa5217f17 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-lang/perl/perl-5.44.0_rc1.ebuild @@ -0,0 +1,877 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit alternatives flag-o-matic toolchain-funcs multilib multiprocessing + +PATCH_VER=2 +CROSS_VER=1.6.4 +PATCH_BASE="perl-5.44.0-RC1-patches-${PATCH_VER}" + +DIST_AUTHOR=LEONT + +# Greatest first, don't include yourself +# Devel point-releases are not ABI-intercompatible, but stable point releases are +# BIN_OLDVERSEN contains only C-ABI-intercompatible versions +PERL_BIN_OLDVERSEN="" + +if [[ "${PV##*.}" == "9999" ]]; then + DIST_VERSION=5.45.0 +else + DIST_VERSION="${PV/_rc/-RC}" +fi +SHORT_PV="${DIST_VERSION%.*}" + +# Even numbered major versions are ABI intercompatible +# Odd numbered major versions are not +if [[ $(( ${SHORT_PV#*.} % 2 )) == 1 ]]; then + SUBSLOT="${DIST_VERSION%-RC*}" +else + SUBSLOT="${DIST_VERSION%.*}" +fi + +# Used only in tar paths +MY_P="perl-${DIST_VERSION}" +# Used in library paths +MY_PV="${DIST_VERSION%-RC*}" + +DESCRIPTION="Larry Wall's Practical Extraction and Report Language" + +HOMEPAGE="https://www.perl.org/" + +SRC_URI=" + mirror://cpan/src/5.0/${MY_P}.tar.xz + mirror://cpan/authors/id/${DIST_AUTHOR:0:1}/${DIST_AUTHOR:0:2}/${DIST_AUTHOR}/${MY_P}.tar.xz + https://distfiles.gentoo.org/pub/proj/perl/${PATCH_BASE}.tar.xz + https://github.com/arsv/perl-cross/releases/download/${CROSS_VER}/perl-cross-${CROSS_VER}.tar.gz +" + +S="${WORKDIR}/${MY_P}" + +LICENSE="|| ( Artistic GPL-1+ )" + +SLOT="0/${SUBSLOT}" + +if [[ "${PV##*.}" != "9999" ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +fi + +IUSE="berkdb perl_features_debug doc gdbm perl_features_ithreads minimal perl_features_quadmath" + +RDEPEND=" + berkdb? ( sys-libs/db:= ) + gdbm? ( >=sys-libs/gdbm-1.8.3:= ) + app-arch/bzip2 + >=virtual/zlib-1.2.12:= + virtual/libcrypt:= +" +DEPEND="${RDEPEND}" +BDEPEND="${RDEPEND}" +PDEPEND=" + !minimal? ( + >=app-admin/perl-cleaner-2.31 + >=virtual/perl-CPAN-2.290.0 + >=virtual/perl-Encode-3.120.0 + >=virtual/perl-File-Temp-0.230.400-r2 + >=virtual/perl-Data-Dumper-2.154.0 + >=virtual/perl-Math-BigInt-1.999.842 + virtual/perl-Test-Harness + ) +" + +# bug 390719, bug 523624 +# virtual/perl-Test-Harness is here for the bundled ExtUtils::MakeMaker + +dual_scripts() { + src_remove_dual perl-core/Archive-Tar 3.120.0 ptar ptardiff ptargrep + src_remove_dual perl-core/CPAN 2.380.0 cpan + src_remove_dual perl-core/Digest-SHA 6.40.0 shasum + src_remove_dual perl-core/Encode 3.240.0 enc2xs piconv + src_remove_dual perl-core/ExtUtils-MakeMaker 7.780.0 instmodsh + src_remove_dual perl-core/ExtUtils-ParseXS 3.630.0 xsubpp + src_remove_dual perl-core/IO-Compress 2.220.0 zipdetails + src_remove_dual perl-core/JSON-PP 4.160.0 json_pp + src_remove_dual perl-core/Module-CoreList 5.202.606.10 corelist + src_remove_dual perl-core/Pod-Checker 1.770.0 podchecker + src_remove_dual perl-core/Pod-Perldoc 3.280.100 perldoc + src_remove_dual perl-core/Pod-Usage 2.50.0 pod2usage + src_remove_dual perl-core/Test-Harness 3.520.0 prove + src_remove_dual perl-core/podlators 6.0.2 pod2man pod2text + src_remove_dual_man perl-core/podlators 6.0.2 /usr/share/man/man1/perlpodstyle.1 +} + +check_rebuild() { + # Fresh install + if [[ -z ${REPLACING_VERSIONS} ]]; then + return 0 + fi + + # Major Upgrade + local v + for v in ${REPLACING_VERSIONS}; do + [[ ${v%.*} == "${SHORT_PV}" ]] && continue + echo "" + ewarn "UPDATE THE PERL MODULES:" + ewarn "After updating dev-lang/perl to a new major version the installed Perl modules" + ewarn "have to be re-installed. In most cases, this is done automatically" + ewarn "by the package manager." + ewarn + ewarn "ONLY if you encounter problems, call perl-cleaner to clean up any old files" + ewarn "and trigger any remaining rebuilds portage may have missed." + ewarn "Use: perl-cleaner --all" + return 0 + done + + # Reinstall w/ USE Change + if + ( use perl_features_ithreads && ( has_version '=dev-lang/perl-5.38.2-r3[-perl_features_ithreads]' ) ) || \ + ( ! use perl_features_ithreads && ( has_version '=dev-lang/perl-5.38.2-r3[perl_features_ithreads]' ) ) || \ + ( use perl_features_quadmath && ( has_version '=dev-lang/perl-5.38.2-r3[-perl_features_quadmath]' ) ) || \ + ( ! use perl_features_quadmath && ( has_version '=dev-lang/perl-5.38.2-r3[perl_features_quadmath]' ) ) || \ + ( use perl_features_debug && ( has_version '=dev-lang/perl-5.38.2-r3[-perl_features_debug]' ) ) || \ + ( ! use perl_features_debug && ( has_version '=dev-lang/perl-5.38.2-r3[perl_features_debug]' ) ) ; then + echo "" + ewarn "TOGGLED PERL FEATURES WARNING:" + ewarn "You changed one of the PERL_FEATURES flags ithreads, quadmath, or debug." + ewarn "You must rebuild all perl-modules installed. Mostly this should be done automatically" + ewarn "via the flag changes of the packages. If the rebuild fails, use perl-cleaner." + ewarn "Use: perl-cleaner --modules ; perl-cleaner --force --libperl" + ewarn + ewarn "NOTE: Previous to perl-5.38.2-r3, these flags were useflags for dev-lang/perl." + ewarn "If you just upgraded and do not intend to change anything, carry the same settings over" + ewarn "into a global PERL_FEATURES variable set in make.conf. E.g., " + ewarn "dev-lang/perl[ithreads,quadmath] becomes PERL_FEATURES=\"ithreads quadmath\"" + fi +} + +pkg_pretend() { + if \ + ( use perl_features_ithreads && has_version ' "${infodir}/${dest_name}.desc" || die "Couldn't write ${dest_name}.desc" + fi + if [[ $# -gt 0 ]]; then + # Note: when $@ is more than one element, this emits a + # line for each element + printf "%s\n" "$@" > "${infodir}/${dest_name}.bugs" || die "Couldn't write ${dest_name}.bugs" + fi +} + +# Remove a patch using a glob expr +# eg: +# rm_patch *-darwin-Use-CC* +# +rm_patch() { + local patchdir="${WORKDIR}/patches" + local expr="$1" + local patch="$( cd "${patchdir}"; echo $expr )" + einfo "Removing $patch ($expr) from patch bundle" + if [[ -e "${patchdir}/${patch}" ]]; then + rm -f "${patchdir}/${patch}" || die "Can't remove ${patch} ( $expr )" + else + ewarn "No ${expr} found in ${patchdir} to remove" + fi +} + +# Yes, this is a reasonable amount of code for something seemingly simple +# but this is far easier to debug when things go wrong, and things went wrong +# multiple times while I was getting the exact number of slashes right, which +# requires circumnavigating both bash and sed escape mechanisms. +c_escape_string() { + local slash dquote + slash='\' + dquote='"' + re_slash="${slash}${slash}" + re_dquote="${slash}${dquote}" + + # Convert \ to \\, + # " to \" + echo "$1" |\ + sed "s|${re_slash}|${re_slash}${re_slash}|g" |\ + sed "s|${re_dquote}|${re_slash}${re_dquote}|g" +} +c_escape_file() { + c_escape_string "$(cat "$1")" +} + +apply_patchdir() { + local patchdir="${WORKDIR}/patches" + local infodir="${WORKDIR}/patch-info" + local patchoutput="patchlevel-gentoo.h" + + # Inject Patch-Level info into description for patchlevel.h patch + # to show in -V + local patch_expr="*List-packaged-patches*" + local patch="$( cd "${patchdir}"; echo $patch_expr )"; + einfo "Injecting patch-level info into ${patch}.desc ( $patch_expr )" + + if [[ -e "${patchdir}/${patch}" ]]; then + printf "List packaged patches for %s(%s) in patchlevel.h" "${PF}" "${PATCH_BASE}"\ + >"${infodir}/${patch}.desc" || die "Can't rewrite ${patch}.desc" + else + eerror "No $patch_expr found in ${patchdir}" + fi + + # Compute patch list to apply + # different name other than PATCHES to stop default + # reapplying it + # Single depth is currently only supported, as artifacts can reside + # from the old layout being multiple-directories, as well as it grossly + # simplifying the patchlevel_gentoo.h generation. + local PERL_PATCHES=($( + find "${patchdir}" -maxdepth 1 -mindepth 1 -type f -printf "%f\n" |\ + grep -E '[.](diff|patch)$' |\ + sort -n + )) + + for patch in "${PERL_PATCHES[@]}"; do + eapply "${WORKDIR}"/patches/${patch} + done + + einfo "Generating $patchoutput" + + # This code creates a header file, each iteration + # creates one-or-more-lines for each entry found in PERL_PATCHES + # and STDOUT is redirected to the .h file + for patch in "${PERL_PATCHES[@]}"; do + local desc_f="${infodir}/${patch}.desc" + local bugs_f="${infodir}/${patch}.bugs" + + printf ',"%s"\n' "${patch}" + if [[ ! -e "${desc_f}" ]]; then + ewarn "No description provided for ${patch} (expected: ${desc_f} )" + else + local desc="$(c_escape_file "${desc_f}")" + printf ',"- %s"\n' "${desc}" + fi + if [[ -e "${bugs_f}" ]]; then + while read -d $'\n' -r line; do + local esc_line="$(c_escape_string "${line}")" + printf ',"- Bug: %s"\n' "${esc_line}" + done <"${bugs_f}" + fi + done > "${S}/${patchoutput}" + printf "%s\n" "${patchoutput}" >> "${S}/MANIFEST" + +} + +src_prepare() { + + local patchdir="${WORKDIR}/patches" + + # mv -v "${WORKDIR}/perl-patchset-${PATCH_BASE}/patches" "${WORKDIR}/patches" || die + # mv -v "${WORKDIR}/perl-patchset-${PATCH_BASE}/patch-info" "${WORKDIR}/patch-info" || die + + # Prepare Patch dir with additional patches / remove unwanted patches + # Inject bug/desc entries for perl -V + # Old example: + # add_patch "${FILESDIR}/${PN}-5.26.2-hppa.patch" "100-5.26.2-hppa.patch"\ + # "Fix broken miniperl on hppa"\ + # "https://bugs.debian.org/869122" "https://bugs.gentoo.org/634162" + + # Backports from 5.42.0-votes.xml as of 2025-11-22 + add_patch "${FILESDIR}/5.42.0/0004-Turn-off-POSIX-2008-locales-on-AIX.patch" \ + "103-Turn-off-POSIX-2008-locales-on-AIX.patch" \ + "Turn off POSIX 2008 locales on AIX" \ + "https://github.com/Perl/perl5/issues/23825" + + if [[ ${CHOST} == *-solaris* ]] ; then + # do NOT mess with nsl, on Solaris this is always necessary, + # when -lsocket is used e.g. to get h_errno + rm_patch "*-nsl-and-cl*" + fi + + apply_patchdir + + tc-is-cross-compiler && src_prepare_perlcross + + tc-is-static-only || src_prepare_dynamic + + if use gdbm; then + sed -i "s:INC => .*:INC => \"-I${ESYSROOT}/usr/include/gdbm\":g" \ + ext/NDBM_File/Makefile.PL || die + fi + + # Use errno.h from prefix rather than from host system, bug #645804 + if use prefix && [[ -e "${EPREFIX}"/usr/include/errno.h ]] ; then + sed -i "/my..sysroot/s:'':'${EPREFIX}':" ext/Errno/Errno_pm.PL || die + fi + + if [[ ${CHOST} == *-solaris* ]] ; then + # set a soname, fix linking against just built libperl + sed -i -e 's/netbsd\*/netbsd*|solaris*/' Makefile.SH || die + fi + + if [[ ${CHOST} == *-darwin* ]] ; then + # fix install_name (soname) not to reference $D + sed -i -e '/install_name `pwd/s/`pwd`/\\$(shrpdir)/' Makefile.SH || die + + # fix environ linkage absence (only a real issue on Darwin9) + if [[ ${CHOST##*-darwin} -le 9 ]] ; then + sed -i -e '/^PLDLFLAGS =/s/=/= -include crt_externs.h -Denviron="(*_NSGetEnviron())"/' \ + Makefile.SH || die + fi + fi + + default +} + +myconf() { + # the myconf array is declared in src_configure + myconf=( "${myconf[@]}" "$@" ) +} + +# Outputs a list of versions which have been seen in any of the +# primary perl @INC prefix paths, such as: +# /usr/lib64/perl5/ +# /usr/local/lib64/perl5/ +# /usr/lib64/perl5/vendor_perl/ +# +# All values of NUMBER must be like "5.x.y" or like "5.x" +# +find_candidate_inc_versions() { + local regex='.*/5[.][0-9]+\([.][0-9]+\|\)$' + local dirs=( + "${EROOT}${PRIV_BASE}" + "${EROOT}${SITE_BASE}" + "${EROOT}${VENDOR_BASE}" + ) + for dir in "${dirs[@]}"; do + if [[ ! -e "${dir}" ]]; then + continue + fi + # Without access to readdir() on these dirs, find will not be able + # to reveal any @INC directories inside them, and will subsequently prune + # them from the built perl's @INC support, breaking our compatiblity options + # entirely. + if [[ ! -r "${dir}" || ! -x "${dir}" ]]; then + eerror "Bad permissions on ${dir}, this will probably break things" + eerror "Ensure ${dir} is +rx for at least uid=$EUID" + eerror "Recommended permission is +rx for all" + eerror "> chmod o+rx ${dir}" + fi + done + einfo "Scanning for old @INC dirs matching '$regex' in: ${dirs[*]}" + find "${dirs[@]}" -maxdepth 1 -mindepth 1 -type d -regex "${regex}" -printf "%f " 2>/dev/null +} + +# Sort versions passed versiony-ly, remove self-version if present +# dedup. Takes each version as an argument +sanitize_inc_versions() { + local vexclude="${SUBSLOT}" + einfo "Normalizing/Sorting candidate list: $*" + einfo " to remove '${vexclude}'" + # Note, general numeric sort has to be used + # for the last component, or unique will convert + # 5.30.0 + 5.30 into just 5.30 + printf "%s\n" "$@" |\ + grep -vxF "${vexclude}" |\ + sort -u -nr -t'.' -k1,1rn -k2,2rn -k3,3rg +} + +versions_to_inclist() { + local oldv="${DIST_VERSION%-RC} ${PERL_BIN_OLDVERSEN}" + + for v; do + has "${v}" ${oldv} && echo -n "${v}/${myarch}${mythreading}/ "; + echo -n "${v}/ "; + done +} + +versions_to_gentoolibdirs() { + local oldv="${DIST_VERSION%-RC} ${PERL_BIN_OLDVERSEN}" + local root + local v + for v; do + for root in "${PRIV_BASE}" "${VENDOR_BASE}" "${SITE_BASE}"; do + local fullpath="${EROOT}${root}/${v}" + if [[ -e "${fullpath}" ]]; then + has "${v}" ${oldv} && printf "%s:" "${fullpath}/${myarch}${mythreading}"; + printf "%s:" "${fullpath}" + fi + done + done +} + +src_configure() { + declare -a myconf + + export LC_ALL="C" + [[ ${COLUMNS:-1} -ge 1 ]] || unset COLUMNS # bug #394091 + + # Perl has problems compiling with -Os in your flags with glibc + replace-flags "-Os" "-O2" + + # xlocale.h is going away in glibc-2.26, so it's counterproductive + # if we use it and include it in CORE/perl.h ... Perl builds just + # fine with glibc and locale.h only. + # However, the darwin prefix people have no locale.h ... + use elibc_glibc && myconf -Ui_xlocale + + # Perl relies on -fwrapv semantics + filter-flags -ftrapv + + # This flag makes compiling crash in interesting ways + filter-flags "-malign-double" + + # On musl we dont want to use largefile *64 types, since 1) normal + # types are 64bit / largefile anyway and 2) the *64 types are going + # away in 1.2.4... bug #911233 + use elibc_musl && myconf -Ud_off64_t + + use sparc && myconf -Ud_longdbl + + # This urgently needs debugging - on m68k, miniperl crashes during + # build otherwise.. + use m68k && append-ldflags -Wl,-z,norelro + + export BUILD_BZIP2=0 + export BZIP2_INCLUDE=${ESYSROOT}/usr/include + export BZIP2_LIB=${ESYSROOT}/usr/$(get_libdir) + + export BUILD_ZLIB=False + export ZLIB_INCLUDE=${ESYSROOT}/usr/include + export ZLIB_LIB=${ESYSROOT}/usr/$(get_libdir) + + # allow either gdbm to provide ndbm (in ) or db1 + myndbm='U' + mygdbm='U' + mydb='U' + if use gdbm ; then + mygdbm='D' + if use berkdb ; then + myndbm='D' + fi + fi + if use berkdb ; then + mydb='D' + has_version '=sys-libs/db-1*' && myndbm='D' + fi + + myconf "-${myndbm}i_ndbm" "-${mygdbm}i_gdbm" "-${mydb}i_db" + + if use alpha && [[ "$(tc-getCC)" = "ccc" ]] ; then + ewarn "Perl will not be built with berkdb support, use gcc if you need it..." + myconf -Ui_db -Ui_ndbm + fi + + use perl_features_ithreads && myconf -Dusethreads + + use perl_features_quadmath && myconf -Dusequadmath + + if use perl_features_debug ; then + append-cflags "-g" + myconf -DDEBUGGING + elif [[ ${CFLAGS} == *-g* ]] ; then + myconf -DDEBUGGING=-g + else + myconf -DDEBUGGING=none + fi + + # modifying 'optimize' prevents cross configure script from appending required flags + if tc-is-cross-compiler; then + append-cflags "-fwrapv" + tc-export_build_env + + # Needed for the CHOST build too (bug #932385) + export CFLAGS="${CFLAGS} -D_GNU_SOURCE" + + # bug #913171 + export \ + HOSTCC=$(tc-getBUILD_CC) \ + HOSTCFLAGS="${CFLAGS_FOR_BUILD} -D_GNU_SOURCE" \ + HOSTLDFLAGS="${LDFLAGS_FOR_BUILD}" + + # bug #977768 + if tc-is-clang; then + export HOSTCFLAGS="${HOSTCFLAGS} -fno-strict-aliasing" + fi + fi + + # bug #877659, bug #821577 + append-cflags -fno-strict-aliasing + + # Autodiscover all old version directories, some of them will even be newer + # if you downgrade + if [[ -z ${PERL_OLDVERSEN} ]]; then + PERL_OLDVERSEN="$( find_candidate_inc_versions )" + fi + + # Fixup versions, removing self match, fixing order and dupes + PERL_OLDVERSEN="$( sanitize_inc_versions ${PERL_OLDVERSEN} )" + + # Experts who want a "Pure" install can set PERL_OLDVERSEN to an empty string + if [[ -n "${PERL_OLDVERSEN// }" ]]; then + local inclist="$( versions_to_inclist ${PERL_OLDVERSEN} )" + einfo "This version of perl may partially support modules previously" + einfo "installed in any of the following paths:" + for incpath in ${inclist}; do + [[ -e "${EROOT}${VENDOR_BASE}/${incpath}" ]] && einfo " ${EROOT}${VENDOR_BASE}/${incpath}" + [[ -e "${EROOT}${PRIV_BASE}/${incpath}" ]] && einfo " ${EROOT}${PRIV_BASE}/${incpath}" + [[ -e "${EROOT}${SITE_BASE}/${incpath}" ]] && einfo " ${EROOT}${SITE_BASE}/${incpath}" + done + einfo "This is a temporary measure and you should aim to cleanup these paths" + einfo "via world updates and perl-cleaner" + # myconf -Dinc_version_list="${inclist}" + myconf -Dgentoolibdirs="$( versions_to_gentoolibdirs ${PERL_OLDVERSEN} )" + fi + + [[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a" + + # Make sure we can do the final link #523730, need to set deployment + # target to override hardcoded 10.3 which breaks on modern OSX + [[ ${CHOST} == *-darwin* ]] && \ + myconf "-Dld=env MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} $(tc-getCC)" + + # Older macOS with non-Apple GCC chokes on inline in system headers + # using c89 mode as injected by cflags.SH, in addition, we override + # cflags, so we loose PERL_DARWIN which enables compat code that + # apparently on more recent macOS releases is no longer necessary + [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] && tc-is-gcc && \ + append-cflags -Dinline=__inline__ -DPERL_DARWIN + + # Prefix: the host system needs not to follow Gentoo multilib stuff, and in + # Prefix itself we don't do multilib either, so make sure perl can find + # something compatible. + if use prefix ; then + # Set a hook to check for each detected library whether it actually works. + export libscheck=" + ( echo 'int main(){}' > '${T}'/conftest.c && + $(tc-getCC) -o '${T}'/conftest '${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null + ) || xxx=/dev/null" + + # Use all host paths that might contain useful stuff, the hook above will filter out bad choices. + local paths="/lib/*-linux-gnu /usr/lib/*-linux-gnu /lib64 /lib/64 /usr/lib64 /usr/lib/64 /lib32 /usr/lib32 /lib /usr/lib" + myconf "-Dlibpth=${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir) ${paths}" + elif [[ $(get_libdir) != "lib" ]] ; then + # We need to use " and not ', as the written config.sh use ' ... + myconf "-Dlibpth=/usr/local/$(get_libdir) /$(get_libdir) /usr/$(get_libdir)" + fi + + # don't try building ODBM, bug #354453 + disabled_extensions="ODBM_File" + + if ! use gdbm ; then + # workaround for bug #157774: don't try building GDBM related stuff with USE="-gdbm" + disabled_extensions="${disabled_extensions} GDBM_File NDBM_File" + fi + + myconf -Dnoextensions="${disabled_extensions}" + + [[ "${PV##*.}" == "9999" ]] && myconf -Dusedevel -Uversiononly + + [[ -n "${EXTRA_ECONF}" ]] && ewarn During Perl build, EXTRA_ECONF=${EXTRA_ECONF} + # allow fiddling via EXTRA_ECONF, bug 558070 + eval "local -a EXTRA_ECONF=(${EXTRA_ECONF})" + + myconf \ + -Duseshrplib \ + -Darchname="${myarch}" \ + -Dar="$(tc-getAR)" \ + -Dcc="$(tc-getCC)" \ + -Dcpp="$(tc-getCPP)" \ + -Dld="$(tc-getCC)" \ + -Dnm="$(tc-getNM)" \ + -Dranlib="$(tc-getRANLIB)" \ + -Accflags="${CFLAGS} -DNO_PERL_RAND_SEED" \ + -Doptimize="${CFLAGS}" \ + -Dldflags="${LDFLAGS}" \ + -Dprefix="${EPREFIX}"'/usr' \ + -Dsiteprefix="${EPREFIX}"'/usr/local' \ + -Dvendorprefix="${EPREFIX}"'/usr' \ + -Dscriptdir="${EPREFIX}"'/usr/bin' \ + -Dprivlib="${EPREFIX}${PRIV_LIB}" \ + -Darchlib="${EPREFIX}${ARCH_LIB}" \ + -Dsitelib="${EPREFIX}${SITE_LIB}" \ + -Dsitearch="${EPREFIX}${SITE_ARCH}" \ + -Dvendorlib="${EPREFIX}${VENDOR_LIB}" \ + -Dvendorarch="${EPREFIX}${VENDOR_ARCH}" \ + -Dman1dir="${EPREFIX}"/usr/share/man/man1 \ + -Dman3dir="${EPREFIX}"/usr/share/man/man3 \ + -Dsiteman1dir="${EPREFIX}"/usr/local/man/man1 \ + -Dsiteman3dir="${EPREFIX}"/usr/local/man/man3 \ + -Dvendorman1dir="${EPREFIX}"/usr/share/man/man1 \ + -Dvendorman3dir="${EPREFIX}"/usr/share/man/man3 \ + -Dman1ext='1' \ + -Dman3ext='3pm' \ + -Dlibperl="${LIBPERL}" \ + -Dlocincpth="${EPREFIX}"'/usr/include ' \ + -Dglibpth="${EPREFIX}/$(get_libdir) ${EPREFIX}/usr/$(get_libdir)"' ' \ + -Duselargefiles \ + -Duse64bitint \ + -Dd_semctl_semun \ + -Dcf_by='Gentoo' \ + -Dmyhostname='localhost' \ + -Dperladmin='root@localhost' \ + -Ud_csh \ + -Dsh="${BROOT}"/bin/sh \ + -Dtargetsh="${EPREFIX}"/bin/sh \ + -Uusenm \ + "${EXTRA_ECONF[@]}" + + if tc-is-cross-compiler; then + ./configure \ + --target="${CHOST}" \ + --build="${CBUILD}" \ + -Dinstallprefix='' \ + -Dinstallusrbinperl='undef' \ + -Dusevendorprefix='define' \ + "${myconf[@]}" \ + || die "Unable to configure" + else + sh Configure \ + -des \ + -Dinstallprefix="${EPREFIX}"'/usr' \ + -Dinstallusrbinperl='n' \ + "${myconf[@]}" \ + || die "Unable to configure" + fi +} + +src_test() { + export NO_GENTOO_NETWORK_TESTS=1; + export GENTOO_ASSUME_SANDBOXED="${GENTOO_ASSUME_SANDBOXED:-1}" + export GENTOO_NO_PORTING_TESTS="${GENTOO_NO_PORTING_TESTS:-1}" + if [[ ${EUID} == 0 ]] ; then + ewarn "Test fails with a sandbox error (#328793) if run as root. Skipping tests..." + return 0 + fi + TEST_JOBS="$(makeopts_jobs)" make test_harness || die "test failed" +} + +src_install() { + local i + local coredir="${ARCH_LIB}/CORE" + + emake DESTDIR="${D}" install + + rm -f "${ED}/usr/bin/perl${MY_PV}" + ln -s perl "${ED}"/usr/bin/perl${MY_PV} || die + + if ! tc-is-static-only ; then + dolib.so "${ED}"${coredir}/${LIBPERL} + rm -f "${ED}"${coredir}/${LIBPERL} + ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname ${SHORT_PV}) || die + ln -sf ${LIBPERL} "${ED}"/usr/$(get_libdir)/libperl$(get_libname) || die + + ln -sf ../../../../${LIBPERL} "${ED}"${coredir}/${LIBPERL} || die + ln -sf ../../../../${LIBPERL} "${ED}"${coredir}/libperl$(get_libname ${SHORT_PV}) || die + ln -sf ../../../../${LIBPERL} "${ED}"${coredir}/libperl$(get_libname) || die + fi + + rm -rf "${ED}"/usr/share/man/man3 || die "Unable to remove module man pages" + + # This removes ${D} from Config.pm + for i in $(find "${D}" -iname "Config.pm" ) ; do + einfo "Removing ${D} from ${i}..." + sed -i -e "s:${D}::" "${i}" || die "Sed failed" + done + + dodoc Changes* README AUTHORS + + if use doc ; then + # HTML Documentation + # We expect errors, warnings, and such with the following. + + dodir /usr/share/doc/${PF}/html + LD_LIBRARY_PATH=. ./perl installhtml \ + --podroot='.' \ + --podpath='lib:ext:pod:vms' \ + --recurse \ + --htmldir="${ED}/usr/share/doc/${PF}/html" + fi + + [[ -d ${ED}/usr/local ]] && rm -r "${ED}"/usr/local + + dual_scripts +} + +pkg_preinst() { + check_rebuild +} + +pkg_postinst() { + dual_scripts + + if [[ -z "${ROOT}" ]] ; then + local INC DIR file + INC=$(perl -e 'for $line (@INC) { next if $line eq "."; next if $line =~ m/'${SHORT_PV}'|etc|local|perl$/; print "$line\n" }') + einfo "Removing old .ph files" + for DIR in ${INC} ; do + if [[ -d "${DIR}" ]] ; then + for file in $(find "${DIR}" -name "*.ph" -type f ) ; do + rm -f "${file}" + einfo "<< ${file}" + done + fi + done + # Silently remove the now empty dirs + for DIR in ${INC} ; do + if [[ -d "${DIR}" ]] ; then + find "${DIR}" -depth -type d -print0 | xargs -0 -r rmdir &> /dev/null + fi + done + + fi +} + +pkg_postrm() { + dual_scripts +} From bdad5435ffe9b3927390cd8e5d4552479cfa7122 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:08 +0000 Subject: [PATCH 049/243] dev-lang/python: Sync with Gentoo It's from Gentoo commit 493ebe32d40b38747b86ffd8436264b7725c2bd7. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-lang/python/Manifest | 34 ++++------ ...3.13_p1.ebuild => python-0.3.13.14.ebuild} | 33 +--------- .../dev-lang/python/python-0.3.13.9999.ebuild | 35 +--------- ...0.3.14.5.ebuild => python-0.3.14.6.ebuild} | 7 +- ...5_rc1.ebuild => python-0.3.14.6_p1.ebuild} | 9 +-- .../dev-lang/python/python-0.3.14.9999.ebuild | 9 +-- ...a1.ebuild => python-0.3.15.0_beta2.ebuild} | 7 +- ...p1.ebuild => python-0.3.15.0_beta3.ebuild} | 64 ++++++------------- .../dev-lang/python/python-0.3.15.9999.ebuild | 9 +-- .../dev-lang/python/python-3.10.20.ebuild | 2 +- .../dev-lang/python/python-3.10.9999.ebuild | 4 +- ....11.15.ebuild => python-3.11.15-r1.ebuild} | 34 +--------- .../dev-lang/python/python-3.11.9999.ebuild | 36 +---------- .../dev-lang/python/python-3.12.13_p1.ebuild | 2 +- .../dev-lang/python/python-3.12.9999.ebuild | 4 +- ....13.13_p1.ebuild => python-3.13.14.ebuild} | 2 +- .../dev-lang/python/python-3.13.9999.ebuild | 4 +- ...3.14.5_rc1.ebuild => python-3.14.6.ebuild} | 9 +-- ...-3.14.5.ebuild => python-3.14.6_p1.ebuild} | 9 +-- .../dev-lang/python/python-3.14.9999.ebuild | 9 +-- ...eta1.ebuild => python-3.15.0_beta2.ebuild} | 9 +-- ...4_p1.ebuild => python-3.15.0_beta3.ebuild} | 60 ++++------------- .../dev-lang/python/python-3.15.9999.ebuild | 10 +-- .../python/python-3.8.20_p7-r1.ebuild | 2 +- .../dev-lang/python/python-3.9.25.ebuild | 2 +- 25 files changed, 116 insertions(+), 289 deletions(-) rename sdk_container/src/third_party/portage-stable/dev-lang/python/{python-0.3.13.13_p1.ebuild => python-0.3.13.14.ebuild} (93%) rename sdk_container/src/third_party/portage-stable/dev-lang/python/{python-0.3.14.5.ebuild => python-0.3.14.6.ebuild} (99%) rename sdk_container/src/third_party/portage-stable/dev-lang/python/{python-0.3.14.5_rc1.ebuild => python-0.3.14.6_p1.ebuild} (99%) rename sdk_container/src/third_party/portage-stable/dev-lang/python/{python-0.3.15.0_beta1.ebuild => python-0.3.15.0_beta2.ebuild} (99%) rename sdk_container/src/third_party/portage-stable/dev-lang/python/{python-0.3.14.4_p1.ebuild => python-0.3.15.0_beta3.ebuild} (89%) rename sdk_container/src/third_party/portage-stable/dev-lang/python/{python-3.11.15.ebuild => python-3.11.15-r1.ebuild} (92%) rename sdk_container/src/third_party/portage-stable/dev-lang/python/{python-3.13.13_p1.ebuild => python-3.13.14.ebuild} (99%) rename sdk_container/src/third_party/portage-stable/dev-lang/python/{python-3.14.5_rc1.ebuild => python-3.14.6.ebuild} (98%) rename sdk_container/src/third_party/portage-stable/dev-lang/python/{python-3.14.5.ebuild => python-3.14.6_p1.ebuild} (99%) rename sdk_container/src/third_party/portage-stable/dev-lang/python/{python-3.15.0_beta1.ebuild => python-3.15.0_beta2.ebuild} (98%) rename sdk_container/src/third_party/portage-stable/dev-lang/python/{python-3.14.4_p1.ebuild => python-3.15.0_beta3.ebuild} (89%) diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/Manifest b/sdk_container/src/third_party/portage-stable/dev-lang/python/Manifest index cd640712137..04ab75611a4 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/Manifest @@ -6,34 +6,26 @@ DIST Python-3.11.15.tar.xz 20332596 BLAKE2B 8be4dd30aff7a2615fd37754dc6ed1caede1 DIST Python-3.11.15.tar.xz.asc 833 BLAKE2B dd4134701ef36d22c7bca8ea16794d3e85dc2a2b6323b2babfdeb2652ade1db8b7d4256cb68a40ee1c1a2b5885666e25791c1e4d6c044cc8d49f68693ec65887 SHA512 673822ca037acb521bf7d3e7433f83cc2d60c8d102cfbf6695234e2a50ce12a7003040ad4017438510ebbb1ff0ba6727253fae250b07bc0e3d24b5578e80be52 DIST Python-3.12.13.tar.xz 20801708 BLAKE2B 94b99c75e3aba1d1a953b5447f8ad6b7ebec921bc8cf32a9dfd449e574e4b7e2a010f0f267c31c859acec0092669203c71c90386c80203968126d9dbfb6ae85d SHA512 e1eb66f0b34581f0155e3ce25ba72cf0b4b1107672ed0ad3e86bcfe616945c9204c41ffc492f32b1066b9154913ff88343038967ad8711dd05e6f2332fdb735b DIST Python-3.12.13.tar.xz.asc 963 BLAKE2B e6bc572fd207fe203cf8018bca89777c7033e46d25cc598b5715658f556d26b6f3b1652f13518850ad62a37254ab4ecf5f770197cb847306ffef96b747840e88 SHA512 903fd3baa7e29891bb00fb159ec9c43804a71002c4cd38902d25bf4e5167f856b37d211a5b1098ee60e1ea41f8a10a1596dd2382edc6d7367d55dd4154807fc7 -DIST Python-3.13.13.tar.xz 22957612 BLAKE2B ea7761b9c47df08949798fb7b618ecc111f2d352b0ca317f3b6320d227c4728d18e1d63c45a2d5958bcf73e47d38b71d94b057c74d5a016110f9eee7337e6c22 SHA512 0ef615150a52865fe7ca0d0e106cf98488f113a56e5ae1b1437673f03880423839d04abe1999006f9835c77d8802d5ae94a1bdf63d18074a9a19c81e6f7b69e8 -DIST Python-3.13.13.tar.xz.asc 963 BLAKE2B d8f5d8bfc3e0e7140669f5478d846e5d6d2c44a805f6e44fcfa8fa1f72575771695719179a20c6e42994f27b144e9a61ba8d5fa25805f40fbcaf6421c322e81d SHA512 21e5235cd9a9df3546370feb55ac32539e08601b79ee7b1e39006028f192be6be0434f2f8384fdcc993b70bde7471be3b36ce9850abf0473d1fe2c7cdc98304b -DIST Python-3.14.4.tar.xz 23855332 BLAKE2B cb96ace0b3a0316ffc8f2fca1e9b67dc8df7d9fe81c1daff1d8883634683703a0e458d6eea61f01b3641bb76997b9e39c939a0c8c28ce5edd7b166e41b2cc1f8 SHA512 89a7f8b8a31f48d150badb4751df137d47d9014c9c422649a1a55aef5618aa7f0259dd18c151e6804fa8312c6a21544332a9f630ee81150dc00505637e62bb8c -DIST Python-3.14.4.tar.xz.sigstore 5219 BLAKE2B 5d4e076139082e525c2758a64ca2cc4c05c69e601ffc9c402d5a041f8b867ee5f37264ded3bfa014cc979ccd3c573c208d2321ac5a3be93b906116bd0d8a5c37 SHA512 ec41d0d25fa3cd87cf62adcbe6b9e575cecc49f947a64ca997aa792ed22d93ef1bbc4dc2848e365dfb43b6c447dcf47417f9c68a5881d0ede8750fece9f97a87 -DIST Python-3.14.5.tar.xz 23903332 BLAKE2B 1b26d61d320ec1b3681d739231bc0e016336ba565063dbf3b270368c08aaa870fb4e2c731c5460e840278293cc72fee5bac003dfc05a8bacb080f684dabcd677 SHA512 efbaf629703cd004f6b7bc75fb16df794185589adaf8807cd45928f212271045a399df3cd9573e47c8708fb5c5002f9d4efe4e41dde4313b81a3e9d73158769f -DIST Python-3.14.5.tar.xz.sigstore 5411 BLAKE2B e0fb33b98c39b6759f6bfa99ea44dd93cc92dcc8a897a0faef318b1ba4a3b285a7cfe725076cc3f355e1b627c85b41e9e71579fee97b7e61fc6c79780e9d8d10 SHA512 459f6d648fde31e55a4d53d6a9e878e3d2361c33c9ce0d7e2e2b8f8df81325bb7d0764742364745c448a1102f5b3873d9ae3634bf1a8f88bbc8b12fe2ac6acd8 -DIST Python-3.14.5rc1.tar.xz 23894408 BLAKE2B 7b894cc9fbc6df9255ad04aed506cc7751a8f59295a1d491e150731b34b2197802f3d12cc51c6412247c5a23c051f3f90ce69b969e0bc0a74cffb11e62de58e9 SHA512 67ede84d59046e3b413643449a7eced8cefcd908238b8a34d2ac38507d967201695c62c22464f1bfd51669daf306995262279c7bbfc5a25998ed867a3d743b38 -DIST Python-3.14.5rc1.tar.xz.sigstore 5363 BLAKE2B ad8ed1f9076ce67c33b290cdb6e24846de1642ce2deece0ec42d8adca67e7b403a53f7d64064c8c9d6d7ce05f8f1a62f5069a2cc85721160902b98cfebd254f9 SHA512 26a9129b8df1d5b83f6d81bdc49c78a5f45542ff9e56a3ecfc5b9480b5a0e0ee44b2fd3d1dd7775458c9076b4b27d891f149f3b24304f2456b5a0c5615e6ea12 -DIST Python-3.15.0b1.tar.xz 35178032 BLAKE2B 1bbfdeb373fa3a26b9d957084edc9bfb7f81ae579cd9bf9fba1a43a3bf409a2e01512c56c642eb47b6e1a3c0fe44f182d72a15498b90a75d424b6325d0fd97a1 SHA512 ce486f903aa8690f1725565c3fdc0034a983a60952a96a950fa7c89ab899a71cabed4a9252c497e0474f206f83ff02e2793cf975c345825324b85bced750c270 -DIST Python-3.15.0b1.tar.xz.sigstore 5411 BLAKE2B a1697c5239559c6871d3299c3dfa77edf0319ee03be12f6b3bd0b424e05a81b19249a98a316e5e6f8d403b04392ba69910ab8cef4ed86cf0d4a92fe04501a651 SHA512 72a4e1cfd48ba7ead6d5896d1441cf8c0991549beb28bc546534c4e1296495c9874dc7941239f8f5ed833b038bd66437868fd121c89a123d62cad157b744a4c2 +DIST Python-3.13.14.tar.xz 23021880 BLAKE2B 8f60f704c06fbfc2ee8ae3b2aa5c74cb5941f609baf74b3625eb37929933d2a3c806e9257c7d7f860d775a94454ed3ad90f50402ddd110b8bb32c40879bf66ec SHA512 0790da65f8ce88a13b06d3b287ace5a1f36b0a8f630a3af00fbbdf93b6ef0944dea05173a20c9e1336d280ef9a97ae2b95a44a4b487a7bbb71fda53b6331c0eb +DIST Python-3.13.14.tar.xz.asc 963 BLAKE2B d500bc16d5a1a1fb999b6c98ed076077a7fa8ab55b437a676c5f20f4665d27ee4644653e55a82ab78f2be18bb38b2cfa95efe5f39d7d39db3fe6c4b227c5d6ad SHA512 a5cfab862ac03447838d13c4d1a9b085a8c8a947c958fd42cecb42929817b1448c1b23a124c87456abd43a1cadfcfb427f394eead9eaf0b84f3296fa263dba6c +DIST Python-3.14.6.tar.xz 23921184 BLAKE2B d3038309c02fb260ee54a4151c67999930099455a993e8b712ec5d7cac97fcd8fc847288b0c93ca8c30d5acbf79325e6d54d16019b7daf51ade982208548386e SHA512 90a82f46c28f0fca613b67358fdc57c145ab05d20fb56bf3bc0c9e4e54947c7d30fbaa6856c41a41909237a9e601d1a7d19579d4b25c7a784ebcfe9012defc41 +DIST Python-3.14.6.tar.xz.sigstore 5539 BLAKE2B f48bd02fb1588306063d2a05b905bb640b23d73a404f39c6b1100b457d71bac296aaf753f24eb25c7bf060cf73972179d6e8b123f6931e69067480ded50e5d01 SHA512 461b8b4b8af0af507681fd1dd684c3559edfcc6cd79454ee0635f8e2d1606e87528ad24c9142bca2eb1ba4a70aeb123750cb9e6c181de6675205849d8cb58a48 +DIST Python-3.15.0b2.tar.xz 35381676 BLAKE2B 59834dc8301dcc9d7e25fd3faf6060a6755443f3782fd3f035d82896468013d01be1b558f7d5c7099b32d49256b09055fde324660d66a52900f519f75acb5556 SHA512 fae17efc3bd2604fdff2d63e0afeac47562165a5da2e1e027f4126b4f8bbb4957f3a2f406d6db23a20c8881fad108385b4b2afb53482075dbe16a690778ccd4a +DIST Python-3.15.0b2.tar.xz.sigstore 5583 BLAKE2B a766583eb8340ac3bef93ac0bde0ffa66f4680361bb369b3baccd715eb24a8a1f2e5f1ba049e1e8d3c7c53f41a2fe4b0402104156f7c0609355a18dbb24c99e2 SHA512 78f437419f67b10d556ec2304e9f46af4ee0114434e1c51594ccf202aa98ae3b733f4022aeac8fc1afdeeb29fda9328f855dd4914d38318c9ec965b45358153c +DIST Python-3.15.0b3.tar.xz 35459584 BLAKE2B 613f3609775df8b899603363a5e6cce39d3e1e56451c626cf87adc6149d9bbe5d1cddce86e3d86eb521747f4f0ada226322d0d737f881d107adccfd7b8533098 SHA512 a8c73a8e373ca921c87778d011072c1a0602cc203c65acda69117189cf5bd6c277c54044af381f27c243b187bbbb7b3ef47b9318bc89e2c044de9723175d7dca +DIST Python-3.15.0b3.tar.xz.sigstore 5687 BLAKE2B fd74f7eae99854979980740fb5af2f75fcd4a37548667706fe3f301d213244af987afc7a5395d85df48a04f42f0f660ab6c2b717085c43077f7da5b0413aabc3 SHA512 0f9241d114a1b390f547fbd0768be1375d1500c2e9b8d851a3ba87a5d8df1c0963e69c8798dd5576298f0e535860b5faa69ead5f41549d1a4b0e6228603b5a26 DIST Python-3.8.20.tar.xz 18962788 BLAKE2B 715c75e0c0a3d3b77af7f07478311bb0554b80aac72915be703aa2d0dd6459a972e5669808e64da14a0b91bb183e00655055c1726f302dc3ccd8721e3b4ae3e6 SHA512 3c9341ee1fd33cb687958dcf2b7c0c7700489726c4d530c3e9d9537d46a6ab534541a4b312232d8505bea395a07e4518c42d75fb7571103e6b266f8f44115c61 DIST Python-3.8.20.tar.xz.asc 833 BLAKE2B 5c86c15a1090b42e42bb7512565b1a7ad9d2137d59e9fd1ab0f83fdfc37dfcf184389418d6703db809e9c8c04a169af292665a2b58bf5dc61b7724ecbb4132d9 SHA512 a751ae0407a593d97acac4d5f8a0456580c753efa12a7d960125c219b4897fdb26fc1ffd43d8ea33ad1449162dd3b2904c16b6c51c57561ba73de3ffa62e0eed DIST Python-3.9.25.tar.xz 20183236 BLAKE2B 01c5af78659324e2a596611c11c0fa982f81faf9b401afe1a96399b58321e39c41e46a932e1e4437f3f2bb2d76d8482e852fc66e6f960a4928f7fc99b62dfb7e SHA512 33fd65952cc3ce5df83825aa32a103935815bdd5a016e5fd9896cafb068a3f89b3a6134458a2694e4f0f4f8a9fbe84739b53116264728b32cde0f03ab210cb19 DIST Python-3.9.25.tar.xz.asc 833 BLAKE2B 3ab506f78b53aed0b3ebbeb620e3763857aafca7756f0f9a594fdc27c2fc8b002e338ae34d54f7e9e5a52fa701d3ab4de44ab4f4328034d77a207f066abafc2e SHA512 83f0a0e558aa89a106bdffeeb9b0fa2685fbd7be5c5954f9176c59c6c7023716207b07239f202b3508cbb98ca34572161955f0bfd3732fdb9265721cd6723dbe DIST python-gentoo-patches-2.7.18_p16.tar.xz 35448 BLAKE2B 0139c0944f62f9cdd236f6a8557e0ed19704c7d72869af1cb7d8bd3e646a746cd4a0201e1b44232a5e78ef49f254db20b0d0271bf744fbfd4fe0f1e99b8f3e6c SHA512 810be590d0e06fab4b2165e6852ca49662f09dcd7e20b47a29f613ad7653252c8dfac3f0eb228d77c8a914efa7c08788b2fbd552a4b47504f5fd0ec17450c48f -DIST python-gentoo-patches-3.10.18.tar.xz 29664 BLAKE2B dd69f7866cebad2536b41056571d74cbd90800062b06612b7509c9ce8f258aef66586f3c6e08f52caaceb7b0a01a52502b9c763b6f7d94caac0e929d9d77219b SHA512 b4cf4ff2d7e5b73e1102acc2183c4da3e734bdbec1c284d1fef8aceba0d49246dcdc954d3e4119521fde1e895bab0754b34b346b736b46ce45aff1afc6d38cef DIST python-gentoo-patches-3.10.20.tar.xz 29180 BLAKE2B 3179a983fd4f744a6d29cb345f9e3ee1348c4feeaf2eb67ff2f3069811764129b5fc10f728c2cbc3731c7d3bbe566f08d8d4b564b907d2492ea063c284424c1a SHA512 bd7c8fea81d3e7eada0e01ff60cf37133f66d61fab3d39778ded88f445f7830493c3ef2cfbd136bc1d15526730f4b4455d6b0adbefb6a275e6b8cfe53255eb34 -DIST python-gentoo-patches-3.11.13.tar.xz 16492 BLAKE2B 8b188742dd3f25974cead290e5793c31f02741a901dce65137c596045fa2fbd5baaef332204af90f95ddcd864ee542b252c00b190e15c25af60a7bda771b116f SHA512 b5abad341d2eede81df445b56a98720466ec23df40a8a2e99a04dba5a106205655c8e2b64df0ca2630f036c8fe457ba64524280d137bbc99f52e4fd8e6bbd5ae DIST python-gentoo-patches-3.11.15.tar.xz 15988 BLAKE2B 16e98450749ebd1c617acbb9aba380fff50a8f7dba19f3f99edd3bd387c1a5d61d78cbf493cf003dfe03d2be59374ad89077b39fe203059bbbb881ae02a72ea5 SHA512 b705c72a585e315eb3ba69ffbf2a80836f0fc894fa8ae2c22768e6aa8ac2a23aada5def3d2635193793f58e3da81f0f10281c47bd8e129e1fd2c9167d292265b -DIST python-gentoo-patches-3.12.11.tar.xz 12020 BLAKE2B b419d32b1d7bef9408027edda7eac9a920a877e1b8f521483df595199bad1bbadd9dd9500079c09beab63286a801bfb25da5f93a5d31462ed3e457a6e40ad6af SHA512 1b0eaff4c0df06554525a50576da7eadb4067c4f2970851e5c9e3e527a9ccc4216cbd65c45fd562af4a1cedc2c66278a74bee5cf5c1a65df8feb22f34f5a19e4 DIST python-gentoo-patches-3.12.13_p1.tar.xz 12408 BLAKE2B 2b232c2742eafcb803713c837b4ddaa38f45c88e707ec272571739570f9e2e5c94644681369d887992eadf5f0c1178489f1aa3a7d8163a2aa4ce6a86732e73da SHA512 e06d78ad24c9fbc3fa9c47b25ba722342ddd140aa30f624b41d605dae40d00ab956d879a247db2d7980c063a1472de40587a0d3cd6947e560aa7e8d0e4f89309 -DIST python-gentoo-patches-3.13.13_p1.tar.xz 9920 BLAKE2B 81ecba755005b288fcbd8fa1b6a1f24ae0b19d8c8f9c54fd37935526145a458605b04b8492d1e15da4146313e7e2dd86fdabf509e8cf3ca2f48a23dac055145b SHA512 3b6f801296726a03ca6026e1434d7fbbc6d2aeb6cd9f0a83378d3be8cd011afce71e8341306feb8e521fe60f0f960b9885d6152fed44f2d0b604761101735d74 -DIST python-gentoo-patches-3.13.4.tar.xz 8912 BLAKE2B e3d9f2a12f801dc75e09c5301757f35216d712b5e5394f2ec3ce1d79d0cb57571dbca525e3d5c35b90fa059c2b78ee24341b6a51cbe9691deac84c9ee0578824 SHA512 1a7141accb7aa70c7bd8dd12528f7de031dfeab9ff089f3d044da0b7b52461e2d6d7d1467161e0fe1e259d9fa06d70bcf107d86ad3590e8cf73aa1132ef3aaf9 -DIST python-gentoo-patches-3.14.0b1.tar.xz 5680 BLAKE2B 514b3edc3025e5bf675d371b5ada17dea426856edf1fb6095c2ee400eae95bd4265ef81fe593ae9338e801e7d0a25b1d5ba2d05ca563fd9dd020114b13575746 SHA512 74289e42cf532b54bb1b66a283ec19156f8a36ba38764209c133842314c9efb2ce2ebcba5aa9213bcf7fc0c8a5ca9b6e7adbd5dbfa4397233136d7cd55f53ee7 -DIST python-gentoo-patches-3.14.4_p1.tar.xz 9016 BLAKE2B 39bee4db44684a087b3bf6793a22d1655c2a90fabb56ea0421ded013cf53e66ac83cb3016d469f06c5d7cab7b8d22138bc4c1e01843a174299e1af0f88e5818c SHA512 a299212bd3d4a70c83a1efe1ec155f7b13829aa10aecf638de0889cf7b8ebe5227d3f14a1d51dac18fa4ae19b1060639490e61f2c1f52deadd40065c07b317f2 -DIST python-gentoo-patches-3.14.5.tar.xz 10308 BLAKE2B 1ce7b8f33d15d27805894a6f3614fbcf280639fa84bb3605c1a1ee596282235f79ba2399b5d2385a06b0b36c8a6bf162ae4e1b15a67612bdca67f48e06a2fae2 SHA512 f2a806bf753e696a0b7474fd0f11c0f5d9a8043f72f478a37a79f7a9ec843cb31cc959aa3fc38670c1a8ac012554a7d3d4899d7e615cee70e21a7dd7afc2da9a -DIST python-gentoo-patches-3.14.5rc1.tar.xz 8436 BLAKE2B 527156383cba6288df15a0bb0718960ba2a30428a2367d014a11b22e598c63d2c912480e37b064233e05590d1112b6c3c4ac1fa9db392ac11a98b8ec54847d30 SHA512 8adb64ca0bc1c653fb04a71bd6b40415ae3ca4761edf578199c5cc1d1da392b239ca07af395114970467c8233027c5eefb4b869bcab4379d5a7310a286aaec53 -DIST python-gentoo-patches-3.15.0a8.tar.xz 3400 BLAKE2B dcff2552394595c448c17145f50ff511c4dffef8b0c356f92560ff5879be8e87b57d7c39a2220e5822e942760a7d16f9f18aa84dc41183fedcc1928357fa6d44 SHA512 eba0366b092fec56f4e62eb39faddf7964a55930c7c6211e26b66ee9631f2e35ccfd0bacc6bd224a6d1dfdd4bdcc1a5607cb0011caadcb69006afded8d9dfec8 -DIST python-gentoo-patches-3.15.0b1.tar.xz 3420 BLAKE2B 266ada600b587ff430a21c38d7585fcdb2d320a4160dd8e93dac3a6517faa685eadda9a9b14b271c6380a78112c83f39fc30bbbece10bfc7e6cde2eba61103fa SHA512 9f42700e03051fbadf3b9e6f7163077ab6b8c1f406e5bfc99560b590dbbabe72e5b38cd8c16b21aec75c4e760af549bffef6d76e65f390d61cd8840894949565 +DIST python-gentoo-patches-3.13.14.tar.xz 9360 BLAKE2B 257a43992b857d44881174b36b0940fab3f879060938fe6e6464ae671832a3af624a0cc6f012e44ee344a34d0a8da0c898a29176029bfab70086434fbd3c3b99 SHA512 0084ffc35ff81a7056dd7a3624083ed957fbe482b1cbca9e401ef5851e0046b82b9102f4cf358f2974d7a7dfb3e21e96dcafe6c207417fa01834b9d10a2ee8d6 +DIST python-gentoo-patches-3.14.6.tar.xz 10312 BLAKE2B 3415bb7859cdd8754987afdc7d0c793833755698a9a6b7e7b7c75d2c203109640cf5c1aff49ea38419273959479fb745cf956cae263515d82c0e7e67155be5c2 SHA512 19cb6f1424165153d2834b310ef6f8a0ac047351126191457fc0ce49238a6b21fe8a427897a5ce19bdd20076abc2189c71175981a67ab07dcbdec759b80005ab +DIST python-gentoo-patches-3.14.6_p1.tar.xz 12032 BLAKE2B 315de6cb5f346c6406e12d4cb6ccbc986e6a39dc334e5ceb4d1ba4922a336d77f0bd0167fb7ef4d1c40ce0829e03248e838dbfbd0a46c0e4e0f6cf9e999e09e8 SHA512 2ac689aa6cff138782440ce1104bf21eace756fd1a72e22590c14157390937f7f50cd1e1ca774bb5a1ff08404b74901fb55d703c39a6ff9c9165e420d1b045e9 +DIST python-gentoo-patches-3.15.0b2.tar.xz 3436 BLAKE2B fa2128b899f2d93078058ccd3e47b780bd092a841b07add94da61a55bb1f9846ec1fa5e00bcd78fcdd1d7da80fdf1dbabcc5d644a70cebce2018c457b186c74a SHA512 e92e87c027c8d777faae20b264cd83353dbb23d15679e99465f014277d02078b8c68fce3723e176cbebd94ac2057e5a9703f0ae5f5691e934b74947735ec3a86 +DIST python-gentoo-patches-3.15.0b3.tar.xz 3432 BLAKE2B 994e9339e00dfa4b40395e763f25dde4813d791151787028dafcf2e5159c38bbe88d4b56d07fc4c7454a09bd55edfda94b9cb8cf5c0ff0ffe7db4bb1a8eea8b6 SHA512 8c3a8dea43fc42179679b1f6811979dabb4e1c34821b4aecd894d661842df26e7592f5c74787157f36ccddf9ce233994c774fbe8381dc0ccaff3dfcff0c6c572 DIST python-gentoo-patches-3.8.20_p7.tar.xz 54544 BLAKE2B e31fc9fb5e98b62b0f70165670ec58ed4fa932cfc95d5287c249015a3a372fdbf0d1ba08cb98f63c2dc500700edfd6ffea6db670385d2c86a4fdb92ffb991192 SHA512 a9e7e4976be226931a503af2c986da207d060d4ce436af61f5e8427da513639adbed32bb0061963b83fef275a5de91707ab13b7a9abf3a7472ee0e2c5310eda1 DIST python-gentoo-patches-3.9.25.tar.xz 36604 BLAKE2B 11d35dcbc8979fe37e27a00dfef9683f0bf40514415be416d322f0509109edeb58a2e0b9218cfa3b3326654f5923d165511d203504ca2b52971ad136f8a454d1 SHA512 234bae116b2a5af00506cb76a0b86dfb8cf1f84ee980a358f3642bb717cff4d6f10388b2a07f12118588a174de4d2fd6ad2e3ab24704f9c85f36cb33d51f0c65 diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.13.13_p1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.13.14.ebuild similarity index 93% rename from sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.13.13_p1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.13.14.ebuild index 8060dcf4a78..3b3d1c6711f 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.13.13_p1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.13.14.ebuild @@ -6,7 +6,7 @@ EAPI="8" WANT_LIBTOOL="none" inherit autotools check-reqs flag-o-matic linux-info -inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs +inherit multiprocessing pax-utils toolchain-funcs inherit verify-sig REAL_PV=${PV#0.} @@ -52,10 +52,10 @@ RDEPEND=" dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libintl gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) @@ -87,11 +87,6 @@ BDEPEND=" virtual/pkgconfig verify-sig? ( >=sec-keys/openpgp-keys-python-20221025 ) " -if [[ ${PV} != *_alpha* ]]; then - RDEPEND+=" - dev-lang/python-exec[python_targets_python${PYVER/./_}(-)] - " -fi PDEPEND=" ensurepip? ( dev-python/ensurepip-pip ) " @@ -584,28 +579,4 @@ src_install() { -e "s:@PYDOC@:pydoc${PYVER}:" \ -i "${ED}/etc/conf.d/pydoc-${PYVER}" \ "${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed" - - # python-exec wrapping support - local pymajor=${PYVER%.*} - local EPYTHON=python${PYVER} - local scriptdir=${D}$(python_get_scriptdir) - mkdir -p "${scriptdir}" || die - # python and pythonX - ln -s "../../../bin/${abiver}" "${scriptdir}/python${pymajor}" || die - ln -s "python${pymajor}" "${scriptdir}/python" || die - # python-config and pythonX-config - # note: we need to create a wrapper rather than symlinking it due - # to some random dirname(argv[0]) magic performed by python-config - cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die - #!/bin/sh - exec "${abiver}-config" "\${@}" - EOF - chmod +x "${scriptdir}/python${pymajor}-config" || die - ln -s "python${pymajor}-config" "${scriptdir}/python-config" || die - # pydoc - ln -s "../../../bin/pydoc${PYVER}" "${scriptdir}/pydoc" || die - # idle - if use tk; then - ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die - fi } diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.13.9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.13.9999.ebuild index 3eaa3eb33bc..4d0b01ac5fa 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.13.9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.13.9999.ebuild @@ -6,10 +6,10 @@ EAPI="8" WANT_LIBTOOL="none" inherit autotools check-reqs flag-o-matic git-r3 linux-info -inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs +inherit multiprocessing pax-utils toolchain-funcs PYVER="$(ver_cut 2-3)t" -PATCHSET="python-gentoo-patches-3.13.4" +PATCHSET="python-gentoo-patches-3.13.14" DESCRIPTION="Freethreading (no-GIL) version of Python programming language" HOMEPAGE=" @@ -44,10 +44,10 @@ RDEPEND=" dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libintl gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) @@ -78,11 +78,6 @@ BDEPEND=" app-alternatives/awk virtual/pkgconfig " -if [[ ${PV} != *_alpha* ]]; then - RDEPEND+=" - dev-lang/python-exec[python_targets_python${PYVER/./_}(-)] - " -fi PDEPEND=" ensurepip? ( dev-python/ensurepip-pip ) " @@ -571,28 +566,4 @@ src_install() { -e "s:@PYDOC@:pydoc${PYVER}:" \ -i "${ED}/etc/conf.d/pydoc-${PYVER}" \ "${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed" - - # python-exec wrapping support - local pymajor=${PYVER%.*} - local EPYTHON=python${PYVER} - local scriptdir=${D}$(python_get_scriptdir) - mkdir -p "${scriptdir}" || die - # python and pythonX - ln -s "../../../bin/${abiver}" "${scriptdir}/python${pymajor}" || die - ln -s "python${pymajor}" "${scriptdir}/python" || die - # python-config and pythonX-config - # note: we need to create a wrapper rather than symlinking it due - # to some random dirname(argv[0]) magic performed by python-config - cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die - #!/bin/sh - exec "${abiver}-config" "\${@}" - EOF - chmod +x "${scriptdir}/python${pymajor}-config" || die - ln -s "python${pymajor}-config" "${scriptdir}/python-config" || die - # pydoc - ln -s "../../../bin/pydoc${PYVER}" "${scriptdir}/pydoc" || die - # idle - if use tk; then - ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die - fi } diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.5.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.6.ebuild similarity index 99% rename from sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.5.ebuild rename to sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.6.ebuild index 543fc4dd73b..f0d37d39035 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.5.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.6.ebuild @@ -36,7 +36,7 @@ if [[ ${PV} != *_rc* ]]; then KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi IUSE=" - bluetooth debug +ensurepip examples gdbm libedit +ncurses pgo + bluetooth build debug +ensurepip examples gdbm libedit +ncurses pgo +readline +sqlite +ssl tail-call-interp test tk valgrind " RESTRICT="!test? ( test )" @@ -49,16 +49,16 @@ RESTRICT="!test? ( test )" RDEPEND=" app-arch/bzip2:= app-arch/xz-utils:= - app-arch/zstd:= app-misc/mime-types >=dev-libs/expat-2.1:= dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libintl + !build? ( app-arch/zstd:= ) gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) @@ -419,6 +419,7 @@ src_configure() { cat > Modules/Setup.local <<-EOF || die *disabled* nis + $(usev build '_zstd') $(usev !gdbm '_gdbm _dbm') $(usev !sqlite '_sqlite3') $(usev !ssl '_hashlib _ssl') diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.5_rc1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.6_p1.ebuild similarity index 99% rename from sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.5_rc1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.6_p1.ebuild index 543fc4dd73b..3c5ea553412 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.5_rc1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.6_p1.ebuild @@ -11,7 +11,7 @@ inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs inherit verify-sig REAL_PV=${PV#0.} -MY_PV=${REAL_PV/_/} +MY_PV=${REAL_PV} MY_P="Python-${MY_PV%_p*}" PYVER="$(ver_cut 2-3)t" PATCHSET="python-gentoo-patches-${MY_PV}" @@ -36,7 +36,7 @@ if [[ ${PV} != *_rc* ]]; then KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi IUSE=" - bluetooth debug +ensurepip examples gdbm libedit +ncurses pgo + bluetooth build debug +ensurepip examples gdbm libedit +ncurses pgo +readline +sqlite +ssl tail-call-interp test tk valgrind " RESTRICT="!test? ( test )" @@ -49,16 +49,16 @@ RESTRICT="!test? ( test )" RDEPEND=" app-arch/bzip2:= app-arch/xz-utils:= - app-arch/zstd:= app-misc/mime-types >=dev-libs/expat-2.1:= dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libintl + !build? ( app-arch/zstd:= ) gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) @@ -419,6 +419,7 @@ src_configure() { cat > Modules/Setup.local <<-EOF || die *disabled* nis + $(usev build '_zstd') $(usev !gdbm '_gdbm _dbm') $(usev !sqlite '_sqlite3') $(usev !ssl '_hashlib _ssl') diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.9999.ebuild index 7ecfc4e2611..4dfa8c0d9b3 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.9999.ebuild @@ -9,7 +9,7 @@ inherit autotools check-reqs flag-o-matic git-r3 linux-info inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs PYVER="$(ver_cut 2-3)t" -PATCHSET="python-gentoo-patches-3.14.0b1" +PATCHSET="python-gentoo-patches-3.14.6_p1" DESCRIPTION="Freethreading (no-GIL) version of Python programming language" HOMEPAGE=" @@ -25,7 +25,7 @@ EGIT_BRANCH=${PYVER%t} LICENSE="PSF-2" SLOT="${PYVER}" IUSE=" - bluetooth debug +ensurepip examples gdbm libedit +ncurses pgo + bluetooth build debug +ensurepip examples gdbm libedit +ncurses pgo +readline +sqlite +ssl tail-call-interp test tk valgrind " RESTRICT="!test? ( test )" @@ -38,16 +38,16 @@ RESTRICT="!test? ( test )" RDEPEND=" app-arch/bzip2:= app-arch/xz-utils:= - app-arch/zstd:= app-misc/mime-types >=dev-libs/expat-2.1:= dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libintl + !build? ( app-arch/zstd:= ) gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) @@ -408,6 +408,7 @@ src_configure() { cat > Modules/Setup.local <<-EOF || die *disabled* nis + $(usev build '_zstd') $(usev !gdbm '_gdbm _dbm') $(usev !sqlite '_sqlite3') $(usev !ssl '_hashlib _ssl') diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.15.0_beta1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.15.0_beta2.ebuild similarity index 99% rename from sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.15.0_beta1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.15.0_beta2.ebuild index 7d04c59a102..b80b909da29 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.15.0_beta1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.15.0_beta2.ebuild @@ -32,7 +32,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="PSF-2" SLOT="${PYVER}" IUSE=" - bluetooth debug +ensurepip examples gdbm libedit +ncurses pgo + bluetooth build debug +ensurepip examples gdbm libedit +ncurses pgo +readline +sqlite +ssl tail-call-interp test tk valgrind " RESTRICT="!test? ( test )" @@ -45,16 +45,16 @@ RESTRICT="!test? ( test )" RDEPEND=" app-arch/bzip2:= app-arch/xz-utils:= - app-arch/zstd:= app-misc/mime-types >=dev-libs/expat-2.1:= dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libintl + !build? ( app-arch/zstd:= ) gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) @@ -422,6 +422,7 @@ src_configure() { cat > Modules/Setup.local <<-EOF || die *disabled* nis + $(usev build '_zstd') $(usev !gdbm '_gdbm _dbm') $(usev !sqlite '_sqlite3') $(usev !ssl '_hashlib _ssl') diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.4_p1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.15.0_beta3.ebuild similarity index 89% rename from sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.4_p1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.15.0_beta3.ebuild index 017fbfaaf1c..b80b909da29 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.14.4_p1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.15.0_beta3.ebuild @@ -6,12 +6,11 @@ EAPI="8" VERIFY_SIG_METHOD=sigstore WANT_LIBTOOL="none" -inherit autotools check-reqs eapi9-ver flag-o-matic linux-info -inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs -inherit verify-sig +inherit autotools check-reqs flag-o-matic linux-info +inherit multiprocessing pax-utils toolchain-funcs verify-sig REAL_PV=${PV#0.} -MY_PV=${REAL_PV} +MY_PV=${REAL_PV/_beta/b} MY_P="Python-${MY_PV%_p*}" PYVER="$(ver_cut 2-3)t" PATCHSET="python-gentoo-patches-${MY_PV}" @@ -32,9 +31,8 @@ S="${WORKDIR}/${MY_P}" LICENSE="PSF-2" SLOT="${PYVER}" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE=" - bluetooth debug +ensurepip examples gdbm libedit +ncurses pgo + bluetooth build debug +ensurepip examples gdbm libedit +ncurses pgo +readline +sqlite +ssl tail-call-interp test tk valgrind " RESTRICT="!test? ( test )" @@ -47,16 +45,16 @@ RESTRICT="!test? ( test )" RDEPEND=" app-arch/bzip2:= app-arch/xz-utils:= - app-arch/zstd:= app-misc/mime-types >=dev-libs/expat-2.1:= dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libintl + !build? ( app-arch/zstd:= ) gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) @@ -78,6 +76,7 @@ DEPEND=" test? ( dev-python/ensurepip-pip dev-python/ensurepip-setuptools + dev-python/ensurepip-wheel ) valgrind? ( dev-debug/valgrind ) " @@ -122,6 +121,12 @@ pkg_pretend() { if use pgo || use test; then check-reqs_pkg_pretend fi + + ewarn "Freethreading build is considered experimental upstream. Using it" + ewarn "could lead to unexpected breakage, including race conditions" + ewarn "and crashes, respectively. Please do not file Gentoo bugs, unless" + ewarn "you can reproduce the problem with dev-lang/python. Instead," + ewarn "please consider reporting freethreading problems upstream." } pkg_setup() { @@ -417,6 +422,7 @@ src_configure() { cat > Modules/Setup.local <<-EOF || die *disabled* nis + $(usev build '_zstd') $(usev !gdbm '_gdbm _dbm') $(usev !sqlite '_sqlite3') $(usev !ssl '_hashlib _ssl') @@ -529,10 +535,15 @@ src_test() { src_install() { local libdir=${ED}/usr/lib/python${PYVER} + local build_dir=$( "${scriptdir}/python${pymajor}-config" <<-EOF || die - #!/bin/sh - exec "${abiver}-config" "\${@}" - EOF - chmod +x "${scriptdir}/python${pymajor}-config" || die - ln -s "python${pymajor}-config" "${scriptdir}/python-config" || die - # pydoc - ln -s "../../../bin/pydoc${PYVER}" "${scriptdir}/pydoc" || die - # idle - if use tk; then - ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die - fi -} - -pkg_postinst() { - if ver_replacing -lt 0.3.14.0_beta3; then - ewarn "Python 3.14.0b3 has changed its module ABI. The .pyc files" - ewarn "installed previously are no longer valid and will be regenerated" - ewarn "(or ignored) on the next import. This may cause sandbox failures" - ewarn "when installing some packages and checksum mismatches when removing" - ewarn "old versions. To actively prevent this, rebuild all packages" - ewarn "installing Python 3.14 modules, e.g. using:" - ewarn - ewarn " emerge -1v /usr/lib/python3.14t/site-packages" - fi } diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.15.9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.15.9999.ebuild index ba23e4bc2c6..5b7c3bfc80d 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.15.9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-0.3.15.9999.ebuild @@ -9,7 +9,7 @@ inherit autotools check-reqs flag-o-matic git-r3 linux-info inherit multiprocessing pax-utils toolchain-funcs PYVER="$(ver_cut 2-3)t" -PATCHSET="python-gentoo-patches-3.15.0a8" +PATCHSET="python-gentoo-patches-3.15.0b3" DESCRIPTION="Freethreading (no-GIL) version of Python programming language" HOMEPAGE=" @@ -24,7 +24,7 @@ EGIT_REPO_URI="https://github.com/python/cpython.git" LICENSE="PSF-2" SLOT="${PYVER}" IUSE=" - bluetooth debug +ensurepip examples gdbm libedit +ncurses pgo + bluetooth build debug +ensurepip examples gdbm libedit +ncurses pgo +readline +sqlite +ssl tail-call-interp test tk valgrind " RESTRICT="!test? ( test )" @@ -37,16 +37,16 @@ RESTRICT="!test? ( test )" RDEPEND=" app-arch/bzip2:= app-arch/xz-utils:= - app-arch/zstd:= app-misc/mime-types >=dev-libs/expat-2.1:= dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libintl + !build? ( app-arch/zstd:= ) gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) @@ -408,6 +408,7 @@ src_configure() { cat > Modules/Setup.local <<-EOF || die *disabled* nis + $(usev build '_zstd') $(usev !gdbm '_gdbm _dbm') $(usev !sqlite '_sqlite3') $(usev !ssl '_hashlib _ssl') diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.10.20.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.10.20.ebuild index 6d287d54c60..7b1f2281cfa 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.10.20.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.10.20.ebuild @@ -48,11 +48,11 @@ RDEPEND=" dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libcrypt:= virtual/libintl gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.10.9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.10.9999.ebuild index 92e1decbf68..9b28fb2f072 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.10.9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.10.9999.ebuild @@ -8,7 +8,7 @@ inherit autotools check-reqs flag-o-matic git-r3 multiprocessing pax-utils inherit prefix toolchain-funcs PYVER=$(ver_cut 1-2) -PATCHSET="python-gentoo-patches-3.10.18" +PATCHSET="python-gentoo-patches-3.10.20" DESCRIPTION="An interpreted, interactive, object-oriented programming language" HOMEPAGE=" @@ -42,11 +42,11 @@ RDEPEND=" dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libcrypt:= virtual/libintl gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.11.15.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.11.15-r1.ebuild similarity index 92% rename from sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.11.15.ebuild rename to sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.11.15-r1.ebuild index d69beeece0d..b9fd028a4e3 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.11.15.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.11.15-r1.ebuild @@ -5,7 +5,7 @@ EAPI="8" WANT_LIBTOOL="none" inherit autotools check-reqs flag-o-matic multiprocessing pax-utils -inherit prefix python-utils-r1 toolchain-funcs verify-sig +inherit prefix toolchain-funcs verify-sig MY_PV=${PV/_rc/rc} MY_P="Python-${MY_PV%_p*}" @@ -49,11 +49,11 @@ RDEPEND=" dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libcrypt:= virtual/libintl gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) @@ -86,11 +86,6 @@ BDEPEND=" virtual/pkgconfig verify-sig? ( sec-keys/openpgp-keys-python ) " -if [[ ${PV} != *_alpha* ]]; then - RDEPEND+=" - dev-lang/python-exec[python_targets_python${PYVER/./_}(-)] - " -fi PDEPEND=" ensurepip? ( dev-python/ensurepip-pip @@ -591,29 +586,4 @@ src_install() { -e "s:@PYDOC@:pydoc${PYVER}:" \ -i "${ED}/etc/conf.d/pydoc-${PYVER}" \ "${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed" - - # python-exec wrapping support - local pymajor=${PYVER%.*} - local EPYTHON=python${PYVER} - local scriptdir=${D}$(python_get_scriptdir) - mkdir -p "${scriptdir}" || die - # python and pythonX - ln -s "../../../bin/${abiver}" "${scriptdir}/python${pymajor}" || die - ln -s "python${pymajor}" "${scriptdir}/python" || die - # python-config and pythonX-config - # note: we need to create a wrapper rather than symlinking it due - # to some random dirname(argv[0]) magic performed by python-config - cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die - #!/bin/sh - exec "${abiver}-config" "\${@}" - EOF - chmod +x "${scriptdir}/python${pymajor}-config" || die - ln -s "python${pymajor}-config" "${scriptdir}/python-config" || die - # 2to3, pydoc - ln -s "../../../bin/2to3-${PYVER}" "${scriptdir}/2to3" || die - ln -s "../../../bin/pydoc${PYVER}" "${scriptdir}/pydoc" || die - # idle - if use tk; then - ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die - fi } diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.11.9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.11.9999.ebuild index 40ee517c929..9e8cb6e2d13 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.11.9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.11.9999.ebuild @@ -5,10 +5,10 @@ EAPI="8" WANT_LIBTOOL="none" inherit autotools check-reqs flag-o-matic git-r3 multiprocessing pax-utils -inherit prefix python-utils-r1 toolchain-funcs +inherit prefix toolchain-funcs PYVER=$(ver_cut 1-2) -PATCHSET="python-gentoo-patches-3.11.13" +PATCHSET="python-gentoo-patches-3.11.15" DESCRIPTION="An interpreted, interactive, object-oriented programming language" HOMEPAGE=" @@ -43,11 +43,11 @@ RDEPEND=" dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libcrypt:= virtual/libintl gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) @@ -79,11 +79,6 @@ BDEPEND=" app-alternatives/awk virtual/pkgconfig " -if [[ ${PV} != *_alpha* ]]; then - RDEPEND+=" - dev-lang/python-exec[python_targets_python${PYVER/./_}(-)] - " -fi PDEPEND=" ensurepip? ( dev-python/ensurepip-pip @@ -582,29 +577,4 @@ src_install() { -e "s:@PYDOC@:pydoc${PYVER}:" \ -i "${ED}/etc/conf.d/pydoc-${PYVER}" \ "${ED}/etc/init.d/pydoc-${PYVER}" || die "sed failed" - - # python-exec wrapping support - local pymajor=${PYVER%.*} - local EPYTHON=python${PYVER} - local scriptdir=${D}$(python_get_scriptdir) - mkdir -p "${scriptdir}" || die - # python and pythonX - ln -s "../../../bin/${abiver}" "${scriptdir}/python${pymajor}" || die - ln -s "python${pymajor}" "${scriptdir}/python" || die - # python-config and pythonX-config - # note: we need to create a wrapper rather than symlinking it due - # to some random dirname(argv[0]) magic performed by python-config - cat > "${scriptdir}/python${pymajor}-config" <<-EOF || die - #!/bin/sh - exec "${abiver}-config" "\${@}" - EOF - chmod +x "${scriptdir}/python${pymajor}-config" || die - ln -s "python${pymajor}-config" "${scriptdir}/python-config" || die - # 2to3, pydoc - ln -s "../../../bin/2to3-${PYVER}" "${scriptdir}/2to3" || die - ln -s "../../../bin/pydoc${PYVER}" "${scriptdir}/pydoc" || die - # idle - if use tk; then - ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die - fi } diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.12.13_p1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.12.13_p1.ebuild index 76b5b115077..002a852b1fe 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.12.13_p1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.12.13_p1.ebuild @@ -49,11 +49,11 @@ RDEPEND=" dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libcrypt:= virtual/libintl gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.12.9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.12.9999.ebuild index c7ed95b8f6c..15f1171996f 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.12.9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.12.9999.ebuild @@ -8,7 +8,7 @@ inherit autotools check-reqs flag-o-matic git-r3 multiprocessing pax-utils inherit python-utils-r1 toolchain-funcs PYVER=$(ver_cut 1-2) -PATCHSET="python-gentoo-patches-3.12.11" +PATCHSET="python-gentoo-patches-3.12.13_p1" DESCRIPTION="An interpreted, interactive, object-oriented programming language" HOMEPAGE=" @@ -43,11 +43,11 @@ RDEPEND=" dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libcrypt:= virtual/libintl gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.13.13_p1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.13.14.ebuild similarity index 99% rename from sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.13.13_p1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.13.14.ebuild index aa92a160813..f620617d0b0 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.13.13_p1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.13.14.ebuild @@ -54,10 +54,10 @@ RDEPEND=" dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libintl gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.13.9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.13.9999.ebuild index 4babafa5def..11b7c889cca 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.13.9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.13.9999.ebuild @@ -11,7 +11,7 @@ inherit autotools check-reqs flag-o-matic git-r3 linux-info llvm-r1 inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs PYVER=$(ver_cut 1-2) -PATCHSET="python-gentoo-patches-3.13.4" +PATCHSET="python-gentoo-patches-3.13.14" DESCRIPTION="An interpreted, interactive, object-oriented programming language" HOMEPAGE=" @@ -47,10 +47,10 @@ RDEPEND=" dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libintl gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.5_rc1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.6.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.5_rc1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.6.ebuild index d92ec14a4a8..e7a4d5b9cdd 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.5_rc1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.6.ebuild @@ -34,10 +34,10 @@ S="${WORKDIR}/${MY_P}" LICENSE="PSF-2" SLOT="${PYVER}" if [[ ${PV} != *_rc* ]]; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" fi IUSE=" - bluetooth debug +ensurepip examples gdbm jit libedit +ncurses pgo + bluetooth build debug +ensurepip examples gdbm jit libedit +ncurses pgo +readline +sqlite +ssl tail-call-interp test tk valgrind " REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )" @@ -51,16 +51,16 @@ RESTRICT="!test? ( test )" RDEPEND=" app-arch/bzip2:= app-arch/xz-utils:= - app-arch/zstd:= app-misc/mime-types >=dev-libs/expat-2.1:= dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libintl + !build? ( app-arch/zstd:= ) gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) @@ -437,6 +437,7 @@ src_configure() { cat > Modules/Setup.local <<-EOF || die *disabled* nis + $(usev build '_zstd') $(usev !gdbm '_gdbm _dbm') $(usev !sqlite '_sqlite3') $(usev !ssl '_hashlib _ssl') diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.5.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.6_p1.ebuild similarity index 99% rename from sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.5.ebuild rename to sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.6_p1.ebuild index d92ec14a4a8..986a3fea174 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.5.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.6_p1.ebuild @@ -12,7 +12,7 @@ inherit autotools check-reqs eapi9-ver flag-o-matic linux-info llvm-r1 inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs inherit verify-sig -MY_PV=${PV/_/} +MY_PV=${PV} MY_P="Python-${MY_PV%_p*}" PYVER=$(ver_cut 1-2) PATCHSET="python-gentoo-patches-${MY_PV}" @@ -37,7 +37,7 @@ if [[ ${PV} != *_rc* ]]; then KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi IUSE=" - bluetooth debug +ensurepip examples gdbm jit libedit +ncurses pgo + bluetooth build debug +ensurepip examples gdbm jit libedit +ncurses pgo +readline +sqlite +ssl tail-call-interp test tk valgrind " REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )" @@ -51,16 +51,16 @@ RESTRICT="!test? ( test )" RDEPEND=" app-arch/bzip2:= app-arch/xz-utils:= - app-arch/zstd:= app-misc/mime-types >=dev-libs/expat-2.1:= dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libintl + !build? ( app-arch/zstd:= ) gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) @@ -437,6 +437,7 @@ src_configure() { cat > Modules/Setup.local <<-EOF || die *disabled* nis + $(usev build '_zstd') $(usev !gdbm '_gdbm _dbm') $(usev !sqlite '_sqlite3') $(usev !ssl '_hashlib _ssl') diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.9999.ebuild index 71205906a1e..3cec1e04baa 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.9999.ebuild @@ -11,7 +11,7 @@ inherit autotools check-reqs flag-o-matic git-r3 linux-info llvm-r1 inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs PYVER=$(ver_cut 1-2) -PATCHSET="python-gentoo-patches-3.14.0b1" +PATCHSET="python-gentoo-patches-3.14.6_p1" DESCRIPTION="An interpreted, interactive, object-oriented programming language" HOMEPAGE=" @@ -27,7 +27,7 @@ EGIT_BRANCH=${PYVER} LICENSE="PSF-2" SLOT="${PYVER}" IUSE=" - bluetooth debug +ensurepip examples gdbm jit libedit +ncurses pgo + bluetooth build debug +ensurepip examples gdbm jit libedit +ncurses pgo +readline +sqlite +ssl tail-call-interp test tk valgrind " REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )" @@ -41,16 +41,16 @@ RESTRICT="!test? ( test )" RDEPEND=" app-arch/bzip2:= app-arch/xz-utils:= - app-arch/zstd:= app-misc/mime-types >=dev-libs/expat-2.1:= dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libintl + !build? ( app-arch/zstd:= ) gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) @@ -421,6 +421,7 @@ src_configure() { cat > Modules/Setup.local <<-EOF || die *disabled* nis + $(usev build '_zstd') $(usev !gdbm '_gdbm _dbm') $(usev !sqlite '_sqlite3') $(usev !ssl '_hashlib _ssl') diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.15.0_beta1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.15.0_beta2.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.15.0_beta1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.15.0_beta2.ebuild index d256d4d71d0..606cf495456 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.15.0_beta1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.15.0_beta2.ebuild @@ -3,7 +3,7 @@ EAPI="8" -LLVM_COMPAT=( 19 ) +LLVM_COMPAT=( 21 ) LLVM_OPTIONAL=1 VERIFY_SIG_METHOD=sigstore WANT_LIBTOOL="none" @@ -33,7 +33,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="PSF-2" SLOT="${PYVER}" IUSE=" - bluetooth debug +ensurepip examples gdbm jit libedit +ncurses pgo + bluetooth build debug +ensurepip examples gdbm jit libedit +ncurses pgo +readline +sqlite +ssl tail-call-interp test tk valgrind " REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )" @@ -47,16 +47,16 @@ RESTRICT="!test? ( test )" RDEPEND=" app-arch/bzip2:= app-arch/xz-utils:= - app-arch/zstd:= app-misc/mime-types >=dev-libs/expat-2.1:= dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libintl + !build? ( app-arch/zstd:= ) gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) @@ -434,6 +434,7 @@ src_configure() { cat > Modules/Setup.local <<-EOF || die *disabled* nis + $(usev build '_zstd') $(usev !gdbm '_gdbm _dbm') $(usev !sqlite '_sqlite3') $(usev !ssl '_hashlib _ssl') diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.4_p1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.15.0_beta3.ebuild similarity index 89% rename from sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.4_p1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.15.0_beta3.ebuild index f614f9279e4..606cf495456 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.14.4_p1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.15.0_beta3.ebuild @@ -3,16 +3,15 @@ EAPI="8" -LLVM_COMPAT=( 19 ) +LLVM_COMPAT=( 21 ) LLVM_OPTIONAL=1 VERIFY_SIG_METHOD=sigstore WANT_LIBTOOL="none" -inherit autotools check-reqs eapi9-ver flag-o-matic linux-info llvm-r1 -inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs -inherit verify-sig +inherit autotools check-reqs flag-o-matic linux-info llvm-r1 +inherit multiprocessing pax-utils toolchain-funcs verify-sig -MY_PV=${PV} +MY_PV=${PV/_beta/b} MY_P="Python-${MY_PV%_p*}" PYVER=$(ver_cut 1-2) PATCHSET="python-gentoo-patches-${MY_PV}" @@ -33,9 +32,8 @@ S="${WORKDIR}/${MY_P}" LICENSE="PSF-2" SLOT="${PYVER}" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE=" - bluetooth debug +ensurepip examples gdbm jit libedit +ncurses pgo + bluetooth build debug +ensurepip examples gdbm jit libedit +ncurses pgo +readline +sqlite +ssl tail-call-interp test tk valgrind " REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )" @@ -49,16 +47,16 @@ RESTRICT="!test? ( test )" RDEPEND=" app-arch/bzip2:= app-arch/xz-utils:= - app-arch/zstd:= app-misc/mime-types >=dev-libs/expat-2.1:= dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libintl + !build? ( app-arch/zstd:= ) gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) @@ -80,6 +78,7 @@ DEPEND=" test? ( dev-python/ensurepip-pip dev-python/ensurepip-setuptools + dev-python/ensurepip-wheel ) valgrind? ( dev-debug/valgrind ) " @@ -435,6 +434,7 @@ src_configure() { cat > Modules/Setup.local <<-EOF || die *disabled* nis + $(usev build '_zstd') $(usev !gdbm '_gdbm _dbm') $(usev !sqlite '_sqlite3') $(usev !ssl '_hashlib _ssl') @@ -547,10 +547,15 @@ src_test() { src_install() { local libdir=${ED}/usr/lib/python${PYVER} + local build_dir=$( "${scriptdir}/python${pymajor}-config" <<-EOF || die - #!/bin/sh - exec "${abiver}-config" "\${@}" - EOF - chmod +x "${scriptdir}/python${pymajor}-config" || die - ln -s "python${pymajor}-config" "${scriptdir}/python-config" || die - # pydoc - ln -s "../../../bin/pydoc${PYVER}" "${scriptdir}/pydoc" || die - # idle - if use tk; then - ln -s "../../../bin/idle${PYVER}" "${scriptdir}/idle" || die - fi -} - -pkg_postinst() { - if ver_replacing -lt 3.14.0_beta3; then - ewarn "Python 3.14.0b3 has changed its module ABI. The .pyc files" - ewarn "installed previously are no longer valid and will be regenerated" - ewarn "(or ignored) on the next import. This may cause sandbox failures" - ewarn "when installing some packages and checksum mismatches when removing" - ewarn "old versions. To actively prevent this, rebuild all packages" - ewarn "installing Python 3.14 modules, e.g. using:" - ewarn - ewarn " emerge -1v /usr/lib/python3.14/site-packages" - fi } diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.15.9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.15.9999.ebuild index 6b0c32b8ea8..b55eedb5b47 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.15.9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.15.9999.ebuild @@ -11,7 +11,7 @@ inherit autotools check-reqs flag-o-matic git-r3 linux-info llvm-r1 inherit multiprocessing pax-utils toolchain-funcs PYVER=$(ver_cut 1-2) -PATCHSET="python-gentoo-patches-3.15.0a8" +PATCHSET="python-gentoo-patches-3.15.0b3" DESCRIPTION="An interpreted, interactive, object-oriented programming language" HOMEPAGE=" @@ -26,7 +26,7 @@ EGIT_REPO_URI="https://github.com/python/cpython.git" LICENSE="PSF-2" SLOT="${PYVER}" IUSE=" - bluetooth debug +ensurepip examples gdbm jit libedit +ncurses pgo + bluetooth build debug +ensurepip examples gdbm jit libedit +ncurses pgo +readline +sqlite +ssl tail-call-interp test tk valgrind " REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )" @@ -40,16 +40,16 @@ RESTRICT="!test? ( test )" RDEPEND=" app-arch/bzip2:= app-arch/xz-utils:= - app-arch/zstd:= app-misc/mime-types >=dev-libs/expat-2.1:= dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libintl + !build? ( app-arch/zstd:= ) gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( !libedit? ( >=sys-libs/readline-4.1:= ) @@ -421,6 +421,7 @@ src_configure() { cat > Modules/Setup.local <<-EOF || die *disabled* nis + $(usev build '_zstd') $(usev !gdbm '_gdbm _dbm') $(usev !sqlite '_sqlite3') $(usev !ssl '_hashlib _ssl') @@ -541,6 +542,7 @@ src_install() { # Install build-details.json manually because it was randomly removed # from altinstall in https://github.com/python/cpython/pull/142269. cp "${build_dir}"/build-details.json "${libdir}"/ || die + # Fix collisions between different slots of Python. rm "${ED}/usr/$(get_libdir)/libpython3.so" || die diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.8.20_p7-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.8.20_p7-r1.ebuild index 3473dcb9bfa..c6845fad98a 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.8.20_p7-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.8.20_p7-r1.ebuild @@ -48,11 +48,11 @@ RDEPEND=" dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libcrypt:= virtual/libintl gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( >=sys-libs/readline-4.1:= ) sqlite? ( >=dev-db/sqlite-3.3.8:3= ) diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.9.25.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.9.25.ebuild index b348af44295..a0f729a6ee7 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.9.25.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/python/python-3.9.25.ebuild @@ -48,11 +48,11 @@ RDEPEND=" dev-libs/libffi:= dev-libs/mpdecimal:= dev-python/gentoo-common + sys-apps/util-linux >=virtual/zlib-1.1.3:= virtual/libcrypt:= virtual/libintl gdbm? ( sys-libs/gdbm:=[berkdb] ) - kernel_linux? ( sys-apps/util-linux:= ) ncurses? ( >=sys-libs/ncurses-5.2:= ) readline? ( >=sys-libs/readline-4.1:= ) sqlite? ( >=dev-db/sqlite-3.3.8:3= ) From 49bef979f4bbda014a9256ff1e104749879d44a0 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:10 +0000 Subject: [PATCH 050/243] dev-lang/rust: Sync with Gentoo It's from Gentoo commit 0a892e79515b267caea8708689cab291cad71f14. Signed-off-by: Flatcar Buildbot --- .../dev-lang/rust/rust-1.93.0.ebuild | 57 ++++++++++++++++- .../dev-lang/rust/rust-1.93.1.ebuild | 57 ++++++++++++++++- .../dev-lang/rust/rust-1.94.0.ebuild | 57 ++++++++++++++++- .../dev-lang/rust/rust-1.94.1.ebuild | 61 +++++++++++++++++-- .../dev-lang/rust/rust-1.95.0.ebuild | 59 ++++++++++++++++-- .../dev-lang/rust/rust-9999.ebuild | 57 ++++++++++++++++- 6 files changed, 327 insertions(+), 21 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.93.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.93.0.ebuild index 9da8a4266e6..31f7c7642a5 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.93.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.93.0.ebuild @@ -363,9 +363,60 @@ src_prepare() { src_configure() { if tc-is-cross-compiler; then export PKG_CONFIG_ALLOW_CROSS=1 - export PKG_CONFIG_PATH="${ESYSROOT}/usr/$(get_libdir)/pkgconfig" - export OPENSSL_INCLUDE_DIR="${ESYSROOT}/usr/include" - export OPENSSL_LIB_DIR="${ESYSROOT}/usr/$(get_libdir)" + + # https://docs.rs/pkg-config/latest/pkg_config/#cross-compilation + local pcvar + for pcvar in PKG_CONFIG_{PATH,LIBDIR} ; do + pcvar="${pcvar}_${CHOST//./_}" + pcvar="${pcvar//-/_}" + + [[ -n ${!pcvar} ]] && continue + + case ${pcvar} in + *PKG_CONFIG_PATH*) + printf -v "${pcvar}" "${ESYSROOT}/usr/$(get_libdir)/pkgconfig" + ;; + *PKG_CONFIG_LIBDIR*) + printf -v "${pcvar}" "${ESYSROOT}/usr/$(get_libdir)" + ;; + *) + continue + ;; + esac + + export "${pcvar}" + done + + # https://docs.rs/openssl/latest/openssl/#manual + local osslvar + for osslvar in OPENSSL_{INCLUDE_,LIB_,}DIR ; do + osslvar="${CHOST}_${osslvar}" + osslvar="${osslvar^^}" + osslvar="${osslvar//-/_}" + + [[ -n ${!osslvar} ]] && continue + + case ${osslvar} in + *OPENSSL_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr" + ;; + *OPENSSL_INCLUDE_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr/include" + ;; + *OPENSSL_LIB_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr/$(get_libdir)" + ;; + *) + continue + ;; + esac + + export "${osslvar}" + done + + # https://issues.chromium.org/issues/357917328 + # https://github.com/rust-lang/libz-sys/blob/1.1.18/build.rs#L25 + export LIBZ_SYS_STATIC=1 fi # Avoid bundled copies of libraries diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.93.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.93.1.ebuild index c45f78afea2..278509838b8 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.93.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.93.1.ebuild @@ -363,9 +363,60 @@ src_prepare() { src_configure() { if tc-is-cross-compiler; then export PKG_CONFIG_ALLOW_CROSS=1 - export PKG_CONFIG_PATH="${ESYSROOT}/usr/$(get_libdir)/pkgconfig" - export OPENSSL_INCLUDE_DIR="${ESYSROOT}/usr/include" - export OPENSSL_LIB_DIR="${ESYSROOT}/usr/$(get_libdir)" + + # https://docs.rs/pkg-config/latest/pkg_config/#cross-compilation + local pcvar + for pcvar in PKG_CONFIG_{PATH,LIBDIR} ; do + pcvar="${pcvar}_${CHOST//./_}" + pcvar="${pcvar//-/_}" + + [[ -n ${!pcvar} ]] && continue + + case ${pcvar} in + *PKG_CONFIG_PATH*) + printf -v "${pcvar}" "${ESYSROOT}/usr/$(get_libdir)/pkgconfig" + ;; + *PKG_CONFIG_LIBDIR*) + printf -v "${pcvar}" "${ESYSROOT}/usr/$(get_libdir)" + ;; + *) + continue + ;; + esac + + export "${pcvar}" + done + + # https://docs.rs/openssl/latest/openssl/#manual + local osslvar + for osslvar in OPENSSL_{INCLUDE_,LIB_,}DIR ; do + osslvar="${CHOST}_${osslvar}" + osslvar="${osslvar^^}" + osslvar="${osslvar//-/_}" + + [[ -n ${!osslvar} ]] && continue + + case ${osslvar} in + *OPENSSL_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr" + ;; + *OPENSSL_INCLUDE_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr/include" + ;; + *OPENSSL_LIB_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr/$(get_libdir)" + ;; + *) + continue + ;; + esac + + export "${osslvar}" + done + + # https://issues.chromium.org/issues/357917328 + # https://github.com/rust-lang/libz-sys/blob/1.1.18/build.rs#L25 + export LIBZ_SYS_STATIC=1 fi # Avoid bundled copies of libraries diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.94.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.94.0.ebuild index d0e4413c459..2d7e21b406c 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.94.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.94.0.ebuild @@ -363,9 +363,60 @@ src_prepare() { src_configure() { if tc-is-cross-compiler; then export PKG_CONFIG_ALLOW_CROSS=1 - export PKG_CONFIG_PATH="${ESYSROOT}/usr/$(get_libdir)/pkgconfig" - export OPENSSL_INCLUDE_DIR="${ESYSROOT}/usr/include" - export OPENSSL_LIB_DIR="${ESYSROOT}/usr/$(get_libdir)" + + # https://docs.rs/pkg-config/latest/pkg_config/#cross-compilation + local pcvar + for pcvar in PKG_CONFIG_{PATH,LIBDIR} ; do + pcvar="${pcvar}_${CHOST//./_}" + pcvar="${pcvar//-/_}" + + [[ -n ${!pcvar} ]] && continue + + case ${pcvar} in + *PKG_CONFIG_PATH*) + printf -v "${pcvar}" "${ESYSROOT}/usr/$(get_libdir)/pkgconfig" + ;; + *PKG_CONFIG_LIBDIR*) + printf -v "${pcvar}" "${ESYSROOT}/usr/$(get_libdir)" + ;; + *) + continue + ;; + esac + + export "${pcvar}" + done + + # https://docs.rs/openssl/latest/openssl/#manual + local osslvar + for osslvar in OPENSSL_{INCLUDE_,LIB_,}DIR ; do + osslvar="${CHOST}_${osslvar}" + osslvar="${osslvar^^}" + osslvar="${osslvar//-/_}" + + [[ -n ${!osslvar} ]] && continue + + case ${osslvar} in + *OPENSSL_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr" + ;; + *OPENSSL_INCLUDE_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr/include" + ;; + *OPENSSL_LIB_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr/$(get_libdir)" + ;; + *) + continue + ;; + esac + + export "${osslvar}" + done + + # https://issues.chromium.org/issues/357917328 + # https://github.com/rust-lang/libz-sys/blob/1.1.18/build.rs#L25 + export LIBZ_SYS_STATIC=1 fi # Avoid bundled copies of libraries diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.94.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.94.1.ebuild index 49733b88fce..1eb2475685b 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.94.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.94.1.ebuild @@ -6,7 +6,7 @@ EAPI=8 # Bump notes: https://wiki.gentoo.org/wiki/Project:Rust/Rust_bump LLVM_COMPAT=( 21 ) -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{12..14} ) # Patches are kept in rust-patches.git, see its README.rst for the versioning # scheme. @@ -61,7 +61,7 @@ else " S="${WORKDIR}/${MY_P}-src" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" fi DESCRIPTION="Systems programming language originally developed by Mozilla" @@ -366,9 +366,60 @@ src_prepare() { src_configure() { if tc-is-cross-compiler; then export PKG_CONFIG_ALLOW_CROSS=1 - export PKG_CONFIG_PATH="${ESYSROOT}/usr/$(get_libdir)/pkgconfig" - export OPENSSL_INCLUDE_DIR="${ESYSROOT}/usr/include" - export OPENSSL_LIB_DIR="${ESYSROOT}/usr/$(get_libdir)" + + # https://docs.rs/pkg-config/latest/pkg_config/#cross-compilation + local pcvar + for pcvar in PKG_CONFIG_{PATH,LIBDIR} ; do + pcvar="${pcvar}_${CHOST//./_}" + pcvar="${pcvar//-/_}" + + [[ -n ${!pcvar} ]] && continue + + case ${pcvar} in + *PKG_CONFIG_PATH*) + printf -v "${pcvar}" "${ESYSROOT}/usr/$(get_libdir)/pkgconfig" + ;; + *PKG_CONFIG_LIBDIR*) + printf -v "${pcvar}" "${ESYSROOT}/usr/$(get_libdir)" + ;; + *) + continue + ;; + esac + + export "${pcvar}" + done + + # https://docs.rs/openssl/latest/openssl/#manual + local osslvar + for osslvar in OPENSSL_{INCLUDE_,LIB_,}DIR ; do + osslvar="${CHOST}_${osslvar}" + osslvar="${osslvar^^}" + osslvar="${osslvar//-/_}" + + [[ -n ${!osslvar} ]] && continue + + case ${osslvar} in + *OPENSSL_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr" + ;; + *OPENSSL_INCLUDE_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr/include" + ;; + *OPENSSL_LIB_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr/$(get_libdir)" + ;; + *) + continue + ;; + esac + + export "${osslvar}" + done + + # https://issues.chromium.org/issues/357917328 + # https://github.com/rust-lang/libz-sys/blob/1.1.18/build.rs#L25 + export LIBZ_SYS_STATIC=1 fi # Avoid bundled copies of libraries diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.95.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.95.0.ebuild index d5b1ef1dc61..beb7d9344c9 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.95.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-1.95.0.ebuild @@ -61,7 +61,7 @@ else " S="${WORKDIR}/${MY_P}-src" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" fi DESCRIPTION="Systems programming language originally developed by Mozilla" @@ -366,9 +366,60 @@ src_prepare() { src_configure() { if tc-is-cross-compiler; then export PKG_CONFIG_ALLOW_CROSS=1 - export PKG_CONFIG_PATH="${ESYSROOT}/usr/$(get_libdir)/pkgconfig" - export OPENSSL_INCLUDE_DIR="${ESYSROOT}/usr/include" - export OPENSSL_LIB_DIR="${ESYSROOT}/usr/$(get_libdir)" + + # https://docs.rs/pkg-config/latest/pkg_config/#cross-compilation + local pcvar + for pcvar in PKG_CONFIG_{PATH,LIBDIR} ; do + pcvar="${pcvar}_${CHOST//./_}" + pcvar="${pcvar//-/_}" + + [[ -n ${!pcvar} ]] && continue + + case ${pcvar} in + *PKG_CONFIG_PATH*) + printf -v "${pcvar}" "${ESYSROOT}/usr/$(get_libdir)/pkgconfig" + ;; + *PKG_CONFIG_LIBDIR*) + printf -v "${pcvar}" "${ESYSROOT}/usr/$(get_libdir)" + ;; + *) + continue + ;; + esac + + export "${pcvar}" + done + + # https://docs.rs/openssl/latest/openssl/#manual + local osslvar + for osslvar in OPENSSL_{INCLUDE_,LIB_,}DIR ; do + osslvar="${CHOST}_${osslvar}" + osslvar="${osslvar^^}" + osslvar="${osslvar//-/_}" + + [[ -n ${!osslvar} ]] && continue + + case ${osslvar} in + *OPENSSL_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr" + ;; + *OPENSSL_INCLUDE_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr/include" + ;; + *OPENSSL_LIB_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr/$(get_libdir)" + ;; + *) + continue + ;; + esac + + export "${osslvar}" + done + + # https://issues.chromium.org/issues/357917328 + # https://github.com/rust-lang/libz-sys/blob/1.1.18/build.rs#L25 + export LIBZ_SYS_STATIC=1 fi # Avoid bundled copies of libraries diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-9999.ebuild index fd3d8356242..2cfb299a5b4 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/rust/rust-9999.ebuild @@ -366,9 +366,60 @@ src_prepare() { src_configure() { if tc-is-cross-compiler; then export PKG_CONFIG_ALLOW_CROSS=1 - export PKG_CONFIG_PATH="${ESYSROOT}/usr/$(get_libdir)/pkgconfig" - export OPENSSL_INCLUDE_DIR="${ESYSROOT}/usr/include" - export OPENSSL_LIB_DIR="${ESYSROOT}/usr/$(get_libdir)" + + # https://docs.rs/pkg-config/latest/pkg_config/#cross-compilation + local pcvar + for pcvar in PKG_CONFIG_{PATH,LIBDIR} ; do + pcvar="${pcvar}_${CHOST//./_}" + pcvar="${pcvar//-/_}" + + [[ -n ${!pcvar} ]] && continue + + case ${pcvar} in + *PKG_CONFIG_PATH*) + printf -v "${pcvar}" "${ESYSROOT}/usr/$(get_libdir)/pkgconfig" + ;; + *PKG_CONFIG_LIBDIR*) + printf -v "${pcvar}" "${ESYSROOT}/usr/$(get_libdir)" + ;; + *) + continue + ;; + esac + + export "${pcvar}" + done + + # https://docs.rs/openssl/latest/openssl/#manual + local osslvar + for osslvar in OPENSSL_{INCLUDE_,LIB_,}DIR ; do + osslvar="${CHOST}_${osslvar}" + osslvar="${osslvar^^}" + osslvar="${osslvar//-/_}" + + [[ -n ${!osslvar} ]] && continue + + case ${osslvar} in + *OPENSSL_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr" + ;; + *OPENSSL_INCLUDE_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr/include" + ;; + *OPENSSL_LIB_DIR*) + printf -v "${osslvar}" "${ESYSROOT}/usr/$(get_libdir)" + ;; + *) + continue + ;; + esac + + export "${osslvar}" + done + + # https://issues.chromium.org/issues/357917328 + # https://github.com/rust-lang/libz-sys/blob/1.1.18/build.rs#L25 + export LIBZ_SYS_STATIC=1 fi # Avoid bundled copies of libraries From 2a87493a3040cfe0f0dfb3b17e1fd25a03188847 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:10 +0000 Subject: [PATCH 051/243] dev-lang/rust-bin: Sync with Gentoo It's from Gentoo commit a99b6106b4b24fc071225a1363eeabac670cfa0f. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-lang/rust-bin/Manifest | 21 +++++++++++++++++++ .../dev-lang/rust-bin/rust-bin-1.93.1.ebuild | 5 ++--- .../dev-lang/rust-bin/rust-bin-1.94.1.ebuild | 5 ++--- .../dev-lang/rust-bin/rust-bin-1.95.0.ebuild | 5 ++--- 4 files changed, 27 insertions(+), 9 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/rust-bin/Manifest b/sdk_container/src/third_party/portage-stable/dev-lang/rust-bin/Manifest index 895f9e25cf6..0f53314e664 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/rust-bin/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-lang/rust-bin/Manifest @@ -780,16 +780,23 @@ DIST rust-1.93.1-i686-unknown-linux-gnu.tar.xz 267242468 BLAKE2B 7784c64d3e2a57c DIST rust-1.93.1-i686-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B d064833f4887d4f265b04f9b53eb8153e90206e894641f8140e9a933e78d5f326f600aee9c0c7c2fd37d3711b6e73dda3ecb67d8367766a3dee25542a2da2123 SHA512 b6369337deeb055f56fd622ff4481215aab017e8f32a1eaa54efa6d921bd8e136dec159eccc742c2bd75fe785869b8583d461c2114c651dcffa05c5d9523a902 DIST rust-1.93.1-loongarch64-unknown-linux-gnu.tar.xz 260093372 BLAKE2B 37a503be2311101fd14c2274c8f03cd66931bc9bbd9cc1991eccefa7e27552f24262795e0e8dd9b8a552e6dfe716a17a2c21be510f766a06a2c8229270e6f565 SHA512 27360935c2c2b76fdc7029dd737c10e1507c86a4d66f92339af47699c972cbfdfe4c9c76efd6f797587a842f32d03a824a7040cd2cf632ea8e72d808dd256f9a DIST rust-1.93.1-loongarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 245fd3da533a8825ab5c37dbdc06056a0e33215f4960ae29e15592efc4cce830f4ce7b635f056a4875c438345447c176ca580e59712833d37cc2fa279dad8877 SHA512 1393601274ddca503d53f442831d3bcb74c9ecbbdf05a71edaeca704fd6593e699546c70596031ad75f8a50420ab69a72934655ea72175dded6708f8fcc08428 +DIST rust-1.93.1-mips-unknown-linux-gnu.tar.xz 81950160 BLAKE2B 0ea12894a684e4b6bc04889e8ab5b663229d2a0a932c51257e95a7c03ca00259c6c7203f191a34d165f228228f570054dd132e167f448899ee6433a51fcb54be SHA512 77fb700d52b8f88f2056a59060896d6ee43e041f28b316db768ec3b5f017737d6da8ff9d90c224ea303029a46e1081d8bfbd97c2064ec62c2836ec66aa2e931d +DIST rust-1.93.1-mips64-unknown-linux-gnuabi64.tar.xz 82020324 BLAKE2B 941970dad5c1a534fbcc38f813772f8a6fb0e17ad0ccc49190441aadcb7641369a69f752c3cb8f1a7034a893a201f2f260a85e8d6bc0c408666b38b393d62596 SHA512 550cb1a6b0f6c0b7a6ca14f3ee9847ed8a2e1505ca48d57e94e159a591d12e183d360dfe4417e2fce25fd0f6cadb0cb64b978bf1ac429ef219bc1ed6e7d173d6 +DIST rust-1.93.1-mips64el-unknown-linux-gnuabi64.tar.xz 83759084 BLAKE2B d0264adcbde36d0804a15fe869ba9b960fbfedf0c6adc6d234612fb362f64e54d634ee57b2210c9c64df0af5ac9d0676a2bcfc3ae489250d3b03efda02431f75 SHA512 affd7aaeffb1ab563075ff45d2b52ca1823126fffd5aa99df51417592173dd405da536019aeaaaabe5fba2e61eef08dcffdd4068bb2cf190537a7e268680b259 +DIST rust-1.93.1-mipsel-unknown-linux-gnu.tar.xz 83740320 BLAKE2B 2b2f5ba1edf3366d7d7dc16d08e72dc378a6ac13464a10170f2d0d5b41043a00ca5eaed62590476846c0c4c63915dcb5c5c2f5eb13174eb74c9005ffb0a92ba3 SHA512 4a4fe67eb9e4d0f850a2d7e370c183d157f31e404818be1ab7fb81754f18bd00741cff10995ebc48c568d25b178cb69b66d154aea54e68ccdfced9a68d5f2608 DIST rust-1.93.1-powerpc-unknown-linux-gnu.tar.xz 248960324 BLAKE2B 2198131dbac56d4797687ab43ad795440e99ba9538c82e11d595bd84696f1d59fa390b0dd5f73b75cf07383fc9b727bfe4742fd1f3e4eb53eb7bfaf43ff4dd95 SHA512 6b6c0b6ca2f2d26889eca3767913e4c18edb8c22ba30714fd215ff475d08d834e3a4fd0d179c1fa7f8174aec4f79ab5b84fc6438a81a8d42d3471bb7b8eacfa3 DIST rust-1.93.1-powerpc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 6109e743f7829f6c5ef2885eb9859a94fd301e693810cf8df2a9396e45a656315cb7e32bda733a708515b01d6142a735f10c276b86f9169552ad00460c7891a7 SHA512 b904c3de40715389f91f10f8ce7781951e22510a13f3fc740376ebe1953fcd8197ad8590327fd5c5b537de0c78e7a7366e097bfeee560a318d262774f16e52b4 DIST rust-1.93.1-powerpc64-unknown-linux-gnu.tar.xz 250785352 BLAKE2B 1838ef2f74f8cafa6a122ac1c6a25909e57a5ed2da9ce6ccaf91999413e326b92358fe32b3f21df9c9fc6ed95c8482d97c425f7663bf452cdfa88d50cd3bd504 SHA512 6302daeee7039f5c1b1c68dfeeb0e722582c419f6f47a85590cc379b5632308dad8ce8b2c08240c5232769170948322b1e8cb759ddb3a5ae87fb2baa76940992 DIST rust-1.93.1-powerpc64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B d7ad185b8764ae420aadd6eb3739610f2ed61ddc56a41dc72386effaeb04f3fbaae013c7954ee336e42ff6946519e58a38c9dfde912f1e1fd88728e864dee5bb SHA512 e0fef1c123650c9ef85863a7994c0a20023d065853da48880a9e4088ebd56c643fa701a210aef68d89e52d36fe78a134952f48852c5ce4d1067aaf5c85ba0b33 +DIST rust-1.93.1-powerpc64-unknown-linux-musl.tar.xz 86438592 BLAKE2B 66667fe5372fa0dcd69047791c133ddf1f686b446b39ec8bd5ca6786238293ab349178400658531f0d6418fcdfa1f61cbcb66c5fa05ea6f4be03648f5cfd3f8f SHA512 c0b84e2fcaca36a3f1a1f28c978aae1632e18d7f731859022bdc15252e0345989764b27fb2c9606dd6588e6a027a38471d310eabb775fec87d6d7892d37898d5 DIST rust-1.93.1-powerpc64le-unknown-linux-gnu.tar.xz 268583976 BLAKE2B da1c803065d4c0e60b2b31199015e48298620d9cec916023ec0ae540eaf25a5ffcad6413f53dbab6865367923dc785413e6aab758de342d20aa1b1f7f405f0d1 SHA512 d577bf80a752e171b454ac7dd45a5d5c11ded071ee2ad003a7bb054cb80f688f1ee244114509ea1ef92cf6725ac6cfb9bc65f416d462339807b6995d531a6ecd DIST rust-1.93.1-powerpc64le-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 31c777095a14cddddb4312fb3a5e8d68e86efc8054c245d5ef0638695eaa359b8eef4677c89d7bb1780d4a76422674e85129493b1882956a1978b0f0e2d8f178 SHA512 0c4f9730c3cdb9993c4dac40206fbc4fd25783601cca4051be259c34752364067bab83e66f6e5c7ce23889cc0eb2b2077d1b240565fc14bcbb3004890f40f90e DIST rust-1.93.1-riscv64gc-unknown-linux-gnu.tar.xz 246512252 BLAKE2B 84adb4e1410ff887a68becec561f7c5fe8cb031e295f27026cac3afa105c09d4b98a5fd2a75af6c2507c335f1155b0b7fc7ebe38525c9426c983c34a745b766c SHA512 e2c8fe32710cca402b366e54fb53e2bf46ca6fd963e381bc276fc3384c64abf90cbe1744484c0c83b4c656e643a73dd48a6e6fc8aa761a1448b087bdc6a8ca83 DIST rust-1.93.1-riscv64gc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B b216d82a8c99420b24a59faf9cc20220fe671ca6c11067e93456e39009c04ec8fd1fceb7edbf6b24e9fb95abf7b8b3ba4c746f8945e1f0f8254826abc4e21617 SHA512 4c119de8c7a5e6f877521634c45ea35d1fbe84b3d36bb0c54bb489f4e940976ba9661df3bfdb9122d4e05eecb67e9f1c159f61e3c52252cbea8b0d085924c8a2 +DIST rust-1.93.1-riscv64gc-unknown-linux-musl.tar.xz 90313820 BLAKE2B d4855373e8f60a6f706eb2b82a6256ed511b6692df13a4bb9fc599e8d162ed6e648da1bfd962599e9e47537923fd1f99d7b3f157bbbd92880aa12f4d1aeebbf1 SHA512 14621e656cf3d573c46cc5867792ea687e1d7c5582185b1ac7a93be46e145d5774f82e60e10adf9eee35b2e8f3a560974e06c13969ceced939f8a363d22ffbfc DIST rust-1.93.1-s390x-unknown-linux-gnu.tar.xz 239133552 BLAKE2B 0d8b5d585a82f41a660427a7adffd775b9f6dfc772b2f229bbed8ce558051d2314f36674051aee3608728d1bada53b0fde3cb828829d8b5dfefb19eb196c72c9 SHA512 48b96de42fcc849ed13edb7b737c8baba936abe17396abf1b7ffef208406a78642670b0a9761d1c4e790d4012dead9fde8d2f5b0514b3be637908f6b95a8bcbd DIST rust-1.93.1-s390x-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 860defcd5f5ed8f8989dfe6c8afab18bc9e95bcac98abb53672685acf2b09d111af12748b3b77b25ae097d813b7bff60c252ae3fe8216b63667c363a185d7f31 SHA512 f00606b882ee1dea556c6766b6f784c61c3c018bb7a0fa598669d6eb34830d5c805a045804dff4d89e2aa64f9a737594968b25b8b7a1619154481fe0a97842ee +DIST rust-1.93.1-sparc64-unknown-linux-gnu.tar.xz 79431776 BLAKE2B 47102935ab6eb9fb1daab3f1bf76f18ce038226eaf6c3020dc4e4f2055e96bdb79e0652564e70c17750ecd81c613a4ac8e46326640ad3ef1168530e7eca9fbd7 SHA512 2b08a64ed50b62bba2e34493f71a1d0fdf04da3032c312454670963c728978eb8d134a35a7a4fd6f98d56a9cf7430bf03d7c6c1f63ee73c936ea2fa89377ecf6 DIST rust-1.93.1-x86_64-unknown-linux-gnu.tar.xz 193192180 BLAKE2B fd8d2f3ab45f390e33ba3244ce5aae49c415fe286c8b42da70a4fa741127b6e6b2e1adebd3c0e586ebb8ad347bfa20960d9231352b51b31b48838d1658b2e952 SHA512 2c111986db72ca33b3d5c73445f1d89af9f417546574993c5bc2ffc721f176d603f16809007c722f22bb337303277ed1175270ddc9b0261c0338a9900c969a90 DIST rust-1.93.1-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B adf891709bd5c87dafdbd8e8498956257a0fbfb179147f00f23dd00ac2eb43ab19a2d51850632f7a3d9adaa403461144983a2bb172d6eabd6e2e148eda570662 SHA512 25b658237207ef5f99ff3e276412f9ac08b5c5504df066d9178e22e22d3d4e3dfa897313a6393a6a6833ccda09c0c5dbcfeacfce53c09bf5a97e7b36afbb3f3f DIST rust-1.93.1-x86_64-unknown-linux-musl.tar.xz 295454356 BLAKE2B 1e40b50ff65d42a7445ff4d3f4a79fec7e8f729c245ba06d0bea90a05c387ac895df736ff59d27799512aa94703205aeb5235802badd56c3e0b681269e66ab41 SHA512 c805770236eee08cc222022d46e09ba6835c08241644d1d76eeab42463a9faafa26f1d50796faf0223e6601940ff52c507eb04ecc3f26066900c0185341bec4f @@ -836,16 +843,23 @@ DIST rust-1.94.1-i686-unknown-linux-gnu.tar.xz 266346392 BLAKE2B 33d814b9516a718 DIST rust-1.94.1-i686-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 76ecf06d78ee4e0ac08587a5e80922af4af82a1c71c408c0ec25ca0f5dca671a3190bb087cd1489d020a17eeb0ab67419dbb001698c613bc283a92b77eadf06a SHA512 2cda54a9e74f4748fa24da255df694fe127c8726d85af80b6318f1936a049abb6839d638160fa7178bc506d154f14695e858dd4b8cf2f1df27307b603efe53e3 DIST rust-1.94.1-loongarch64-unknown-linux-gnu.tar.xz 258247972 BLAKE2B eaeea3022758c28e56ac32b201e5c1a154236ab38dbdd5f6d05e0d32d500c6d3d5073c27ebcbd110151930102d120d9d6139679a8e8e9e6a80ed83de273c82cf SHA512 748f993cb44b96c4905e87ed27d964f8d8a2485ede70ef93ab01160b289427df602fec71c103fb60a9f6eb9d41a798c3cf68e5e3c875953c35a0932892d1beb3 DIST rust-1.94.1-loongarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 8695fc9b07d17f1d3c76a311980de50ff27a59b3a58d0c58c8b8f33fef9748c5782decdfd69a83c1bc1b6a83c44f7833b73926553cc5ea51963121a34cc065fa SHA512 3d0a746d93d74dc4c87d89e2e566b239c4b3de6f5089e24c1215816b3cfd4df3632d10ff4e11e997120d4e94ada34e945706299670360772c73e8a29bafca339 +DIST rust-1.94.1-mips-unknown-linux-gnu.tar.xz 82246540 BLAKE2B ce028268a543d135c61093a5ca4fad6ceda7f45f3f67e5a1d4d5a12aa3e5caf7f8bd155066bed18657affd3a8671c6b26f5138eeaa5ce5fd70ba51d6f3e38929 SHA512 19fd9c4e1ff63bc6e9d989bc66a3a82f1cac12098f6d5fb754b1594449dc96acc5a023b71f540701b24ba9cbf34c3de34c0f5e32a60eb3577540faa3aa0a5afd +DIST rust-1.94.1-mips64-unknown-linux-gnuabi64.tar.xz 81973496 BLAKE2B fdc263870d9c23532a913cab59ed36a02c6a518bf23b4fa0d6f8f51de0c7b02b46baa6537b98475a578ebdc8a73fb3105342aa8941c5350ae901836d6aa7407c SHA512 33e79eaf31e7a86486aa51d4e3c511c4c0b60cd3b6e1b2b7dbc9b8a00b45a1f06d7e00cc01e141e55074ddaec4216d6a7a77d9ef611fed2509c6d053c8a29e1f +DIST rust-1.94.1-mips64el-unknown-linux-gnuabi64.tar.xz 83602788 BLAKE2B a51518bbf80859e974a114bf72b7677137740826ecb8a50f41b75796e65b8ae34e7b00b8d6e3cea0b5a67732351679803d4867dccbd045900444203ee33eb2b6 SHA512 e9fc1a9a9188dd1cb0b7b02c5f1504048c797fc4357c8253864471e59e45f959b15adea1afa94909ca67b2d404fee2e570c0685994d0c86a4114dcce5b8d7b8c +DIST rust-1.94.1-mipsel-unknown-linux-gnu.tar.xz 83966096 BLAKE2B 98c2c001bf300c53e7af93d376957409f5aa8e00d879001d10e108223458dc1afeeac8c8794c755769530e9fa51d3c87363bbfb847cb6bdefc5bf3e9d57a474c SHA512 e9855b7e62f8b2ad9717da35b0e0b0065ee24b82794ad3f4a0cebbd3a21d57b700e2b14804c5929ff238681cd195adaa3c074aa2fe88a1e9bfe820b0266593e0 DIST rust-1.94.1-powerpc-unknown-linux-gnu.tar.xz 248274832 BLAKE2B 5d48a3a28055062a9bef186cb5b7ec0589d1ecc3dd0da47019a6044a5f6400c5dd008fc2eab1c085c4fdc46716a79d92b62f88daaf1ddfbc039564ca2152da0f SHA512 2e5bab6b2c94dcac8c3c162e415abc3e803d32df185238940659d947fe7399a2e6c769df4d2ab5ced66fbce468460d4fc6bdcb5de7728d66a2646fc904a48776 DIST rust-1.94.1-powerpc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B c9bc2b5f7b7607d7c053a26fc66c2a658a1d7276263692a7ac1400a7933ffc3216da2f33ab138be090486d7809b1dae8629f4e5d5eda2f3d899fa9dbe9ceb8be SHA512 53dfa4b0e03fbaf7c89df0f8fc10ca5758b27159e401506993f06b49b1171d239b19320b9032013b2026740eebcf1d39804fc82ee937047b1c71a6754dc42395 DIST rust-1.94.1-powerpc64-unknown-linux-gnu.tar.xz 249053396 BLAKE2B a972bc6ff81f4f4f296771ddec0855756e7a6175ee9805f2b385704ebe0b737e5fd21a072c3f5f083314a8cd19a65e073a634e6c182cbec27fc76f2f054d5365 SHA512 aecae57b14f9da592648a36fdd16fba5e3506f0164a7e0ed0d349a3d6d0146d6d4b4bac988acf7e8001d0745d59ef87ee86baa42fdc0a87781925063865f290f DIST rust-1.94.1-powerpc64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B f0ab0eb8f9d34c03af96f0c1f7eb73e0a6c15ee2c58027f308e9a5551b55a6da88c528889158896a652b27ab985563c703294759408f7bca99a0527e120ad0df SHA512 effea2bdb3dddc02ae860db837ca5e565d64f9c122d5aee1218458b750ed10158e4174747d95a00be0f8af3662444bd00574b55986b7b2b508f98a22a9ac2ba8 +DIST rust-1.94.1-powerpc64-unknown-linux-musl.tar.xz 86676608 BLAKE2B 6dad01ebe367f3093f8a81de2454eec7deb90bdc460235077a9294a97e133789aa2ba894055fe73c91c9177b9e4f2394e1465494df99b9d05fb607c255d52307 SHA512 b8e40a9438fbc78cd6b8e56b1f63c17f5b52199ef6a63ba633a7417b0542b8d6caffce4794c1f6810adb596f44119e9b1f114bb5ee3ae4db8b967ea16f50ec63 DIST rust-1.94.1-powerpc64le-unknown-linux-gnu.tar.xz 267657000 BLAKE2B 8e6e77b3e8e28a08d048ba827636a29ac962351b596cc06884ceeb28984d675c7b95b1101285217d6b8e0f0217ee7bdfaf54e73e2f643b811351d3ac8513b717 SHA512 5159ee518522babcf5ed033f8a2465bc34f6024df7a2b2e4cf0c4a70738114565d3ae565524ba0c518af7a09d32bbc1011017c5b3d24902930db20e64969b4f6 DIST rust-1.94.1-powerpc64le-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B df7fee99cf1cb9671951d5c23a972d49d7a40240d785db31a1997998d4d819f2803f8a32ee82af4531cfb6750889ee3bb7c1dd894ba3a732526a609e31ebd190 SHA512 f4fb9340ab0c4d13551c1d3105731767323313b661c81681b44771c8d2f7bf60fa71dc245533980ee1b7ee63ef93c6bf7924cead2f2d1fb2be11f329a76eef1e DIST rust-1.94.1-riscv64gc-unknown-linux-gnu.tar.xz 247001080 BLAKE2B 6f497b102f359e5915cb8a3e5d6883893f9952d204d9e1c7adc06c3b3e80054b2c2c9e68898fff06e51a0c7979e046b3013161ab6a3a61a5d685ef426f0bb298 SHA512 68e3454f0dc5150d34f275cf116c1794b021b1cd573619a0c954ee90983b4a2ecb4bf5ccee453931318806bcc3afc5432b747bef80adce778dfa402ccc53a000 DIST rust-1.94.1-riscv64gc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B d5cc9a87f9e455a09f79ee8e4abb4354179f6d35b7cd91e7511f682307e4decec761406f3f30ec63fcc072dda7a53487e2b0f3baf4c681078e7acc96720a793d SHA512 a37aeed492b0b7ba004e7ce22b02143b6f6245eae2e233bdf8e0b1d02afdcf9ef401044812971fa5ffbc447102c4a90468786256379e129a010cdd53e6531149 +DIST rust-1.94.1-riscv64gc-unknown-linux-musl.tar.xz 91133116 BLAKE2B 5b6e0eccced8bf4850f0b75a4d6c0b9912b114e6a7acc2facd88450d9fc0d113a80105712d37f4165404ba6246e92f8f470769a2b2cd214c49d59095286e7b9e SHA512 6389965dacc6fc80e69644b0177cc98feb4932d1a272888d5807775d7522e7aabc6b8ba43e238277eb68e359fe96368cec12153fbecef5238e5f884d0b784860 DIST rust-1.94.1-s390x-unknown-linux-gnu.tar.xz 238247360 BLAKE2B 853e98e2bc43ee21e1bf7f4e24ead0f5131f3fa4371b5054dd986c922ac7e88627ce689101401e54f8b3eb92f078a8a7805170c617b984b6415845059bcd7890 SHA512 35d3ae266f27a464d3bd28a3c01667009b8e260cff665dd7c20838708f82010902a1a709ee007d37fe26b4853dab89cadadcd95e2c1c564c622f33dc9d3c6f7c DIST rust-1.94.1-s390x-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 8b8f97fa247ee1c9365f40a29a383095aa777f72ef5f09f85d82701884708086fd1c6099587ef1dad74cd10b83b0fbd8121bc5f75f8ac908213342feac3ff154 SHA512 8d5155de5a7150b2662847613d07a2f1b07f3a3ffcbd72a500198deb51e391bfee2d9652cb6d3ebf82a08495c4cc983c2ef64d6cad65ccba932936cb403e17ef +DIST rust-1.94.1-sparc64-unknown-linux-gnu.tar.xz 79806016 BLAKE2B bd55f0cb21427200073bd44ad3f06aa7a4a1b3cfe844f418c13adcaebb55377c9bdc0e33a79fbffb971775430caa9d551a3c0a92d88dea88c3c54756c7bd965d SHA512 c436f230f6ae3470d7d67bb3808eb8a8ba406235ca6dd1e297e01d6a9f3c9bb587f286553b2ebd639911a1a81f2e9970746a43182fee6de73046e4fe9199a5e6 DIST rust-1.94.1-x86_64-unknown-linux-gnu.tar.xz 192287020 BLAKE2B 6357acb22104817c7412ea8cfc34dc9368739d1130a63539b27789fa2f0bf4c481848a18a4b8a9d39d69c36856e7afa95eed5f8c73b981befa1e784b41f5d2f5 SHA512 ed121156e19b8d54fbbac748579828c41c6813ddd01877f51b2477788f8bbe8c15657415f44c1abab0dc7ae5f747532d4c1b98e562d720b3128859776c93ec6a DIST rust-1.94.1-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B ae54b7b7b4f855e4cb31dfd45b0e37ab7877f759576d1cff438d3c208201e1db52190019f1cf658464669bdd7c8bbbdb701999549c3077e31111b519c850582a SHA512 04f293d12019c396ec8d4317b409bb175423aa85fb66bfdd51f9a6282b7be86ed0eee7e005b53701a38c59ddc4099bdeb27b5771a462500d11a2f1ee8a8f71d0 DIST rust-1.94.1-x86_64-unknown-linux-musl.tar.xz 294517296 BLAKE2B 7f2731a9c7f7072b572c7614c64576d2077eefe58180b93360a7ed9e2346d3e1751f43819acb53ce921df0ec2836faa841706064b43791c460179410d11745bd SHA512 5b7cc8cff9cb0427e55cbdcc17879a9b114436d592610263540d47c7e59957a8c0fbfca4416ebc1d797b8baccc69e1704a4e3f1993372e3845b89ed963539d31 @@ -864,16 +878,23 @@ DIST rust-1.95.0-i686-unknown-linux-gnu.tar.xz 272609944 BLAKE2B e398d43cc8f2a80 DIST rust-1.95.0-i686-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 3be9cb6c10510deda639cf8033ab9c9455daa767e89beb9e98dd601ed2c40d0d6f12d56f707e69d38d095a3e414c37b6cc6eddea3a43a32cd0cae254eefdb2fa SHA512 fbb462617d6ad459af748b80530ddad59beb9128172e684f8bc9a383f61072e127535af56d2424f29792852e5a6fcf3e11700ea876866371c1300bf23a21797f DIST rust-1.95.0-loongarch64-unknown-linux-gnu.tar.xz 262333356 BLAKE2B 5e07a072ba5faef43e605fa8e45152f08a4186cd5a1021b4415200b180888775bc8441f765f554cd88ee2e36425f8228fea39f22ca9dae4cc1be279182183bff SHA512 2f7bc4776cd0771fed7fa85401acb3bf050a490de2a33e2a176b6d2fd718712622449d5c7e2f404ab36bf81a9eeaae5aa9019abfae5a231a8f65512d28c9b338 DIST rust-1.95.0-loongarch64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B bb57b18280fe60789cbc954ed83efa0567795d04aa5342e446023cf0c01aafcca45be72aa4a0f5bc67b536b5f2711c8def040629954bc64a23ccabace503b658 SHA512 7419d2b75a378bc05a69505b7c15567748d635b79253c227aa877f2b9f44de32819c6ee49de45c37bbe5686919820bd21ae5cfe7d3ad8c91798c656418865e37 +DIST rust-1.95.0-mips-unknown-linux-gnu.tar.xz 82067076 BLAKE2B 1bdd31c344787e654fb85a4930d307538bd1326bca3fb46239e7defec8c02c49bf847c3c893fb1edafcae9afbd0c6fec549e07e9ad54b82cde14aa6a0fd50ebd SHA512 76afbe7f70ac8e776904e8b62e72d72414d47b32203db5ddcd1bc8c71b381a025525bf5f1c682b4bf8cc9700e421a0f6cb0ffe608ffc14e967a656556a2b765e +DIST rust-1.95.0-mips64-unknown-linux-gnuabi64.tar.xz 81928648 BLAKE2B 341e24fdc3efce3d9d9e452fcc4feef419b1e9f1a004d050e1d608934b3a36a5f5184bdcc4dc77f93952a65a6a02c9cdaddc4f2e5a4f24683e13977515a4cb01 SHA512 d3d10a8daa1f116a3c8c6c144bc21a103b7a8207d0e837d544bac543234c53b160d478551a752b660f3b32679b52504af2cbf1d2d5c5859afcc555b66de75f90 +DIST rust-1.95.0-mips64el-unknown-linux-gnuabi64.tar.xz 83616324 BLAKE2B 8fe53f5c847edff80870afd9ab32a57fda8b8e1972a977b67c0f17f503bdaac76224fb07491c316441ba5fa5ef2e76be2dd579e494483b1f3e4544c22f6ce591 SHA512 c2f7e2cc9911691325b116cfe4a16dfc8410754709f185295c0593375f4f5dabdcb7007894fe3ec5d1867d9ecadf6480b3b8060aa13899cef9a128e1c9d89916 +DIST rust-1.95.0-mipsel-unknown-linux-gnu.tar.xz 83872200 BLAKE2B 876a7f04ba03f8baee7d333af15fcfe334aeb6f908f26ef4f3e31d90a272b657786723c2b59d5b55ff98d0d1f465d17ea2eb8542e763118e9f9691576f8d737b SHA512 12329ff338008db929ed43c844ea1eb5355fbfb329e33118721f4ddb11bc14559afe66f04a6d20f687861e69286056a2aa304fbfb157d054fd74f0f8d56cf030 DIST rust-1.95.0-powerpc-unknown-linux-gnu.tar.xz 253537100 BLAKE2B 75a151e6e91ff467fec5ab1caf156f9f6ab10053d39005121d6bb4ccf7e305ffcb81192bd11cb4cfd6fb319e20860d4cff092901b2f0ea34cbc5fb0af0af3c6d SHA512 09d5562972cac5be308e8eed05111f00c550b34269edf8c5f6f2e89658b8a388629b16ba77dd857684f4e8518b5f055f6478cbb2c0265c81763c5ad6449f255a DIST rust-1.95.0-powerpc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 220a1708a90a2310957f43210603c2facd50b522310635eb888527b83ae46259203a0ec5ace43bb495d03c5599cc14163daaf398b8d1671614dc9fcec7483c51 SHA512 8a3c35a07056f31e69452f5fdbb1c384ee99b6967bd054cee29dc87f1491f974259f747edeef72c04cdb2e9d71d6fea27fe93e04533e11518e0dbaa6a74b8d4b DIST rust-1.95.0-powerpc64-unknown-linux-gnu.tar.xz 253126036 BLAKE2B 59a0d605eef0a11faf10f137394fa9fca0a91b08eaa815d3c5b5c996f43a47b7f97abe53cdbb53643d6b6aea5fbeeafca54adfa5d486c3f53e27384ddb895800 SHA512 d7b78b0a45bb8edbe11d71f03e31d86b06bec10aadbf31d0e5fa27cb8b399b9687fe835ba4e435b6aada54c4af4d17a0a4ebc2d5abab45ecf2c1323adec05b6d DIST rust-1.95.0-powerpc64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B a0a56f7566459512a8d9d470e4936e4d71e8cae04f8a8960edcaba5977d9c67e4f58d7bdccfcd6977244bfb2165bc10ebeda744e8714069564d21a79fe999ab6 SHA512 259dfe4f408277c7b7d0d61183941d20e7a9226a358a70f743d70473f29ad351b61bb366ba5de7c61363c3fac8932bae523d2f27d5e18986056453f802b12b9e +DIST rust-1.95.0-powerpc64-unknown-linux-musl.tar.xz 86686348 BLAKE2B a28d9c4b5d8ff125ef86128b1395f5f456e915d8431b87f4d2ca6f14175b537b79631ef0a8296ab8f48603b69e9898a0577b8a0ddf235b31c1818236aec71dec SHA512 2434fbed5c43e366710da1b97e6daf7a3e90c6c772e272083c132e654fb3008c592c782a148f8077748e588b07001999ee1728153a393c5c59c1540af9435a83 DIST rust-1.95.0-powerpc64le-unknown-linux-gnu.tar.xz 274275460 BLAKE2B 56d535a38273343c9422a432350b4a93b218f482e2747e3f0aba451c60e26455386466cf6b0332fab0d1dd69ed984d3d2d38398df52fe905efe29afb02c10245 SHA512 ac4e481df959a4555f3b6fa7cb122effdad0ac6dcac84561068bdf21c65fbda0a03d5517197132a4f2958d500c35834013a3d8313f88d8f39f8c31e583d7cdd0 DIST rust-1.95.0-powerpc64le-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 05cc2eb6ce4601fcd455727f1d1d14e8224bb67a5ec150091f01780347c01a07aac0b4d304a663878756616a634d35a0e5500a877e723cbec1e81061db781881 SHA512 db57c791f07266e7b423e02bbff4dd3a7b0ea2aa3f867be325c86509712f3c03285bc6e2f282a2058b5338ced0d0f19dce94f54357e96af8bbe1ae38deac4813 DIST rust-1.95.0-riscv64gc-unknown-linux-gnu.tar.xz 250977552 BLAKE2B 1fd3b8d135b3cac655710b06f1a088f49bc62a920bc4809510dc803536b7e21cd04bc267593ca6186a2351537dcda86ad20cb12c615acf18a6f6807e912666c1 SHA512 af4aed73d68f2067481b406a3d221ce9b5c922e63733087535729e802b17ffc3fa75d94d2e13ae56d6cb6d934051d915c48c4b55f70fb23d3e4172431c51434d DIST rust-1.95.0-riscv64gc-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B af885eb839dab06facaf75dcb7055a717a5599209b1e841dae79103a0fa9144a562935833ece3ae5219f2f396bb560b16412d74a93c059a024092e5770ef98b9 SHA512 a2829052568d7e6e11874a2c600ea7e2e070efffc3450b48aa820f66930a7b18c0fab5136bb1d60ff9f38d798bcfb677ee36c689800356c2c4e05d89fce75be6 +DIST rust-1.95.0-riscv64gc-unknown-linux-musl.tar.xz 91103840 BLAKE2B 814f1ea7cfd1386391537c82dd69f4a7594d01719790898c03a7b53d94c43f307bcd4afcb9d7dec41455eda5e90c7f20abebe3bd8c9f091b81ae7d1f69a97183 SHA512 7373964074ef8e6dd37d1e63ee25d3bafe80e19ca58c8d351bdda9f2ecafdde4ebbe066563fd94f92b7052454a7dfeb45b808c0021b8af0826dccf444f37d644 DIST rust-1.95.0-s390x-unknown-linux-gnu.tar.xz 242343272 BLAKE2B 264d01044ae76149ed24d4a4fa77046d21035d2fb1a0b62846fbaccfe82fe0c1bc300012a21be81d691f20b1176210577cc7ae3649b6c428622e551bf9c38aac SHA512 655ec78489b36536f05cb0cd2be421991f33bbfeb34d4ed97d5ac9375b7e02358b6beb3aa6107081800b60a533d5827400553c8a222553833502f442dd0db7ec DIST rust-1.95.0-s390x-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B 77570b8bb04c9e8a92ed854e5d0d3f54f0cc9d3bdb9a82749bd89795b1f6f041f954b78b8a264a00ff93ab7dba6e020ce2c7a7bbc715a9fd7a83069c48d6ca3b SHA512 6f9e2ecf7e416218971568d94ca13aa8507c1b438e46314514af69f8c829dbe70a0c31677df9cc06b6257fbc1d3464daa6720255f8a1b1e0c9f2ab292b7d666a +DIST rust-1.95.0-sparc64-unknown-linux-gnu.tar.xz 79794836 BLAKE2B a6f352a9c27523fc8e2be13ffde05a2a3ee824419eed9143429b061a3d1030653d8c8fab466b093f63b23eb134eec884c44f615a0aebd5d7df196734db732560 SHA512 5ece5a16876d5daaa4f48d5eb2fe465401505f06cf2ebdbcccf634eab919ba402587cbd6fe89264b3e62d0ce5a64dd5953a48c93cff6a405b881c5688a830c5c DIST rust-1.95.0-x86_64-unknown-linux-gnu.tar.xz 197584988 BLAKE2B 74cfe56e764091fd18e344cb78005fd2a5f9bd214241db6e799b815e0ec963cd28de7046fad0c0156e284e44d51404b4fab4720110fd9191228732dc411a6472 SHA512 62e057f0920b02eabcc1549e18ce5320e0c20a27653c3ab112abce9ca325bb8120775c83644b91d5e380577fd146fc07d9ed10fe6f58a93024c26e4dcb9ec1e6 DIST rust-1.95.0-x86_64-unknown-linux-gnu.tar.xz.asc 801 BLAKE2B d8a27e53193c16d808cac45a23ee9741931128abf151394a7037b2cdcb4122f220f4b664a70223738922fe644927ca64077962262da75df0eaf839dd4754fc9a SHA512 f9be1d6fedac08994ddbe9c092ef7bf12717884fff2909941fe3ac6ca6b2ecc835f24b7965c6db3eb76e0ee8ad6413722dcfc903d6aeff95a0fcd65b7ddd8597 DIST rust-1.95.0-x86_64-unknown-linux-musl.tar.xz 299420024 BLAKE2B 5a9c0ddc505e4552f2aeb4cc18e0f2497d87aec6eb603e4adf0f98d1923c00be4f1be32b39cc7586973cc221cd0ddffe83342879b91c74c00f123e3d14ee9976 SHA512 99e70d78f6268f180035075d19df8ca2eccbdfc4d6fe7b65d8f7a90a60a6430520f0ca785a0a0aeeaaf06338d09de78705d20f1af9d4d7d7c6f850e3e47ee5cd diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/rust-bin/rust-bin-1.93.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/rust-bin/rust-bin-1.93.1.ebuild index 43497105461..672cbfd6fe1 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/rust-bin/rust-bin-1.93.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/rust-bin/rust-bin-1.93.1.ebuild @@ -24,7 +24,7 @@ else SRC_URI="$(rust_all_arch_uris "rust-${PV}") rust-src? ( ${RUST_TOOLCHAIN_BASEURL%/}/2026-02-12/rust-src-${PV}.tar.xz ) " - KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 x86" + KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" fi GENTOO_BIN_BASEURI="https://github.com/projg2/rust-bootstrap/releases/download/${PVR}" # omit trailing slash @@ -32,7 +32,7 @@ GENTOO_BIN_BASEURI="https://github.com/projg2/rust-bootstrap/releases/download/$ DESCRIPTION="Systems programming language from Mozilla" HOMEPAGE="https://www.rust-lang.org/" -if false ; then #[[ ${PV} != *9999* && ${PV} != *beta* ]] ; then +if [[ ${PV} != *9999* && ${PV} != *beta* ]] ; then # Keep this separate to allow easy commenting out if not yet built SRC_URI+=" sparc? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-sparc64-unknown-linux-gnu.tar.xz ) " SRC_URI+=" mips? ( @@ -50,7 +50,6 @@ if false ; then #[[ ${PV} != *9999* && ${PV} != *beta* ]] ; then )" SRC_URI+=" ppc64? ( elibc_musl? ( big-endian? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-powerpc64-unknown-linux-musl.tar.xz ) - !big-endian? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-powerpc64le-unknown-linux-musl.tar.xz ) ) )" fi diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/rust-bin/rust-bin-1.94.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/rust-bin/rust-bin-1.94.1.ebuild index 0eaade80af3..19c5557b74e 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/rust-bin/rust-bin-1.94.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/rust-bin/rust-bin-1.94.1.ebuild @@ -24,7 +24,7 @@ else SRC_URI="$(rust_all_arch_uris "rust-${PV}") rust-src? ( ${RUST_TOOLCHAIN_BASEURL%/}/2026-03-26/rust-src-${PV}.tar.xz ) " - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" # "~mips ~sparc" + KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" fi GENTOO_BIN_BASEURI="https://github.com/projg2/rust-bootstrap/releases/download/${PVR}" # omit trailing slash @@ -32,7 +32,7 @@ GENTOO_BIN_BASEURI="https://github.com/projg2/rust-bootstrap/releases/download/$ DESCRIPTION="Systems programming language from Mozilla" HOMEPAGE="https://www.rust-lang.org/" -if false; then +if [[ ${PV} != *9999* && ${PV} != *beta* ]] ; then # Keep this separate to allow easy commenting out if not yet built SRC_URI+=" sparc? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-sparc64-unknown-linux-gnu.tar.xz ) " SRC_URI+=" mips? ( @@ -50,7 +50,6 @@ if false; then )" SRC_URI+=" ppc64? ( elibc_musl? ( big-endian? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-powerpc64-unknown-linux-musl.tar.xz ) - !big-endian? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-powerpc64le-unknown-linux-musl.tar.xz ) ) )" fi diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/rust-bin/rust-bin-1.95.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/rust-bin/rust-bin-1.95.0.ebuild index ed608e4a670..6e56692792f 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/rust-bin/rust-bin-1.95.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/rust-bin/rust-bin-1.95.0.ebuild @@ -24,7 +24,7 @@ else SRC_URI="$(rust_all_arch_uris "rust-${PV}") rust-src? ( ${RUST_TOOLCHAIN_BASEURL%/}/2026-04-16/rust-src-${PV}.tar.xz ) " - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86" # "~mips ~sparc" + KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" fi GENTOO_BIN_BASEURI="https://github.com/projg2/rust-bootstrap/releases/download/${PVR}" # omit trailing slash @@ -32,7 +32,7 @@ GENTOO_BIN_BASEURI="https://github.com/projg2/rust-bootstrap/releases/download/$ DESCRIPTION="Systems programming language from Mozilla" HOMEPAGE="https://www.rust-lang.org/" -if false; then +if [[ ${PV} != *9999* && ${PV} != *beta* ]] ; then # Keep this separate to allow easy commenting out if not yet built SRC_URI+=" sparc? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-sparc64-unknown-linux-gnu.tar.xz ) " SRC_URI+=" mips? ( @@ -50,7 +50,6 @@ if false; then )" SRC_URI+=" ppc64? ( elibc_musl? ( big-endian? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-powerpc64-unknown-linux-musl.tar.xz ) - !big-endian? ( ${GENTOO_BIN_BASEURI}/rust-${PVR}-powerpc64le-unknown-linux-musl.tar.xz ) ) )" fi From ac4afb9b4975b9771f610ad7fe5d4fcfb6e66745 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:11 +0000 Subject: [PATCH 052/243] dev-lang/rust-common: Sync with Gentoo It's from Gentoo commit cb292ea086f6355e713203727f85f30824b50e47. Signed-off-by: Flatcar Buildbot --- .../dev-lang/rust-common/rust-common-1.94.1.ebuild | 2 +- .../dev-lang/rust-common/rust-common-1.95.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/rust-common/rust-common-1.94.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/rust-common/rust-common-1.94.1.ebuild index 1037d635a09..44d5013f245 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/rust-common/rust-common-1.94.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/rust-common/rust-common-1.94.1.ebuild @@ -32,7 +32,7 @@ else verify-sig? ( https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz.asc ) " S="${WORKDIR}/rustc-${MY_PV}-src" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" fi LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4" diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/rust-common/rust-common-1.95.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/rust-common/rust-common-1.95.0.ebuild index 1037d635a09..44d5013f245 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/rust-common/rust-common-1.95.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/rust-common/rust-common-1.95.0.ebuild @@ -32,7 +32,7 @@ else verify-sig? ( https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz.asc ) " S="${WORKDIR}/rustc-${MY_PV}-src" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" fi LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4" From 98f5dd9a956b571f1726598a17ff6b871c873ce4 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:11 +0000 Subject: [PATCH 053/243] dev-lang/swig: Sync with Gentoo It's from Gentoo commit 87f721c4562c772b556a2ec13c3da4a6da5a6b5a. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-lang/swig/swig-4.1.1-r1.ebuild | 5 +++-- .../portage-stable/dev-lang/swig/swig-4.2.1.ebuild | 5 +++-- .../portage-stable/dev-lang/swig/swig-4.3.1.ebuild | 3 ++- .../portage-stable/dev-lang/swig/swig-4.4.1.ebuild | 3 ++- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/swig/swig-4.1.1-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/swig/swig-4.1.1-r1.ebuild index 6005fe89774..ef3654bdc98 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/swig/swig-4.1.1-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/swig/swig-4.1.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,8 @@ LICENSE="GPL-3+ BSD BSD-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" IUSE="ccache doc pcre test" -RESTRICT="!test? ( test )" +# tests are automagic for many languages and quite brittle +RESTRICT="!test? ( test ) test" RDEPEND=" pcre? ( dev-libs/libpcre2 ) diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/swig/swig-4.2.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/swig/swig-4.2.1.ebuild index 63d49485b5c..760c95ae2e6 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/swig/swig-4.2.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/swig/swig-4.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,8 @@ LICENSE="GPL-3+ BSD BSD-2" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" IUSE="ccache doc pcre test" -RESTRICT="!test? ( test )" +# tests are automagic for many languages and quite brittle +RESTRICT="!test? ( test ) test" RDEPEND=" pcre? ( dev-libs/libpcre2 ) diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/swig/swig-4.3.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/swig/swig-4.3.1.ebuild index a5ad891992f..3ed12cb19f2 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/swig/swig-4.3.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/swig/swig-4.3.1.ebuild @@ -13,7 +13,8 @@ LICENSE="GPL-3+ BSD BSD-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" IUSE="ccache doc pcre test" -RESTRICT="!test? ( test )" +# tests are automagic for many languages and quite brittle +RESTRICT="!test? ( test ) test" RDEPEND=" pcre? ( dev-libs/libpcre2 ) diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/swig/swig-4.4.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/swig/swig-4.4.1.ebuild index 74e6dc6346e..4f7a4928038 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/swig/swig-4.4.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/swig/swig-4.4.1.ebuild @@ -13,7 +13,8 @@ LICENSE="GPL-3+ BSD BSD-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" IUSE="ccache doc pcre test" -RESTRICT="!test? ( test )" +# tests are automagic for many languages and quite brittle +RESTRICT="!test? ( test ) test" RDEPEND=" pcre? ( dev-libs/libpcre2 ) From 362af9c7c86f7d49bb2a6e2b4e790c38ebf3d0c5 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:11 +0000 Subject: [PATCH 054/243] dev-lang/tcl: Sync with Gentoo It's from Gentoo commit 30418dfc0e39b46e5b9b15edaa7f6e45e9c674c8. Signed-off-by: Flatcar Buildbot --- .../third_party/portage-stable/dev-lang/tcl/tcl-8.6.17.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-lang/tcl/tcl-8.6.17.ebuild b/sdk_container/src/third_party/portage-stable/dev-lang/tcl/tcl-8.6.17.ebuild index a488a256fa6..f02748f8ffe 100644 --- a/sdk_container/src/third_party/portage-stable/dev-lang/tcl/tcl-8.6.17.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-lang/tcl/tcl-8.6.17.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,7 @@ S="${SPARENT}"/unix LICENSE="tcltk Spencer-99" SLOT="0/8.6" -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="debug +threads" RDEPEND=">=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]" From fec0c9535d84f457666da482bf0894a1613e8e76 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:17 +0000 Subject: [PATCH 055/243] dev-libs/expat: Sync with Gentoo It's from Gentoo commit 572ab7eecbadeec5b5398a50f6fb5d37360997be. Signed-off-by: Flatcar Buildbot --- .../src/third_party/portage-stable/dev-libs/expat/Manifest | 2 +- .../dev-libs/expat/{expat-2.8.0.ebuild => expat-2.8.2.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename sdk_container/src/third_party/portage-stable/dev-libs/expat/{expat-2.8.0.ebuild => expat-2.8.2.ebuild} (100%) diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/expat/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/expat/Manifest index 05f6427188d..dfd54579754 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/expat/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-libs/expat/Manifest @@ -1,2 +1,2 @@ -DIST expat-2.8.0.tar.xz 511328 BLAKE2B e7b5f20e9960085d2bcfd88ac590e70a9aaebcc4b1411064d008af638bdf4189730d6fd9772d518dc4c38c3cefc649ed31c1e3ad7de64125377dba8c6d2e01b8 SHA512 f395e8de93f297a1aa89df30dd997cc5715c10623ac1b1fc4e18f4cc746d13ddf5729ec253056fe4356ad28881482d906b2e18072b830b1a5335cba2f375bba9 DIST expat-2.8.1.tar.xz 512224 BLAKE2B 529551f960a1e611be6a0e9ff579e136ccad676d7e99ef8183bbee83969bf4cd37177444759ccbccc48c1bd49d2b0c3bd8f1f91862f272b54a23ad1b932d2f9d SHA512 186e9677a4255d054364c06f68318df3e9039793da29e7b286ed7c6b12e93f62f2d096b5f7535bde29844fc25a934b84616e72228f6584e9d655fd8ed95c639a +DIST expat-2.8.2.tar.xz 515504 BLAKE2B f037cb75f86652fbddd3474f2b7a1293e9b77b540475fa34432a8304ddc58b3eafbab5150a5b591fc4a889d895507b0d379032cdd0c474445ac0aa9e518bef18 SHA512 68ee856b3eeefeb6bb800004951bbbe89a9a144354ae12bc9d670888fd89e8513243e0053c61674430c78e2beeeb85a3c86ac7644576a5bb9867fbce3643ff8d diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/expat/expat-2.8.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/expat/expat-2.8.2.ebuild similarity index 100% rename from sdk_container/src/third_party/portage-stable/dev-libs/expat/expat-2.8.0.ebuild rename to sdk_container/src/third_party/portage-stable/dev-libs/expat/expat-2.8.2.ebuild From 17e350b3a2f6a44dcd0d1db1b894d4687f1e1172 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:17 +0000 Subject: [PATCH 056/243] dev-libs/glib: Sync with Gentoo It's from Gentoo commit c0bc557cceec7bcdad1272fc382665f09f63920f. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-libs/glib/Manifest | 3 +- .../dev-libs/glib/glib-2.84.4.ebuild | 476 ------------------ ...ib-2.88.0-r1.ebuild => glib-2.88.2.ebuild} | 5 +- 3 files changed, 5 insertions(+), 479 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/glib/glib-2.84.4.ebuild rename sdk_container/src/third_party/portage-stable/dev-libs/glib/{glib-2.88.0-r1.ebuild => glib-2.88.2.ebuild} (98%) diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/glib/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/glib/Manifest index c567517a30a..8560e2f6ca1 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/glib/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-libs/glib/Manifest @@ -1,6 +1,7 @@ DIST glib-2.84.4.tar.xz 5618200 BLAKE2B 5faee382433085cd598545a99e2e95ce430be4ac5ca10106b70f2404ddacf328f4223bc092a23025f9bf8b936619a88a9dfb220674a07e9250cf4213c6213be9 SHA512 2de9b2f7376c0e5f6ee585087090675d597c474199a10d04aad18df688b6ca77d17e93a86ec07482898663f51c82121992272496318138f77ca5ad2c340a4bd3 DIST glib-2.86.5.tar.xz 5695864 BLAKE2B 67fb6d9bde2c47647bfc7979bf3486aac0c7c32d51593ac37c2e988556d3225faa7c702b3f39103051a6671e142c2ae2baf309451720262d18311f519385f17c SHA512 e14e56659594cb1f929cf62b01f415b867592f83d7a624a8806c609c762fcdf6ab7bc4c68ab1faafd709f7448a52b8e37a7066a53c84b52607a8b5261bc8f222 -DIST glib-2.88.0.tar.xz 5788396 BLAKE2B b540e0f5490f85b44cfad5d819f4a6fd911addc26fed8b8b49852bd6ec322d7d16136b691452030cf5f590374ea06cf8fdb8c9109d5cbe7b68625379bbd40615 SHA512 ceead8d88720db17dc6bbff7aff14f261f90afc5e8261448aae0657f89b5fcc616cf62f4b049be88a4ddd3f50a869bbcdb66b29777da4969a47987828ecac280 DIST glib-2.88.1.tar.xz 5789296 BLAKE2B d9a0e54d2c1b5128aee76f1743cbeea84a24af5a2252ba1c649943bbca3fbc5f08896249542526560c92dd0e60cbd8a72498c3cfe1535d1f0bf85316ce37dba1 SHA512 74e6d6086081e5dfb5b7fd3b74f59171033be0c340ff2dd798fea9cb42e5f680e13b2ac3dde8dd423bceb9c6556103005f9542aeda166e9a3b89da8bacecca23 +DIST glib-2.88.2-const-whoops.patch.xz 19144 BLAKE2B 7b9cd36900acab507702f53e0e70f7b623958810d604b5ac60b7c8a458887c001f871119fcfe9bf8b3266d63d74030aa87305c44ce501bb08fab6e072bc4f774 SHA512 0f8b2b3890250725277addeb1ab42dcb5f53bdb58980d7679564c9b701ec3f68af8fa77b5b04aa9b24370fa77a6121646434aa8d811d2c5ad12966fa0caeed0e +DIST glib-2.88.2.tar.xz 5782636 BLAKE2B fecce4ad82e62e429d30f4e9050a83b53715644fc8c7c89d767ecdaefa603530e81e024dd3450ce25bcd93b00fa6aeb8551b6240d3a04862dadeb895b0177e10 SHA512 d6f40d1ff0f73faccdff8060fabd29b8217cc46139cf33e5792fee05af0665f96cd04e7866995bd84fcd99c9e40c40367d1326f8417bad99c1242dd841ec72a5 DIST gobject-introspection-1.82.0.tar.xz 1052872 BLAKE2B 8336ae26d48a71a203655d9d268076f603055ceabb55dbfa676f2c67b4096b83afc106d485dc45d02b3a8be806f9ef50d54806a82e61f2a252ae59543c61e934 SHA512 e139fadb4174c72b648914f3774d89fc0e5eaee45bba0c13edf05de883664dad8276dbc34006217bb09871ed4bad23adab51ff232a17b9eb131329b2926cafb7 DIST gobject-introspection-1.86.0.tar.xz 1083172 BLAKE2B 425d60c8c4bd582c55030ed91b4c2f3982e3c502da1c6f2579c4cc1e05d82d8a8c9a533af3e4a7ae8f6a031761d763d7f7ad8031e38ae3bd7d2549c9f6bcf7f3 SHA512 a9d2edbe1cea710e10ef1ea8059a45cf5689bace43b5d2a6861809e863a6de7114b4763db8df3916ad6202c9967f48f7997acd0810a86e5e88dea7e0be88b585 diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/glib/glib-2.84.4.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/glib/glib-2.84.4.ebuild deleted file mode 100644 index 8ea22773079..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-libs/glib/glib-2.84.4.ebuild +++ /dev/null @@ -1,476 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_REQ_USE="xml(+)" -PYTHON_COMPAT=( python3_{11..14} ) - -inherit dot-a eapi9-ver gnome.org gnome2-utils linux-info meson-multilib multilib python-any-r1 toolchain-funcs xdg - -DESCRIPTION="The GLib library of C routines" -HOMEPAGE="https://www.gtk.org/" - -INTROSPECTION_PN="gobject-introspection" -INTROSPECTION_PV="1.82.0" -INTROSPECTION_P="${INTROSPECTION_PN}-${INTROSPECTION_PV}" -SRC_URI=" - ${SRC_URI} - introspection? ( mirror://gnome/sources/gobject-introspection/${INTROSPECTION_PV%.*}/gobject-introspection-${INTROSPECTION_PV}.tar.${GNOME_TARBALL_SUFFIX} ) -" -INTROSPECTION_SOURCE_DIR="${WORKDIR}/${INTROSPECTION_P}" -INTROSPECTION_BUILD_DIR="${WORKDIR}/${INTROSPECTION_P}-build" - -LICENSE="LGPL-2.1+" -SLOT="2" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="dbus debug +elf doc +introspection +mime selinux static-libs sysprof systemtap test utils xattr" -RESTRICT="!test? ( test )" - -# * elfutils (via libelf) does not build on Windows. gresources are not embedded -# within ELF binaries on that platform anyway and inspecting ELF binaries from -# other platforms is not that useful so exclude the dependency in this case. -# * Technically static-libs is needed on zlib, util-linux and perhaps more, but -# these are used by GIO, which glib[static-libs] consumers don't really seem -# to need at all, thus not imposing the deps for now and once some consumers -# are actually found to static link libgio-2.0.a, we can revisit and either add -# them or just put the (build) deps in that rare consumer instead of recursive -# RDEPEND here (due to lack of recursive DEPEND). -RDEPEND=" - !=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] - >=dev-libs/libpcre2-10.32:0=[${MULTILIB_USEDEP},unicode(+),static-libs?] - >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}] - >=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] - >=virtual/libintl-0-r2[${MULTILIB_USEDEP}] - kernel_linux? ( >=sys-apps/util-linux-2.23[${MULTILIB_USEDEP}] ) - selinux? ( >=sys-libs/libselinux-2.2.2-r5[${MULTILIB_USEDEP}] ) - xattr? ( !elibc_glibc? ( >=sys-apps/attr-2.4.47-r1[${MULTILIB_USEDEP}] ) ) - elf? ( virtual/libelf:0= ) - sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] ) -" -DEPEND=" - ${RDEPEND} - systemtap? ( >=dev-debug/systemtap-1.3 ) -" -# libxml2 used for optional tests that get automatically skipped -BDEPEND=" - app-text/docbook-xsl-stylesheets - >=dev-build/meson-1.4.0 - dev-libs/libxslt - >=sys-devel/gettext-0.19.8 - doc? ( >=dev-util/gi-docgen-2023.1 ) - dev-python/docutils - systemtap? ( >=dev-debug/systemtap-1.3 ) - ${PYTHON_DEPS} - test? ( >=sys-apps/dbus-1.2.14 ) - virtual/pkgconfig - - introspection? ( - $(python_gen_any_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ') - virtual/pkgconfig - sys-devel/bison - app-alternatives/lex - ${PYTHON_DEPS} - ) -" -# TODO: >=dev-util/gdbus-codegen-${PV} test dep once we modify gio/tests/meson.build to use external gdbus-codegen - -PDEPEND=" - dbus? ( gnome-base/dconf ) - mime? ( x11-misc/shared-mime-info ) -" -# shared-mime-info needed for gio/xdgmime, bug #409481 -# dconf is needed to be able to save settings, bug #498436 - -MULTILIB_CHOST_TOOLS=( - /usr/bin/gio-querymodules$(get_exeext) -) - -PATCHES=( - "${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch - "${FILESDIR}"/${PN}-2.84.4-libpcre2-10.47.patch -) - -python_check_deps() { - if use introspection ; then - python_has_version "dev-python/setuptools[${PYTHON_USEDEP}]" - fi -} - -pkg_setup() { - if use kernel_linux ; then - CONFIG_CHECK="~INOTIFY_USER" - if use test ; then - CONFIG_CHECK="~IPV6" - WARNING_IPV6="Your kernel needs IPV6 support for running some tests, skipping them." - fi - linux-info_pkg_setup - fi - python-any-r1_pkg_setup -} - -src_prepare() { - if use test; then - # TODO: Review the test exclusions, especially now with meson - # gdesktopappinfo requires existing terminal (gnome-terminal or any - # other), falling back to xterm if one doesn't exist - #if ! has_version x11-terms/xterm && ! has_version x11-terms/gnome-terminal ; then - # ewarn "Some tests will be skipped due to missing terminal program" - # These tests seem to sometimes fail even with a terminal; skip for now and reevulate with meson - # Also try https://gitlab.gnome.org/GNOME/glib/issues/1601 once ready - # for backport (or in a bump) and file new issue if still fails - sed -i -e "/appinfo\/launch/d" gio/tests/appinfo.c || die - # desktop-app-info/launch* might fail similarly - sed -i -e "/desktop-app-info\/launch-as-manager/d" gio/tests/desktop-app-info.c || die - #fi - - # https://bugzilla.gnome.org/show_bug.cgi?id=722604 - sed -i -e "/timer\/stop/d" glib/tests/timer.c || die - sed -i -e "/timer\/basic/d" glib/tests/timer.c || die - - ewarn "Tests for search-utils have been skipped" - sed -i -e "/search-utils/d" glib/tests/meson.build || die - - # Running gdb inside a test within sandbox is brittle - sed -i -e '/self.__gdb = shutil.which("gdb")/s:"gdb":"gdb-idonotexist":' glib/tests/assert-msg-test.py || die - - # Play nice with network-sandbox, but this approach would defeat the purpose of the test - #sed -i -e "s/localhost/127.0.0.1/g" gio/tests/gsocketclient-slow.c || die - else - # Don't build tests, also prevents extra deps, bug #512022 - sed -i -e '/subdir.*tests/d' {.,gio,glib}/meson.build || die - fi - - # Don't build fuzzing binaries - not used - sed -i -e '/subdir.*fuzzing/d' meson.build || die - - # gdbus-codegen is a separate package - sed -i -e '/install_dir/d' gio/gdbus-2.0/codegen/meson.build || die - sed -i -e '/install : true/d' gio/gdbus-2.0/codegen/meson.build || die - - # Same kind of meson-0.50 issue with some installed-tests files; will likely be fixed upstream soon - sed -i -e '/install_dir/d' gio/tests/meson.build || die - - cat > "${T}/glib-test-ld-wrapper" <<-EOF - #!/usr/bin/env sh - exec \${LD:-ld} "\$@" - EOF - chmod a+x "${T}/glib-test-ld-wrapper" || die - sed -i -e "s|'ld'|'${T}/glib-test-ld-wrapper'|g" gio/tests/meson.build || die - - # make default sane for us - if use prefix ; then - sed -i -e "s:/usr/local:${EPREFIX}/usr:" gio/xdgmime/xdgmime.c || die - # bug #308609, without path, bug #314057 - export PERL=perl - fi - - if [[ ${CHOST} == *-solaris* ]] ; then - # fix standards conflicts - sed -i \ - -e 's/\<\(_XOPEN_SOURCE_EXTENDED\)\>/_POSIX_PTHREAD_SEMANTICS/' \ - -e '/\<_XOPEN_SOURCE\>/s/\<2\>/600/' \ - meson.build || die - sed -i -e '/#define\s\+_POSIX_SOURCE/d' \ - glib/giounix.c || die - fi - - # disable native macOS integrations - sed -i -e '/glib_conf.set(.HAVE_\(CARBON\|COCOA\).,/s/true/false/' \ - meson.build || die - sed -i \ - -e '/AvailabilityMacros.h/d' \ - gio/giomodule.c || die - - # Link the glib source to the introspection subproject directory so it can be built there first - if use introspection ; then - ln -s "${S}" "${INTROSPECTION_SOURCE_DIR}/subprojects/glib" - fi - - default - gnome2_environment_reset - # TODO: python_name sedding for correct python shebang? Might be relevant mainly for glib-utils only -} - -src_configure() { - lto-guarantee-fat - meson-multilib_src_configure -} - -multilib_src_configure() { - # TODO: figure a way to pass appropriate values for all cross properties - # that glib uses (search for get_cross_property) - #if tc-is-cross-compiler ; then - # https://bugzilla.gnome.org/show_bug.cgi?id=756473 - # TODO-meson: This should be in meson cross file as 'growing_stack' - # property; and more, look at get_cross_property - #case ${CHOST} in - #hppa*|metag*) export glib_cv_stack_grows=yes ;; - #*) export glib_cv_stack_grows=no ;; - #esac - #fi - - _need_bootstrap_gi() { - if ! multilib_native_use introspection ; then - return 1 - fi - - if ! has_version ">=dev-libs/${INTROSPECTION_P}" ; then - return 0 - fi - - # Is the installed gobject-introspection usable? - if ! g-ir-scanner --version &> /dev/null ; then - return 0 - fi - - # Do we somehow have a dev-libs/gobject-introspection installed - # with an unsatisfied dependency? (bug #951487) - if ! $(tc-getPKG_CONFIG) --cflags gobject-introspection-1.0 &> /dev/null ; then - return 0 - fi - - # Make sure has_version didn't lie to us while at it as well, - # given bug #951487. - if ! $(tc-getPKG_CONFIG) --atleast-version=${INTROSPECTION_PV} gobject-introspection-1.0 &> /dev/null ; then - return 0 - fi - - return 1 - } - - # Build internal copy of gobject-introspection to avoid circular dependency (built for native abi only) - if _need_bootstrap_gi ; then - einfo "Bootstrapping gobject-introspection..." - INTROSPECTION_BIN_DIR="${T}/bootstrap-gi-prefix/usr/bin" - INTROSPECTION_LIB_DIR="${T}/bootstrap-gi-prefix/usr/$(get_libdir)" - - local emesonargs=( - --prefix="${T}/bootstrap-gi-prefix/usr" - -Dpython="${EPYTHON}" - -Dbuild_introspection_data=true - # Build an internal copy of glib for the internal copy of gobject-introspection - --force-fallback-for=glib - # Make the paths in pkgconfig files relative as we used to not - # do a proper install here and it seems less risky to keep it - # this way. - -Dpkgconfig.relocatable=true - - # We want as minimal a build as possible here to speed things up - # and reduce the risk of failures. - -Dglib:selinux=disabled - -Dglib:xattr=false - -Dglib:libmount=disabled - -Dglib:man-pages=disabled - -Dglib:dtrace=disabled - -Dglib:systemtap=disabled - -Dglib:sysprof=disabled - -Dglib:documentation=false - -Dglib:tests=false - -Dglib:installed_tests=false - -Dglib:nls=disabled - -Dglib:oss_fuzz=disabled - -Dglib:libelf=disabled - -Dglib:multiarch=false - ) - - ORIG_SOURCE_DIR=${EMESON_SOURCE} - EMESON_SOURCE=${INTROSPECTION_SOURCE_DIR} - - # g-ir-scanner has some relocatable logic but it searches - # for 'lib', not 'lib64', so it can't find itself and eventually - # falls back to the system installation. See bug #946221. - sed -i -e "/^pylibdir =/s:'lib:'$(get_libdir):" "${EMESON_SOURCE}"/tools/g-ir-tool-template.in || die - - ORIG_BUILD_DIR=${BUILD_DIR} - BUILD_DIR=${INTROSPECTION_BUILD_DIR} - - pushd ${INTROSPECTION_SOURCE_DIR} || die - - meson_src_configure - meson_src_compile - # We already provide a prefix in ${T} above. Blank DESTDIR - # as it may be set in the environment by Portage (though not - # guaranteed in src_configure). - meson_src_install --destdir "" - - popd || die - - EMESON_SOURCE=${ORIG_SOURCE_DIR} - BUILD_DIR=${ORIG_BUILD_DIR} - - # Add gobject-introspection binaries and pkgconfig files to path - export PATH="${INTROSPECTION_BIN_DIR}:${PATH}" - - # Override primary pkgconfig search paths to prioritize our internal copy - local -x PKG_CONFIG_LIBDIR="${INTROSPECTION_LIB_DIR}/pkgconfig:${INTROSPECTION_BUILD_DIR}/meson-private:$($(tc-getPKG_CONFIG) --variable pc_system_libdirs pkg-config)" - - # Set the normal primary pkgconfig search paths as secondary - # (We also need to prepend our just-built one for later use of - # g-ir-scanner to use the new one and to help workaround bugs like - # bug #946221.) - local -x PKG_CONFIG_PATH="${PKG_CONFIG_LIBDIR}:$($(tc-getPKG_CONFIG) --variable pc_path pkg-config)" - - # Add the paths to the built glib libraries to the library path so that gobject-introspection can load them - local gliblib - for gliblib in glib gobject gthread gmodule gio girepository; do - export LD_LIBRARY_PATH="${BUILD_DIR}/${gliblib}:${LD_LIBRARY_PATH}" - done - - # Add the path to introspection libraries so that glib can call gir utilities - export LD_LIBRARY_PATH="${INTROSPECTION_LIB_DIR}:${LD_LIBRARY_PATH}" - - # Add the paths to the gobject-introspection python modules to python path so they can be imported - export PYTHONPATH="${INTROSPECTION_LIB_DIR}/gobject-introspection:${PYTHONPATH}" - fi - - # TODO: Can this be cleaned up now we have -Dglib_debug? (bug #946485) - use debug && EMESON_BUILD_TYPE=debug - - local emesonargs=( - -Ddefault_library=$(usex static-libs both shared) - -Druntime_dir="${EPREFIX}"/run - $(meson_feature debug glib_debug) - $(meson_feature selinux) - $(meson_use xattr) - -Dlibmount=enabled # only used if host_system == 'linux' - -Dman-pages=enabled - $(meson_feature systemtap dtrace) - $(meson_feature systemtap) - $(meson_feature sysprof) - $(meson_use doc documentation) - $(meson_use test tests) - -Dinstalled_tests=false - -Dnls=enabled - -Doss_fuzz=disabled - $(meson_native_use_feature elf libelf) - -Dmultiarch=false - $(meson_native_use_feature introspection) - ) - - # Workaround for bug #938302 - if use systemtap; then - tc-export CC - meson_add_machine_file dtrace <<-EOF - [binaries] - dtrace='stap-dtrace' - EOF - fi - - meson_src_configure -} - -multilib_src_test() { - export XDG_CONFIG_DIRS=/etc/xdg - export XDG_DATA_DIRS=/usr/local/share:/usr/share - # TODO: Use ${ABI} here to be unique for multilib? - export G_DBUS_COOKIE_SHA1_KEYRING_DIR="${T}/temp" - export LC_TIME=C # bug #411967 - export TZ=UTC - unset GSETTINGS_BACKEND # bug #596380 - python_setup - - # https://bugs.gentoo.org/839807 - local -x SANDBOX_PREDICT=${SANDBOX_PREDICT} - addpredict /usr/b - - # Related test is a bit nitpicking - mkdir -p "$G_DBUS_COOKIE_SHA1_KEYRING_DIR" || die - chmod 0700 "$G_DBUS_COOKIE_SHA1_KEYRING_DIR" || die - - meson_src_test --timeout-multiplier 20 --no-suite flaky -} - -multilib_src_install() { - meson_src_install - keepdir /usr/$(get_libdir)/gio/modules -} - -multilib_src_install_all() { - strip-lto-bytecode - - # These are installed by dev-util/glib-utils - # TODO: With patching we might be able to get rid of the python-any deps - # and removals, and test depend on glib-utils instead; revisit now with - # meson - rm "${ED}/usr/bin/glib-genmarshal" || die - rm "${ED}/usr/share/man/man1/glib-genmarshal.1" || die - rm "${ED}/usr/bin/glib-mkenums" || die - rm "${ED}/usr/share/man/man1/glib-mkenums.1" || die - rm "${ED}/usr/bin/gtester-report" || die - rm "${ED}/usr/share/man/man1/gtester-report.1" || die - # gdbus-codegen manpage installed by dev-util/gdbus-codegen - rm "${ED}/usr/share/man/man1/gdbus-codegen.1" || die -} - -pkg_preinst() { - xdg_pkg_preinst - - # Make gschemas.compiled belong to glib alone - local cache="/usr/share/glib-2.0/schemas/gschemas.compiled" - - if [[ -e ${EROOT}${cache} ]]; then - cp "${EROOT}"${cache} "${ED}"/${cache} || die - else - touch "${ED}"${cache} || die - fi - - multilib_pkg_preinst() { - # Make giomodule.cache belong to glib alone - local cache="/usr/$(get_libdir)/gio/modules/giomodule.cache" - - if [[ -e ${EROOT}${cache} ]]; then - cp "${EROOT}"${cache} "${ED}"${cache} || die - else - touch "${ED}"${cache} || die - fi - } - - # Don't run the cache ownership when cross-compiling, as it would end up with an empty cache - # file due to inability to create it and GIO might not look at any of the modules there - if ! tc-is-cross-compiler ; then - multilib_foreach_abi multilib_pkg_preinst - fi -} - -pkg_postinst() { - xdg_pkg_postinst - # glib installs no schemas itself, but we force update for fresh install in case - # something has dropped in a schemas file without direct glib dep; and for upgrades - # in case the compiled schema format could have changed - gnome2_schemas_update - - multilib_pkg_postinst() { - gnome2_giomodule_cache_update \ - || die "Update GIO modules cache failed (for ${ABI})" - } - if ! tc-is-cross-compiler ; then - multilib_foreach_abi multilib_pkg_postinst - else - ewarn "Updating of GIO modules cache skipped due to cross-compilation." - ewarn "You might want to run gio-querymodules manually on the target for" - ewarn "your final image for performance reasons and re-run it when packages" - ewarn "installing GIO modules get upgraded or added to the image." - fi - - if ver_replacing "-lt" "2.63.6"; then - ewarn "glib no longer installs the gio-launch-desktop binary. You may need" - ewarn "to restart your session for \"Open With\" dialogs to work." - fi -} - -pkg_postrm() { - xdg_pkg_postrm - gnome2_schemas_update - - if [[ -z ${REPLACED_BY_VERSION} ]]; then - multilib_pkg_postrm() { - rm -f "${EROOT}"/usr/$(get_libdir)/gio/modules/giomodule.cache || die - } - multilib_foreach_abi multilib_pkg_postrm - rm -f "${EROOT}"/usr/share/glib-2.0/schemas/gschemas.compiled || die - fi -} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/glib/glib-2.88.0-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/glib/glib-2.88.2.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/dev-libs/glib/glib-2.88.0-r1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-libs/glib/glib-2.88.2.ebuild index 2998430263b..c23dcc269d0 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/glib/glib-2.88.0-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/glib/glib-2.88.2.ebuild @@ -15,6 +15,7 @@ INTROSPECTION_PV="1.86.0" INTROSPECTION_P="${INTROSPECTION_PN}-${INTROSPECTION_PV}" SRC_URI=" ${SRC_URI} + https://distfiles.gentoo.org/pub/dev/sam%40gentoo.org/${CATEGORY}/${PN}/${PN}-2.88.2-const-whoops.patch.xz introspection? ( mirror://gnome/sources/gobject-introspection/${INTROSPECTION_PV%.*}/gobject-introspection-${INTROSPECTION_PV}.tar.${GNOME_TARBALL_SUFFIX} ) " INTROSPECTION_SOURCE_DIR="${WORKDIR}/${INTROSPECTION_P}" @@ -22,7 +23,7 @@ INTROSPECTION_BUILD_DIR="${WORKDIR}/${INTROSPECTION_P}-build" LICENSE="LGPL-2.1+" SLOT="2" -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="dbus debug +elf doc +introspection +mime selinux static-libs sysprof systemtap test utils xattr" RESTRICT="!test? ( test )" @@ -91,7 +92,7 @@ MULTILIB_CHOST_TOOLS=( PATCHES=( "${FILESDIR}"/${PN}-2.64.1-mark-gdbus-server-auth-test-flaky.patch - "${FILESDIR}"/${PN}-2.84.4-fix-const-attribute.patch + "${WORKDIR}"/${PN}-2.88.2-const-whoops.patch ) python_check_deps() { From c3f2a0702db88c03f14c7bfc54d2b215884b958e Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:17 +0000 Subject: [PATCH 057/243] dev-libs/gmp: Sync with Gentoo It's from Gentoo commit ef5f1728b668509e3ae84d59086bd03e3f1d1f55. Signed-off-by: Flatcar Buildbot --- .../third_party/portage-stable/dev-libs/gmp/gmp-6.3.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/gmp/gmp-6.3.0-r2.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/gmp/gmp-6.3.0-r2.ebuild index 5ac4c6b704d..d26e7a6a688 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/gmp/gmp-6.3.0-r2.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/gmp/gmp-6.3.0-r2.ebuild @@ -27,7 +27,7 @@ S="${WORKDIR}"/${MY_P%a} LICENSE="|| ( LGPL-3+ GPL-2+ )" # The subslot reflects the C & C++ SONAMEs. SLOT="0/10.4" -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="+asm doc +cpudetection +cxx pic static-libs" REQUIRED_USE="cpudetection? ( asm )" RESTRICT="!cpudetection? ( bindist )" From b3ece8142c064a5a8170fba055d500e11ef5cc46 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:18 +0000 Subject: [PATCH 058/243] dev-libs/gobject-introspection-common: Sync with Gentoo It's from Gentoo commit 68ba0ab967dadf829a3c959e1386f91138d197af. Signed-off-by: Flatcar Buildbot --- .../gobject-introspection-common-1.86.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/gobject-introspection-common/gobject-introspection-common-1.86.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/gobject-introspection-common/gobject-introspection-common-1.86.0.ebuild index 1365fa70714..01e9d59f2dc 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/gobject-introspection-common/gobject-introspection-common-1.86.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/gobject-introspection-common/gobject-introspection-common-1.86.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ HOMEPAGE="https://gi.readthedocs.io/" LICENSE="HPND" 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" RDEPEND="!<${CATEGORY}/${GNOME_ORG_MODULE}-${PV}" # Use !<${PV} because mixing gobject-introspection with different version of -common can cause issues like: From 83a17c75860578893ba9e106e0de9012d0ee2a70 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:22 +0000 Subject: [PATCH 059/243] dev-libs/jsoncpp: Sync with Gentoo It's from Gentoo commit 391b9e79a5e6537767e8ecf381a8aae47fe6e1a1. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-libs/jsoncpp/Manifest | 2 + .../dev-libs/jsoncpp/jsoncpp-1.9.8.ebuild | 60 +++++++++++++++++++ .../dev-libs/jsoncpp/jsoncpp-1.9.8_rc1.ebuild | 60 +++++++++++++++++++ 3 files changed, 122 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/jsoncpp/jsoncpp-1.9.8.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/jsoncpp/jsoncpp-1.9.8_rc1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/jsoncpp/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/jsoncpp/Manifest index 767768ca9f3..d6c0166952e 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/jsoncpp/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-libs/jsoncpp/Manifest @@ -1 +1,3 @@ DIST jsoncpp-1.9.6.tar.gz 212682 BLAKE2B efa5dea68ddc175391200077666204f7ec66cd1f96a889a2a3c53d0e22e1f96ead1a2e7a871940f60dbd4261650f133b83de428b9c8b663fa13bd7ab4b9fdffe SHA512 006d81f9f723dcfe875ebc2147449c07c5246bf97dd7b9eee1909decc914b051d6f3f06feb5c3dfa143d28773fb310aabb04a81dc447cc61513309df8eba8b08 +DIST jsoncpp-1.9.8-rc1.tar.gz 220095 BLAKE2B 16e90faff59999562f514eeb40a7d60a71636a28332d9ddde4c746cf4387ee3b7b09449bf3cb8d381ea69f7090040fcc5dd12d15aebb4c5f701f1b7def3444d7 SHA512 1324caae7e3cb9e7d0e855aa9515be82e7ef72fe3c714111ed128edbb718dd403611e69c4d28334343802fc9a5501847f83600d942b279d0c3ecc4649b6b39f0 +DIST jsoncpp-1.9.8.tar.gz 220066 BLAKE2B 5af250cf6d641cc7d8c4897222cc97ccdcf110db0858abf11656835e91eb1976ee82c2cdf26e0b244aa914e2b2d8ca796a9642419f6d567bbd234a6b02bf82ff SHA512 849957d9c87edc1d375698a9ea2709b7304cabc2b05ba180dc09f68653e32316e1ae4fe0108ab63ec7b56d255ccbc6ccf8715cf8396c1438edda775bec74b05b diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/jsoncpp/jsoncpp-1.9.8.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/jsoncpp/jsoncpp-1.9.8.ebuild new file mode 100644 index 00000000000..a718c93843f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/jsoncpp/jsoncpp-1.9.8.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..14} ) + +inherit meson-multilib python-any-r1 + +DESCRIPTION="C++ JSON reader and writer" +HOMEPAGE="https://github.com/open-source-parsers/jsoncpp/" +SRC_URI=" + https://github.com/open-source-parsers/${PN}/archive/${PV/_/-}.tar.gz + -> ${P/_/-}.tar.gz +" +S=${WORKDIR}/${P/_/-} + +LICENSE="|| ( public-domain MIT )" +SLOT="0/27" +if [[ ${PV} != *_rc* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +fi +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND=" + ${PYTHON_DEPS} + doc? ( app-text/doxygen ) +" + +multilib_src_configure() { + local emesonargs=( + # Follow Debian, Ubuntu, Arch convention for headers location + # bug #452234 + --includedir include/jsoncpp + -Dtests=$(usex test true false) + ) + meson_src_configure +} + +src_compile() { + meson-multilib_src_compile + + if use doc; then + echo "${PV}" > version || die + "${EPYTHON}" doxybuild.py --doxygen="${EPREFIX}"/usr/bin/doxygen || die + HTML_DOCS=( dist/doxygen/jsoncpp*/. ) + fi +} + +multilib_src_test() { + # increase test timeout due to failures on slower hardware + meson_src_test -t 2 +} + +multilib_src_install() { + meson_install + # https://bugs.gentoo.org/941642 + rm -r "${ED}/usr/$(get_libdir)/cmake" || die +} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/jsoncpp/jsoncpp-1.9.8_rc1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/jsoncpp/jsoncpp-1.9.8_rc1.ebuild new file mode 100644 index 00000000000..a718c93843f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/jsoncpp/jsoncpp-1.9.8_rc1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..14} ) + +inherit meson-multilib python-any-r1 + +DESCRIPTION="C++ JSON reader and writer" +HOMEPAGE="https://github.com/open-source-parsers/jsoncpp/" +SRC_URI=" + https://github.com/open-source-parsers/${PN}/archive/${PV/_/-}.tar.gz + -> ${P/_/-}.tar.gz +" +S=${WORKDIR}/${P/_/-} + +LICENSE="|| ( public-domain MIT )" +SLOT="0/27" +if [[ ${PV} != *_rc* ]]; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +fi +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND=" + ${PYTHON_DEPS} + doc? ( app-text/doxygen ) +" + +multilib_src_configure() { + local emesonargs=( + # Follow Debian, Ubuntu, Arch convention for headers location + # bug #452234 + --includedir include/jsoncpp + -Dtests=$(usex test true false) + ) + meson_src_configure +} + +src_compile() { + meson-multilib_src_compile + + if use doc; then + echo "${PV}" > version || die + "${EPYTHON}" doxybuild.py --doxygen="${EPREFIX}"/usr/bin/doxygen || die + HTML_DOCS=( dist/doxygen/jsoncpp*/. ) + fi +} + +multilib_src_test() { + # increase test timeout due to failures on slower hardware + meson_src_test -t 2 +} + +multilib_src_install() { + meson_install + # https://bugs.gentoo.org/941642 + rm -r "${ED}/usr/$(get_libdir)/cmake" || die +} From 41aca360adee5ea7aa947bcf14cc02b584f7c610 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:22 +0000 Subject: [PATCH 060/243] dev-libs/leancrypto: Sync with Gentoo It's from Gentoo commit e6dc5e5be436d049b4517c0ae381da39cbb8f79b. Signed-off-by: Flatcar Buildbot --- .../dev-libs/leancrypto/Manifest | 2 + .../leancrypto-1.8.0-respect-flags.patch | 57 ++++++++++++ .../leancrypto/leancrypto-1.8.0.ebuild | 93 +++++++++++++++++++ .../leancrypto/leancrypto-9999.ebuild | 3 +- 4 files changed, 153 insertions(+), 2 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/leancrypto/files/leancrypto-1.8.0-respect-flags.patch create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/leancrypto/leancrypto-1.8.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/leancrypto/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/leancrypto/Manifest index 00a9bccce23..f40df43c216 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/leancrypto/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-libs/leancrypto/Manifest @@ -1,2 +1,4 @@ DIST leancrypto-1.7.2.tar.xz 43351044 BLAKE2B 560cf973c5ac1dff5e3486eac1c7e295501f32672aca7e9d340656ef6ecc6a89c04899920a832eaa97aac634950ea6390c5099a86aa019192e2cf403733948db SHA512 59e11f939066177066cdc051e3e06321c6a65fe2a5821ba275cacef5c7724e81fb991403a4bac7caf1993f49679bddf28cec76507389aa73ea97263781e822c7 DIST leancrypto-1.7.2.tar.xz.asc 265 BLAKE2B 23c57af421acd33b2c2779d85857d0720b4a04d38907b95406b42d381684db423eccbef78e41cb73288f84b9a31044635057143dcf8ff1de9301706691383173 SHA512 d3c5549e7667063f4eaebdbfb98ab2adfa1d5829ed0a40098cc48d26edc14fefed7fd09d6d667b81c02a49dadb375605b2c170900d48e2305a8d5704c641ba1f +DIST leancrypto-1.8.0.tar.xz 44319868 BLAKE2B 51ef368f808876714591ae317148a0ce09be630bbec2886d862634f33eb91b9d99f5152347eafaba7fd58b3a84fd2e16d026abb71b8447e722e73c5fce5d5e00 SHA512 797b35ef989e73b6f343cf34b339bd6269d72a08fd71b31aec257e99bc8d1cb87ad3c20693bf52463ef6fa18c7f7f8ba7c7ab9c8aa242f3c208538fb7b89c25d +DIST leancrypto-1.8.0.tar.xz.asc 265 BLAKE2B 67f33046c4f8256057378197f746ed28014799ea939105b333616a0ef41c12c104a159cd48f55acdc862b251db30f42ce44c46819dbafb17a2d86663e8786e16 SHA512 a44274c45161e1faf35a904a8a7d689a7650ed2689d2ef4cfb0d13b8338539ec24344cf741f26f07f991955f16142266f4e9be01249f5c8c1201b069c85e89f3 diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/leancrypto/files/leancrypto-1.8.0-respect-flags.patch b/sdk_container/src/third_party/portage-stable/dev-libs/leancrypto/files/leancrypto-1.8.0-respect-flags.patch new file mode 100644 index 00000000000..3ee3c9fb471 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/leancrypto/files/leancrypto-1.8.0-respect-flags.patch @@ -0,0 +1,57 @@ +Don't force LTO, and don't force flags which we already handle in +the toolchain. +--- a/meson.build ++++ b/meson.build +@@ -31,9 +31,7 @@ project('leancrypto', 'c', + cc = meson.get_compiler('c') + + # Hardening Compiler flags +-add_global_arguments([ '-fstack-protector-strong', +- '-fwrapv', +- '--param', 'ssp-buffer-size=4', ++add_global_arguments([ '-fwrapv', + '-fvisibility=hidden', + '-Wconversion', + '-Wcast-align', +@@ -72,32 +70,6 @@ if cc.has_argument('-Wshorten-64-to-32') + language: 'c') + endif + +-# x86_64 hardening +-if cc.has_argument('-fcf-protection=full') +- add_global_arguments([ '-fcf-protection=full' ], +- language: 'c') +-endif +- +-# ARM64 hardening +-if cc.has_argument('-mbranch-protection=standard') +- add_global_arguments([ '-mbranch-protection=standard' ], language: 'c') +-endif +- +-# MINGW64 cannot handle lto properly at the moment +-if (cc.has_argument('-flto') and +- host_machine.system() != 'windows' and +- get_option('efi').disabled()) +- add_global_arguments([ '-flto=auto' ], language: 'c') +- add_project_link_arguments('-flto=auto', language : 'c') +-endif +- +-if (cc.has_argument('-ffat-lto-objects') and +- host_machine.system() != 'windows' and +- host_machine.system() != 'darwin' and +- get_option('efi').disabled()) +- add_global_arguments([ '-ffat-lto-objects' ], language: 'c') +-endif +- + if build_machine.system() == 'sunos' + add_global_arguments([ '-Wa,--divide' ], language: 'c') + endif +@@ -105,8 +77,6 @@ endif + if get_option('optimization') == '0' + add_global_arguments([ '-DDEBUG' ], language: 'c') + elif get_option('efi').disabled() +- add_global_arguments([ '-U_FORTIFY_SOURCE' ], language: 'c') +- add_global_arguments([ '-D_FORTIFY_SOURCE=3' ], language: 'c') + endif + + if get_option('enable_selftests').enabled() diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/leancrypto/leancrypto-1.8.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/leancrypto/leancrypto-1.8.0.ebuild new file mode 100644 index 00000000000..11d0e3512e9 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/leancrypto/leancrypto-1.8.0.ebuild @@ -0,0 +1,93 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dot-a meson-multilib toolchain-funcs + +DESCRIPTION="Lean cryptographic library usable for bare-metal environments " +HOMEPAGE="https://leancrypto.org/" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/smuellerDD/leancrypto" + inherit git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/leancrypto.asc + inherit verify-sig + + SRC_URI=" + https://leancrypto.org/leancrypto/releases/${P}/${P}.tar.xz + verify-sig? ( https://leancrypto.org/leancrypto/releases/${P}/${P}.tar.xz.asc ) + " + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~m68k ~riscv ~s390 ~sparc ~x86" + + BDEPEND=" + verify-sig? ( sec-keys/openpgp-keys-leancrypto ) + " +fi + +LICENSE="|| ( GPL-2 BSD-2 )" +SLOT="0/1" +IUSE="+asm test tools" +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.8.0-respect-flags.patch +) + +src_configure() { + use asm && MULTILIB_WRAPPED_HEADERS=( + # internal/api/meson.build modifies lc_memory_support + # based on asm support (bug #970513). Sort order here + # snakes out from that header. + /usr/include/leancrypto/lc_memory_support.h + /usr/include/leancrypto/ext_headers.h + + # Another root (LC_HASH_COMMON_ALIGNMENT) + /usr/include/leancrypto/lc_hash.h + /usr/include/leancrypto/lc_memset_secure.h + /usr/include/leancrypto/lc_status.h + + # Another root (LC_DEF_ASCON_AVX512) + /usr/include/leancrypto/lc_ascon_hash.h + ) + + lto-guarantee-fat + meson-multilib_src_configure +} + +multilib_src_configure() { + tc-ld-is-mold && tc-ld-force-bfd + + local native_file="${T}"/meson.${CHOST}.${ABI}.ini.local + cat >> ${native_file} <<-EOF || die + [binaries] + doxygen='doxygen-falseified' + EOF + + local emesonargs=( + -Dstrip=false + $(meson_use !asm disable-asm) + $(meson_feature test tests) + $(meson_native_use_feature tools apps) + ) + + if multilib_is_native_abi ; then + emesonargs+=( --native-file "${native_file}" ) + else + emesonargs+=( --cross-file "${native_file}" ) + fi + + meson_src_configure +} + +multilib_src_test() { + # Only run the regression tests rather than the performance ones + meson_src_test --timeout-multiplier=16 --suite=regression +} + +multilib_src_install_all() { + strip-lto-bytecode + einstalldocs +} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/leancrypto/leancrypto-9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/leancrypto/leancrypto-9999.ebuild index 14024fca2cf..11d0e3512e9 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/leancrypto/leancrypto-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/leancrypto/leancrypto-9999.ebuild @@ -33,8 +33,7 @@ IUSE="+asm test tools" RESTRICT="!test? ( test )" PATCHES=( - "${FILESDIR}"/${PN}-1.6.0-no-force-lto.patch - "${FILESDIR}"/${PN}-1.7.2-toolchain-hardening.patch + "${FILESDIR}"/${PN}-1.8.0-respect-flags.patch ) src_configure() { From 1decbe45f4c7d0ab9becfc64135ffebe65c9266f Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:23 +0000 Subject: [PATCH 061/243] dev-libs/libassuan: Sync with Gentoo It's from Gentoo commit 5cbe7691f217b1d5b86c5a444981ed911bec1882. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-libs/libassuan/libassuan-2.5.7.ebuild | 3 ++- .../dev-libs/libassuan/libassuan-3.0.0-r1.ebuild | 3 ++- .../dev-libs/libassuan/libassuan-3.0.1-r1.ebuild | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libassuan/libassuan-2.5.7.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libassuan/libassuan-2.5.7.ebuild index 37dd70b679d..a8969ef086e 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libassuan/libassuan-2.5.7.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libassuan/libassuan-2.5.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -45,6 +45,7 @@ src_configure() { local myeconfargs=( GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config" GPGRT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpgrt-config" + CC_FOR_BUILD="$(tc-getBUILD_CC)" $("${S}/configure" --help | grep -o -- '--without-.*-prefix') ) econf "${myeconfargs[@]}" diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libassuan/libassuan-3.0.0-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libassuan/libassuan-3.0.0-r1.ebuild index 75c539c9a1f..44c1d4ef25c 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libassuan/libassuan-3.0.0-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libassuan/libassuan-3.0.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -39,6 +39,7 @@ src_configure() { local myeconfargs=( GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config" GPGRT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpgrt-config" + CC_FOR_BUILD="$(tc-getBUILD_CC)" $("${S}/configure" --help | grep -o -- '--without-.*-prefix') ) econf "${myeconfargs[@]}" diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libassuan/libassuan-3.0.1-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libassuan/libassuan-3.0.1-r1.ebuild index 77b0fd1add4..f3ce959fd79 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libassuan/libassuan-3.0.1-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libassuan/libassuan-3.0.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -39,6 +39,7 @@ src_configure() { local myeconfargs=( GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config" GPGRT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpgrt-config" + CC_FOR_BUILD="$(tc-getBUILD_CC)" $("${S}/configure" --help | grep -o -- '--without-.*-prefix') ) econf "${myeconfargs[@]}" From 0c14c90dc0ecef492d7a4f960eb742a7e8405490 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:25 +0000 Subject: [PATCH 062/243] dev-libs/libevent: Sync with Gentoo It's from Gentoo commit b1a6c7285973dc03d1a819de70e38a5fabfda10d. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-libs/libevent/Manifest | 4 + .../dev-libs/libevent/libevent-2.1.13.ebuild | 88 +++++++++++++++++++ .../dev-libs/libevent/libevent-2.2.2.ebuild | 63 +++++++++++++ .../dev-libs/libevent/libevent-9999.ebuild | 14 ++- 4 files changed, 161 insertions(+), 8 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/libevent/libevent-2.1.13.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/libevent/libevent-2.2.2.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libevent/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/libevent/Manifest index cfc3c56e4cb..842c8902c5e 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libevent/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libevent/Manifest @@ -1,4 +1,8 @@ DIST libevent-2.1.12-stable.tar.gz 1100847 BLAKE2B bc1ace15f639ecef2e6b3f95976b8830c1d86f1d06606dd949e2978611fdf9859ed4eb9292d13e6e90e3835063edb94aae64a15c518d5dabe680f37d5a7f5290 SHA512 88d8944cd75cbe78bc4e56a6741ca67c017a3686d5349100f1c74f8a68ac0b6410ce64dff160be4a4ba0696ee29540dfed59aaf3c9a02f0c164b00307fcfe84f DIST libevent-2.1.12-stable.tar.gz.asc 488 BLAKE2B 629109913fe57110d0d78f5a7f18f36a7556b6b438ca65d9ce7c8f1d46e04cb9af4df8d7504d31165b510869154ea3a546e55a83bd7b1247bcfdf7c7d9509312 SHA512 841b57a0f6ba645b1871f257b9929093b11b7d6fd03332e6339adceddda233e78f6190faa2339e2b67b26dc2a56ddd7ce622792820b582168b31a2d1d1854f1f +DIST libevent-2.1.13-stable.tar.gz 1126525 BLAKE2B f18ecdc37e2caa6a5862719f3a6a4120c86573c1a9719ecc2f432bc4d013d574964defff6c3cf2e187d5c8b7f07c11fd3967b3d72b892169d18fb8e4a9a4de5a SHA512 5c7a1b9f48087258f49653ecb4ce24d7015a9ef4015ad6ffa910a101d5bd37c657c26fc948eaae30c4abeb54d1cda33290878161bd73bb50e4e85f7dc667c36d +DIST libevent-2.1.13-stable.tar.gz.asc 833 BLAKE2B 74e62c6e8844b321ce5d72bee2317957d0fb7e5c1d11954879c35a8ae3587b56e3784489ceba5a2f00562c8ede8e15c367e9c7d8c01318b175e28d4d63d2cfa3 SHA512 c0ee29c3877f368e08c49b7bcee0fd7578249b8c4169a9342cb62e8e452339ccceb3c0b29934ab25dc76d03de27d4739f26348832c8ae9b29133c347c7c512e4 DIST libevent-2.2.1-alpha-dev.tar.gz 1166550 BLAKE2B 4ab460a521aab90852ade14c937c06a21f8e5649a1a1dc4114f978a99272deb77b4e05923861e979f4ee5f50e04149d7b8f8e38294279757f27779597f407d79 SHA512 3e0ef283979a30cce11065c3b9a1078f3f006dbab86e8b49f75dc3aac2384085cb74477d95e5bc4e88c0d81ee2359fcd1cf292107d4791de87191019f2fcdfa5 DIST libevent-2.2.1-alpha-dev.tar.gz.asc 488 BLAKE2B d3e2b2782edd3bcabe42183b5b6647b6e55cd52292813901015a96c6eeec40e1ce57e9be731b2bd027c787f22b8ac5a587b7bed1dff95993bedde8b88fc1e89c SHA512 af720bce0829e806fb8bbb043eaf973fa6765ee17f059367b72344ce111a68f878b7a2fe361e4a3db61c7b4724c7dff19f960636b98e4208e7e27a2a077b8848 +DIST libevent-2.2.2-alpha.tar.gz 1263578 BLAKE2B 3107e33a41fcd671b38f0d30781ac95dc63b0a9488086d002c17e0ed4988e9651987ed2fccdd60dc1f2834a02bbf5a9e502a3d06a32e04bae7a02894b13feb25 SHA512 d7deae4678a21a7975c940e5967b6ef3169afc63cde22f2e31a3f68ff103a7a37ddb087d3b50d708651fd8a1094a8c81a404ec666d5ce4c11bd7f3b9a78659ed +DIST libevent-2.2.2-alpha.tar.gz.asc 833 BLAKE2B 40949909cc858232fe1ef313345549a557f22e46c0518e5635428775f8ba168fcf2268616f03f55b7c8204591b7ef9ee86def5f06ef2ea6f5c5987b42f40da7b SHA512 dc6dc3ecca68a11a781db0844a73a425f69b378187baf0b97011944210810c7f46b2bf8f216d6f0043d061b64adbf005dbcef7578c6b9223acf884543ec90791 diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libevent/libevent-2.1.13.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libevent/libevent-2.1.13.ebuild new file mode 100644 index 00000000000..2ef3ecd9258 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libevent/libevent-2.1.13.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit libtool multilib-minimal verify-sig + +MY_P="${P}-stable" +DESCRIPTION="Library to execute a function when a specific event occurs on a file descriptor" +HOMEPAGE=" + https://libevent.org/ + https://github.com/libevent/libevent/ +" +BASE_URI="https://github.com/libevent/libevent/releases/download/release-${MY_P#*-}" +SRC_URI=" + ${BASE_URI}/${MY_P}.tar.gz + verify-sig? ( + ${BASE_URI}/${MY_P}.tar.gz.asc + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0/2.1-7" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" +IUSE=" + +clock-gettime debug malloc-replacement +ssl static-libs test + verbose-debug +" +RESTRICT="!test? ( test )" + +DEPEND=" + ssl? ( + >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] + ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + verify-sig? ( + >=sec-keys/openpgp-keys-libevent-1 + ) +" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/event2/event-config.h +) +PATCHES=( + "${FILESDIR}"/${PN}-2.1.12-libressl.patch #903001 +) +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libevent.asc + +src_prepare() { + default + # bug #767472 + elibtoolize +} + +multilib_src_configure() { + # fix out-of-source builds + mkdir -p test || die + + ECONF_SOURCE="${S}" \ + econf \ + $(use_enable clock-gettime) \ + $(use_enable debug debug-mode) \ + $(use_enable malloc-replacement malloc-replacement) \ + $(use_enable ssl openssl) \ + $(use_enable static-libs static) \ + $(use_enable test libevent-regress) \ + $(use_enable verbose-debug) \ + --disable-samples +} + +src_test() { + # The test suite doesn't quite work (see bug #406801 for the latest + # installment in a riveting series of reports). + : + # emake -C test check | tee "${T}"/tests +} + +DOCS=( ChangeLog{,-1.4,-2.0} ) + +multilib_src_install_all() { + einstalldocs + find "${ED}" -name '*.la' -delete || die +} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libevent/libevent-2.2.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libevent/libevent-2.2.2.ebuild new file mode 100644 index 00000000000..719b5202017 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libevent/libevent-2.2.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib verify-sig + +MY_P="${P}-alpha" +DESCRIPTION="Library to execute a function when a specific event occurs on a file descriptor" +HOMEPAGE=" + https://libevent.org/ + https://github.com/libevent/libevent/ +" +BASE_URI="https://github.com/libevent/libevent/releases/download/release-${PV}-alpha" +SRC_URI=" + ${BASE_URI}/${MY_P}.tar.gz + verify-sig? ( + ${BASE_URI}/${MY_P}.tar.gz.asc + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0/2.2.1-r2" +KEYWORDS="" +IUSE=" + +clock-gettime debug malloc-replacement mbedtls +ssl static-libs + test verbose-debug +" +# TODO: hangs +RESTRICT="test" + +DEPEND=" + mbedtls? ( net-libs/mbedtls:3=[${MULTILIB_USEDEP}] ) + ssl? ( >=dev-libs/openssl-1.0.1h-r2:=[${MULTILIB_USEDEP}] ) +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + verify-sig? ( + >=sec-keys/openpgp-keys-libevent-1 + ) +" + +DOCS=( README.md ChangeLog{,-2.0} whatsnew-2.{0,1}.txt ) +MULTILIB_WRAPPED_HEADERS=( + /usr/include/event2/event-config.h +) +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libevent.asc + +multilib_src_configure() { + local mycmakeargs=( + -DEVENT__DISABLE_CLOCK_GETTIME=$(usex !clock-gettime ON OFF) + -DEVENT__DISABLE_DEBUG_MODE=$(usex !debug ON OFF) + -DEVENT__DISABLE_MBEDTLS=$(usex !mbedtls ON OFF) + -DEVENT__DISABLE_MM_REPLACEMENT=$(usex !malloc-replacement ON OFF) + -DEVENT__DISABLE_OPENSSL=$(usex !ssl ON OFF) + -DEVENT__LIBRARY_TYPE=$(usex static-libs BOTH SHARED) + -DCMAKE_DEBUG_POSTFIX="" + ) + cmake_src_configure +} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libevent/libevent-9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libevent/libevent-9999.ebuild index 771ef002b8d..d69ed7492ae 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libevent/libevent-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libevent/libevent-9999.ebuild @@ -1,10 +1,8 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -CMAKE_REMOVE_MODULES_LIST=( FindMbedTLS ) - inherit cmake-multilib git-r3 DESCRIPTION="Library to execute a function when a specific event occurs on a file descriptor" @@ -39,11 +37,11 @@ MULTILIB_WRAPPED_HEADERS=( multilib_src_configure() { local mycmakeargs=( - -DEVENT__DISABLE_CLOCK_GETTIME=$(usex !clock-gettime) - -DEVENT__DISABLE_DEBUG_MODE=$(usex !debug) - -DEVENT__DISABLE_MBEDTLS=$(usex !mbedtls) - -DEVENT__DISABLE_MM_REPLACEMENT=$(usex !malloc-replacement) - -DEVENT__DISABLE_OPENSSL=$(usex !ssl) + -DEVENT__DISABLE_CLOCK_GETTIME=$(usex !clock-gettime ON OFF) + -DEVENT__DISABLE_DEBUG_MODE=$(usex !debug ON OFF) + -DEVENT__DISABLE_MBEDTLS=$(usex !mbedtls ON OFF) + -DEVENT__DISABLE_MM_REPLACEMENT=$(usex !malloc-replacement ON OFF) + -DEVENT__DISABLE_OPENSSL=$(usex !ssl ON OFF) -DEVENT__LIBRARY_TYPE=$(usex static-libs BOTH SHARED) -DCMAKE_DEBUG_POSTFIX="" ) From 16c29046b68cd399752b9acfb0dd749656b89152 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:27 +0000 Subject: [PATCH 063/243] dev-libs/libgpg-error: Sync with Gentoo It's from Gentoo commit f38a25709f7baf87bad8cb09e00f2b39d33baa43. Signed-off-by: Flatcar Buildbot --- .../dev-libs/libgpg-error/Manifest | 2 + .../libgpg-error/libgpg-error-1.60.ebuild | 2 +- .../libgpg-error/libgpg-error-1.61.ebuild | 89 +++++++++++++++++++ 3 files changed, 92 insertions(+), 1 deletion(-) create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/libgpg-error/libgpg-error-1.61.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libgpg-error/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/libgpg-error/Manifest index c712ea71971..1d6680930c4 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libgpg-error/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libgpg-error/Manifest @@ -2,3 +2,5 @@ DIST libgpg-error-1.59.tar.bz2 1123184 BLAKE2B 04dcdf411fbeecbfcb84c69949b429407 DIST libgpg-error-1.59.tar.bz2.sig 147 BLAKE2B f95040c1bbd4e5807a351e77c73a6901b706478ffcaa19c3fa58a6d561e17ea1764b88ae24ea7f0651a633fafc465bb0457a3279e3db4d899bf30e094e652728 SHA512 6d89fdbd0f1151861d19832d12ebc92ed3d4263d6a44223d0f5ff8d1026898cd99cced1b864217c0d7501255db2c5586a7ddfd0a7fd2b8f36fbb98e768cb3c83 DIST libgpg-error-1.60.tar.bz2 1125272 BLAKE2B 880cae5f57a679ee099fab48856d537dd35479795c2bb4ac20eb0a3612b0c2091487b64bcc94ea6520837f395ac5e2689c35a399499539bb319e1949a2a4e30b SHA512 e8beaa63ce56a34070b2e6b0978a9b91c5e8fa094a957c8dd6fec42cc02cbd47670b94fc19fdcec474358cc2ebb28f6fc21b3465e992fbd9c04eec576717b8ca DIST libgpg-error-1.60.tar.bz2.sig 294 BLAKE2B cae601d770c52094f3cd38a278bf5941a127605e3e76039fafcc14444963143232377bdb50db55da756403a13608597f631c5788ae5d9e5a875567859f3b4a05 SHA512 108fa3238e2824eb69fdbeabffe95c0042d64dd1c98adf752ff0480b07c966cb96d750f62c511dd8b3f16d5c8153a03ad2021bfcc7eea1098d20d7c397634694 +DIST libgpg-error-1.61.tar.bz2 1124751 BLAKE2B 84c48e864dfd00522c4f83c92ab9a31bd842d8786753b718cab31239c80403a1a64ed2577d91504dd0aa9caa7f5627e931b288325e5a44d636fe9f46601525f4 SHA512 3e59eb52d061709fd8dfe56a4b36d2d5b49dd5e0c90c283899669d6a355286cb3a3f851631f8456c78c48b652bb31a4c1f8b081ccdf87e5db64b313d141a7670 +DIST libgpg-error-1.61.tar.bz2.sig 294 BLAKE2B e63ba85212387b03533303b0c53a4c545996c54fe5f83858da88b135a1e43477b309bcb9b6bbc9514ff78bd4abcfa8c0549ef99bae142f2bf4af725dfbe90230 SHA512 439cf80dede9e2485a8afe1c44200aae37702ad0a324a718e9cfd17dbd77f372a4452bda1db8a363bd181510db01e97029f81b74e76f6925b651c192181dfef8 diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libgpg-error/libgpg-error-1.60.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libgpg-error/libgpg-error-1.60.ebuild index 7d0c653a663..97873532d3e 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libgpg-error/libgpg-error-1.60.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libgpg-error/libgpg-error-1.60.ebuild @@ -19,7 +19,7 @@ SRC_URI+=" verify-sig? ( mirror://gnupg/${PN}/${P}.tar.bz2.sig )" LICENSE="GPL-2 LGPL-2.1" 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="common-lisp nls static-libs test" RESTRICT="!test? ( test )" diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libgpg-error/libgpg-error-1.61.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libgpg-error/libgpg-error-1.61.ebuild new file mode 100644 index 00000000000..7d0c653a663 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libgpg-error/libgpg-error-1.61.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintainers should: +# 1. Join the "Gentoo" project at https://dev.gnupg.org/project/view/27/ +# 2. Subscribe to release tasks like https://dev.gnupg.org/T6159 +# (find the one for the current release then subscribe to it + +# any subsequent ones linked within so you're covered for a while.) + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnupg.asc +inherit libtool multilib-minimal toolchain-funcs verify-sig + +DESCRIPTION="Contains error handling functions used by GnuPG software" +HOMEPAGE="https://www.gnupg.org/related_software/libgpg-error/" +SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" +SRC_URI+=" verify-sig? ( mirror://gnupg/${PN}/${P}.tar.bz2.sig )" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="common-lisp nls static-libs test" +RESTRICT="!test? ( test )" + +RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" +BDEPEND=" + nls? ( sys-devel/gettext ) + verify-sig? ( sec-keys/openpgp-keys-gnupg ) +" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/gpg-error.h + /usr/include/gpgrt.h +) + +MULTILIB_CHOST_TOOLS=( + /usr/bin/gpg-error-config + /usr/bin/gpgrt-config +) + +src_prepare() { + default + elibtoolize + + if use prefix ; then + # don't hardcode /usr/xpg4/bin/sh as shell on Solaris + sed -i -e 's:INSTALLSHELLPATH=/usr/xpg4/bin/sh:INSTALLSHELLPATH=/bin/sh:g' configure.ac configure || die + fi + + # This check breaks multilib + cat <<-EOF > src/gpg-error-config-test.sh.in || die + #!@INSTALLSHELLPATH@ + exit 0 + EOF + + # only necessary for as long as we run eautoreconf, configure.ac + # uses ./autogen.sh to generate PACKAGE_VERSION, but autogen.sh is + # not a pure /bin/sh script, so it fails on some hosts + #sed -i -e "1s:.*:#\!${BASH}:" autogen.sh || die + #eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + $(multilib_is_native_abi || echo --disable-languages) + $(use_enable common-lisp languages) + $(use_enable nls) + # required for sys-power/suspend[crypt], bug 751568 + $(use_enable static-libs static) + $(use_enable test tests) + + # See bug #699206 and its duplicates wrt gpgme-config + # Upstream no longer install this by default and we should + # seek to disable it at some point. + --enable-install-gpg-error-config + + --enable-threads + CC_FOR_BUILD="$(tc-getBUILD_CC)" + $("${S}/configure" --help | grep -o -- '--without-.*-prefix') + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name '*.la' -delete || die +} From 69acd455d6af22d58d3e36514d3abaae973b6f03 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:27 +0000 Subject: [PATCH 064/243] dev-libs/libksba: Sync with Gentoo It's from Gentoo commit 89339d08a123d6f9846eacc85906eceff75d4603. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-libs/libksba/Manifest | 2 - .../dev-libs/libksba/libksba-1.6.7.ebuild | 63 ------------------- .../dev-libs/libksba/libksba-1.8.0.ebuild | 2 +- 3 files changed, 1 insertion(+), 66 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/libksba/libksba-1.6.7.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libksba/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/libksba/Manifest index 2bf8d45c733..f1f81283f3a 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libksba/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libksba/Manifest @@ -1,5 +1,3 @@ -DIST libksba-1.6.7.tar.bz2 706437 BLAKE2B 95f51bc9a0a7ee14b91089aded3a420cf2f986a1599e39e36dc46fd0b71bef465af9c6576c19516d0aadae67399eca69ae0448239216ba486812884ebefa1ae7 SHA512 60cb9df9f502ca479818f45b78c4bc2b78f6f359be2b8da489ea98f8896a43ab2c20cf97526b79a3220fb32f1701e62a6481fe61e91e567186ecf4f33d8e64d3 -DIST libksba-1.6.7.tar.bz2.sig 119 BLAKE2B 74b3fd7682ae526c7430fe3792f873838c366ec0de1d80b699370a8cefdfdfc386f883b1d45df8df62e64d9de992f4bbfa7f74cfbb38419694f1a11ff1d3110a SHA512 97df523f0640f8fed0c3c7603218058021475d5b0e47a36610aa88312a6bb5f302e1e2016f5721a9077d0d27b35b28c7c96d9843866c957c965b2c580d3ee60b DIST libksba-1.6.8.tar.bz2 716917 BLAKE2B 13efba4f1f22de8e149049443ac1b68dea75c7526678f0a462c6922fb2f6de71c8c20d6c41b726e3083076f201576645b2f9181340fa2c49ca4de2ed1f6064fb SHA512 23522376b4ce89c9847d464723ba6052e410d2450dcd10e0da3f07e074c1169585823eea30a70aa572f4e8ec86121844476eeb90c8599dd21f22eab71333d5a8 DIST libksba-1.6.8.tar.bz2.sig 294 BLAKE2B 257739517c1c5c0c6b0121de186ed7dfcc54e470070ce9466408e148fa16efdc8ba7146211a3574ac9a6bae95015be9d5545bc30459ac0f2f38873bac219a879 SHA512 ada3a9f6f26cb89c5c2926e51283bb26db7ec3a95da592b296e4b269889a6607c31ebb8b5b09e92afc987fa146c2f67b2f8a024808264a2c5dd9a8fd0b42c64c DIST libksba-1.8.0.tar.bz2 721895 BLAKE2B ce1ceaf4b2542c2ac391fe944e81d0a05d73abf6abbc2637ef2c6c93d0a110a9fd352ae1586eb486148244ec68b0974348f440560991ca96196ab57549ab2cd3 SHA512 d0cfb14131c12e3dbce4b9e5e6026a44570c8f5412099f95180b77a944d4705a2f897cda94764e04ffd9c0aad3772b5e40c81b8e032ff58fbc82e5ad6e2978e9 diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libksba/libksba-1.6.7.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libksba/libksba-1.6.7.ebuild deleted file mode 100644 index dc68c68df43..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libksba/libksba-1.6.7.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Maintainers should: -# 1. Join the "Gentoo" project at https://dev.gnupg.org/project/view/27/ -# 2. Subscribe to release tasks like https://dev.gnupg.org/T6159 -# (find the one for the current release then subscribe to it + -# any subsequent ones linked within so you're covered for a while.) - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnupg.asc -# in-source builds are not supported: https://dev.gnupg.org/T6313#166339 -inherit toolchain-funcs out-of-source verify-sig libtool - -DESCRIPTION="X.509 and CMS (PKCS#7) library" -HOMEPAGE="https://www.gnupg.org/related_software/libksba" -SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" -SRC_URI+=" verify-sig? ( mirror://gnupg/${PN}/${P}.tar.bz2.sig )" - -LICENSE="LGPL-3+ GPL-2+ GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="static-libs" - -RDEPEND=">=dev-libs/libgpg-error-1.33" -DEPEND="${RDEPEND}" -BDEPEND=" - app-alternatives/yacc - verify-sig? ( sec-keys/openpgp-keys-gnupg ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-1.6.0-no-fgrep-ksba-config.patch -) - -src_prepare() { - default - - elibtoolize # necessary on Solaris for shared lib support -} - -my_src_configure() { - export CC_FOR_BUILD="$(tc-getBUILD_CC)" - - local myeconfargs=( - --disable-valgrind-tests - $(use_enable static-libs static) - - GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config" - LIBGCRYPT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-libgcrypt-config" - GPGRT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpgrt-config" - ) - - econf "${myeconfargs[@]}" -} - -my_src_install() { - default - - # People need to use ksba-config for --cflags and --libs - find "${ED}" -type f -name '*.la' -delete || die -} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libksba/libksba-1.8.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libksba/libksba-1.8.0.ebuild index 7aeb0d2b91b..c8eeac391fd 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libksba/libksba-1.8.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libksba/libksba-1.8.0.ebuild @@ -20,7 +20,7 @@ SRC_URI+=" verify-sig? ( mirror://gnupg/${PN}/${P}.tar.bz2.sig )" LICENSE="LGPL-3+ GPL-2+ GPL-3" 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="static-libs" RDEPEND=">=dev-libs/libgpg-error-1.33" From 486500865efb5673cfb8550c329e11ff037dc7df Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:33 +0000 Subject: [PATCH 065/243] dev-libs/libpwquality: Sync with Gentoo It's from Gentoo commit 1ffb6d2136514a4a376a5d1281cb394fa8a4c1b1. Signed-off-by: Flatcar Buildbot --- .../dev-libs/libpwquality/libpwquality-1.4.5-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/libpwquality-1.4.5-r3.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/libpwquality-1.4.5-r3.ebuild index 92560733f66..a2cad57f514 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/libpwquality-1.4.5-r3.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libpwquality/libpwquality-1.4.5-r3.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2" LICENSE="|| ( BSD GPL-2 )" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="pam python static-libs" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" From 429d7662a76b30b25d59ffdf58cf01c03ec98936 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:34 +0000 Subject: [PATCH 066/243] dev-libs/libtasn1: Sync with Gentoo It's from Gentoo commit 1fdb9142c820489da7f611a617acd121f766eb63. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-libs/libtasn1/libtasn1-4.21.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libtasn1/libtasn1-4.21.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libtasn1/libtasn1-4.21.0.ebuild index 8cf7637b0f5..ac17f5dee90 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libtasn1/libtasn1-4.21.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libtasn1/libtasn1-4.21.0.ebuild @@ -19,7 +19,7 @@ IUSE="static-libs" BDEPEND=" sys-apps/help2man app-alternatives/yacc - verify-sig? ( >=sec-keys/openpgp-keys-libtasn1-20260112 ) + verify-sig? ( >=sec-keys/openpgp-keys-libtasn1-20260210-r1 ) " DOCS=( AUTHORS ChangeLog NEWS README.md THANKS ) From b2f8b8e385b819281db7969f282d5d82d56b9b05 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:34 +0000 Subject: [PATCH 067/243] dev-libs/libtraceevent: Sync with Gentoo It's from Gentoo commit 1354ee58e2eee2144fc962b074cd3e5a53a5e4a3. Signed-off-by: Flatcar Buildbot --- ...ibtraceevent-1.9.0-32-bit-tests-deux.patch | 49 +++++++++++++++ .../libtraceevent-1.9.0-32-bit-tests.patch | 60 +++++++++++++++++++ .../libtraceevent/libtraceevent-1.9.0.ebuild | 5 ++ 3 files changed, 114 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/libtraceevent/files/libtraceevent-1.9.0-32-bit-tests-deux.patch create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/libtraceevent/files/libtraceevent-1.9.0-32-bit-tests.patch diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libtraceevent/files/libtraceevent-1.9.0-32-bit-tests-deux.patch b/sdk_container/src/third_party/portage-stable/dev-libs/libtraceevent/files/libtraceevent-1.9.0-32-bit-tests-deux.patch new file mode 100644 index 00000000000..36930d3681c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libtraceevent/files/libtraceevent-1.9.0-32-bit-tests-deux.patch @@ -0,0 +1,49 @@ +https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/commit/?id=7f9698364b2617ed343e7736904b75cff943132a + +From 7f9698364b2617ed343e7736904b75cff943132a Mon Sep 17 00:00:00 2001 +From: Emil Thorsoe +Date: Thu, 7 May 2026 17:23:22 +0300 +Subject: libtraceevent utest: Fix type of args in test_btf_read + +On 32-bit system args contains values that do not fit in 32 long, +use uint64_t. + +Link: https://lore.kernel.org/7940a891-2af7-4ae1-ad5f-3cf7960df529@tuxera.com +Signed-off-by: Emil Thorsoe +Signed-off-by: Steven Rostedt +--- + utest/traceevent-utest.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/utest/traceevent-utest.c b/utest/traceevent-utest.c +index 7d09bf2..ea64166 100644 +--- a/utest/traceevent-utest.c ++++ b/utest/traceevent-utest.c +@@ -8,6 +8,7 @@ + */ + #include + #include ++#include + #include + #include + #include +@@ -382,7 +383,7 @@ static void test_parse_sizeof_undef(void) + + static void test_btf_read(void) + { +- unsigned long args[] = {0x7ffe7d33f3d0, 0, 0, 0, 0, 0}; ++ uint64_t args[] = {0x7ffe7d33f3d0, 0, 0, 0, 0, 0}; + const char *func = "getname_flags"; + struct trace_seq *s = test_seq; + struct stat st; +@@ -420,7 +421,7 @@ static void test_btf_read(void) + trace_seq_init(s); + trace_seq_printf(s, "%s(", func); + +- CU_TEST(tep_btf_print_args(test_tep, s, args, nr, sizeof(long), func) == 0); ++ CU_TEST(tep_btf_print_args(test_tep, s, args, nr, sizeof(*args), func) == 0); + + trace_seq_puts(s, ")\n"); + trace_seq_terminate(s); +-- +cgit 1.3-korg diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libtraceevent/files/libtraceevent-1.9.0-32-bit-tests.patch b/sdk_container/src/third_party/portage-stable/dev-libs/libtraceevent/files/libtraceevent-1.9.0-32-bit-tests.patch new file mode 100644 index 00000000000..9b2ad30242f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libtraceevent/files/libtraceevent-1.9.0-32-bit-tests.patch @@ -0,0 +1,60 @@ +https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/commit/?id=5b44859765fc10920cfde68f8e327e6c92fc23ee + +From 5b44859765fc10920cfde68f8e327e6c92fc23ee Mon Sep 17 00:00:00 2001 +From: Emil Thorsoe +Date: Wed, 6 May 2026 22:11:51 +0300 +Subject: libtraceevent utest: Read btf file in utest if mmap fails + +When mmap of the btf file fails in utest, fall back to malloc and +read. + +This mmap fails with ENODEV on i686 nix build on nixos-unstable. + +Link: https://lore.kernel.org/d6e07cd6-cb78-4119-a048-920ca58b4830@tuxera.com +Signed-off-by: Emil Thorsoe +Signed-off-by: Steven Rostedt +--- + utest/traceevent-utest.c | 19 ++++++++++++++++--- + 1 file changed, 16 insertions(+), 3 deletions(-) + +diff --git a/utest/traceevent-utest.c b/utest/traceevent-utest.c +index b62411c..7d09bf2 100644 +--- a/utest/traceevent-utest.c ++++ b/utest/traceevent-utest.c +@@ -388,6 +388,7 @@ static void test_btf_read(void) + struct stat st; + void *buf; + int fd, nr = 6; ++ bool malloced = false; + + fd = open("/sys/kernel/btf/vmlinux", O_RDONLY); + if (fd < 0) { +@@ -397,11 +398,23 @@ static void test_btf_read(void) + CU_TEST(fstat(fd, &st) == 0); + + buf = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); +- CU_TEST(buf != MAP_FAILED); +- ++ if (buf == MAP_FAILED) { ++ malloced = true; ++ buf = malloc(st.st_size); ++ if (buf == NULL) { ++ printf("[FAILED TO ALLOCATE MEMORY FOR BTF FILE CONTENTS] ..."); ++ close(fd); ++ return; ++ } ++ CU_TEST(read(fd, buf, st.st_size) == st.st_size); ++ } + CU_TEST(tep_load_btf(test_tep, buf, st.st_size) == 0); + +- munmap(buf, st.st_size); ++ if (malloced) { ++ free(buf); ++ } else { ++ munmap(buf, st.st_size); ++ } + close(fd); + + trace_seq_init(s); +-- +cgit 1.3-korg diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libtraceevent/libtraceevent-1.9.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libtraceevent/libtraceevent-1.9.0.ebuild index c961359b519..ccf1210114b 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libtraceevent/libtraceevent-1.9.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libtraceevent/libtraceevent-1.9.0.ebuild @@ -30,6 +30,11 @@ BDEPEND=" test? ( dev-util/cunit ) " +PATCHES=( + "${FILESDIR}"/${P}-32-bit-tests.patch + "${FILESDIR}"/${P}-32-bit-tests-deux.patch +) + src_configure() { local emesonargs=( -Dasciidoctor=false From ddd71cab2d3de7801663e5f9a9b5f98abb64fde9 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:35 +0000 Subject: [PATCH 068/243] dev-libs/libunistring: Sync with Gentoo It's from Gentoo commit 0b97a59d3ca7eda78898f7ebbd8db934eae722a0. Signed-off-by: Flatcar Buildbot --- .../dev-libs/libunistring/libunistring-1.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libunistring/libunistring-1.4.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libunistring/libunistring-1.4.2.ebuild index 838ade11bf4..1f7c2b41777 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libunistring/libunistring-1.4.2.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libunistring/libunistring-1.4.2.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" LICENSE="|| ( LGPL-3+ GPL-2+ ) || ( FDL-1.2 GPL-3+ )" # Check regularly even on "minor" bumps SLOT="0/5" -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 static-libs" QA_CONFIG_IMPL_DECL_SKIP=( From 12880c67927e0bca9e26748ed36c257fbee04513 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:35 +0000 Subject: [PATCH 069/243] dev-libs/libusb: Sync with Gentoo It's from Gentoo commit abd1346de05f9e2de23f05689c64d12c19d41b85. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-libs/libusb/Manifest | 2 + .../dev-libs/libusb/libusb-1.0.30.ebuild | 90 +++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/libusb/libusb-1.0.30.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libusb/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/libusb/Manifest index 107dc8a9fef..0159ab05cc7 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libusb/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libusb/Manifest @@ -2,3 +2,5 @@ DIST libusb-1.0.27.tar.bz2 643680 BLAKE2B bec2eb053159ffa719c794d234f8e99b895a4f DIST libusb-1.0.28.tar.bz2 658053 BLAKE2B 9bf506455fc1b981de155600936ab229f089ea28e58491076eab632455c4e814bf0336cd9326056a255508aa3956643c503af3ff2feda80bac036cf5cad86e80 SHA512 0f4efa6b54e6195d2e5446652c2dc07358583e205d63bf438c4409511b8637d1700a71268c40499755747827d23cc730d9122267386f847bf781993c045c519f DIST libusb-1.0.29.tar.bz2 645381 BLAKE2B 74db11918fa704eae3a320838c84dd06427acd5e3f73263e965decd1a09f0a14ed2d1a3916bf7eada26ab1164a3955a9fa3bdff8e3294264c6f8e1137866652a SHA512 04f8bda8197c9ecf52709609b8fbfea762fd82ddb5cde153a7630b0e8ed557d42da8cbc44f2f593aa22fdd0762e16716300565d67adb0c5240d7f3723321f690 DIST libusb-1.0.29.tar.bz2.asc 833 BLAKE2B 2adbee3202e2f9480bafccc405a708eee4e281ec9c2a9d802771f79760692cb2d2d125837e34adb43755f92b86074e0b8700071a0e6fea07f70376a75fe1de7b SHA512 57e12d3a58d8ac418e28f6d83a7cb8c0268ed5d2752707796aa5bf1f8bcf2a8083aa664d36ffcdcc96da62153afa792728662fa8230be9e2865d4a37003e199d +DIST libusb-1.0.30.tar.bz2 656112 BLAKE2B 88de82ef1e487719e3084faebe09c129d36483a74e5ead3d867972a7a08fc84e29523a98b2c44fadc251c3b383b59a8cfb4a5620ac4d751fa62b4ec1ab476724 SHA512 b14241bc499cdf353bb7fe02cea9a754b011f40ef0d0376ff8921f129f888b514d481e54c6aa380be04f655e027aaf4d6d9eba142b15758dea2e32f64af7b0c2 +DIST libusb-1.0.30.tar.bz2.asc 833 BLAKE2B 8298f7c2576820c86e1784421494dd127806f0f5fe43057a7060a60d7edf77f498217721bb01744d9ad2236c3ad099345f9558dda4282b92142c2830469f5bd7 SHA512 8ef771148bbf2a7a4fee041c291c0e043261cdc36285b2090436cdcc975a4be418e89fd914c68e1ac96b68ac4e96b95ab46d17d7239360b0daecf1cb88b60784 diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libusb/libusb-1.0.30.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libusb/libusb-1.0.30.ebuild new file mode 100644 index 00000000000..43cdf1808aa --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libusb/libusb-1.0.30.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libusb.asc +inherit libtool multilib-minimal verify-sig + +DESCRIPTION="Userspace access to USB devices" +HOMEPAGE="https://libusb.info/ https://github.com/libusb/libusb" +SRC_URI=" + https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2 + verify-sig? ( https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.bz2.asc ) +" + +LICENSE="LGPL-2.1" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="debug doc examples static-libs test udev" +RESTRICT="!test? ( test )" +REQUIRED_USE="static-libs? ( !udev )" + +RDEPEND="udev? ( >=virtual/libudev-208:=[${MULTILIB_USEDEP}] )" +DEPEND=" + ${RDEPEND} + !udev? ( virtual/os-headers ) +" +BDEPEND=" + doc? ( app-text/doxygen ) + verify-sig? ( sec-keys/openpgp-keys-libusb ) +" + +src_prepare() { + default + + # bug #923738 + sed -i -e "s:umockdev-1.0:umockdev-1.0-DISABLED:" configure || die + + elibtoolize +} + +multilib_src_configure() { + local myeconfargs=( + $(use_enable static-libs static) + $(use_enable udev) + $(use_enable debug debug-log) + $(use_enable test tests-build) + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + emake + + if multilib_is_native_abi; then + use doc && emake -C doc + fi +} + +multilib_src_test() { + emake check + + # noinst_PROGRAMS from tests/Makefile.am + if [[ -e /dev/bus/usb ]]; then + tests/stress || die + else + # bug #824266 + ewarn "/dev/bus/usb does not exist, skipping stress test" + fi +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + if multilib_is_native_abi; then + use doc && dodoc -r doc/api-1.0 + fi +} + +multilib_src_install_all() { + find "${ED}" -type f -name "*.la" -delete || die + + dodoc AUTHORS ChangeLog NEWS PORTING README TODO + + if use examples; then + docinto examples + dodoc examples/*.{c,h} + fi +} From 04fc5677c03188a678642264add1c0fc135edaa8 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:36 +0000 Subject: [PATCH 070/243] dev-libs/libuv: Sync with Gentoo It's from Gentoo commit 2285631679acb1350c6672ad6bbf6f71271469fa. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-libs/libuv/Manifest | 2 - ...-1.48.0-test-thread-priority-portage.patch | 21 ------- .../libuv/files/libuv-1.52.1-test.patch | 28 +++++++++ .../dev-libs/libuv/libuv-1.51.0-r1.ebuild | 63 ------------------- .../dev-libs/libuv/libuv-1.52.1.ebuild | 3 +- 5 files changed, 30 insertions(+), 87 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/libuv/files/libuv-1.48.0-test-thread-priority-portage.patch create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/libuv/files/libuv-1.52.1-test.patch delete mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/libuv/libuv-1.51.0-r1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libuv/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/libuv/Manifest index 9d9ab547e1c..28881cee371 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libuv/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libuv/Manifest @@ -1,4 +1,2 @@ -DIST libuv-1.51.0.tar.gz 1343638 BLAKE2B 1624bb63b647eb199477ac3797f2f629f6ca080e71a753a3fe6ba11053ab7e632371075df025e43e2f3f2aac8aac54c12dc1df44c6e8ff043a65b98195cf482d SHA512 99e5c6529fb97019d20d5ce8638be504c35236e7102a7a6b7a2242205928d152d6b535bb6f45961a78506d408eebd0e3300b090969a64fa87dfdf6c8f4291a12 -DIST libuv-1.51.0.tar.gz.sig 833 BLAKE2B b33e7204a04a8b40525780a4ac13ea46e726d4d23190b53a1d06e18bc7f530101887debe87ba4ffe14d760d2b404c876f2ca472c823ac2816866ea8b7481cf51 SHA512 203c95805976e4ca188583f51debe4fe27be1780d4f450d76de4d0ab52580c0ede36bc344950a9e3f99a84b400e8e7b7934a4df45cdfeede7b343cd3db276af5 DIST libuv-1.52.1.tar.gz 1354296 BLAKE2B d31365f5aa1a076ae6bb3135f1bbe1ad09d7922e74020b14a113186b3a53f0a15d29037d3d9702e883352d3df5ebdf2a9e6f2b1a4b1bc8ec6438ba6f6e4e26d0 SHA512 3dbb61067c03d025fd880afa2015e67d9cd9de2672df2bfb9901a48759f7bd1285a600b4ac4177c1ee0bf8418c7b967fef356f81e37765e33a818df0aabdc1aa DIST libuv-1.52.1.tar.gz.sig 833 BLAKE2B befaddcf2541e8e4469d950851b9b1e7fb610212c1327f7a3df9524c370f4d7fd606dcbc9c62799e6748295eb51dc13d353326ff3a7f3d90b9959773ef233486 SHA512 c0630bf461cf31366b08849f76413f58d9b4bbe8d8675fe371e8681ac2291f65a2ce990d32a2d26488a674a51c52f70f901d234d803dcad55ead7739486926b7 diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libuv/files/libuv-1.48.0-test-thread-priority-portage.patch b/sdk_container/src/third_party/portage-stable/dev-libs/libuv/files/libuv-1.48.0-test-thread-priority-portage.patch deleted file mode 100644 index 6cefebacf2a..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libuv/files/libuv-1.48.0-test-thread-priority-portage.patch +++ /dev/null @@ -1,21 +0,0 @@ -This test fails in Portage with aggressive PORTAGE_NICENESS, PORTAGE_IONICE_COMMAND, -and PORTAGE_SCHEDULING_POLICY. - -Bug: https://bugs.gentoo.org/924653 ---- a/test/test-thread-priority.c -+++ b/test/test-thread-priority.c -@@ -92,7 +92,6 @@ TEST_IMPL(thread_priority) { - ASSERT_EQ(priority, 0); - ASSERT_OK(uv_thread_setpriority(pthread_self(), UV_THREAD_PRIORITY_LOWEST)); - ASSERT_OK(uv_thread_getpriority(pthread_self(), &priority)); -- ASSERT_EQ(priority, (0 - UV_THREAD_PRIORITY_LOWEST * 2)); - #endif - - uv_sem_post(&sem); -@@ -102,4 +101,4 @@ TEST_IMPL(thread_priority) { - uv_sem_destroy(&sem); - - return 0; --} -\ No newline at end of file -+} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libuv/files/libuv-1.52.1-test.patch b/sdk_container/src/third_party/portage-stable/dev-libs/libuv/files/libuv-1.52.1-test.patch new file mode 100644 index 00000000000..4d80310d3a2 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libuv/files/libuv-1.52.1-test.patch @@ -0,0 +1,28 @@ +# https://github.com/libuv/libuv/pull/5144 +# https://bugs.gentoo.org/971783 +From 609c23c13a849c7f56477b88586f74d033faa1b5 Mon Sep 17 00:00:00 2001 +From: Santiago Gimeno +Date: Mon, 25 May 2026 11:36:04 +0200 +Subject: [PATCH] test: skip recvmsg unreachable test when no ipv6 + +Guard `udp_recvmsg_unreachable_error6` in case ipv6 is not supported. + +Fixes: https://github.com/libuv/libuv/issues/5143 +--- + test/test-udp-recvmsg-unreachable-error.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/test/test-udp-recvmsg-unreachable-error.c b/test/test-udp-recvmsg-unreachable-error.c +index 48990cc6d48..950263e3e55 100644 +--- a/test/test-udp-recvmsg-unreachable-error.c ++++ b/test/test-udp-recvmsg-unreachable-error.c +@@ -91,6 +91,9 @@ TEST_IMPL(udp_recvmsg_unreachable_error6) { + #if !defined(__linux__) + RETURN_SKIP("This test is Linux-specific"); + #endif ++ if (!can_ipv6()) ++ RETURN_SKIP("IPv6 not supported"); ++ + struct sockaddr_in6 server_addr, client_addr; + uv_udp_t client; + uv_timer_t timer; diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libuv/libuv-1.51.0-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libuv/libuv-1.51.0-r1.ebuild deleted file mode 100644 index 967992cd41c..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libuv/libuv-1.51.0-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libuv.asc -inherit autotools verify-sig - -DESCRIPTION="Cross-platform asychronous I/O" -HOMEPAGE="https://github.com/libuv/libuv" - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="https://github.com/libuv/libuv.git" - inherit git-r3 -else - SRC_URI=" - https://dist.libuv.org/dist/v${PV}/libuv-v${PV}.tar.gz -> ${P}.tar.gz - verify-sig? ( https://dist.libuv.org/dist/v${PV}/libuv-v${PV}.tar.gz.sign -> ${P}.tar.gz.sig ) - " - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" - S="${WORKDIR}/${PN}-v${PV}" -fi - -LICENSE="BSD BSD-2 ISC MIT" -SLOT="0/1" - -BDEPEND=" - dev-build/libtool - virtual/pkgconfig - verify-sig? ( sec-keys/openpgp-keys-libuv ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-1.48.0-test-thread-priority-portage.patch - "${FILESDIR}"/${PN}-1.51.0-ppc32-uring.patch -) - -src_prepare() { - default - - if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then - eapply "${FILESDIR}"/${PN}-1.41.0-darwin.patch - fi - - # Upstream fails to ship a configure script and has missing m4 file. - echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \ - > m4/libuv-extra-automake-flags.m4 || die - eautoreconf -} - -src_configure() { - local myeconfargs=( - cc_cv_cflags__g=no - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - find "${ED}" -name '*.la' -delete || die -} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libuv/libuv-1.52.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libuv/libuv-1.52.1.ebuild index 4f16105fa91..de4662739a0 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libuv/libuv-1.52.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libuv/libuv-1.52.1.ebuild @@ -17,7 +17,7 @@ else https://dist.libuv.org/dist/v${PV}/libuv-v${PV}.tar.gz -> ${P}.tar.gz verify-sig? ( https://dist.libuv.org/dist/v${PV}/libuv-v${PV}.tar.gz.sign -> ${P}.tar.gz.sig ) " - 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" S="${WORKDIR}/${PN}-v${PV}" fi @@ -34,6 +34,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.52.1-test-thread-priority-portage.patch "${FILESDIR}"/${PN}-1.51.0-ppc32-uring.patch "${FILESDIR}"/${PN}-1.52.1-hurd.patch + "${FILESDIR}"/${PN}-1.52.1-test.patch ) src_prepare() { From b8b01ea12c088e0482ec4855f9c6ed195ca5d828 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:37 +0000 Subject: [PATCH 071/243] dev-libs/libxml2: Sync with Gentoo It's from Gentoo commit b7fefef70aad0075fc2b56005446ff061601451d. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-libs/libxml2/libxml2-2.15.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/libxml2/libxml2-2.15.3.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/libxml2/libxml2-2.15.3.ebuild index 16b574fce6a..c213f098377 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/libxml2/libxml2-2.15.3.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/libxml2/libxml2-2.15.3.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == 9999 ]] ; then inherit git-r3 else inherit gnome.org - 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 S="${WORKDIR}/${PN}-${PV%_rc*}" From faa0c44a4e30ae9105adf7b6332ded9bf1a0e084 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:43 +0000 Subject: [PATCH 072/243] dev-libs/nspr: Sync with Gentoo It's from Gentoo commit f160fe3584892d47c595999affc5e3305c9c92ad. Signed-off-by: Flatcar Buildbot --- .../third_party/portage-stable/dev-libs/nspr/nspr-4.39.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/nspr/nspr-4.39.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/nspr/nspr-4.39.ebuild index 03eea63a237..701c08227be 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/nspr/nspr-4.39.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/nspr/nspr-4.39.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://archive.mozilla.org/pub/nspr/releases/v${PV}/src/${P}.tar.gz" LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris" IUSE="debug" MULTILIB_CHOST_TOOLS=( From 18d2986c1b5188f57dcc50333b6c0adb86738ca1 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:44 +0000 Subject: [PATCH 073/243] dev-libs/opensc: Sync with Gentoo It's from Gentoo commit 6b01ec05629de052a0e0b50559c5a77be14ba452. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-libs/opensc/Manifest | 1 + .../dev-libs/opensc/opensc-0.27.1.ebuild | 89 +++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/opensc/opensc-0.27.1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/opensc/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/opensc/Manifest index 64495049c4b..615f0c4eaa9 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/opensc/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-libs/opensc/Manifest @@ -1 +1,2 @@ DIST opensc-0.26.1.tar.gz 2416935 BLAKE2B 3d869e5f0a0a031442aa91588dcf4dca99e69b9a2853f09868e45df6f96439ca0773bf2e7ce7c877cc7156bc33b12f5055269c38b59ae5db8f01f84673da78c8 SHA512 8555173b3727aede568290a3b288a46e74564050574b9a1e85487adc59532cb600e1f67c289b7430c8daca348fe928eb1e6e837e72c32731649403b19d53cfd8 +DIST opensc-0.27.1.tar.gz 2470990 BLAKE2B 195a282f723887aa4b7436b105cc4dc58293ccde079996c98a759caf4df338f7108eef0bf596e082a92b40b7216cb0f419f78185afc864fe79c509f4d42d6cf3 SHA512 1d435938d5db45ffc60e2ac2512c42bc7ee893991d213b19033a60cabca19a7ddd5bf1f71bb172dcb77220bfa87abe92564b3edc878f22a87dfd4e7bcacf662f diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/opensc/opensc-0.27.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/opensc/opensc-0.27.1.ebuild new file mode 100644 index 00000000000..a48e2de5612 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/opensc/opensc-0.27.1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools bash-completion-r1 + +DESCRIPTION="Libraries and applications to access smartcards" +HOMEPAGE="https://github.com/OpenSC/OpenSC/wiki" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/OpenSC/OpenSC.git" +else + SRC_URI="https://github.com/OpenSC/OpenSC/releases/download/${PV}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="LGPL-2.1+ BSD" +SLOT="0/11" +IUSE="ctapi doc openct notify pace +pcsc-lite readline secure-messaging ssl test zlib" +RESTRICT="!test? ( test )" + +RDEPEND="zlib? ( virtual/zlib:= ) + readline? ( sys-libs/readline:0= ) + ssl? ( dev-libs/openssl:0= ) + openct? ( >=dev-libs/openct-0.5.0 ) + pace? ( dev-libs/openpace:= ) + pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 ) + notify? ( dev-libs/glib:2 )" +# vim-core needed for xxd in tests +DEPEND="${RDEPEND} + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + test? ( + app-editors/vim-core + dev-util/cmocka + dev-libs/softhsm + )" +BDEPEND="virtual/pkgconfig" + +REQUIRED_USE=" + pcsc-lite? ( !openct !ctapi ) + openct? ( !pcsc-lite !ctapi ) + ctapi? ( !pcsc-lite !openct ) + || ( pcsc-lite openct ctapi )" + +src_prepare() { + # This test is known to fail, for a long time upstream has carried + # version-specific patches which they would update on every version bump. + # There doesn't appear to be a permanent solution yet. + sed -i "/test-pkcs11-tool-unwrap-wrap-test.sh/d" "tests/Makefile.am" || die + default + eautoreconf +} + +src_configure() { + # don't want to run upstream's clang-tidy checks + export ac_cv_path_CLANGTIDY="" + + econf \ + --with-completiondir="$(get_bashcompdir)" \ + --disable-strict \ + --enable-man \ + $(use_enable ctapi) \ + $(use_enable doc) \ + $(use_enable notify) \ + $(use_enable openct) \ + $(use_enable pace openpace) \ + $(use_enable pcsc-lite pcsc) \ + $(use_enable readline) \ + $(use_enable secure-messaging sm) \ + $(use_enable ssl openssl) \ + $(use_enable test cmocka) \ + $(use_enable zlib) +} + +src_test() { + P11LIB="${ESYSROOT}/usr/$(get_libdir)/softhsm/libsofthsm2.so" default +} + +src_install() { + default + + insinto /etc/pkcs11/modules/ + doins "${FILESDIR}"/opensc.module + + find "${ED}" -name '*.la' -delete || die +} From 3bb8f729a4810c4427e18d779eba6f5c4cc68977 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:46 +0000 Subject: [PATCH 074/243] dev-libs/protobuf: Sync with Gentoo It's from Gentoo commit 5ad9720ef752ee353abe8a42b84dff5286914f8c. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-libs/protobuf/Manifest | 3 + .../dev-libs/protobuf/protobuf-25.9.ebuild | 172 +++++++++++++++ .../dev-libs/protobuf/protobuf-29.5-r1.ebuild | 206 ++++++++++++++++++ .../dev-libs/protobuf/protobuf-31.1.ebuild | 6 +- .../dev-libs/protobuf/protobuf-33.1.ebuild | 4 +- .../dev-libs/protobuf/protobuf-33.4.ebuild | 200 +++++++++++++++++ ...tobuf-29.5.ebuild => protobuf-34.2.ebuild} | 53 +++-- .../dev-libs/protobuf/protobuf-9999.ebuild | 4 +- 8 files changed, 622 insertions(+), 26 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-25.9.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-29.5-r1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-33.4.ebuild rename sdk_container/src/third_party/portage-stable/dev-libs/protobuf/{protobuf-29.5.ebuild => protobuf-34.2.ebuild} (74%) diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/Manifest index 800cacbf58b..a3c3097b426 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/Manifest @@ -1,5 +1,6 @@ DIST protobuf-21.12.tar.gz 5141166 BLAKE2B 33500612d103afb817062486a741e8e5503f82c42c70054d47d1899e6bb79f3fdde2666cad5b8eff6e1bc539c3b0cdf9f2b125ce7e5d3a459a69e84d67ab535e SHA512 2dc8f552388438268d8b9f7a9e84c6abf1736be3d5031438c789c317410c9f4b5cedd25bf7da6d67b3ba32ca890869f9ddaab2284d6ac0e734a5b135ffbb1346 DIST protobuf-25.6.tar.gz 5878040 BLAKE2B b82848406890460d9321e6736e413290e1b4a73dc5f2d3db17dd4419e7ddbb788b6cdb52c884c3e7f0c49c5a69ce31468dcc311d73efca06f94ec51577472fcc SHA512 f1920414bbaed0a882b73349e1cd9cdf87c0d9c99790d70ab8ef589161a8dcad92361daec67bf9bf8350f4181fa8514b50362f1495f082ba5805c4a2e70b6308 +DIST protobuf-25.9.tar.gz 5876049 BLAKE2B 8a248798f0d99cb26bd1201af382d77c01ca4152f46513fb9e17fac8cf487b2aecc38664a82441e1c0aefb3f16b4052539591d4e9b880832371894208d606fcd SHA512 4ff2063b1fb882d4e0ceb39ea40c1f86790564f58ea5f2b2c4452c4cf50b1fded643233b45ec17092ad94132aa4bd4981c916209ed73dba4fa19d11998ac8220 DIST protobuf-28.0.tar.gz 9259114 BLAKE2B 328e09ebffb296d838557ea72a4fc4da8e0ad5f1edfccebcc8ee7c9e0e74d06e5e6dbad741fd89f6a4502c1cb246a973fd60c035ccdbf89700b7baff49e2a65e SHA512 8745f625ac781f3bbefe9494cbf570143d38aecc1521edef7a52ffb403b8be24df2c71f4f2410b5a5b78a0f3e8a38a7d19be2cf916b1b9125349d2da18262cd1 DIST protobuf-29.5.tar.gz 9338935 BLAKE2B cfffcab9e240047c1759f8304b0c2f553bf73c7dc2cfcf101eb1fad3a0f90991e9aa998ca34c7c9534cd4209edf50691e17b75208ae726565505cdb2ab229a7f SHA512 3f3bc241c8babe5988678386d83ef2a75e202bb109f47d62b2ee7915c9b1c080590c2812f6635ba61c41e9570a0aeaa4789cdcba80c917c33ff52ba1817811bb DIST protobuf-30.2.tar.gz 9506934 BLAKE2B 3a7d6bfa38500b16b1ce52b244fd9448fe7be2933a77224a1423a67e3ae3155846c0974ee1b6c579f6050f60b7784ace21b149b3cbdff2ef1e6bf954acbb1b51 SHA512 555d1b18d175eeaf17f3879f124d33080f490367840d35b34bfc4e4a5b383bf6a1d09f1570acb6af9c53ac4940a14572d46423b6e3dd0c712e7802c986fb6be6 @@ -7,3 +8,5 @@ DIST protobuf-31.1.tar.gz 9583956 BLAKE2B cd15fc6d25bee71681602cf97c19dc04de9900 DIST protobuf-32.1.tar.gz 9676391 BLAKE2B f6c1faa260ecb57c0a1a5d4be7d56e431cac9e325a02b86d9eecd0318a0964618063db218a4720fcb1121614016f112ba00880a5b743a5c34f19f79ea4420735 SHA512 e7f8fe01912ba30cc7ce101beac1cfbd089bcb57b159a57d4d90cabd1b29d978ad322f0607e1b955617f035a6b68d4e7bc940fa4afa67d255a21f513a2c62172 DIST protobuf-33.0.tar.gz 6872665 BLAKE2B 5d456c000117b590dea5b7e721a8b8d00d9e7067ba2156f082e4959a17fcf8d4f2e306f90335aad97e1a94dfd2491544d67cb29670f0022034fde574140a8066 SHA512 2956270a81631895ab6ed8c3c2a22b353a461b0827ee17a1c569b24374307a8e2525a06db6728140bff759a40e47a1d2a291cfb34293b364fe279f10468f3cb9 DIST protobuf-33.1.tar.gz 6865436 BLAKE2B 101bf4a67fe0d08ab5f6b3c984193e8b031c521b374bd1bc134f9c2df90f995af73c7689de03d3b4b2d8ce77fc94392fc552942d158df9d2c65ce3e74ac47d0a SHA512 c0b8bd54fe7bd287b2225c3e50e995bc0160d7c0a7712fd047325361613ffb917f4ab838933b1505b07d404e1adb80ea681503bdfc83ce9846d03f5539b481be +DIST protobuf-33.4.tar.gz 6887338 BLAKE2B cb92bbce07ea457f3bc809ac74a892c90c925e950c5fe58e8071320f578409226d95236b688fe153612e0ec4774bc6361629319e7a8c087fa31ce5e7f918f04e SHA512 96b1f048cccf188a17ff308d144fa55c931e14522bf077e835c17fa344050bd762f0bbb0a4efed35fe5ea9bdeaf0fbe346ca8fbabcbdb0a3ee727eac77ccb9fd +DIST protobuf-34.2.tar.gz 7036403 BLAKE2B 71c584454fb26fec1b2972feca614219960e184b064dbb0c3397d5b112b645f577ab20f92cc7a2e9412cc855d3c102f5ab4f7d5d5d71052930bb45ab34dcad5a SHA512 a79027ea37cb223107825e027dbe93a5960ffd77cd21908ee47f1a4a6fd90ff7fdbb6515c2b630d41d14dfb721e2b52c4f2591a7e6dd40ca3d098a62ee28fe57 diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-25.9.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-25.9.ebuild new file mode 100644 index 00000000000..e5bb4efa154 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-25.9.ebuild @@ -0,0 +1,172 @@ +# Copyright 2008-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib elisp-common multilib toolchain-funcs + +# NOTE from https://github.com/protocolbuffers/protobuf/blob/main/.gitmodules +ABSEIL_BRANCH="lts_2023_08_02" + +ABSEIL_MIN_VER="${ABSEIL_BRANCH//lts_}" +ABSEIL_MIN_VER="${ABSEIL_MIN_VER//_/}" + +if [[ "${PV}" == *9999 ]]; then + EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf.git" + EGIT_SUBMODULES=( '-*' ) + SLOT="0/9999" + + inherit git-r3 +else + SRC_URI="https://github.com/protocolbuffers/protobuf/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + SLOT="0/$(ver_cut 1-2).0" +fi + +DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing structured data" +HOMEPAGE="https://protobuf.dev/" + +LICENSE="BSD" +IUSE="conformance debug emacs examples +libprotoc +protobuf +protoc test zlib" + +# Require protobuf for the time being +REQUIRED_USE=" + protobuf + protobuf? ( protoc ) + examples? ( protobuf ) + libprotoc? ( protobuf ) +" + +RESTRICT="!test? ( test )" + +BDEPEND=" + emacs? ( app-editors/emacs:* ) +" + +COMMON_DEPEND=" + >=dev-cpp/abseil-cpp-${ABSEIL_MIN_VER}:=[${MULTILIB_USEDEP}] + zlib? ( virtual/zlib:=[${MULTILIB_USEDEP}] ) +" + +DEPEND=" + ${COMMON_DEPEND} + conformance? ( dev-libs/jsoncpp[${MULTILIB_USEDEP}] ) + test? ( + || ( + dev-cpp/abseil-cpp[test-helpers(-)] + dev-cpp/abseil-cpp[test] + ) + dev-cpp/gtest[${MULTILIB_USEDEP}] + ) +" +RDEPEND=" + ${COMMON_DEPEND} + ${BDEPEND} +" + +PATCHES=( + "${FILESDIR}/${PN}-26.1-disable-32-bit-tests.patch" + "${FILESDIR}/${PN}-23.3-static_assert-failure.patch" + "${FILESDIR}/${PN}-27.4-findJsonCpp.patch" +) + +DOCS=( CONTRIBUTORS.txt README.md ) + +src_prepare() { + cmake_src_prepare + + cp "${FILESDIR}/FindJsonCpp.cmake" "${S}/cmake" || die +} + +multilib_src_configure() { + local mycmakeargs=( + -Dprotobuf_ABSL_PROVIDER="package" + -Dprotobuf_JSONCPP_PROVIDER="package" + + -Dprotobuf_BUILD_CONFORMANCE="$(usex test "$(usex conformance)")" + -Dprotobuf_BUILD_LIBPROTOC="$(usex libprotoc)" + -Dprotobuf_BUILD_PROTOBUF_BINARIES="$(usex protobuf)" + -Dprotobuf_BUILD_PROTOC_BINARIES="$(usex protoc)" + -Dprotobuf_BUILD_SHARED_LIBS="yes" + -Dprotobuf_BUILD_TESTS="$(usex test)" + + -Dprotobuf_DISABLE_RTTI="no" + + -Dprotobuf_INSTALL="yes" + -Dprotobuf_TEST_XML_OUTDIR="$(usex test)" + + -Dprotobuf_WITH_ZLIB="$(usex zlib)" + -Dprotobuf_VERBOSE="$(usex debug)" + -DCMAKE_MODULE_PATH="${S}/cmake" + ) + if use protobuf ; then + if use examples ; then + mycmakeargs+=( + -Dprotobuf_BUILD_EXAMPLES="$(usex examples)" + -Dprotobuf_INSTALL_EXAMPLES="$(usex examples)" + ) + fi + fi + + use test && mycmakeargs+=( -Dprotobuf_USE_EXTERNAL_GTEST="yes" ) + + cmake_src_configure +} + +src_compile() { + cmake-multilib_src_compile + + if use emacs; then + elisp-compile editors/protobuf-mode.el + fi +} + +src_test() { + local -x srcdir="${S}/src" + + local -x TEST_TMPDIR="${T%/}/TEST_TMPDIR_${ABI}" + mkdir -m 777 "${TEST_TMPDIR}" || die + + setup_test_env() { + ln -sr "${S}/src" "${BUILD_DIR}/include" || die + } + + multilib_foreach_abi setup_test_env + + cmake-multilib_src_test +} + +multilib_src_install_all() { + find "${ED}" -name "*.la" -delete || die + + if ! tc-is-cross-compiler && [[ ! -f "${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" ]]; then + eerror "No matching library found with SLOT variable, currently set: ${SLOT}\n" \ + "Expected value: ${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" + die "Please update SLOT variable" + fi + + insinto /usr/share/vim/vimfiles/syntax + doins editors/proto.vim + insinto /usr/share/vim/vimfiles/ftdetect + doins "${FILESDIR}/proto.vim" + + if use emacs; then + elisp-install "${PN}" editors/protobuf-mode.el* + elisp-site-file-install "${FILESDIR}/70${PN}-gentoo.el" + fi + + if use examples; then + DOCS+=(examples) + docompress -x "/usr/share/doc/${PF}/examples" + fi + + einstalldocs +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-29.5-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-29.5-r1.ebuild new file mode 100644 index 00000000000..3f6d0c788c1 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-29.5-r1.ebuild @@ -0,0 +1,206 @@ +# Copyright 2008-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib dot-a elisp-common flag-o-matic multilib toolchain-funcs + +# NOTE from https://github.com/protocolbuffers/protobuf/blob/main/cmake/dependencies.cmake +ABSEIL_MIN_VER="20250127.0" + +if [[ "${PV}" == *9999 ]]; then + EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf.git" + EGIT_SUBMODULES=( '-*' ) + SLOT="0/9999" + + inherit git-r3 +else + SRC_URI="https://github.com/protocolbuffers/protobuf/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + SLOT="0/$(ver_cut 1-2).0" +fi + +DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing structured data" +HOMEPAGE="https://protobuf.dev/" + +LICENSE="BSD" +IUSE="conformance debug emacs examples +libprotoc +libupb +protobuf +protoc test zlib" + +# Require protobuf for the time being +REQUIRED_USE=" + protobuf + protobuf? ( protoc ) + examples? ( protobuf ) + libprotoc? ( protobuf ) + libupb? ( protobuf ) + protoc? ( libupb ) +" + +RESTRICT="!test? ( test )" + +BDEPEND=" + emacs? ( app-editors/emacs:* ) + !protobuf? ( + >=dev-libs/protobuf-${PV} + ) +" + +COMMON_DEPEND=" + =dev-cpp/abseil-cpp-$(ver_cut 1 "${ABSEIL_MIN_VER}")*:=[${MULTILIB_USEDEP}] + zlib? ( virtual/zlib:=[${MULTILIB_USEDEP}] ) +" + +DEPEND=" + ${COMMON_DEPEND} + conformance? ( dev-libs/jsoncpp[${MULTILIB_USEDEP}] ) + test? ( + || ( + dev-cpp/abseil-cpp[test-helpers(-)] + dev-cpp/abseil-cpp[test] + ) + dev-cpp/gtest[${MULTILIB_USEDEP}] + ) +" + +RDEPEND=" + ${COMMON_DEPEND} + ${BDEPEND} +" + +PATCHES=( + "${FILESDIR}/${PN}-23.3-static_assert-failure.patch" + "${FILESDIR}/${PN}-27.4-findJsonCpp.patch" +) + +DOCS=( CONTRIBUTORS.txt README.md ) + +src_prepare() { + cmake_src_prepare + + cp "${FILESDIR}/FindJsonCpp.cmake" "${S}/cmake" || die +} + +multilib_src_configure() { + # bug #963340 (seems to only happen when upgrading from older pb, + # possibly w/o tests too). + use libupb && filter-lto + + # Currently, the only static library is libupb (and there is no + # USE=static-libs), so optimize away the fat-lto build time penalty. + use libupb && lto-guarantee-fat + + local mycmakeargs=( + -Dprotobuf_ABSL_PROVIDER="package" + -Dprotobuf_JSONCPP_PROVIDER="package" + + -Dprotobuf_BUILD_CONFORMANCE="$(usex test "$(usex conformance)")" + -Dprotobuf_BUILD_LIBPROTOC="$(usex libprotoc)" + -Dprotobuf_BUILD_LIBUPB="$(usex libupb)" + -Dprotobuf_BUILD_PROTOBUF_BINARIES="$(usex protobuf)" + -Dprotobuf_BUILD_PROTOC_BINARIES="$(usex protoc)" + -Dprotobuf_BUILD_SHARED_LIBS="yes" + -Dprotobuf_BUILD_TESTS="$(usex test)" + + -Dprotobuf_DISABLE_RTTI="no" + + -Dprotobuf_INSTALL="yes" + -Dprotobuf_TEST_XML_OUTDIR="$(usex test)" + + -Dprotobuf_WITH_ZLIB="$(usex zlib)" + -Dprotobuf_VERBOSE="$(usex debug)" + -DCMAKE_MODULE_PATH="${S}/cmake" + ) + if use protobuf ; then + if use examples ; then + mycmakeargs+=( + -Dprotobuf_BUILD_EXAMPLES="$(usex examples)" + -Dprotobuf_INSTALL_EXAMPLES="$(usex examples)" + ) + fi + fi + + use test && mycmakeargs+=( -Dprotobuf_USE_EXTERNAL_GTEST="yes" ) + + cmake_src_configure +} + +src_compile() { + cmake-multilib_src_compile + + if use emacs; then + elisp-compile editors/protobuf-mode.el + fi +} + +# we override here to inject env vars +multilib_src_test() { + local -x TEST_TMPDIR="${T%/}/TEST_TMPDIR_${ABI}" + mkdir -p -m 770 "${TEST_TMPDIR}" || die + + ln -srf "${S}/src" "${BUILD_DIR}/include" || die + + cmake_src_test "${_cmake_args[@]}" +} + +src_test() { + local -x srcdir="${S}/src" + + local GTEST_SKIP_TESTS=( + "PackedTest/12.DecodeEmptyPackedField" + ) + + if tc-is-lto; then + # Do headstands for LTO # 942985 + GTEST_SKIP_TESTS+=( + "FileDescriptorSetSource/EncodeDecodeTest*" + "LazilyBuildDependenciesTest.GeneratedFile" + "PythonGeneratorTest/PythonGeneratorTest.PythonWithCppFeatures/*" + ) + fi + + if [[ ! -v GTEST_FILTER ]]; then + local -x GTEST_FILTER + fi + + [[ -n ${GTEST_RUN_TESTS[*]} ]] && GTEST_FILTER+="$(IFS=':' ; echo "${GTEST_SKIP_TESTS[*]}")" + [[ -n ${GTEST_SKIP_TESTS[*]} ]] && GTEST_FILTER+="${GTEST_FILTER+:}-$(IFS=':' ; echo "${GTEST_SKIP_TESTS[*]}")" + + cmake-multilib_src_test +} + +multilib_src_install_all() { + use libupb && strip-lto-bytecode + + find "${ED}" -name "*.la" -delete || die + + if ! tc-is-cross-compiler && [[ ! -f "${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" ]]; then + eerror "No matching library found with SLOT variable, currently set: ${SLOT}\n" \ + "Expected value: ${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" + die "Please update SLOT variable" + fi + + insinto /usr/share/vim/vimfiles/syntax + doins editors/proto.vim + insinto /usr/share/vim/vimfiles/ftdetect + doins "${FILESDIR}/proto.vim" + + if use emacs; then + elisp-install "${PN}" editors/protobuf-mode.el* + elisp-site-file-install "${FILESDIR}/70${PN}-gentoo.el" + fi + + if use examples; then + DOCS+=(examples) + docompress -x "/usr/share/doc/${PF}/examples" + fi + + einstalldocs +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-31.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-31.1.ebuild index 2103e50c0c4..a7acf9f9559 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-31.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-31.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 2008-2025 Gentoo Authors +# Copyright 2008-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit cmake-multilib dot-a elisp-common flag-o-matic multilib +inherit cmake-multilib dot-a elisp-common flag-o-matic multilib toolchain-funcs # NOTE from https://github.com/protocolbuffers/protobuf/blob/main/cmake/dependencies.cmake ABSEIL_MIN_VER="20250127.0" @@ -154,7 +154,7 @@ multilib_src_install_all() { use libupb && strip-lto-bytecode find "${ED}" -name "*.la" -delete || die - if [[ ! -f "${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" ]]; then + if ! tc-is-cross-compiler && [[ ! -f "${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" ]]; then eerror "No matching library found with SLOT variable, currently set: ${SLOT}\n" \ "Expected value: ${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" die "Please update SLOT variable" diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-33.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-33.1.ebuild index bdd63d45ef1..a1230b29f8a 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-33.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-33.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2008-2025 Gentoo Authors +# Copyright 2008-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -167,7 +167,7 @@ multilib_src_install_all() { find "${ED}" -name "*.la" -delete || die - if [[ ! -f "${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" ]]; then + if ! tc-is-cross-compiler && [[ ! -f "${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" ]]; then eerror "No matching library found with SLOT variable, currently set: ${SLOT}\n" \ "Expected value: ${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" die "Please update SLOT variable" diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-33.4.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-33.4.ebuild new file mode 100644 index 00000000000..a1230b29f8a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-33.4.ebuild @@ -0,0 +1,200 @@ +# Copyright 2008-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib dot-a elisp-common flag-o-matic multilib toolchain-funcs + +# NOTE from https://github.com/protocolbuffers/protobuf/blob/main/cmake/dependencies.cmake +ABSEIL_MIN_VER="20250127.0" + +if [[ "${PV}" == *9999 ]]; then + EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf.git" + EGIT_SUBMODULES=( '-*' ) + SLOT="0/9999" + + inherit git-r3 +else + SRC_URI="https://github.com/protocolbuffers/protobuf/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" + SLOT="0/$(ver_cut 1-2).0" +fi + +DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing structured data" +HOMEPAGE="https://protobuf.dev/" + +LICENSE="BSD" +IUSE="conformance debug emacs examples +libprotoc +libupb +protobuf +protoc test zlib" + +# Require protobuf for the time being +REQUIRED_USE=" + protobuf + protobuf? ( protoc ) + examples? ( protobuf ) + libprotoc? ( protobuf ) + libupb? ( protobuf ) + protoc? ( libupb ) +" + +RESTRICT="!test? ( test )" + +BDEPEND=" + emacs? ( app-editors/emacs:* ) +" + +COMMON_DEPEND=" + >=dev-cpp/abseil-cpp-${ABSEIL_MIN_VER}:=[${MULTILIB_USEDEP}] + zlib? ( virtual/zlib:=[${MULTILIB_USEDEP}] ) +" + +DEPEND=" + ${COMMON_DEPEND} + conformance? ( dev-libs/jsoncpp[${MULTILIB_USEDEP}] ) + test? ( + || ( + dev-cpp/abseil-cpp[test-helpers(-)] + dev-cpp/abseil-cpp[test] + ) + dev-cpp/gtest[${MULTILIB_USEDEP}] + ) +" +RDEPEND=" + ${COMMON_DEPEND} + ${BDEPEND} +" + +PATCHES=( + "${FILESDIR}/${PN}-23.3-static_assert-failure.patch" + "${FILESDIR}/${PN}-30.0-findJsonCpp.patch" +) + +DOCS=( CONTRIBUTORS.txt README.md ) + +src_prepare() { + cmake_src_prepare + + cp "${FILESDIR}/FindJsonCpp.cmake" "${S}/cmake" || die +} + +multilib_src_configure() { + # bug #963340 (seems to only happen when upgrading from older pb, + # possibly w/o tests too). + use libupb && filter-lto + + # Currently, the only static library is libupb (and there is no + # USE=static-libs), so optimize away the fat-lto build time penalty. + use libupb && lto-guarantee-fat + + local mycmakeargs=( + -Dprotobuf_BUILD_CONFORMANCE="$(usex test "$(usex conformance)")" + -Dprotobuf_BUILD_LIBPROTOC="$(usex libprotoc)" + -Dprotobuf_BUILD_LIBUPB="$(usex libupb)" + -Dprotobuf_BUILD_PROTOBUF_BINARIES="$(usex protobuf)" + -Dprotobuf_BUILD_PROTOC_BINARIES="$(usex protoc)" + -Dprotobuf_BUILD_SHARED_LIBS="yes" + -Dprotobuf_BUILD_TESTS="$(usex test)" + + -Dprotobuf_DISABLE_RTTI="no" + + -Dprotobuf_INSTALL="yes" + -Dprotobuf_TEST_XML_OUTDIR="$(usex test)" + + -Dprotobuf_WITH_ZLIB="$(usex zlib)" + -Dprotobuf_VERBOSE="$(usex debug)" + -DCMAKE_MODULE_PATH="${S}/cmake" + + -Dprotobuf_LOCAL_DEPENDENCIES_ONLY="yes" + # -Dprotobuf_FORCE_FETCH_DEPENDENCIES="no" + ) + if use protobuf ; then + if use examples ; then + mycmakeargs+=( + -Dprotobuf_BUILD_EXAMPLES="$(usex examples)" + -Dprotobuf_INSTALL_EXAMPLES="$(usex examples)" + ) + fi + fi + + cmake_src_configure +} + +src_compile() { + cmake-multilib_src_compile + + if use emacs; then + elisp-compile editors/protobuf-mode.el + fi +} + +# we override here to inject env vars +multilib_src_test() { + local -x TEST_TMPDIR="${T%/}/TEST_TMPDIR_${ABI}" + mkdir -p -m 770 "${TEST_TMPDIR}" || die + + ln -srf "${S}/src" "${BUILD_DIR}/include" || die + + cmake_src_test "${_cmake_args[@]}" +} + +src_test() { + local -x srcdir="${S}/src" + + local GTEST_SKIP_TESTS=( + "PackedTest/12.DecodeEmptyPackedField" + ) + + if tc-is-lto; then + # Do headstands for LTO # 942985 + GTEST_SKIP_TESTS+=( + "FileDescriptorSetSource/EncodeDecodeTest*" + "LazilyBuildDependenciesTest.GeneratedFile" + "PythonGeneratorTest/PythonGeneratorTest.PythonWithCppFeatures/*" + ) + fi + + if [[ ! -v GTEST_FILTER ]]; then + local -x GTEST_FILTER + fi + + [[ -n ${GTEST_RUN_TESTS[*]} ]] && GTEST_FILTER+="$(IFS=':' ; echo "${GTEST_SKIP_TESTS[*]}")" + [[ -n ${GTEST_SKIP_TESTS[*]} ]] && GTEST_FILTER+="${GTEST_FILTER+:}-$(IFS=':' ; echo "${GTEST_SKIP_TESTS[*]}")" + + cmake-multilib_src_test +} + +multilib_src_install_all() { + use libupb && strip-lto-bytecode + + find "${ED}" -name "*.la" -delete || die + + if ! tc-is-cross-compiler && [[ ! -f "${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" ]]; then + eerror "No matching library found with SLOT variable, currently set: ${SLOT}\n" \ + "Expected value: ${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" + die "Please update SLOT variable" + fi + + insinto /usr/share/vim/vimfiles/syntax + doins editors/proto.vim + insinto /usr/share/vim/vimfiles/ftdetect + doins "${FILESDIR}/proto.vim" + + if use emacs; then + elisp-install "${PN}" editors/protobuf-mode.el* + elisp-site-file-install "${FILESDIR}/70${PN}-gentoo.el" + fi + + if use examples; then + DOCS+=(examples) + docompress -x "/usr/share/doc/${PF}/examples" + fi + + einstalldocs +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-29.5.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-34.2.ebuild similarity index 74% rename from sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-29.5.ebuild rename to sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-34.2.ebuild index c4b79c15ae0..eef6122777e 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-29.5.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-34.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 2008-2025 Gentoo Authors +# Copyright 2008-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit cmake-multilib dot-a elisp-common multilib +inherit cmake-multilib dot-a elisp-common flag-o-matic multilib toolchain-funcs # NOTE from https://github.com/protocolbuffers/protobuf/blob/main/cmake/dependencies.cmake ABSEIL_MIN_VER="20250127.0" @@ -24,7 +24,7 @@ DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing st HOMEPAGE="https://protobuf.dev/" LICENSE="BSD" -IUSE="conformance debug emacs examples +libprotoc libupb +protobuf +protoc test zlib" +IUSE="conformance debug emacs examples +libprotoc +libupb +protobuf +protoc test zlib" # Require protobuf for the time being REQUIRED_USE=" @@ -33,6 +33,7 @@ REQUIRED_USE=" examples? ( protobuf ) libprotoc? ( protobuf ) libupb? ( protobuf ) + protoc? ( libupb ) " RESTRICT="!test? ( test )" @@ -64,7 +65,6 @@ RDEPEND=" PATCHES=( "${FILESDIR}/${PN}-23.3-static_assert-failure.patch" - "${FILESDIR}/${PN}-28.0-disable-test_upb-lto.patch" "${FILESDIR}/${PN}-30.0-findJsonCpp.patch" ) @@ -77,6 +77,10 @@ src_prepare() { } multilib_src_configure() { + # bug #963340 (seems to only happen when upgrading from older pb, + # possibly w/o tests too). + use libupb && filter-lto + # Currently, the only static library is libupb (and there is no # USE=static-libs), so optimize away the fat-lto build time penalty. use libupb && lto-guarantee-fat @@ -122,35 +126,46 @@ src_compile() { fi } -src_test() { - local -x srcdir="${S}/src" +# we override here to inject env vars +multilib_src_test() { + local -x TEST_TMPDIR="${T%/}/TEST_TMPDIR_${ABI}" + mkdir -p -m 770 "${TEST_TMPDIR}" || die - # we override here to inject env vars - multilib_src_test() { - local -x TEST_TMPDIR="${T%/}/TEST_TMPDIR_${ABI}" - mkdir -p -m 770 "${TEST_TMPDIR}" || die + if use conformance; then + # needed to fix CommandLineInterfaceTest.DescriptorSetOptionRetention failures + cp "${S}/src/google/protobuf/descriptor.proto" "${BUILD_DIR}/src/google/protobuf/" || die + fi - ln -srf "${S}/src" "${BUILD_DIR}/include" || die + if [[ ${ABI} == x86 ]]; then + GTEST_SKIP_TESTS+=( + "GenerateEnumDataTest.DebugChecks" + ) + fi - cmake_src_test "${_cmake_args[@]}" - } + [[ -n ${GTEST_RUN_TESTS[*]} ]] && GTEST_FILTER+="$(IFS=':' ; echo "${GTEST_RUN_TESTS[*]}")" + [[ -n ${GTEST_SKIP_TESTS[*]} ]] && GTEST_FILTER+="${GTEST_FILTER+:}-$(IFS=':' ; echo "${GTEST_SKIP_TESTS[*]}")" - # Do headstands for LTO # 942985 - local -x GTEST_FILTER - GTEST_FILTER="-FileDescriptorSetSource/EncodeDecodeTest*:LazilyBuildDependenciesTest.GeneratedFile:PythonGeneratorTest/PythonGeneratorTest.PythonWithCppFeatures/*" + cmake_src_test "${_cmake_args[@]}" +} - cmake-multilib_src_test +src_test() { + local -x srcdir="${S}/src" - GTEST_FILTER="${GTEST_FILTER//-/}" + local GTEST_SKIP_TESTS=() + + if [[ ! -v GTEST_FILTER ]]; then + local -x GTEST_FILTER + fi cmake-multilib_src_test } multilib_src_install_all() { use libupb && strip-lto-bytecode + find "${ED}" -name "*.la" -delete || die - if [[ ! -f "${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" ]]; then + if ! tc-is-cross-compiler && [[ ! -f "${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" ]]; then eerror "No matching library found with SLOT variable, currently set: ${SLOT}\n" \ "Expected value: ${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" die "Please update SLOT variable" diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-9999.ebuild index bdd63d45ef1..a1230b29f8a 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/protobuf/protobuf-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2008-2025 Gentoo Authors +# Copyright 2008-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -167,7 +167,7 @@ multilib_src_install_all() { find "${ED}" -name "*.la" -delete || die - if [[ ! -f "${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" ]]; then + if ! tc-is-cross-compiler && [[ ! -f "${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" ]]; then eerror "No matching library found with SLOT variable, currently set: ${SLOT}\n" \ "Expected value: ${ED}/usr/$(get_libdir)/libprotobuf$(get_libname "${SLOT#*/}")" die "Please update SLOT variable" From 703a77cf5ca66d6a15ef9bb33b66f6d71c805c38 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:50 +0000 Subject: [PATCH 075/243] dev-libs/rapidjson: Sync with Gentoo It's from Gentoo commit 895dc48a2218f0f5b946957f0dca0db305d93389. Signed-off-by: Flatcar Buildbot --- .../dev-libs/rapidjson/rapidjson-1.1.0_p20250205.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/rapidjson/rapidjson-1.1.0_p20250205.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/rapidjson/rapidjson-1.1.0_p20250205.ebuild index 8e8324cdb72..dd6557873f6 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/rapidjson/rapidjson-1.1.0_p20250205.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/rapidjson/rapidjson-1.1.0_p20250205.ebuild @@ -16,7 +16,7 @@ else # no up-to-date releases or tags COMMIT="24b5e7a8b27f42fa16b96fc70aade9106cf7102f" SRC_URI="https://github.com/Tencent/rapidjson/archive/${COMMIT}.tar.gz -> rapidjson-${PV}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" S="${WORKDIR}/rapidjson-${COMMIT}" fi From cf74a8aed8bd05ab763c8ed926eb933aa76e077d Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:53 +0000 Subject: [PATCH 076/243] dev-libs/xmlsec: Sync with Gentoo It's from Gentoo commit 4af17305b4a64743d7c704f732608d9b34069a4b. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-libs/xmlsec/Manifest | 4 +- .../dev-libs/xmlsec/xmlsec-1.3.11-r1.ebuild | 2 +- ...lsec-1.3.9.ebuild => xmlsec-1.3.12.ebuild} | 61 +++++++++++-------- 3 files changed, 39 insertions(+), 28 deletions(-) rename sdk_container/src/third_party/portage-stable/dev-libs/xmlsec/{xmlsec-1.3.9.ebuild => xmlsec-1.3.12.ebuild} (63%) diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/xmlsec/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/xmlsec/Manifest index 316046541d5..d6245a100e4 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/xmlsec/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-libs/xmlsec/Manifest @@ -2,5 +2,5 @@ DIST xmlsec1-1.3.10.sig 566 BLAKE2B bb247dbbfbf42df10ed878ee8a7ecf2a0cc95efa61ae DIST xmlsec1-1.3.10.tar.gz 3223525 BLAKE2B daccafb583931d5010b9a5d4060803da3563e5e57778ec7f58ad33efc08176731af0652a83c93757efaeef195b763d0d8ab1aee72761994a4b6003e6acf4c33c SHA512 45fd71bff27571e880f08962577850e7067a424a8379e2bbe28ab9aa5a2c51a0516c0f6b24992b01cad93fd353a8cc79874c18df6c1a4121274b2e7b7db2b8b6 DIST xmlsec1-1.3.11.sig 566 BLAKE2B c73270b75045024c9575ac7ac2ab157a987de736ceaf061d5834c7c5048fdeee54fe080fc7cce8affaa3b41af56beb08715394fd5fc4d749e0f0085d627327af SHA512 8bd25f47535ebbd81daadf528ffaff1e26c1e91898ed674e78d3426bdd4568fa7f07db63d2e1f0ad2ec2fcf0862e90e3092254306f0b8cc37206569a2677e13b DIST xmlsec1-1.3.11.tar.gz 2998250 BLAKE2B 39bb30893992c5c80dc9c60096d6c0abf1dc140a6e66b9165b68be50f9bdc5f11f6d72a800584b5a7a01b7a6a22c655edae7943ea57d622e09cc40011522a55e SHA512 5a1dc5c94af681a25a28f606d8ba966e589748aee2a3d1069859437f14c710156eb80a8ab77842bf177eaa2762ba2603ea805c50ce6d3c1a237196f54cb9e617 -DIST xmlsec1-1.3.9.sig 566 BLAKE2B 14ef29d34882dd350c6e32354726b65d23708f9040228eb82f4a6429c5cc4f3aaa57d836aee7c23998bd23e292544d4e81c5f1899f51fe067f144d9e6d0eb798 SHA512 b10ac56d22bfa235ef6837981a80034f4ac5883d6b251249f2c87fbd6490c69e122c0618f50ee50a7830d2f8be70463c40b0820d184fcee52f87e8d726862c05 -DIST xmlsec1-1.3.9.tar.gz 2377806 BLAKE2B 4d756275a83bb2649bc2ca6d08528762db6c115487286ad8e6a04657640a6eaf39f7d121c0e20bae068b99a8184d825856904f39ccdd7bdd5a3d250a6b17ecad SHA512 a04bad95578be0617ee840b3f875b8721e61e07c76d44de63afc3abf27be4919b9e6d48f3619174808f03cfb96542ca7f9965484fb3d657966a386f50f37170c +DIST xmlsec1-1.3.12.sig 566 BLAKE2B cf28523a677e6d04f3e0a220ca6adb9c4e244d7db43f5b00ea20e63661147df3fa11b60c9a74f215045c58a8b46f1560827eb02bcb74cc9d6befa4fef08d52d1 SHA512 0fa0c6d2119006d7f0f1bf3cc180817f311120da7ca6469fb48a99e006b4251e7a6b855e3af47b26a30153037eaf98748e10c3b49a008fcba41082ebddce3412 +DIST xmlsec1-1.3.12.tar.gz 3090747 BLAKE2B 7a06194f3aa258736c696daa1d39b330fbbab6551cfd93c23caed907948e05b669322978da69977c81f7a0fdb1955acbf3a19fbccba313bd406b75367ed16e0f SHA512 dff897cbe3d0235f6f99505d699ab7998bfb80fe1d8239493ae6d0fd760b41d4d3993c4c2dc2c75d87198f797a9b98c91c76929d39056cc4c6db10237d256f38 diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/xmlsec/xmlsec-1.3.11-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/xmlsec/xmlsec-1.3.11-r1.ebuild index 4f3c5ba12dc..41b274bf8a0 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/xmlsec/xmlsec-1.3.11-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/xmlsec/xmlsec-1.3.11-r1.ebuild @@ -22,7 +22,7 @@ S="${WORKDIR}/${PN}1-$(ver_cut 1-3)" LICENSE="MIT" # configure.ac: "For simplicity we just bump current all the time and don't bother" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86" IUSE="doc gcrypt gnutls http nss +openssl static-libs test" RESTRICT="!test? ( test )" REQUIRED_USE=" diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/xmlsec/xmlsec-1.3.9.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/xmlsec/xmlsec-1.3.12.ebuild similarity index 63% rename from sdk_container/src/third_party/portage-stable/dev-libs/xmlsec/xmlsec-1.3.9.ebuild rename to sdk_container/src/third_party/portage-stable/dev-libs/xmlsec/xmlsec-1.3.12.ebuild index 224b9134c0a..4f3c5ba12dc 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/xmlsec/xmlsec-1.3.9.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-libs/xmlsec/xmlsec-1.3.12.ebuild @@ -6,22 +6,23 @@ EAPI=9 VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/alekseysanin.asc inherit autotools verify-sig +MY_PV=$(ver_rs 3 '-') # normalize RC versions DESCRIPTION="Command line tool for signing, verifying, encrypting and decrypting XML" HOMEPAGE="https://www.aleksey.com/xmlsec/" SRC_URI=" - https://www.aleksey.com/xmlsec/download/${PN}1-${PV}.tar.gz + https://www.aleksey.com/xmlsec/download/${PN}1-${MY_PV}.tar.gz https://www.aleksey.com/xmlsec/download/older-releases/${PN}1-${PV}.tar.gz verify-sig? ( https://www.aleksey.com/xmlsec/download/${PN}1-${PV}.sig https://www.aleksey.com/xmlsec/download/older-releases/${PN}1-${PV}.sig ) " -S="${WORKDIR}/${PN}1-${PV}" +S="${WORKDIR}/${PN}1-$(ver_cut 1-3)" LICENSE="MIT" -# Upstream consider major version bumps to be changes in either X or Y in X.Y.Z -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86" +# configure.ac: "For simplicity we just bump current all the time and don't bother" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="doc gcrypt gnutls http nss +openssl static-libs test" RESTRICT="!test? ( test )" REQUIRED_USE=" @@ -29,23 +30,27 @@ REQUIRED_USE=" " RDEPEND=" - >=dev-libs/libxml2-2.7.4:= - >=dev-libs/libxslt-1.0.20 - dev-libs/libltdl + >=dev-libs/libxml2-2.9.13:= + >=dev-libs/libxslt-1.1.35:= + >=dev-libs/libltdl-1.0.0:= gcrypt? ( >=dev-libs/libgcrypt-1.4.0:= ) - gnutls? ( >=net-libs/gnutls-3.6.13:= ) + gnutls? ( >=net-libs/gnutls-3.8.3:= ) nss? ( - >=dev-libs/nspr-4.4.1 - >=dev-libs/nss-3.9 + >=dev-libs/nspr-4.34.1:= + >=dev-libs/nss-3.91:= ) - openssl? ( dev-libs/openssl:= ) + openssl? ( >=dev-libs/openssl-3.0.13:= ) " DEPEND="${RDEPEND}" BDEPEND=" virtual/pkgconfig + doc? ( + app-text/doxygen + virtual/pandoc + ) test? ( nss? ( - >=dev-libs/nss-3.9[utils] + >=dev-libs/nss-3.91[utils] ) ) verify-sig? ( sec-keys/openpgp-keys-alekseysanin ) @@ -57,7 +62,7 @@ PATCHES=( src_unpack() { if use verify-sig; then - verify-sig_verify_detached "${DISTDIR}"/${PN}1-${PV}.{tar.gz,sig} + verify-sig_verify_detached "${DISTDIR}"/${PN}1-${MY_PV}.{tar.gz,sig} fi default } @@ -65,33 +70,39 @@ src_unpack() { src_prepare() { default + # Upstream has removed the option not to build docs - use the Force + if ! use doc; then + sed -i -e 's/^SUBDIRS.*$/SUBDIRS = include src apps man/' Makefile.am || die + fi + eautoreconf } src_configure() { local myeconfargs=( - $(use_enable doc docs) + $(use_enable http) $(use_enable static-libs static) $(use_with gcrypt) $(use_with gnutls) $(use_with nss nspr) $(use_with nss) $(use_with openssl) - + --disable-ftp --disable-werror - --enable-mans - --enable-pkgconfig - --enable-concatkdf - --enable-pbkdf2 - --enable-ec --enable-dh - --enable-sha3 - + --enable-ec --enable-files - $(use_enable http) - --disable-ftp + --enable-pbkdf2 + --enable-pkgconfig + --enable-sha3 + --with-man-dir="${EPREFIX}"/usr/share/man/man1 ) + if use doc; then + myeconfargs+=( + "--with-docs-dir=${EPREFIX}/usr/share/doc/${PF}" + ) + fi # Bash because of bug #721128 CONFIG_SHELL="${BROOT}"/bin/bash econf "${myeconfargs[@]}" From d5c7bf932ada76f7ec32dfd7fb786403a73c2f76 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:57 +0000 Subject: [PATCH 077/243] dev-python/cachecontrol: Sync with Gentoo It's from Gentoo commit dda9ee2fb5cab04f6e178f86ddf0eef205814a2e. Signed-off-by: Flatcar Buildbot --- .../dev-python/cachecontrol/cachecontrol-0.14.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/cachecontrol/cachecontrol-0.14.3.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/cachecontrol/cachecontrol-0.14.3.ebuild index e45d15165f6..8c8bf952341 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/cachecontrol/cachecontrol-0.14.3.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/cachecontrol/cachecontrol-0.14.3.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit PYPI_VERIFY_REPO=https://github.com/psf/cachecontrol -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 pypi From 2e88652fac6c1b0c68f9715bcb28ba1b8803d944 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:59 +0000 Subject: [PATCH 078/243] dev-python/chardet: Sync with Gentoo It's from Gentoo commit f5badb8f4df1f68e87d730e5eeb4c2ebed830f3c. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-python/chardet/chardet-6.0.0_p1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/chardet/chardet-6.0.0_p1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/chardet/chardet-6.0.0_p1.ebuild index 4c0ad215835..8b6e63377e5 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/chardet/chardet-6.0.0_p1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/chardet/chardet-6.0.0_p1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 pypi From ccc46a597958fb85028e2acac0653428bffa3161 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:35:59 +0000 Subject: [PATCH 079/243] dev-python/colorama: Sync with Gentoo It's from Gentoo commit b30d5c6a7b0bcc70b40b62d156c1a952a9144712. Signed-off-by: Flatcar Buildbot --- .../dev-python/colorama/colorama-0.4.6.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/colorama/colorama-0.4.6.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/colorama/colorama-0.4.6.ebuild index 42a55f0ff6e..59c256826fe 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/colorama/colorama-0.4.6.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/colorama/colorama-0.4.6.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) +PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 @@ -23,6 +23,7 @@ SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="examples" +EPYTEST_PLUGINS=() distutils_enable_tests pytest python_install_all() { @@ -36,7 +37,6 @@ python_install_all() { } python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 # Some tests require stdout to be a TTY # https://github.com/tartley/colorama/issues/169 script -eqc "${EPYTHON} -m pytest -vv -s" /dev/null \ From 1b4d3a9b6609f9b44156b7aab1a61e8bee6640c5 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:00 +0000 Subject: [PATCH 080/243] dev-python/crcmod: Sync with Gentoo It's from Gentoo commit 0682e073eb8252c79c2164adb135e723680028ac. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-python/crcmod/crcmod-1.7-r5.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/crcmod/crcmod-1.7-r5.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/crcmod/crcmod-1.7-r5.ebuild index e517c91a643..ef8246c1614 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/crcmod/crcmod-1.7-r5.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/crcmod/crcmod-1.7-r5.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 From 6ad1f812b1b19fb33f4996be4a807004073b31fa Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:00 +0000 Subject: [PATCH 081/243] dev-python/cryptography: Sync with Gentoo It's from Gentoo commit dfce3978b783264ed20c42330a849e78f3fbf0bc. Signed-off-by: Flatcar Buildbot --- .../dev-python/cryptography/Manifest | 51 +++---- .../cryptography/cryptography-47.0.0.ebuild | 2 +- .../cryptography/cryptography-48.0.0.ebuild | 4 +- ....0.7.ebuild => cryptography-48.0.1.ebuild} | 73 +++++---- .../cryptography/cryptography-49.0.0.ebuild | 144 ++++++++++++++++++ .../cryptography-46.0.5-stray-files.patch | 48 ------ 6 files changed, 200 insertions(+), 122 deletions(-) rename sdk_container/src/third_party/portage-stable/dev-python/cryptography/{cryptography-46.0.7.ebuild => cryptography-48.0.1.ebuild} (76%) create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-49.0.0.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/cryptography/files/cryptography-46.0.5-stray-files.patch diff --git a/sdk_container/src/third_party/portage-stable/dev-python/cryptography/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/cryptography/Manifest index 3606b140999..441c3ba095d 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/cryptography/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/cryptography/Manifest @@ -1,76 +1,61 @@ -DIST asn1-0.22.0.crate 47124 BLAKE2B d3ebce2752152968862a957c3bf87291d09dd7895ec1ac8012e4b968174b7a8013c98dde65f54dedf3c4ed4a206d1c306393e93c5b39783af44dbe36bb1b3116 SHA512 403c9fccf8a4c7f487a52528b23fd37790770526b75187b3634744ab9aff072eccdec5bf309e8532df6eb86fe70e60535d0783638c77c248b37296a0993feedf DIST asn1-0.24.1.crate 50502 BLAKE2B ebb6ec767929765aa37a34f25c9ace8cebabc4b01268245c71691a247317d920e3f5dc6ff4026711e1ba99701f55d84eb1b8b66d79e9b88ad50d25606070a746 SHA512 72ab6700bc365456f6038f9d6d5ccb29a3baf378596f538b68e0e11d3668e57cebaabf72145d8fa86b6441d66eafe38aaadab41eb7b61731fd356a75ff5c45ee -DIST asn1_derive-0.22.0.crate 8953 BLAKE2B ef2f3d248b0b5980b2475b4eb8127f4846ac200d2f8c7324757b571359ddf393f664b5b7189020bb12a390840c8fe0c423ab4c58e2359bf667d244d2e8f4e13c SHA512 bbbf3b498d2a59f19f044b627335e1b75a5341ee75b5cb281b09e3ab6e23c9f5a3d5f0eb09435fbeda211daedd9f9a867dbd99400b74e95f192fb0e09e694ab1 DIST asn1_derive-0.24.1.crate 9534 BLAKE2B e498f5af8fef329668554673a2c583b1d0049a235ed70f2a7a26ab724304240b277c44b33995749437600568e084aaf018430b96c7011d8483bb6965ba0e9bfa SHA512 00990444fb13a033ea831f0688611ecbe33f8cdb63717382cdbccaa0834f953302383f05ae425525d8c336908780d7b80be0db430e1f233bded0544f32c9c199 -DIST autocfg-1.5.0.crate 18729 BLAKE2B 27580e39b366c6fca02c9db09997b6415c409f12068f1249184268bf96fd85ba659e25ec730f99e10caf452f96c486f3d7442bf09c4552b5f39519b21d6f88cc SHA512 f279856f234d39d369623576acf9546a1ca24d7fe449f36d4fb93ea75a7efaf2c4015b9616a69bbbed358c5e5882e16b045352f046aa4c049b3d13b1e8257b08 DIST base64-0.22.1.crate 81597 BLAKE2B 6f216a560bd36e6e6b74e908344b457594cc768d9763070e269b56a14b150cbfc4b7f599d4c2a0a5f783638170ee132f0796fefb14fcac7fd73c58db0791007a SHA512 91cf2e4e7fc8815f9b8a86a7fa722a20eee3dc1dd57111b29e420de87ce7836bcdb1db01d3cafb9a977710ef63e7cc41b7772762323e68e0e832156858aace20 DIST bitflags-2.11.1.crate 49082 BLAKE2B c9c875b54e0a12115ecd846ef0a66bc7070d38892285a4142f1b1f26b07d407fa440a2943f310046f5fbc9a2428fcc56f2e44d06360e551d4b27c9b8cf93eab0 SHA512 c91b5a8b420d8e875a0906ef9b518a392487fba5399355aa5e908132149ddea7cc4222dd271cd5072e50dd9abd6e56420f4205652ba32a57af46bf07636604b7 -DIST bitflags-2.9.4.crate 47950 BLAKE2B b880246b54377ef161c54a811f09ced975d1f2049400c1bbba944712b8ef8b9ea79599d2354cc2a9ccd4c1b1329faad78738ed4e051735b14b642a9451ce68ae SHA512 a832e01985551db9d700ba177bb2ffe436e78e3bdcf7b2d8e86fc7cb885674d5656fce05bffb5a4cbe0df7b015dcfa6df8dbc1351c097d2c3a3dac199d3f37b1 -DIST cc-1.2.37.crate 90111 BLAKE2B c97656ab4642b180af1adf16736de03b5117774a2fd85d3cbbeb06744ab14a1f20accf8eb59c43dfc7fd803c59f92f30ccd7b2a6e3b53d8ecf45c8a2adb71483 SHA512 062bf65f73e5ae092391efaad510af39c96913d5647073eaa32e9475b34b6d87d2e4448f0dd54ecdf9b979a84819f861d05daf7fdbc06885f6b41162d55bb81f +DIST bitflags-2.13.0.crate 51280 BLAKE2B 2926a828107adbf689705662a77e6f4f8d12c4d48ba8207d03e6220fe58082a0ebb48252f1652b760f4427e0b951276f31a08dc0467612d5b35b484a9f6fb74e SHA512 5a93a30662effe056132d33cd0b25670feedfe69e927b7e77ea1a417f68104988459f1c3a73eec1752eac08f44ae5333496526e1a96dfb3e7144deca1a94d19f DIST cc-1.2.60.crate 97051 BLAKE2B 292350c3fe7dc3e023fe4f7cd07b3a5a7233996963b42391243948f834a17cf69781bab32cf46d62722c45437f50123450811dce8aa0e96ee63f35480cc15d90 SHA512 d67fd7400bd1d20f26f7a6743ac02ad09dba0b8002172b87907f4a7ae2487ee41feb2f24fe375ca91a3ac4fde1dc8b48b6703b74297c9eb42bd1e91ac8fe4e80 DIST cc-1.2.61.crate 97163 BLAKE2B d46641d905e44c60e36c3918c6fb666c7d5f19316a1415e5f51909f79a00773bd763784a71aa7ee85a4c058177596a06a5c4a807904bbd2340c31103312d415d SHA512 4728983b06cf6cfb8a042759b7da2d9123939cb3c87fd78d3d7dc565871b5a4aa522afe515bbfff62218d8ef5ca16ed88f777c30b746820c13c9a6bf98dc7ddd -DIST cfg-if-1.0.3.crate 8719 BLAKE2B 5cd0ac122110740895b45cdf8e0f738f2de1882d5a06c696d08e906765e4ddcd72a866dcc115da52d9fece205c9ad15dc25ad98dff36b32517012a7586e986ee SHA512 afe424a191c2aaaffec3d114e0116d0324d12117aeb22df78e47ad6752444bc5acb074ab0a174476b71e584a37743f9dcc2b0e8036d590fcc5afc7c55f86122b +DIST cc-1.2.64.crate 97697 BLAKE2B e13b32095a684f456627aba1f48c369f9b374001660e02aca695577b058aaacfa9a74edf6fe6a5979b031ba430c123fd3f484f895312db01bcd6730d104a36c3 SHA512 be9d702a2573d3977b9fbb79c09c163b297fa9efce7b490941e40fa77ad5d965949fd42e02ce0fa89de52f579f4400d26041576fc188542637f8fd27752b6b63 DIST cfg-if-1.0.4.crate 9360 BLAKE2B beadbfb273ee97cbb6e3740891fbace57511399ad203459b66b397587d794677a9515cde4e9ec4320c3795518bf1551d72b9a889f8ac4b225168f493288b7c19 SHA512 176e04df7ba783b7143bb84397b777f5c5a1305c08a5c3a218d4a66830620be89ed68992ba27686165bcd3fb2f34b2daf80b2a1d4b481ecc267c988e84d28e9d -DIST cryptography-46.0.7.tar.gz 750652 BLAKE2B f7b929d9eafe32d76fd497823309f227895cef18684a9fd90e1740302fa12e039690d5425b4a7d2bd0fcf81322d456d9ee4c230157c7cdc1d109bc283d6191ef SHA512 9176c9d2a5b1930735acb63b97335cd4e3d514cfd66664a3f16ad895a92f155282098cae97c35df97c74dae61c88698f5f94f548c5172a7c1867480225eeff40 -DIST cryptography-46.0.7.tar.gz.provenance 9275 BLAKE2B 6d3cb97787775582d3e477aebdf4900d5dae1cb5659f94e71b164d1224a27e8fd18bf89f51af2505901f231985c0baf2e4b1893a72e86c6962b778f0b330f9fe SHA512 60aad2ce095f7b875127a08170535f68140bf5950c0462bec6345a601a6fa9cf867a2af283ff581e55bf16cbf445f9d0934987a7f1a0b6b35f38124309695703 DIST cryptography-47.0.0.tar.gz 830863 BLAKE2B fa4f148133c23025ede6bdfcbbce65288dbe61f0a28e3792ef9e1a7143ae05bd7e42947e0ffa3f70d027b7d2064f8d755eb9a83e4719c83ae4f4c79490e0c49e SHA512 0d2fd9de7b6cfafef5f66e4fb10b7eaa8712bc0ed7bca19a017963b8ea707813a7bdc841f7d4aa512da7963eff3707792d46cb93058875fcc447961256c32d9e DIST cryptography-47.0.0.tar.gz.provenance 9322 BLAKE2B 9107587d781c2fc6eaa26d40f96b404a054bcf317f56974f2efc5f88111f4ed9ab1aa6fc91b2101ae3c5b66467b43858e0a0010df18001999a4a904773ef97df SHA512 744b8be907b623b44c3b4e0aba8ffdb61fa54df5161c20c946da272e0d5ec4cd23a242edb7d2378b8783d50a610be7e6e902ef02acac25a90b67b7908ab5f01d DIST cryptography-48.0.0.tar.gz 832984 BLAKE2B 100bbd35411874c4b9a6fb855fa19dd5271c753daa28cd6c52fac0b926dbcee6b4dce37a59c28b5ff435028965a60fa898e501f6215e837cc28e056c1b8a4680 SHA512 4d04983e25eb5fc856705f63e8cca32a357ef0a369c4596b1beb2e0befa2b3dcd763eb4e9baed4230bd75aa6738790ec56b107a45d5e02ce09f78fc1851c2ff9 DIST cryptography-48.0.0.tar.gz.provenance 9676 BLAKE2B a61479b36aae65fd67c0622f6483da49bbd2666131a2f5b016796125168bae24d7bedfcfa7987e89ae8fa051c2e0875ac6b6d8e60f736186812a7909d3fcad7d SHA512 0053d20118f0b427ee0fc9e787e938a4e8e78467a693403fb3118a5a1577dbea7f613b2cf72d2a79620ca966d850e33ba4f565b69a1217c1a834dac751076fd6 -DIST cryptography_vectors-46.0.7.tar.gz 33809310 BLAKE2B 879746285546b1d099e52f58fa15668147557e9099867c0eeda0fa100ead69a7168085f28d322d8938d40f0802acefc9a3810cbce94fd373481bb2f7264df58f SHA512 d16ac5bd0e263761d856b7e6be7101ea2417ba0fe2e3acb42ccb6b3bb98e8695bb81404a05b36bd1b5e426e6ef31e692b140bd5e152c44b98075d63e4d5d0bb4 -DIST cryptography_vectors-46.0.7.tar.gz.provenance 9283 BLAKE2B 25dad799e1654365825f43c7bc3374bef296ae664e7855b9899938c8a597d0f57076170d064b67642dbcaa22dc29792156850b7c2f3425ac1a2e9c3380925479 SHA512 4772b27a74f4c0345c8f9959762571b0ff1d8e1fa08a24e68adc6d008f3abb21f16731fbf369cbc0907977f583f17796dc209ea3e591345dfaaa5a0cbd2c0068 +DIST cryptography-48.0.1.tar.gz 832989 BLAKE2B a98f0ebc40b762ec53f504d9d3cc3ff1666befa505572218365764b0987fd5067172789ea037a31d1d6583854cbe39c3df3de5c87561f18a794ca6110ab4ce7f SHA512 014424f7de1e04840d88c2e047021027aeb2aa8b3b4fb29d2c7f3e7b8744c4b5601b8adc19694d12da014523859aaffa2b4922ea6f1b9bbe694835edff4ce08b +DIST cryptography-48.0.1.tar.gz.provenance 9687 BLAKE2B 47ccd383cbd387ff24e15df41ecd22cde4aa09851e7094606fb76e75e0d02b38720b9029721f547bd2895286f3c76b8f76e82cf7f88e4167fc8011b2221b8eab SHA512 b196f115240801090aae00611a904f56ac5785b0caca64066b33add06be92bf35860a4d336a51703fe0a0cc845e46f26e5392f84cb966d90950d93c269b75563 +DIST cryptography-49.0.0.tar.gz 854345 BLAKE2B 735d303659d101bacf967bb2388190052caf5f3f02d02487a0b49c21eb594b8d133be58411d98b73ee35fd50597ee872f716f2a4f9de391fcdd66d6b7292a205 SHA512 047ffa4073ed124bc6fe3459663853b50c55c6ed9e5604bd1709b7f17e72788f0e4eb5c533a174afbead40fc16a1a798600d29f4963b190867d9d9e50dea6af8 +DIST cryptography-49.0.0.tar.gz.provenance 9824 BLAKE2B b2b08f93894aa7bc9de98185a37e2b90a1e041d7473674752e52724baa8b90759354763eaf5b4403172a2dfe48596653abae79a604d1dbebe7664c2fd71dd6f2 SHA512 4228eaaab0ae7b34763ae3d60cf2d24d5b803efea85718c7eac34073e7fc48aefb7ba2c699c25f82a34f05a050d04f634956f4e717c201608e2f02451ec5a318 DIST cryptography_vectors-47.0.0.tar.gz 54877496 BLAKE2B f8c24d09bb84557a4ad9f5c885da47a95853948104c49b0e4e877e62c35e8c826fa0c470e8450c230c727de19102a8c80992b52aa51aee051267ab43e966535b SHA512 82fbad5a395879ba4dac4aa015271522a832da126f7ec204274821d78100ed17c4047bf4d1526f82e7785bdf9d375741eecfe4cd24f3c5dcdcabc2c7cd01f67d DIST cryptography_vectors-47.0.0.tar.gz.provenance 9377 BLAKE2B 55019d10ba343cb445dc6d0934c12cfc6909ffb2b016520a9d75c485223175ba1fd7ea71bb2da9af37489c4bfda4c4956fc272acedbe5cd3276c2999c198bbb1 SHA512 6adbd02d17f64a7e4fa6bbe453f7eca936683f0e569dc1978a6a8db861eaec93600bf5c1198c0d25e200913a85d5f74ba44616cf05775c44fb042cc20c258cdd DIST cryptography_vectors-48.0.0.tar.gz 54877461 BLAKE2B 1a8dbe98ff653f8f6ccf90843e8fbecfc6ed7123d9b78db2f34203336613c62083ab7e0803a95a0d3cdbf6b78f837302bc8ab927fc244e54a809f9a321cda67a SHA512 282d6bee83649ee2d80d4c4d51a0ca5de63d1af978e93d3cff2eee20a5aecede2c13e9164cd79e45af0b72fd7bacedf73653986d93032ed148ef55614f9751cb DIST cryptography_vectors-48.0.0.tar.gz.provenance 9735 BLAKE2B 08065c55da5deeae8c41c7be9c35b1840834454d9fc18db789c5e696e66245c77fb910913465f6bfb242d5a3166113d3186ac1cfc61c3f83335b9e6f8a72204c SHA512 b0aa45486fe08563135739ba2fc3572a70f88bdf27eb4765e52fa0d1a7d8aff305c0076606c91d2325c07374310537c8d8f7f28b462e0f9cfebda6a973250e25 -DIST find-msvc-tools-0.1.1.crate 30228 BLAKE2B 9f6d84697a0310021a59789a0aebcf5895490e4dd719a2ef820ddf2f225ecd13c814e2c03e8d4de4089a2d1599b469a900c0c1072f9b57dcce9fb8634dcea6b2 SHA512 cc91ce79858db4a6feb3ff0fe24d7b29a523285247116a42b27affacc3f034afc0d458ac8716922f5fec5f23deafd62e875ec899d4ea58531d028535c22e137e +DIST cryptography_vectors-48.0.1.tar.gz 54877436 BLAKE2B 7b4c386588e5ad0b6e0fc7c0c9e73e597c6fc0a3940d791052a503f09e4f83aec709571878245842203ee66d75b2391c7c743175da0543409c6658973c0b2eaa SHA512 08912c2dfe0c290cb0a74bcefefab44a3e628554487f059073dfa4cb441d2dce4fc2d14ac367b5d237b1fc9f3fd705dfd44b90d020ea36ad5483d752dc093b81 +DIST cryptography_vectors-48.0.1.tar.gz.provenance 9789 BLAKE2B 22bdad6ea48bf56ba0a3c95d83d2e4c2de88a77032d4f08806e74c3ade60012ed89d034337a3a5396a76d79b75c9376244a9f608dcc4436d3a4f698f9e84614b SHA512 d578ae5a517cd6a1fbe10fa33ef6f135207cf129c01d602b146cfca2345d625fb048394d70768469752eb5af821ffdfea551aee36e863336e199051d67e94536 +DIST cryptography_vectors-49.0.0.tar.gz 54876507 BLAKE2B 58c4e75c33ee0926a7a0d348356be18884145f0f7bd04c771fdb7fdbc8c779b503cdf6e659e167cc64d20b5d5c2c46fec615e968a9cd49b2e9207945f079ebbb SHA512 dbec0a8198ea7a6ee56d1b5b8079752487cb8c2916c9239d26c664c08402c1ab8832585889ec79313e37f64151a3664b98c6a5e1eb69adceb4caeff32b56f838 +DIST cryptography_vectors-49.0.0.tar.gz.provenance 9789 BLAKE2B 66f3e0881b4715dc8304e832b7e976cbc1570cb08b573304935c8625c0fe673602777d6e90fbcd455e97ca32a586350a52e58c8c96a086038fe2aa935db8ed93 SHA512 c8915a33aa32ffd32602f645138cfd3dcb95dcf9bfcebae96ac9ffb9c8c27c7b1df727f44e8fa8f2f21f7b516cd8a142cc58fbc6dccb509afdb697f7e51e5955 DIST find-msvc-tools-0.1.9.crate 31493 BLAKE2B 4137592addf8b58f4e4c02be537a72b132b38cecc1c263c2569fe40e2cfe4377e7141679f32661f44ed467cf9723343ab13732b3d6f4a2a84c610d0958e7e30b SHA512 729b3c1c1d520dffe5d88fc8b58e47fb7e86dc26e568fc317eea5ca8de0ee953fbafaa20ab34a6bfb43173bab39a90ff6954c11dab8d545e902305dafc8cd3de DIST foreign-types-0.3.2.crate 7504 BLAKE2B 520818b702d990d296ecd31a8646850202509ccfa18edd0e1b260289619a6c351e758f317ec0824bd76eccb209b6f087057c25f1bd01a47897715013dd834867 SHA512 bf27b8243ed482c202d120383374f19ff09422535e24b9c1aebccc66529bf300ca17b8bbc76d67f98ac092e614497afe3add9dc68aa69c93074df05762f91232 DIST foreign-types-shared-0.1.1.crate 5672 BLAKE2B d2e42e04b6657e7a69fe0bd20c672176629c743e49a55fd007bb30e289710b70045d445ae9cae0eeaa747ee708c90e8abd9b5fc39bad8ec0666befe1b696d4f1 SHA512 bafdb2143e136fb0818e2ffd90b5c862b7181647d6568947d4e4531012bbf7a57b597221ec7056c1b562dfc0c3b5dead26d1a4111ebc15e7863737a873518a4a DIST heck-0.5.0.crate 11517 BLAKE2B 5365ec43b2239a76b33a174f1a4292ece4147f9d382a68c6c60db78fdc8bad0afb1d51a65bcb25e96675372faa4ea37c318265030b0546ba51942f7c929e1835 SHA512 f044fc9c3d22466629fd8f772ec0555350fd611c0cfadca51d99a3d2f10e155f77c1091916c8a95a6b9b499f366c2e99a5fbf45b010f988bfb9b2501bf9f6a76 -DIST indoc-2.0.6.crate 17164 BLAKE2B 1a6cff95bc12ea885ef36b935bf4f1c7870d65be0ff31ffc67dcab904fa80215c1254c1803c5d0c5686252addfad3512e9e1ec79d3edcba026a879f4706926d1 SHA512 e2ea2e5c8226c802bbe0631c1a99d2edd088cbafbf978b2a7b71c7c7f47754c6d4653f466e286441b61cc46def1c7f7a02d4785caab93a61dd785211dba7d1a9 -DIST itoa-1.0.15.crate 11231 BLAKE2B 17c261baf95bff2f6cf0dbc33ab78ebbab0cf5dc56aeb7f8977377af868deb5957918f1763c2fe8c080e931489ea89ebcc16b3ebd976eeeb7663ff74989a1071 SHA512 158ca5dd4b04cb12d9292a4df63c72443adaf5aab1bd9aacdb964dc58878d847a64251f84897cb25c34648d4c973b44fef5b4c175d7c04cabc2c13b4631c2e42 DIST itoa-1.0.18.crate 15935 BLAKE2B 8e41446056ccd94979f6f5a8fe8c48d6c47abaab99a41715cca31816f859b56e0cbacb998f300b62be8b719a6470f8a087f1439b72f2f6662d1cdd3d552ede5b SHA512 8dbad156e2863c28e2b380901a92414ef00e39f1fcdb06d91a0f3fb73108c2f7f36b699ccd93287808c24c29cca7f1783d48d5ca95f2173502963c0abcb2d09c -DIST libc-0.2.175.crate 788728 BLAKE2B dfbcc891a6da7d327916883deec54dbcb0ee5e7fda0b805926f06088dbbbef0520a838c07a62ea075d6a5a035994ea8130efbbc88e08b928c13b06bc5cf75bb9 SHA512 02fa1b6e61ecec3b626f3c802b53e7f46c98558f6e8c810b46d7322c2e4825f1be87068942ac81c07a2188356c6e2b6836b0dddd784396e43ab3712a62cd17ea DIST libc-0.2.186.crate 821883 BLAKE2B ebe7aac5f8937a8064c64a0d4dc72e5fc794080e09b96c6d245bdec0fd9a19d49ab38e25306e22e47564764cf5dcde45855237cffc70230a143eca2626bd5c3c SHA512 6a58e671ec6811dff9a0d7d4db8f37d38bcbca9efff20dad4706190e5cdb77b426567754bcf0ef0f2d0c31d6506401f724f3ca500b9bed57bb8605b1141ed690 -DIST memoffset-0.9.1.crate 9032 BLAKE2B 0aab55fe084134bb599c52d77c96400db40949b1013e7037747ada4fcec8dc4a124b6f3755f04b36e057eb2fb4a6bd6f07d6eebcf166f8a71405ef434d802fbf SHA512 3a236c0f481e36973b9f805e454c2efe4dd375e6b4ee406b57145136c70d5fbf4e1183d563ebf3b5fbde7363bbf5f08f0d88e507aae5bda4cc75664ecd0e33aa -DIST once_cell-1.21.3.crate 34534 BLAKE2B 3578aaef305cad2fdffdc40c392775a3540bfab3f3aeafd22466d9507bf8346b9fcc200929d48525b051070c0aaa423ecbcaa12868b34dca007991effb224166 SHA512 32a87506c6f4598f3ca2c88556014ef2093d5db9a08602335e847caa537a866492fa74c894e7e1da2e4289a1d3dbffcb90a9e37a4a1453203832f434b8206990 DIST once_cell-1.21.4.crate 35010 BLAKE2B 9117ed1d478e626b7b7be2e3ff8b68a382b051112c7ca4425367bdae86977671f8b5c576131c82fb437740b6d98b72501f718f4172d39781decac2385e8fbd4d SHA512 af67669b0107f44268ba74c355200cb2ed1aab235a6989a8bc54323eb2c9a45677010f8672e7790edadd4c981e939436e0c3a099d33c06dce9c14fd5ede86155 -DIST openssl-0.10.74.crate 285425 BLAKE2B 2d736aa20701a97230f10f4a75b3c3c0cea0a86b52facbb639dfe425ea052a4bd0abf494708ab96aad276000736ab4ce7dd8c47951f01181cd17c6e0be692107 SHA512 02f60bf13826a4225b4c849d7dee33fbb648c173bc32bc2139a50c38fdf5aeb9d5cfb092d86edeb6f281206454ccf2b41cc23c7af74ed976423b933eefe50867 DIST openssl-0.10.78.crate 292622 BLAKE2B 17ec5a5efd1fa997a8179bb107912c62c47ea901d93df1c8c0c63e548427a01e57d79c23f0d4a7d614f0d2059c6c07097a4047aa91dfbc4d224c942615eb3587 SHA512 fc27483ebf36daf4b97a43aab2b347255a35e03268c4424df133c714da41a415025be7e6d12579590ab03d237eebaacf89c056d722a66591a7e77c1f45297b4d DIST openssl-0.10.79.crate 307119 BLAKE2B c282a190830e6970bf4617d0a41cb12db34625c827c19ac02575635c2ff375ca2fc1ca5d2206a296af733c1fd5c5d4e962325820a3dd643e8913145385c9026b SHA512 da9b6025324499bef777f8a7caa3705e3857ddf0aa80c659da5adcc6b6518e8734ccdbe10410a578003bde1dec2006e8d7b84224d635d03003f4a91f2e71406d +DIST openssl-0.10.81.crate 311187 BLAKE2B a66963c92f34d6efaa80363681664eafdf21af640727132155b2aa1f8c167a9af081091addb675e901ffa352145d1a155b2917df90c4a7917b01c722a592d559 SHA512 533c23b4f1e9b942ff30eb3d22232298135c370fc31c97940f4ac18c73291acca6be4e03284efecbd01096999a6529d1a33a63db332efb4aee478cbcb3f37eba DIST openssl-macros-0.1.1.crate 5601 BLAKE2B 69dc1c1f3b7bc4f934cae0dce64c3efa501162e5279efd6af3b74f7a7716c04b6996b306b310f1c045cfa2eff2895314a47ecbb020a817e461c6d77d0bc11e92 SHA512 57e75c84f78fb83f884eeaedb0dd135ecb40192dad2facd908e6a575c9b65b38a2c93bca4630e09ea5a82c77d8bc8364cb2f5778cbfe9d8f484cafe3346b883c -DIST openssl-sys-0.9.110.crate 80412 BLAKE2B c59794f0b31013231829db4c9b495a5083b4adcaed5779b4ee013bafe4667fdcee12ef7e2a0c30d4abbe340ef036dbf8c40a41e8293231d7f4137c9bc7bfa820 SHA512 8e43f0cc67ebb084c18df410322df75bc384adfcf8fcafe2b0febcd6ee47a1825037db880012c7076c7b11153a101d6d0006437ba0d53a7182f1bcdf51af8d65 DIST openssl-sys-0.9.114.crate 75617 BLAKE2B f4c313dae993116f249d27d9b161263e8ed770ea8ba0446738aa9fcb2f94d2aebb069f6a713f94ed64e99350f3241b095ef6f433b0e4f75cc3de2b0916d04a75 SHA512 a1404b613d77b039fee2e2195867f8db75520aaa558d125c99f1a6694e513e15454914dd8ab84ab1ef4ab729afd53eac8ddf5f3c42d152f758faa1d0c1fbd258 DIST openssl-sys-0.9.115.crate 75821 BLAKE2B 56de1b3874f67e0e5771d7b0227246a143ef862301769086dc10bece0b772cc08bf3f6169462b01bf9b90c5691ddd406531cb48104fe4619bbe8f1d19d9fa271 SHA512 2a5c46d20f8d194e92785311f3866cca4ccf8b0e1b665afd49768f230eee76e1e00f04415b4b2f2b8f449dbf9f11a62b56cb639dfdc1d4783ee8bb256864dd05 -DIST pem-3.0.5.crate 18140 BLAKE2B 1a19acf6c5d4dafb4411688d87b668d2ea1abe8f561dc2d5de8894066c06e32c5c1392d0e6963d07bab27368a1b39a4f0520485500a1312e2ae43b5c0959ab16 SHA512 09b4a75bda0df6153799e56cdf175d88b7c88b49fda3e19fffba5aa821e433bf3bc9f254f5016131d3dd2d3146c3f6b73e71e04b81ac7d52b581c638cd60d0ff +DIST openssl-sys-0.9.117.crate 76045 BLAKE2B 074b44386a0a0833db961f8f8a249abdbacbc43a5428f8957e2284263206f4c2513c3eb7b38c96975f11ae75654656eb5d6d7d438c31bb5336835d9ed067e9b6 SHA512 89eeb0bfaa2c1ac3e0a8d268a46f8bfaa9942b0f840b0403faa15474961066559b3a1d24f672b445e1029301e6a99c7e2d84dec27528183523a409e9fb57b242 DIST pem-3.0.6.crate 18362 BLAKE2B 0cdd4855872e51d70bf6f3031a28ed9580c0fbad3ec7680938f121753e637f925a57ccb67ed5b85f3c0dff8b4c1fe936aa3ab4b4067ab9a3a3dd17dec02680cd SHA512 4d485bc3a14d7480b6fd0627869d4093124f173a3aeaeaff4ed69a37ba50a8327e6e9325a92d1a5c8ef337b7ca812de2e74ac786eaa94a644de8daf15619de15 -DIST pkg-config-0.3.32.crate 21370 BLAKE2B 74ded191f066bc223739b3d4afec58f23de57566e7604e3dd62001d9a095a7b6a3633fdb01fdc46960c8134a694d6bf097d9ecec62b38c4f14acafbbabd6e893 SHA512 59569110185fa665f76a13e884a67ad1578c55246abacfc18cb9f037b2d2d9ec3f2078a3adfe5cc82a451892c9ad55f918ee01362a741f57dc9ff6846a4e32e5 DIST pkg-config-0.3.33.crate 21590 BLAKE2B 576349a975cd4b9ff08c7f797f300cb2774425c72ed7baced19e0ba6231246f4479939c61bcc9efeb9174a2d6917bf009f02e93c26800c65e798b9e51ccf4d8b SHA512 af931d889e72f51e0ae41c880a1f5aa6215b93148cf7041378664e4ba013d0c83d654e560a73c9d7b301b5a008c221e48ac81b413d1123786e003c97f7fff63a -DIST portable-atomic-1.11.1.crate 185506 BLAKE2B 953bb1f2059dc1d891305eb89945f1f6a172fa50972725aee499de72b5dd9b4ad8ccefe4e891183ff8e6b64f4d1bb45ec33b06e0f5af34c940f817b290f746d9 SHA512 4c037ae0b4aef43077bdbf803389bc078d963f20d023e2e1d339a54f67fa9b27c174e7c1b6eca8881ecf301e30c431632d2c0dcedfb5b19552892fac0f81e2e1 DIST portable-atomic-1.13.1.crate 197001 BLAKE2B 6d0898c2a537a9bf204b7749cca5f5fddf280772b56eb7ce8fdd9cf7d71561137b26ef89f415c40277a1c89981333eef78e5bb4624515a294ba28fdaeb4c70ea SHA512 2a1b31ac9814af884640b3398ab824a9795c72d260527a0966b193113808cfbb3345d50cd1beaebb45863437c3d06c8706d34b26efecceefc649319a4bc274a3 -DIST proc-macro2-1.0.101.crate 53886 BLAKE2B db566c4fb6a197e0aa45cc074310853eaa24ceeafe9fb91f2014ba47cf6b1cbc34e4e9391456c946587540c8e270e1a37f5195cf03bd15ea5d4f171bba9772db SHA512 3171c807d24371da2931f9c706fb3129bb9bf3ac40418e5d14cfc372baf96e5fee9ede72091163858e3ba0b4f88594efa1031b0bb7128ca68e7b847dead6856c DIST proc-macro2-1.0.106.crate 59765 BLAKE2B 87f95795621c4c992c370dc3a1240a2d5580e3362356525efe640f8f26ad0492b3c88755d575c080ff7db11376b0d82f31141bf6f86c895249b85e46c081220f SHA512 b726e2c92af434bfa88cd4f53c3fe6db647503567675fb439890dee3d15f5111137e3242b28d164114ce081c10acf3fd11950753ddb349190c87ee04e7d97744 -DIST pyo3-0.26.0.crate 1151579 BLAKE2B bcc8236785502928bf4a0b7a320e0a8f3d6140c562de4351a52d015aaebb8dd6b4d68fe607c8ea13ec66941c8f01d2c18c4249adfacb521355d4bf158667f3a3 SHA512 e073a4d893f88aa0301ef0ead78048137515edd93c490e6dccbc301ff65a208534c65c1d216b04639d4b1ec1e4b69bc87bd34974e5d0659134c28dcce589c194 DIST pyo3-0.28.3.crate 1204476 BLAKE2B 8540a1c51bac4fbe04ea34d5ce38471c13d5a3f0759e60cf21d67e846b00feb8316e70f32cb8dc6b74d09f0901ffc83d5f41b1a06da6d34790ef13e4cefcad45 SHA512 f955957eec4b95cc9337d331bba3bba52b4754b301cf86cd974601e64eb20c2424023b19be89a224661fe2e185de646cd3d0d00705b6b5cbd139856c9443a247 -DIST pyo3-build-config-0.26.0.crate 34309 BLAKE2B 5ea8b51da2f425674cd3bfcc1090ffdd08da01d2161dc66b08995c20cc859422f9f84077c545e5a0580182910aeb9dbba97838915148a82b86948d1cca3c8722 SHA512 a982d0a0baa4af58c2cef7c0c4b2671e3f559ca7f30586eda9fbd05e842efa2bfea0089ddbc729225b848871f6a25f85e86576e1dff519192ba289cd92c6aa8b +DIST pyo3-0.29.0.crate 1241253 BLAKE2B 29deb7fa70010bf3d7e9e93bbcd87c0b56c4ee7ef0c2e5956181d2fb5f06f4c9b3f28bd1ad280126c26c048808b91b847e1fb69ddd617ef9e9e5e004cf4e48ae SHA512 e6822400de53ebcef4a14c899dc065abae621a126483873139f5eb850877c94f4bccee3a183d4e2a69eadcd3c3b82b0a6f3e1053d926b103be572329607f2f67 DIST pyo3-build-config-0.28.3.crate 35961 BLAKE2B 61a0101913c6d563721049ca99256c2aefd89b017a7e18c82f4a6aceca0aefeaa71fd559cd43adfb5034ce076c904e5188f8f73961ea217287fbfd12caab9401 SHA512 78f85696901b16540d42187d10e888bd929b9f23415faeb73f9798abda1af3506a308145dd4113b070521271c72624d7930fb4b19bad25aa1afd3082030c9126 -DIST pyo3-ffi-0.26.0.crate 78247 BLAKE2B 65f1c399bc763bf8afc36ccac27d28242ebcccebd08ab8d9b3165ca5c9abb10f76e76fe5a250aa1e0cdc1d1e8a613160660f07bc0dbc2812675acb9dfc8e89c2 SHA512 91c2ae828e997dee5e48d839794727e94576228e9329c358a3bc77a59f8f37fa0ae6c2579229782b3f46ab90725844ce9194b9de4d3849d824adf1d40743bf7e +DIST pyo3-build-config-0.29.0.crate 39616 BLAKE2B 7b62a5976b890db84e5256f3136185c2a9c3b7110782b5b0cdc314a5231fde30a853ddcd17af63b53488b3e8d5e310b01002b6f3c32cfeb1e5c3e168cd6460d7 SHA512 df77e8d7d5fe173749437ff6b90fa1703083377d515ab8a85dc77d9cac9c3fc331ede4b040f7e3694311ddb5adff577cf90c181a27c196ab93a4569e918fdea8 DIST pyo3-ffi-0.28.3.crate 80881 BLAKE2B 4ac7066c911e2aec18aa9245efed00585d063f81d69910e6a146f8efbf2939ab5de519bbf2a3dde78b40c264e97c62490db80e9b2e84aaf080d63659a6676459 SHA512 ec49b5cc67d19f46c9daea76b37b4988af0f63b9ed67c71190f015a0aa9691d4a8ffd4128413de430928428e1e8e26d44c3103f561e6b71b7e8c4597ab602d9f -DIST pyo3-macros-0.26.0.crate 8906 BLAKE2B 60eef72d27b5bc922b75f71ae24bb6f380288cb3a619bf2940b0de47b27e86cce0ffdb1fbdc9c0540d3f15c9df4884497aa1e6efec0f1579ac722b414818a428 SHA512 07bcddba0926c3dff7629da3260f9a38593fbb337b6a68d55c223f5944d912885e5319cd635ae1785026fed4adea1fcc19695ae83aca5bea127c5a8868fd2c43 +DIST pyo3-ffi-0.29.0.crate 88184 BLAKE2B 5891af92a3bcba764c4701dcc0a99edbced010a5ac46df3217d004f5c3a368f18331733c6723bd49e522c6f7105455df13e2be0f07695ed5ce6ae71c15dec438 SHA512 baaf01d13ddc09316ba16b22e9ca15a67e5bda5b861ed7961c3393fd4692fc1c96952f81465d1dcb6531b9083f96c5630981b3d7802cb1ac2af67aafaffbec76 DIST pyo3-macros-0.28.3.crate 8963 BLAKE2B ca9967cfba565b873ed77565ff6eb8408473c227d191797e9db8c6b5cbc89abc17ffd57ae71e28877088fe19373da2f503cdefeae6b0a47796f6abcf62044f08 SHA512 57d178bd9b53dd98916e60c89bc26c34f9949829dc17bf7d6cc15b704bba7c874d85d6bd3c827d401268660a79230a6e32711048da939ec4e22342f3e08046d1 -DIST pyo3-macros-backend-0.26.0.crate 81809 BLAKE2B 73885035855daf00b001e97e0a5ebe09412d212c8f01aa4db6638ef09990bf1bccbacf2e5a7e6ec21929bb1c2beba06587ecdb6ee954eda9e9c51c6c276cea95 SHA512 4146011a8ef18ecaa44b425eebe6e5e1370945063b98aaa83452e57b66aefbf5d483367b1d4d44aa5091303c4ba7f568c6428ecec0cfa6c90ba41631d4e99367 +DIST pyo3-macros-0.29.0.crate 8915 BLAKE2B c12d23753d5aba7333183d4b41f16c8da1d4297a3ff86b3b150e9185c1978fc184ac198e566a41833292a8a78ab59446eafd5ef7169e5cb41493e7cbeaa68280 SHA512 fb6633ac76229d2e0ad88d51136a9318f03823b27c700a62cfbc957b4c834985e2f4c0cdaf5ea5e9993ec9e8ce3d63cd6b3fb823f2a042e65186adbed78da7c2 DIST pyo3-macros-backend-0.28.3.crate 88063 BLAKE2B a484b12bbab3031838f61149ab9f08b9e460a2bd02089e08e58dac2cb747afbc0cdfe64018ed4c8cb0bbbd1d22e3eb05a6a72b020da6b71a584ec51ca8d24292 SHA512 45ce31ed64ee4fd0249736d480c9840a756bc45934d6803ae11e0680057ecf4cc74c71b47ccf9241fc3ab5c1e0b9c758426f08bd523d1ace92fc308302ea3c84 -DIST quote-1.0.40.crate 31063 BLAKE2B 09036ff3e5ebbd775c466bb936de91d4c070481eb4b98c62a4cddcda57cd7b67d63f979b321f6ec64aabee3f5da6c28e7a3efb83f4647768ba578f1bd0bd0bdb SHA512 45a76e22a2b0bec47e4ba73c3b73cc41d821dfcce9876134c5d8eed514da214aee4ce7612e372c8709f888c0d8b9b7e5442f27adb7a59f3571f0339ed7e2ac99 +DIST pyo3-macros-backend-0.29.0.crate 91943 BLAKE2B 7c2977dd9c80f3dd1f5375b0c65492b46048ca02e6355ad746bc8430cf92eaf25c701f416469eb69724fde5220651b1095c09eb9e3ff860176f862d7c7287407 SHA512 13a7af3958c09969637827d97ab9bbc664c407dda9e4283afaf495757798cf6f84932468bc092160fa75211ce0aafe6efc657f3a390234d77a67362cfb31fe0f DIST quote-1.0.45.crate 31564 BLAKE2B 1b2c2c3e6ebabfe10affa4c43ca0bfd1f52d8fd49e1df463e13e63a82de41272089c8e09e4c02e8a33cfee768ace26d4d42a50752de8fb5a776c59806139ad5d SHA512 df96ede01ebd0ed642b758bf1d0862d0e116fc2b3343e14edb657ce5438ccabe743dec4a0a40de4dee98c134d169af9aba459faadf9c7a832b26377e755d49b0 -DIST self_cell-1.2.0.crate 16883 BLAKE2B 56bd187fabc138c530aa23dfc69a330a7d0a8f86609801924fd1f4b0cefc43a99a8ba21d05e59272c9d32b83405b4c980df4f01e529772b760a9564dd8eb0c0a SHA512 41addc9b737d0379c0236b1821d6051d31dca6a76f463e6e56c3bac9015da4243f9fedc3d57e051f68f6f0aa610383a0b2cade07b1ea17e92173e2088a625af0 DIST self_cell-1.2.2.crate 23264 BLAKE2B dd4208f060b09e673178d0c66ba98670187d613fd903254d17e711ed2538c4ce6cdca7c0d65482a163ed2c91c8aa9b19d7f29df025b9964d69ba0fab3a6c7d6d SHA512 b47fb19bc623b5d670c21a2b1c32dd298934e295cc5b965b2b244ff4a076a7de4c652e4d820db32e68301b4124334ebd25837b55c610b75dc60bdd95a6ef9420 DIST shlex-1.3.0.crate 18713 BLAKE2B 18800c364d3a628f1a3125097ea82fe6286550c2997235df0bf8483a3906aacabc81308cb239887d46ba2f457cc6f8acd5aca78316707eea5098cd5666aea67d SHA512 5c8cedbe666a14b8a0874defb9208146ce64579cde52ed483e4a794cac5dde6a24bf8d684404edff582f842e1fd4fa3fbeddbe074f191e4ec4aa517aa456fe8a -DIST syn-2.0.106.crate 301514 BLAKE2B 6b28b30ee067c23dc4bd1b38365d14c1700245c974e785173965b0822301966d642b36bdda25210d61f17a99fc71eb81e29a56c89d1649773908bae32778fb1f SHA512 e07e1058770fa3f1039eaf335340cefb597c0dd11bb90fec9fa777ca5815d0e0bb1711bb4db52cac77e205dd68fbe2bce0e1aa9895c2a52a1ea6d7758d13424c +DIST shlex-2.0.1.crate 19332 BLAKE2B db2b6c5f7f30ad2f968d2dd386d39b362b8d19d7e17fffbb7407d6f35a4e165432b6607f3897c66cf8d32bf6e795ba7297080608c855b796fcf19842f4c509fa SHA512 d1bf35e2c5a93c718d3cc395fc4b06cc0c42d4891c0f37247de7e179492478020f0c57ae74c461d5bb1f833b071fd5c036d8d6d6ab8b61be6140cb64ae525921 DIST syn-2.0.117.crate 306011 BLAKE2B bbaec02c4322f522bdfc87caa4ce6fd1e09bbf8f4a102d9ed8728efacdd843a2750f616dce5b2d3a3e46bbb7d57439fbd10e328bc1d4a01e980986cd815798af SHA512 035c2e63542592b6a4058a2a82d4c2c1f5793f84fb1b04cbd393337a26fcf661a1f3bea439ce98a1fe943b1c4d36d2bda16df3bbc3fa6ca35e1548d530dc8416 -DIST target-lexicon-0.13.3.crate 28498 BLAKE2B 397315667737abde41949081f8377f704c3a1105790162249a9f0c08b60f012e67d66550e9063d900ac98f5191d13c5ed23d1a8045f99373e7a673a3cfc029e7 SHA512 23422df6edb2a8cb0a9f048864faf76ccb27d6e97fbed7b208b77206941b196f155896a0381150e387142e976439a0a296dcf4cbb4df6bc0e11c65f97f979443 DIST target-lexicon-0.13.5.crate 26928 BLAKE2B f8c62cb91f68a635e6ce3fc254df9ce378b5e8f62c1147404c967484b9ed97fb33d7993b4671611db76566063e999d658d201f856f70196ec678d72cc758cf6d SHA512 956df27c01e1186c5356117ffd07810fc0b62fb919d5bfd215955ba85be00ef675212a3c0dc36679986be7b825442fec5c93c7643b7e1e19c04572e6463546fc -DIST unicode-ident-1.0.19.crate 47480 BLAKE2B d1b9d26833fcd1f3a8498abe2f4ba4202e4547315e48aa927c0f6e4a760c6c7000ff0c18d0cf45af362323c42843d745958c1b0419835f39e13dbc1559487026 SHA512 b17fcf6bffdb4745e0b1bf4983a0dcc4c84f8b4e2c2c618eefbbeae83f94ec75df87b55f9e2dede8c3b4c6e22107fcfc589475c0cbc2c58dfb8630db8d362183 DIST unicode-ident-1.0.24.crate 49298 BLAKE2B 34ba2906a3ebc06f52a4ba77dff96a8f3fb977718d260886fa9e051c5830765641b65a63977110f3a79f31fa177b385f81b01d56c80f6a0324d36eae72e2ebf0 SHA512 7be712d8d0075ac9341790180e312f66264d3e0255c91b38df0951baa5e446dec24551bb2125a66a1cb9b6ca2f1ea37c0cc15fa3dd74f398ecf4d5302c7dc259 -DIST unindent-0.2.4.crate 7422 BLAKE2B 2e7870cd4f78240dbb1e5fb9c0f9b55c57bb40242fe668f105a0e862f1d6300e31efbffe0cdff676a5f96a8d19dfb148f88bfef1cd8a710556d777fd0f4ee37f SHA512 58bd4fd20a0b0a7200e0ea3ea70553cea135a5a8f7a2fb178520c41228f435becce4b9981019b7c73a17df87a2ee9b2a47c4cec29a3011bfe848d48b2473761b DIST vcpkg-0.2.15.crate 228735 BLAKE2B 6b6bacd9a7fa38919241f45a97f58cae957e58d3aac99df208a26aa718e4f1644f4ccefa31b09151e5c1952288e0e5837c363918b98c7f55079a948a952c1c50 SHA512 7322a21e8811b2fe4e79e09dc321458068ecdf1953f05d36233f3278ecc0b1dfc64194db7010dd46fcf692285f42475beb090c6c6cac0c8f9fe0eb5c770e3172 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-47.0.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-47.0.0.ebuild index 5692d2fd2f9..1ac4beef5d6 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-47.0.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-47.0.0.ebuild @@ -69,7 +69,7 @@ LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-3.0 " SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" >=dev-libs/openssl-1.0.2o-r6:0= diff --git a/sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-48.0.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-48.0.0.ebuild index 8e5d7f3fe67..72c3cd63108 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-48.0.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-48.0.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin PYPI_VERIFY_REPO=https://github.com/pyca/cryptography -PYTHON_COMPAT=( python3_{11..15} pypy3_11 ) +PYTHON_COMPAT=( python3_{12..15} ) PYTHON_REQ_USE="threads(+)" CARGO_OPTIONAL=yes @@ -69,7 +69,7 @@ LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-3.0 " SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" RDEPEND=" >=dev-libs/openssl-1.0.2o-r6:0= diff --git a/sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-46.0.7.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-48.0.1.ebuild similarity index 76% rename from sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-46.0.7.ebuild rename to sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-48.0.1.ebuild index b6bb5899e18..ec356340bd4 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-46.0.7.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-48.0.1.ebuild @@ -3,49 +3,46 @@ EAPI=8 -CARGO_OPTIONAL=yes DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin PYPI_VERIFY_REPO=https://github.com/pyca/cryptography -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( python3_{12..15} ) PYTHON_REQ_USE="threads(+)" +CARGO_OPTIONAL=yes +RUST_MIN_VER="1.83.0" CRATES=" - asn1@0.22.0 - asn1_derive@0.22.0 - autocfg@1.5.0 + asn1@0.24.1 + asn1_derive@0.24.1 base64@0.22.1 - bitflags@2.9.4 - cc@1.2.37 - cfg-if@1.0.3 - find-msvc-tools@0.1.1 + bitflags@2.11.1 + cc@1.2.61 + cfg-if@1.0.4 + find-msvc-tools@0.1.9 foreign-types-shared@0.1.1 foreign-types@0.3.2 heck@0.5.0 - indoc@2.0.6 - itoa@1.0.15 - libc@0.2.175 - memoffset@0.9.1 - once_cell@1.21.3 + itoa@1.0.18 + libc@0.2.186 + once_cell@1.21.4 openssl-macros@0.1.1 - openssl-sys@0.9.110 - openssl@0.10.74 - pem@3.0.5 - pkg-config@0.3.32 - portable-atomic@1.11.1 - proc-macro2@1.0.101 - pyo3-build-config@0.26.0 - pyo3-ffi@0.26.0 - pyo3-macros-backend@0.26.0 - pyo3-macros@0.26.0 - pyo3@0.26.0 - quote@1.0.40 - self_cell@1.2.0 + openssl-sys@0.9.115 + openssl@0.10.79 + pem@3.0.6 + pkg-config@0.3.33 + portable-atomic@1.13.1 + proc-macro2@1.0.106 + pyo3-build-config@0.28.3 + pyo3-ffi@0.28.3 + pyo3-macros-backend@0.28.3 + pyo3-macros@0.28.3 + pyo3@0.28.3 + quote@1.0.45 + self_cell@1.2.2 shlex@1.3.0 - syn@2.0.106 - target-lexicon@0.13.3 - unicode-ident@1.0.19 - unindent@0.2.4 + syn@2.0.117 + target-lexicon@0.13.5 + unicode-ident@1.0.24 vcpkg@0.2.15 " @@ -72,7 +69,7 @@ LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-3.0 " SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-libs/openssl-1.0.2o-r6:0= @@ -100,15 +97,10 @@ BDEPEND=" # Files built without CFLAGS/LDFLAGS, acceptable for rust QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.*.so" -EPYTEST_PLUGINS=( hypothesis pytest-subtests ) +EPYTEST_PLUGINS=( hypothesis ) EPYTEST_XDIST=1 distutils_enable_tests pytest -PATCHES=( - # https://github.com/pyca/cryptography/pull/14319 - "${FILESDIR}/${PN}-46.0.5-stray-files.patch" -) - src_unpack() { if use verify-provenance; then pypi_verify_provenance "${DISTDIR}/${P}.tar.gz"{,.provenance} @@ -143,5 +135,10 @@ python_test() { local EPYTEST_IGNORE=( tests/bench ) + local EPYTEST_DESELECT=( + # OOMs depending on overcommit setting and available memory + tests/hazmat/primitives/test_argon2.py::TestArgon2::test_argon2_malloc_failure + ) + epytest } diff --git a/sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-49.0.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-49.0.0.ebuild new file mode 100644 index 00000000000..9730fc50783 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/cryptography/cryptography-49.0.0.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=maturin +PYPI_VERIFY_REPO=https://github.com/pyca/cryptography +PYTHON_COMPAT=( python3_{12..15} ) +PYTHON_REQ_USE="threads(+)" + +CARGO_OPTIONAL=yes +RUST_MIN_VER="1.83.0" +CRATES=" + asn1@0.24.1 + asn1_derive@0.24.1 + base64@0.22.1 + bitflags@2.13.0 + cc@1.2.64 + cfg-if@1.0.4 + find-msvc-tools@0.1.9 + foreign-types-shared@0.1.1 + foreign-types@0.3.2 + heck@0.5.0 + itoa@1.0.18 + libc@0.2.186 + once_cell@1.21.4 + openssl-macros@0.1.1 + openssl-sys@0.9.117 + openssl@0.10.81 + pem@3.0.6 + pkg-config@0.3.33 + portable-atomic@1.13.1 + proc-macro2@1.0.106 + pyo3-build-config@0.29.0 + pyo3-ffi@0.29.0 + pyo3-macros-backend@0.29.0 + pyo3-macros@0.29.0 + pyo3@0.29.0 + quote@1.0.45 + self_cell@1.2.2 + shlex@2.0.1 + syn@2.0.117 + target-lexicon@0.13.5 + unicode-ident@1.0.24 + vcpkg@0.2.15 +" + +inherit cargo distutils-r1 flag-o-matic pypi + +VEC_P=cryptography_vectors-$(ver_cut 1-3) +DESCRIPTION="Library providing cryptographic recipes and primitives" +HOMEPAGE=" + https://github.com/pyca/cryptography/ + https://pypi.org/project/cryptography/ +" +SRC_URI+=" + ${CARGO_CRATE_URIS} + test? ( + $(pypi_sdist_url cryptography_vectors "$(ver_cut 1-3)") + $(pypi_provenance_url "${VEC_P}.tar.gz" cryptography_vectors "$(ver_cut 1-3)") + -> ${VEC_P}.tar.gz.provenance + ) +" + +LICENSE="|| ( Apache-2.0 BSD ) PSF-2" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-3.0 +" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-libs/openssl-1.0.2o-r6:0= + $(python_gen_cond_dep ' + >=dev-python/cffi-2.0.0:=[${PYTHON_USEDEP}] + ' 'python*') +" +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + ${RUST_DEPEND} + >=dev-util/maturin-1.9.4[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/iso8601[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + dev-python/pyasn1-modules[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + ) +" + +# Files built without CFLAGS/LDFLAGS, acceptable for rust +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/cryptography/hazmat/bindings/_rust.*.so" + +EPYTEST_PLUGINS=( hypothesis ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_unpack() { + if use verify-provenance; then + pypi_verify_provenance "${DISTDIR}/${P}.tar.gz"{,.provenance} + use test && pypi_verify_provenance "${DISTDIR}/${VEC_P}.tar.gz"{,.provenance} + fi + + cargo_src_unpack +} + +src_prepare() { + distutils-r1_src_prepare + + sed -i -e 's:--benchmark-disable::' pyproject.toml || die + + # work around availability macros not supported in GCC (yet) + if [[ ${CHOST} == *-darwin* ]] ; then + local darwinok=0 + if [[ ${CHOST##*-darwin} -ge 16 ]] ; then + darwinok=1 + fi + sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \ + src/_cffi_src/openssl/src/osrandom_engine.c || die + fi +} + +python_configure_all() { + filter-lto # bug #903908 +} + +python_test() { + local -x PYTHONPATH="${PYTHONPATH}:${WORKDIR}/${VEC_P}" + local EPYTEST_IGNORE=( + tests/bench + ) + local EPYTEST_DESELECT=( + # OOMs depending on overcommit setting and available memory + tests/hazmat/primitives/test_argon2.py::TestArgon2::test_argon2_malloc_failure + ) + + epytest +} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/cryptography/files/cryptography-46.0.5-stray-files.patch b/sdk_container/src/third_party/portage-stable/dev-python/cryptography/files/cryptography-46.0.5-stray-files.patch deleted file mode 100644 index e13bb4f560c..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/cryptography/files/cryptography-46.0.5-stray-files.patch +++ /dev/null @@ -1,48 +0,0 @@ -From b89a7737e3f135333125b0984e75ea553a485203 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -Date: Sun, 15 Feb 2026 17:47:48 +0100 -Subject: [PATCH] Fix installing stray files into site-packages -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Fix the `include` pattern in `pyproject.toml` not to install stray files -such as `CHANGELOG.rst`, `CONTRIBUTING.rst`, `docs` and `tests` straight -into site-packages. Apparently Maturin did not install them before due -to a bug, but it was fixed in maturin 1.12.0, leading to the files being -suddenly installed. - -Originally reported as https://bugs.gentoo.org/970090. - -Signed-off-by: Michał Górny ---- - pyproject.toml | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/pyproject.toml b/pyproject.toml -index e26b38628..8640cb6e5 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -106,10 +106,10 @@ module-name = "cryptography.hazmat.bindings._rust" - locked = true - sdist-generator = "git" - include = [ -- "CHANGELOG.rst", -- "CONTRIBUTING.rst", -+ { path = "CHANGELOG.rst", format = "sdist" }, -+ { path = "CONTRIBUTING.rst", format = "sdist" }, - -- "docs/**/*", -+ { path = "docs/**/*", format = "sdist" }, - - { path = "src/_cffi_src/**/*.py", format = "sdist" }, - { path = "src/_cffi_src/**/*.c", format = "sdist" }, -@@ -121,7 +121,7 @@ include = [ - { path = "src/rust/**/Cargo.lock", format = "sdist" }, - { path = "src/rust/**/*.rs", format = "sdist" }, - -- "tests/**/*.py", -+ { path = "tests/**/*.py", format = "sdist" }, - ] - exclude = [ - "vectors/**/*", From eba51f9392e044b72e7943045651f4b317a0d12c Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:00 +0000 Subject: [PATCH 082/243] dev-python/cython: Sync with Gentoo It's from Gentoo commit d656cba23cae81762a628f4f579960f777e7ebc5. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-python/cython/Manifest | 2 + ...on-3.2.5.ebuild => cython-3.2.5-r1.ebuild} | 7 +- .../dev-python/cython/cython-3.2.6.ebuild | 128 ++++++++++++++++++ .../dev-python/cython/cython-3.2.8.ebuild | 128 ++++++++++++++++++ 4 files changed, 264 insertions(+), 1 deletion(-) rename sdk_container/src/third_party/portage-stable/dev-python/cython/{cython-3.2.5.ebuild => cython-3.2.5-r1.ebuild} (94%) create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/cython/cython-3.2.6.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/cython/cython-3.2.8.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/cython/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/cython/Manifest index 33395c6df4f..4831e91d42d 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/cython/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/cython/Manifest @@ -1,2 +1,4 @@ DIST cython-3.2.4.tar.gz 3280291 BLAKE2B f6f4baf07426ba46757a7b12ec05dd6781088e30d402d39dbe7e7e43b711ec11b9ecefd8bdca8e4c6a2920bc1c670e348328dc53ea074879b5e4e87159905d65 SHA512 bea1b21227632aa6d01239779e584e06d462ef76ae284abb36c0a70074260bd4909ee69d94db4e8c8fc9416d6949c3b53411844531a86cdbca75881b97f5d84b DIST cython-3.2.5.tar.gz 3286381 BLAKE2B c3627213a2e62838b3aae120e0ab9cc33bb8f95a6c4ec9e10c6dc3e3ed00626b93bf3df3265ca601c4379c50598bec14b72de9bee9f8e8c96d125a175775086f SHA512 d11feb71bf2dbbbdffcac3e71e28eaa4d2583431f24e1722df4c0ab3fc33afc763ba4468e3bc7b8620b6d486357b8aa85dee248a195570329648c6b84312657a +DIST cython-3.2.6.tar.gz 3286970 BLAKE2B 6f18f448b3bec5a73f7bb29ef10bf546f887e477e1269431b3b0b73d8c7a160dece08d9ae947f6fbbb94c14cc1c652ca10b2487d55ee7716983e45c6eb0a62be SHA512 85940b6313ceb83c06f2ddb67bfc5dfd7dc7957503cea2b68362eb71a0e594976bf86032b24a4db713c991bb7eae7cd31f6bb90b58449b0b36cff2423f954931 +DIST cython-3.2.8.tar.gz 3290300 BLAKE2B a24c99d93414dcddc3912119253d454b0e60ab98d5e547aa53bedd0910f6b685fa6580e46c8e5dba6ef6882ad07e4a34a4bfc7b713c886308fd82a104b70dd00 SHA512 19807bc7a956325c642206debdd32c8c234aaeb79bb9b9b79adfdea51a65150203e32b3ac2a952371e57600ba06656c2734b2f401f2c986813bc73227069a853 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/cython/cython-3.2.5.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/cython/cython-3.2.5-r1.ebuild similarity index 94% rename from sdk_container/src/third_party/portage-stable/dev-python/cython/cython-3.2.5.ebuild rename to sdk_container/src/third_party/portage-stable/dev-python/cython/cython-3.2.5-r1.ebuild index b0678ce89f7..cda99e34b17 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/cython/cython-3.2.5.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/cython/cython-3.2.5-r1.ebuild @@ -10,7 +10,7 @@ PYTHON_TESTED=( "${PYTHON_FULLY_TESTED[@]}" pypy3_11 ) PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_15 python3_{13..15}t ) PYTHON_REQ_USE="threads(+)" -inherit distutils-r1 multiprocessing pypi toolchain-funcs +inherit distutils-r1 flag-o-matic multiprocessing pypi toolchain-funcs DESCRIPTION="A Python to C compiler" HOMEPAGE=" @@ -47,6 +47,11 @@ PATCHES=( # dev-python/sphinx-issues \ # dev-python/sphinx-tabs +python_configure_all() { + # https://gcc.gnu.org/PR125730 (bug #976797) + tc-is-gcc && [[ $(gcc-major-version) -ge 16 ]] && append-cflags -fno-ivopts +} + python_compile() { # Python gets confused when it is in sys.path before build. local -x PYTHONPATH= diff --git a/sdk_container/src/third_party/portage-stable/dev-python/cython/cython-3.2.6.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/cython/cython-3.2.6.ebuild new file mode 100644 index 00000000000..d85864bb896 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/cython/cython-3.2.6.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_FULLY_TESTED=( python3_{12..14} ) +PYTHON_TESTED=( "${PYTHON_FULLY_TESTED[@]}" ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_15 python3_{13..15}t ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 flag-o-matic multiprocessing pypi toolchain-funcs + +DESCRIPTION="A Python to C compiler" +HOMEPAGE=" + https://cython.org/ + https://github.com/cython/cython/ + https://pypi.org/project/Cython/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test test-full" +RESTRICT="!test? ( test )" + +BDEPEND=" + ${RDEPEND} + test? ( + test-full? ( + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ' "${PYTHON_FULLY_TESTED[@]}") + ) + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" +) + +# disabled to workaround pkgcheck performance issue +# https://github.com/pkgcore/pkgcheck/issues/782 +#distutils_enable_sphinx docs \ +# dev-python/jinja2 \ +# dev-python/sphinx-issues \ +# dev-python/sphinx-tabs + +python_configure_all() { + # https://gcc.gnu.org/PR125730 (bug #976797) + tc-is-gcc && [[ $(gcc-major-version) -ge 16 ]] && append-cflags -fno-ivopts +} + +python_compile() { + # Python gets confused when it is in sys.path before build. + local -x PYTHONPATH= + + if use elibc_musl ; then + # Workaround for bug #925318 + local -x LDFLAGS="${LDFLAGS} -Wl,-z,stack-size=2097152" + fi + + distutils-r1_python_compile +} + +python_test() { + # PYTHON_TESTED controls whether we expect the testsuite to + # pass at all, while PYTHON_FULLY_TESTED allows skipping before + # numpy is ported (and possibly other deps in future). + if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then + einfo "Skipping tests on ${EPYTHON} (xfail)" + return + fi + + # Needed to avoid confusing cache tests + unset CYTHON_FORCE_REGEN + + # uses $(nproc) to additionally parallelize many OpenMP-based jobs, + # leading to overcommitting + local -x OMP_NUM_THREADS=1 + + tc-export CC + + local testargs=( + -vv + -j "$(makeopts_jobs)" + --work-dir "${BUILD_DIR}"/tests + + --no-examples + --no-code-style + + # Fails to find embedded.c + --exclude 'embedded' + # coverage_installed_pkg needs dev-python/pip and doesn't like + # 'externally-managed' (bug #927995), but we don't really + # want automagic test dependencies at all, so just skip + # unimportant-for-us coverage tests entirely. + --exclude 'run.coverage*' + --exclude 'Cython.Coverage' + # Automagic on dev-python/python-tests, could add this in future + --exclude 'run.test_exceptions' + # TODO: Unpackaged dev-python/interpreters-pep-734 (interpreters_backport) + # This only shows up as a failure with >=3.13. + --exclude 'subinterpreters_threading_stress_test' + + # The fix for https://github.com/cython/cython/issues/6938 + # changes these tests s.t. they break with our build layout. + --exclude 'build.depfile*' + ) + + # Keep test-full for numpy as it's large and doesn't pass tests itself + # on niche arches. + if ! use test-full || ! has "${EPYTHON/./_}" "${PYTHON_FULLY_TESTED[@]}"; then + testargs+=( + --exclude 'run.numpy*' + --exclude 'run.ufunc' + --exclude 'numpy*' + ) + fi + + "${PYTHON}" runtests.py "${testargs[@]}" || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) + distutils-r1_python_install_all +} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/cython/cython-3.2.8.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/cython/cython-3.2.8.ebuild new file mode 100644 index 00000000000..61ec8f655d6 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/cython/cython-3.2.8.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_FULLY_TESTED=( python3_{12..14} ) +PYTHON_TESTED=( "${PYTHON_FULLY_TESTED[@]}" ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_15 python3_{14..15}t ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 flag-o-matic multiprocessing pypi toolchain-funcs + +DESCRIPTION="A Python to C compiler" +HOMEPAGE=" + https://cython.org/ + https://github.com/cython/cython/ + https://pypi.org/project/Cython/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test test-full" +RESTRICT="!test? ( test )" + +BDEPEND=" + ${RDEPEND} + test? ( + test-full? ( + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ' "${PYTHON_FULLY_TESTED[@]}") + ) + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-0.29.23-pythran-parallel-install.patch" +) + +# disabled to workaround pkgcheck performance issue +# https://github.com/pkgcore/pkgcheck/issues/782 +#distutils_enable_sphinx docs \ +# dev-python/jinja2 \ +# dev-python/sphinx-issues \ +# dev-python/sphinx-tabs + +python_configure_all() { + # https://gcc.gnu.org/PR125730 (bug #976797) + tc-is-gcc && [[ $(gcc-major-version) -ge 16 ]] && append-cflags -fno-ivopts +} + +python_compile() { + # Python gets confused when it is in sys.path before build. + local -x PYTHONPATH= + + if use elibc_musl ; then + # Workaround for bug #925318 + local -x LDFLAGS="${LDFLAGS} -Wl,-z,stack-size=2097152" + fi + + distutils-r1_python_compile +} + +python_test() { + # PYTHON_TESTED controls whether we expect the testsuite to + # pass at all, while PYTHON_FULLY_TESTED allows skipping before + # numpy is ported (and possibly other deps in future). + if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then + einfo "Skipping tests on ${EPYTHON} (xfail)" + return + fi + + # Needed to avoid confusing cache tests + unset CYTHON_FORCE_REGEN + + # uses $(nproc) to additionally parallelize many OpenMP-based jobs, + # leading to overcommitting + local -x OMP_NUM_THREADS=1 + + tc-export CC + + local testargs=( + -vv + -j "$(makeopts_jobs)" + --work-dir "${BUILD_DIR}"/tests + + --no-examples + --no-code-style + + # Fails to find embedded.c + --exclude 'embedded' + # coverage_installed_pkg needs dev-python/pip and doesn't like + # 'externally-managed' (bug #927995), but we don't really + # want automagic test dependencies at all, so just skip + # unimportant-for-us coverage tests entirely. + --exclude 'run.coverage*' + --exclude 'Cython.Coverage' + # Automagic on dev-python/python-tests, could add this in future + --exclude 'run.test_exceptions' + # TODO: Unpackaged dev-python/interpreters-pep-734 (interpreters_backport) + # This only shows up as a failure with >=3.13. + --exclude 'subinterpreters_threading_stress_test' + + # The fix for https://github.com/cython/cython/issues/6938 + # changes these tests s.t. they break with our build layout. + --exclude 'build.depfile*' + ) + + # Keep test-full for numpy as it's large and doesn't pass tests itself + # on niche arches. + if ! use test-full || ! has "${EPYTHON/./_}" "${PYTHON_FULLY_TESTED[@]}"; then + testargs+=( + --exclude 'run.numpy*' + --exclude 'run.ufunc' + --exclude 'numpy*' + ) + fi + + "${PYTHON}" runtests.py "${testargs[@]}" || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) + distutils-r1_python_install_all +} From 5b952378822ee235d61db5bda87f9a81222e1fff Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:01 +0000 Subject: [PATCH 083/243] dev-python/dependency-groups: Sync with Gentoo It's from Gentoo commit 564ab08dc0efe41472cb204fb393b76a364ae100. Signed-off-by: Flatcar Buildbot --- .../dev-python/dependency-groups/dependency-groups-1.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/dependency-groups/dependency-groups-1.3.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/dependency-groups/dependency-groups-1.3.1.ebuild index 4cf9132d0fb..2c81784e394 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/dependency-groups/dependency-groups-1.3.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/dependency-groups/dependency-groups-1.3.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit PYPI_VERIFY_REPO=https://github.com/pypa/dependency-groups -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) +PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 pypi From 9ce59b7eafb72fbb6dbfa43dfcdc165e3a25ec0d Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:01 +0000 Subject: [PATCH 084/243] dev-python/distlib: Sync with Gentoo It's from Gentoo commit 4d38fb7000af1f3cd788654bbdd8d772afd82309. Signed-off-by: Flatcar Buildbot --- .../dev-python/distlib/Manifest | 3 +- ...tlib-0.4.0.ebuild => distlib-0.4.1.ebuild} | 6 ++-- ...b-0.4.0-r1.ebuild => distlib-0.4.3.ebuild} | 14 ++-------- .../files/distlib-0.4.0-py314-test.patch | 28 ------------------- 4 files changed, 7 insertions(+), 44 deletions(-) rename sdk_container/src/third_party/portage-stable/dev-python/distlib/{distlib-0.4.0.ebuild => distlib-0.4.1.ebuild} (87%) rename sdk_container/src/third_party/portage-stable/dev-python/distlib/{distlib-0.4.0-r1.ebuild => distlib-0.4.3.ebuild} (71%) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/distlib/files/distlib-0.4.0-py314-test.patch diff --git a/sdk_container/src/third_party/portage-stable/dev-python/distlib/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/distlib/Manifest index 18301c9762d..5ba934cd971 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/distlib/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/distlib/Manifest @@ -1 +1,2 @@ -DIST distlib-0.4.0.gh.tar.gz 1245571 BLAKE2B c36fe726918bc04849465a55a2708b8686d2ba0b05baa7ff0595e03b7ff95a1afc45b037dbeab9bd14ec7a26ec49807ea5a7c458d8f8da16038c92f32291c62e SHA512 ff61f9ab4e38061d5fee3168c8b26c741a21403d793476477e0733b28b2ba5b1fb31ae6ddb5275efe7ad6936b7e79a5e7ec1b160c86bfbfe6b4ecff10e0193d2 +DIST distlib-0.4.1.gh.tar.gz 1246126 BLAKE2B 3399dce7e1c064964edbe0eecb7f96974ce65d97dcf7645547584396008e6036885725a32b323f76c767762607fd9e58feac4b4d10ac28095fcfa0546302e61b SHA512 a8d99a1b6f32fb0ca3a705db109d12ddb46aa344b153b0a8c56c857f4c1fed681cfb4f34c594ade0bbbd5097e389c2b164b2347a30b9d114d62a5e23d8733714 +DIST distlib-0.4.3.tar.gz 615141 BLAKE2B ef9c33d960b719ad6c8d66eaba6469915e19e9a89882b9a2a85244c041f40ca92222134ef9a5d1d00810eece628d07b65b0ffb09600fbcfb03f4f6b0c278bfa4 SHA512 0f6b44640cbfa9bccef10c6cdeedaec8582a2bd5878fcbc803a6feedb81daee5f28506004e23749f3eba206199cadae99808dbcd956066ba948cde455301fd74 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/distlib/distlib-0.4.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/distlib/distlib-0.4.1.ebuild similarity index 87% rename from sdk_container/src/third_party/portage-stable/dev-python/distlib/distlib-0.4.0.ebuild rename to sdk_container/src/third_party/portage-stable/dev-python/distlib/distlib-0.4.1.ebuild index a157e262c0c..ee16dc84183 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/distlib/distlib-0.4.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/distlib/distlib-0.4.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t pypy3_11 ) +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) inherit distutils-r1 @@ -34,8 +34,8 @@ src_prepare() { local PATCHES=( # use system pypiserver instead of bundled one "${FILESDIR}/distlib-0.3.9-system-pypiserver.patch" - # https://github.com/pypa/distlib/commit/6286442857de9f734686d08f0e59ca8048ee357a - "${FILESDIR}/${P}-py314-test.patch" + # https://github.com/pypa/distlib/pull/256 + "${FILESDIR}/${PN}-0.4.0-py315.patch" ) # make sure it's not used diff --git a/sdk_container/src/third_party/portage-stable/dev-python/distlib/distlib-0.4.0-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/distlib/distlib-0.4.3.ebuild similarity index 71% rename from sdk_container/src/third_party/portage-stable/dev-python/distlib/distlib-0.4.0-r1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-python/distlib/distlib-0.4.3.ebuild index bc76cd5497f..a3bad84b798 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/distlib/distlib-0.4.0-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/distlib/distlib-0.4.3.ebuild @@ -4,18 +4,15 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..15} python3_{13..15}t pypy3_11 ) +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Low-level components of distutils2/packaging" HOMEPAGE=" https://pypi.org/project/distlib/ https://github.com/pypa/distlib/ " -SRC_URI=" - https://github.com/pypa/distlib/archive/${PV}.tar.gz -> ${P}.gh.tar.gz -" LICENSE="PSF-2" SLOT="0" @@ -34,15 +31,8 @@ src_prepare() { local PATCHES=( # use system pypiserver instead of bundled one "${FILESDIR}/distlib-0.3.9-system-pypiserver.patch" - # https://github.com/pypa/distlib/commit/6286442857de9f734686d08f0e59ca8048ee357a - "${FILESDIR}/${P}-py314-test.patch" - # https://github.com/pypa/distlib/pull/256 - "${FILESDIR}/${P}-py315.patch" ) - # make sure it's not used - rm tests/pypi-server-standalone.py || die - distutils-r1_src_prepare } diff --git a/sdk_container/src/third_party/portage-stable/dev-python/distlib/files/distlib-0.4.0-py314-test.patch b/sdk_container/src/third_party/portage-stable/dev-python/distlib/files/distlib-0.4.0-py314-test.patch deleted file mode 100644 index cf08838092a..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/distlib/files/distlib-0.4.0-py314-test.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 6286442857de9f734686d08f0e59ca8048ee357a Mon Sep 17 00:00:00 2001 -From: Vinay Sajip -Date: Fri, 18 Jul 2025 07:59:29 +0100 -Subject: [PATCH] Fix #251: Use more appropriate function in test. - ---- a/tests/test_scripts.py -+++ b/tests/test_scripts.py -@@ -341,10 +341,8 @@ def test_dry_run(self): - def test_script_run(self): - if sys.version_info[:2] < (3, 13): - target = 'cgi:print_directory' -- elif os.name != 'nt': -- target = 'test.support.interpreters:list_all' - else: -- raise unittest.SkipTest('test not available on Windows for Python >= 3.13') -+ target = 'logging:getHandlerNames' - files = self.maker.make('test = %s' % target) - self.assertEqual(len(files), 2) - p = subprocess.Popen([sys.executable, files[0]], stdout=subprocess.PIPE, stderr=subprocess.PIPE) -@@ -353,7 +351,7 @@ def test_script_run(self): - self.assertIn(b'

Current Working Directory:

', stdout) - self.assertIn(os.getcwd().encode('utf-8'), stdout) - else: -- self.assertIn(b'[Interpreter(0)]', stderr) -+ self.assertIn(b'frozenset(', stderr) - self.assertEqual(p.returncode, 1) - - @unittest.skipUnless(os.name == 'posix', 'Test only valid for POSIX') From 5ad1f3e3ea592ab8e0ee88583195073f9981358a Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:01 +0000 Subject: [PATCH 085/243] dev-python/distro: Sync with Gentoo It's from Gentoo commit f35a041350a2a5cc7e31eed5be8d0ee5cdeb89a6. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-python/distro/distro-1.9.0.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/distro/distro-1.9.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/distro/distro-1.9.0.ebuild index 6847893c144..6e382c6eb45 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/distro/distro-1.9.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/distro/distro-1.9.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 pypi @@ -19,4 +19,5 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +EPYTEST_PLUGINS=() distutils_enable_tests pytest From 0fb1dec940661464edae50000fc298c97b46b595 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:01 +0000 Subject: [PATCH 086/243] dev-python/docutils: Sync with Gentoo It's from Gentoo commit bd3863c705b9462373cc3985150295012a2a18cc. Signed-off-by: Flatcar Buildbot --- .../third_party/portage-stable/dev-python/docutils/Manifest | 2 +- .../{docutils-0.23_rc1.ebuild => docutils-0.23.ebuild} | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename sdk_container/src/third_party/portage-stable/dev-python/docutils/{docutils-0.23_rc1.ebuild => docutils-0.23.ebuild} (86%) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/docutils/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/docutils/Manifest index 0fc4d8fcb82..e1118b7123a 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/docutils/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/docutils/Manifest @@ -1,2 +1,2 @@ DIST docutils-0.22.4.tar.gz 2291750 BLAKE2B ec9ef492f067d91a3300a7707a88426d08714b85ff2970d6bdf8f94e8a7a42c576364445c0997dee5d19a76ab763793465ed131bb6ce6453c058d61371aed61c SHA512 80f4450f1ab81eb2425e246e1436cecda1ecd0c0ff70c24d34c2f651ab70afd55577a809b50ccd73d41e098790582fdc3b6594511308b51efe0c3005edbdcf72 -DIST docutils-0.23rc1.tar.gz 2303934 BLAKE2B 1ee8ba3f05e00e6d1068116351868c8face1c89d9f2bf2b6d0a28a294e5b959d2759c142e911ac4d840158f3e13af22981071e121db619b3102a58b405cc8517 SHA512 6c92aa01176acc7587e9ee37867b1be3a16a8572eba7498a4de9358f0bcf5ae99754b3516d83719954a738242f05e386966cf03341520a017292ed3bcffb9e34 +DIST docutils-0.23.tar.gz 2303823 BLAKE2B 6db890673947e31995accddd9f7ace1b39beac02d21704d041b047824e3d4beebdc3d86aed95f012b2a6d52d80b38a917702f18504b3a61c263527623d930a78 SHA512 566edfec1a52dc16deae5dd1fd70f682a9f6ba44319a08c66280b2e1199768d52a2558f5031d35fbe2cd46d845443ff45390d1c2008ce0bc7b149cd024dc1c15 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/docutils/docutils-0.23_rc1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/docutils/docutils-0.23.ebuild similarity index 86% rename from sdk_container/src/third_party/portage-stable/dev-python/docutils/docutils-0.23_rc1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-python/docutils/docutils-0.23.ebuild index 03d371d14d7..073daf625f9 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/docutils/docutils-0.23_rc1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/docutils/docutils-0.23.ebuild @@ -3,8 +3,8 @@ EAPI=8 -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) +DISTUTILS_USE_PEP517=flit-core +PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 pypi @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="BSD BSD-2 GPL-3+ PSF-2.4 public-domain" SLOT="0" if [[ ${PV} != *_rc* ]]; 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 RDEPEND=" From 0decd7999dd8ffa970e0f5757e3d7a2dde248ab3 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:02 +0000 Subject: [PATCH 087/243] dev-python/editables: Sync with Gentoo It's from Gentoo commit 30cd460b638fd68b2c399900565f10b064f5833d. Signed-off-by: Flatcar Buildbot --- .../dev-python/editables/Manifest | 1 - .../dev-python/editables/editables-0.5.ebuild | 25 ------------------- .../dev-python/editables/editables-0.6.ebuild | 4 +-- .../dev-python/editables/metadata.xml | 1 + 4 files changed, 3 insertions(+), 28 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/editables/editables-0.5.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/editables/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/editables/Manifest index dda0ae854a2..8dd202f557e 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/editables/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/editables/Manifest @@ -1,2 +1 @@ -DIST editables-0.5.gh.tar.gz 15469 BLAKE2B 9bbbc61a4e0a57edc6b7ba463da0d6c2f40090e347e67f203f16163bec70b63a2289332e9d69a46919f8aa009be1ec96e1b1cd2708ce5eb6ab33af6eb36360e0 SHA512 ac39d2e6a51625697c517b85fec11b525b1a41f82cf4f55c7595fed19da867065a62eee5e3656706f7402d0499754f4a142da77d699c59dffc8b769fa1c3dbe2 DIST editables-0.6.gh.tar.gz 18722 BLAKE2B 8970dd52a93b99f2af62e9fe9c0c2b6f9a97cff9f1d4574e8960336ba73cf570dbba9467847fadf127b593384b1de29a81028432b3f923accefe41ca63e4f38d SHA512 123a5aec65cfa259dddfd6a8c0e4a51f5ad722e36cd360fd4d5094b853805b0332ec1b143a19e5fae79e5f841124bbd6162bb6fe64d8d92d7edcf5b640afcdc4 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/editables/editables-0.5.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/editables/editables-0.5.ebuild deleted file mode 100644 index 21574c3065f..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/editables/editables-0.5.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( pypy3_11 python3_{11..14} python3_{13,14}t ) - -inherit distutils-r1 - -DESCRIPTION="A Python library for creating 'editable wheels'" -HOMEPAGE=" - https://pypi.org/project/editables/ - https://github.com/pfmoore/editables/ -" -SRC_URI=" - https://github.com/pfmoore/editables/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" - -distutils_enable_tests pytest diff --git a/sdk_container/src/third_party/portage-stable/dev-python/editables/editables-0.6.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/editables/editables-0.6.ebuild index efb7437a989..431e948ce03 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/editables/editables-0.6.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/editables/editables-0.6.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( pypy3_11 python3_{11..15} python3_{13..15}t ) +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) inherit distutils-r1 @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="MIT" 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" EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/sdk_container/src/third_party/portage-stable/dev-python/editables/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-python/editables/metadata.xml index e973093a20d..c5bf3f67d0f 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/editables/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/dev-python/editables/metadata.xml @@ -4,6 +4,7 @@ python@gentoo.org + pfmoore/editables editables From 140c98db52d8ef04b7a93855917515a3abd22bdb Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:02 +0000 Subject: [PATCH 088/243] dev-python/ensurepip-pip: Sync with Gentoo It's from Gentoo commit 5184798217f652bd89f5d3a7a2e50dfefe2bfbc2. Signed-off-by: Flatcar Buildbot --- .../dev-python/ensurepip-pip/Manifest | 4 +- .../ensurepip-pip/ensurepip-pip-26.1.1.ebuild | 192 ------------------ ...0.1.ebuild => ensurepip-pip-26.1.2.ebuild} | 11 +- .../ensurepip-pip/ensurepip-pip-26.1.ebuild | 192 ------------------ .../files/pip-26.1.2-py315.patch | 49 +++++ 5 files changed, 58 insertions(+), 390 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/ensurepip-pip/ensurepip-pip-26.1.1.ebuild rename sdk_container/src/third_party/portage-stable/dev-python/ensurepip-pip/{ensurepip-pip-26.0.1.ebuild => ensurepip-pip-26.1.2.ebuild} (94%) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/ensurepip-pip/ensurepip-pip-26.1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/ensurepip-pip/files/pip-26.1.2-py315.patch diff --git a/sdk_container/src/third_party/portage-stable/dev-python/ensurepip-pip/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/ensurepip-pip/Manifest index a742f5daadb..cc088c7b0cc 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/ensurepip-pip/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/ensurepip-pip/Manifest @@ -1,4 +1,2 @@ DIST flit_core-3.12.0-py3-none-any.whl 45594 BLAKE2B 7c6cb6eb03d45bbba27f27b3728881b57fe82dd38e03f884d3b7c46116eb2b9dd76f92bdaf7f594ef8ccbe12ec8f9a56424ff9e9fc7a839c4818a113fdf0c3d3 SHA512 790c12b1f43201e365fb3f8f2f0a54e1a578876799dfdf8bfeea679a25ea096bf62946d006618c1458ae6e37ce6d00998f37e9aba426d5ab80d32ef2d75da4e0 -DIST pip-26.0.1.gh.tar.gz 9227871 BLAKE2B 96a2fab2de472b3cde570f3bcbd6bc5e5c48ef2f0808ca9b2b6c0f57a611f723cd0f5d592b6b5f553fb57a6909459f57b4130f2451cd95c3b18678e02215e0c9 SHA512 3786df7522ea65bc20fb9885ce5c2ddc60200a536a1f754a8d7dc278115c73258863e4c51ac7e9a60dda0b70263730dc194f70e1e8f8d00178a8b3c724333bf0 -DIST pip-26.1.1.gh.tar.gz 9267528 BLAKE2B 7623f0d584baf05d46f29f662ecbbb2299d82aba0204c522326e1fb7350e31e32dff660b8360bfe8505f56f38d50d0b874e84118dff95a64e9f60510a2965dc7 SHA512 777fab14b5e7e7edeffbc7ae86f4e6061e9f7cf43adcaebcb4d099c184c4f2ad6a63019a70d95b98b631821c3472713c9545fb8d65b684da67cfc31ee9293054 -DIST pip-26.1.gh.tar.gz 9268351 BLAKE2B 55773ba9ead364dcb8b900fb2f196dd768f688f54ae2ef190ae1739fec3fcc22f260c25df6ffb097e3b14ad321c51535cb71a921eafe4430a3eb30b94e38cc1e SHA512 cb3dde18f1b16ffeb36a0eeec02b64a0a363e1ef50070126fdbb152ba03749830095f85a98267e552169b7953b5839558be2c3ee8f78802cb56dd4f139b72762 +DIST pip-26.1.2.gh.tar.gz 9268753 BLAKE2B 8cbf0ecf25a2bdd148506ca0e2e778b9053759cf5fed3914b915454bd8810b1d7a27e3b2efb5fd29c4e6b189c7e8050f0da15ae6c259712446b5a35f44018ee0 SHA512 e29c98a7da5e329183b7eef86a66f9d6c3473051f64aa6e762714306148547eb0de4220824484071822a9a62bd01a62a09ab16bba4c26e4b847bfc2609728608 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/ensurepip-pip/ensurepip-pip-26.1.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/ensurepip-pip/ensurepip-pip-26.1.1.ebuild deleted file mode 100644 index 648305376db..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/ensurepip-pip/ensurepip-pip-26.1.1.ebuild +++ /dev/null @@ -1,192 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -# PYTHON_COMPAT is used only for testing -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) -PYTHON_REQ_USE="ssl(+),threads(+)" - -inherit distutils-r1 pypi - -FLIT_CORE_PV=3.12.0 - -MY_P=${P#ensurepip-} -DESCRIPTION="Shared pip wheel for ensurepip Python module" -HOMEPAGE=" - https://pip.pypa.io/en/stable/ - https://pypi.org/project/pip/ - https://github.com/pypa/pip/ -" -SRC_URI=" - https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${MY_P}.gh.tar.gz - test? ( - $(pypi_wheel_url flit-core "${FLIT_CORE_PV}") - ) -" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="test test-rust" -RESTRICT="!test? ( test )" - -BDEPEND=" - ${RDEPEND} - test? ( - Date: Mon, 6 Jul 2026 08:36:02 +0000 Subject: [PATCH 089/243] dev-python/ensurepip-setuptools: Sync with Gentoo It's from Gentoo commit ad3012df213556dd9ca8109ea64c55d2c7b2f6ca. Signed-off-by: Flatcar Buildbot --- .../dev-python/ensurepip-setuptools/Manifest | 1 + .../ensurepip-setuptools-83.0.0.ebuild | 137 ++++++++++++++++++ 2 files changed, 138 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/ensurepip-setuptools/ensurepip-setuptools-83.0.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/ensurepip-setuptools/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/ensurepip-setuptools/Manifest index ad7da0f2da0..5f4d6040017 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/ensurepip-setuptools/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/ensurepip-setuptools/Manifest @@ -1,2 +1,3 @@ DIST setuptools-79.0.1-py3-none-any.whl 1256281 BLAKE2B 8ae51bdd1c0ccada116757c2bd765225fcf4bedc7ada18567ae12f09b6978cdbcddd4f635a39a5568b6d3ed4388e4f73af5c33a7060f2ac0d0907fc82d8fd74f SHA512 fef6cfc6f95a5bb7320f1680e1c665cb8d9a4e4227cde4d8aab8a50bed4bcf04320085b9d7d5343359f887008db5c5a861e57f3d08b7b0b2311a28adaeee6b4a DIST setuptools-82.0.1.tar.gz 1152316 BLAKE2B d7f6eaf62ec66355b65642bc20a7a549e167dd6d1c0cdb15926b6644a23cab7737d713cd9418e0cc09161eb0bff53ffd0b8781c96d9203717077121c1e3cc0d5 SHA512 5d70e9efd818245fb8119a4eed64d776078469ed884facc188f141ea491efd9fde5c10c928d3236ea5e2e431b16616f18ed14870b867f95e6320251707332395 +DIST setuptools-83.0.0.tar.gz 1154254 BLAKE2B b82142ad699703352b4ec7843545f3f078e853d39fa93e2d0ee42b9914ebc9d04bc7de4954bce0a1e49f3befea39d14176ed4e7462d202d74ed503664765fba9 SHA512 d426f235471d30b41391bda63e8f3d461f54a6a4127594a2e2d0cab0c7576d511db5e5f211ed6cdac2afc620d3695e991a1dd08106f1201ec64697b14b3e0390 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/ensurepip-setuptools/ensurepip-setuptools-83.0.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/ensurepip-setuptools/ensurepip-setuptools-83.0.0.ebuild new file mode 100644 index 00000000000..83ed93e9eb7 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/ensurepip-setuptools/ensurepip-setuptools-83.0.0.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYPI_PN=${PN#ensurepip-} +# PYTHON_COMPAT used only for testing +PYTHON_COMPAT=( python3_{12..14} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Shared setuptools wheel for ensurepip Python module" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + ${RDEPEND} + test? ( + >=dev-python/build-1.0.3[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.14[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.7.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-test-5.5[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-{home,subprocess,timeout} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +declare -A VENDOR_LICENSES=( + [autocommand]=LGPL-3 + [backports.tarfile]=MIT + [importlib_metadata]=Apache-2.0 + [jaraco_context]=MIT + [jaraco_functools]=MIT + [jaraco.text]=MIT + [more_itertools]=MIT + [packaging]="|| ( Apache-2.0 MIT )" + [platformdirs]=MIT + [tomli]=MIT + [wheel]=MIT + [zipp]=MIT +) +LICENSE+=" ${VENDOR_LICENSES[*]}" + +src_prepare() { + distutils-r1_src_prepare + + # Verify that we've covered licenses for all vendored packages + cd setuptools/_vendor || die + local packages=( *.dist-info ) + local pkg missing=() + for pkg in "${packages[@]%%-*}"; do + if [[ ! -v "VENDOR_LICENSES[${pkg}]" ]]; then + missing+=( "${pkg}" ) + else + unset "VENDOR_LICENSES[${pkg}]" + fi + done + + if [[ ${missing[@]} || ${VENDOR_LICENSES[@]} ]]; then + [[ ${missing[@]} ]] && + eerror "License missing for packages: ${missing[*]}" + [[ ${VENDOR_LICENSES[@]} ]] && + eerror "Vendored packages removed: ${!VENDOR_LICENSES[*]}" + die "VENDOR_LICENSES outdated" + fi +} + +python_compile() { + # If we're testing, install for all implementations. + # If we're not, just get one wheel built. + if use test || [[ -z ${DISTUTILS_WHEEL_PATH} ]]; then + distutils-r1_python_compile + fi +} + +python_test() { + local EPYTEST_DESELECT=( + # TODO + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + # TODO, probably some random package + setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass + # relies on -Werror + setuptools/_static.py::setuptools._static.Dict + setuptools/_static.py::setuptools._static.List + # Internet + setuptools/tests/test_namespaces.py::TestNamespaces::test_mixed_site_and_non_site + setuptools/tests/test_namespaces.py::TestNamespaces::test_namespace_package_installed_and_cwd + setuptools/tests/test_namespaces.py::TestNamespaces::test_packages_in_the_same_namespace_installed_and_cwd + setuptools/tests/test_namespaces.py::TestNamespaces::test_pkg_resources_import + # broken by warnings from setuptools-scm + setuptools/tests/config/test_apply_pyprojecttoml.py::TestPresetField::test_scripts_dont_require_dynamic_entry_points + # TODO + setuptools/tests/test_config_discovery.py::TestDiscoverPackagesAndPyModules::test_py_modules_when_wheel_dir_is_cwd + 'setuptools/tests/test_egg_info.py::TestEggInfo::test_requires[setup_requires_with_markers]' + ) + + case ${EPYTHON} in + pypy3.11) + EPYTEST_DESELECT+=( + # fails and breaks other tests + setuptools/tests/test_editable_install.py + ) + ;; + esac + + local -x PRE_BUILT_SETUPTOOLS_WHEEL=${DISTUTILS_WHEEL_PATH} + epytest -o tmp_path_retention_policy=all \ + -m "not uses_network" setuptools +} + +src_install() { + if [[ ${DISTUTILS_WHEEL_PATH} != *py3-none-any.whl ]]; then + die "Non-pure wheel produced?! ${DISTUTILS_WHEEL_PATH}" + fi + # TODO: compress it? + insinto /usr/lib/python/ensurepip + doins "${DISTUTILS_WHEEL_PATH}" +} From 8baedc15883232807f12c581bf89d81250b5260c Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:08 +0000 Subject: [PATCH 090/243] dev-python/hatchling: Sync with Gentoo It's from Gentoo commit cbe26e4d264a5d7c37f02277c14a7178f30d0158. Signed-off-by: Flatcar Buildbot --- .../third_party/portage-stable/dev-python/hatchling/Manifest | 2 +- .../{hatchling-1.29.0.ebuild => hatchling-1.30.1.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename sdk_container/src/third_party/portage-stable/dev-python/hatchling/{hatchling-1.29.0.ebuild => hatchling-1.30.1.ebuild} (100%) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/hatchling/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/hatchling/Manifest index 6042bd81390..5037323ad28 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/hatchling/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/hatchling/Manifest @@ -1 +1 @@ -DIST hatch-hatchling-v1.29.0.gh.tar.gz 5301488 BLAKE2B d1e36649483f213c56488caf018ad3a3310fafa944e11484ae613021e081999a80321d353c68cfb64bc149558e2c996b788f7b11a228d2f658175165d515bdcd SHA512 321f9ab996dcab54341653e2abf5bdb893c4ac307c62aa9f0dd222609a18f82cd502fb0d0ac598f109d519a0dc8ab40866a37d1ea4023d7d58fe442da7c32ff9 +DIST hatch-hatchling-v1.30.1.gh.tar.gz 5333904 BLAKE2B d5f1c478f2bc214400a50f079d695ef3795a92b0633307799bec34f031cffa4c36b0269a3f142323c61b5ddcf4b1918d4e9f32283eaacff7615e3330fe864be6 SHA512 dfb57a076ec683d82228a453c2485153defd0b1d2f31a43041ae0b7ddd428b931ab1288b0b23393df80f5630bd09c78faa2852b28649af0db2e7f55bd915b942 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/hatchling/hatchling-1.29.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/hatchling/hatchling-1.30.1.ebuild similarity index 100% rename from sdk_container/src/third_party/portage-stable/dev-python/hatchling/hatchling-1.29.0.ebuild rename to sdk_container/src/third_party/portage-stable/dev-python/hatchling/hatchling-1.30.1.ebuild From 422869b1f74d732f1e308c37484e6545b8e08be2 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:08 +0000 Subject: [PATCH 091/243] dev-python/idna: Sync with Gentoo It's from Gentoo commit 0c7aa9346d93ac3646597952f5adfb9c0877d653. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-python/idna/Manifest | 8 ++----- .../dev-python/idna/idna-3.15.ebuild | 23 ------------------- .../dev-python/idna/idna-3.16.ebuild | 23 ------------------- .../{idna-3.14.ebuild => idna-3.18.ebuild} | 2 +- 4 files changed, 3 insertions(+), 53 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/idna/idna-3.15.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/idna/idna-3.16.ebuild rename sdk_container/src/third_party/portage-stable/dev-python/idna/{idna-3.14.ebuild => idna-3.18.ebuild} (90%) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/idna/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/idna/Manifest index 40b821da952..00c7f3da0cd 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/idna/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/idna/Manifest @@ -1,6 +1,2 @@ -DIST idna-3.14.tar.gz 198272 BLAKE2B e7c7084109b82c797a9d04074e77533eedd1b339e334a9f48beee4405c1f62b9bcad02ec726445c71b96354088cedc23ee3b9cd3772a77b004f06a2f66382e76 SHA512 be45700d70b8527445c00c9f760311a448d1a38116883e69549405ebc89b78dded0a939625564841c44c51efaad03e2054ba883f284b152552b9fe84ffdb229b -DIST idna-3.14.tar.gz.provenance 8986 BLAKE2B a9cbeae466fc385c997838513fe35efc862741be2f6b80f0c1151272b0bb473d6ed7efaa8584be1d647d8ed76127a524c7aaa102b248d16c1f9d51baf71af0a6 SHA512 e982ee5071a6a3ba7760c9e622419e47fce5fd210583ba78e70c5ac07a78adb3b2d6479020a7f2c8988b4a45b50b3968412a86d054e57df176c8817d1b54338b -DIST idna-3.15.tar.gz 199245 BLAKE2B fa738fd388a5a7d5a67db32e117b4e226c525673981e63a950d8044b9df49a6af5ce7b6db146455233b294648a79b1ca20b14cbe13283ed11a02413120a54338 SHA512 8cd0efd9f82d1e5ec73b06202fed42c54e9aee4ebf5612fe29cb6c76f459d24027e545339dc3e79ad9abd0849b0e31bca42bf41f36c87391d9707f92b8326e26 -DIST idna-3.15.tar.gz.provenance 9268 BLAKE2B 83321fc9054407e98c6d1681481edbab71965b37ef88d85a37d50cb2611166d35adbd3571041e1e3b20a7344cd8b4f8840a322df8acc771d3d3d046703bf386f SHA512 413242a897960230b76e5c4f50cbd6e7560bd2694e9bb834ea758958cf359218587cde31c34f377d3abf3447cea9f39580bd89a88d52518b0b4aa97260454228 -DIST idna-3.16.tar.gz 203770 BLAKE2B 9c5f3bb70bce27492241ebd786a4d55254de059a4cce65f999aadf06953d16fe739821051dcd4a4a6bded5e923a4aea27c819a58290b08addc7b3eabe6be05bb SHA512 abeff925d95de523a393b460b5865bed8871c670149f8229adb06d49c08459ff2c2f317c49f614b03218fa11b4ec1f1b6fa2d407a634711506b8f166d4aa6020 -DIST idna-3.16.tar.gz.provenance 9315 BLAKE2B 0eb00371eeed32442723485fae4dd2ad62c13a13e2321c0d0728830e862fcf85d0604963020ff17938aa5cf2179791bff9955533c05008006c5d2b3d43b3125c SHA512 733fb40fbe5f15d5b43505bb8da027e6ec3414a2b8f4186d39f35eb5056d89f236b64748bf66e89ae1dd06e4fc69286f0b64ba8a046de984a28c83cfb5f76182 +DIST idna-3.18.tar.gz 196711 BLAKE2B d816787698eaa0002ab2b7314e1ef82934f74bed70d67d20db49cbf114b049e48cd3ca65a8fdd760e7134bc01afee6a1b80eafc8a743bda887ef0a7c4b99ecca SHA512 5cdfa086a6a1d2c5fbb6fe56ceae5434a71e2215711d252be41f82cebfa48cef35cc8b2ff03e6af17ae309f230a04a008c41eae55852dd77942f97f65848c916 +DIST idna-3.18.tar.gz.provenance 9495 BLAKE2B 728c5dba519fd7716fd71c566073f2482ea5971efab097c03ef2998f7f9dd3fecaa87562409c149d579289913d52e1a303a8fb0abdcbd411600bb66dc685de9a SHA512 a02d92639bcf09a0ff8b16c4f1c95aa811c766257f74a31d34b48e1bee92be347251a77a4ea014df0b61c3f7f0b219585b0eb6bd054e25deb56a42b5836fc884 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/idna/idna-3.15.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/idna/idna-3.15.ebuild deleted file mode 100644 index d70ef90abbe..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/idna/idna-3.15.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYPI_VERIFY_REPO=https://github.com/kjd/idna -PYTHON_COMPAT=( python3_{11..15} python3_{13..15}t pypy3_11 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Internationalized Domain Names in Applications (IDNA)" -HOMEPAGE=" - https://github.com/kjd/idna/ - https://pypi.org/project/idna/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" - -distutils_enable_tests unittest diff --git a/sdk_container/src/third_party/portage-stable/dev-python/idna/idna-3.16.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/idna/idna-3.16.ebuild deleted file mode 100644 index d70ef90abbe..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/idna/idna-3.16.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYPI_VERIFY_REPO=https://github.com/kjd/idna -PYTHON_COMPAT=( python3_{11..15} python3_{13..15}t pypy3_11 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Internationalized Domain Names in Applications (IDNA)" -HOMEPAGE=" - https://github.com/kjd/idna/ - https://pypi.org/project/idna/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" - -distutils_enable_tests unittest diff --git a/sdk_container/src/third_party/portage-stable/dev-python/idna/idna-3.14.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/idna/idna-3.18.ebuild similarity index 90% rename from sdk_container/src/third_party/portage-stable/dev-python/idna/idna-3.14.ebuild rename to sdk_container/src/third_party/portage-stable/dev-python/idna/idna-3.18.ebuild index e02a248b3f7..17e785da6b3 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/idna/idna-3.14.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/idna/idna-3.18.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit PYPI_VERIFY_REPO=https://github.com/kjd/idna -PYTHON_COMPAT=( python3_{11..15} python3_{13..15}t pypy3_11 ) +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) inherit distutils-r1 pypi From 154d05157500896bb38e9281811fbf02bc91db54 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:08 +0000 Subject: [PATCH 092/243] dev-python/installer: Sync with Gentoo It's from Gentoo commit 3c233f039346af1d56350d638629ab2644b81643. Signed-off-by: Flatcar Buildbot --- .../dev-python/installer/Manifest | 2 - .../installer/installer-0.7.0.ebuild | 40 ------------------- .../installer/installer-1.0.1.ebuild | 2 +- 3 files changed, 1 insertion(+), 43 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/installer/installer-0.7.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/installer/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/installer/Manifest index 057413dffd0..c8b26df8e4c 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/installer/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/installer/Manifest @@ -1,5 +1,3 @@ -DIST installer-0.7.0-py3-none-any.whl.zip 453838 BLAKE2B 59bb698e7a4232a5254b6f6c4a042c68a22a26e15c1205707d3c9734513e92bf4518a09341619eab9ef0023ee65fcaa9837a4befb7a2452f1592411654374595 SHA512 8e10013521238ef8fb2f5ab4bd00f6154c05046011cad8824d96b7cdc4ed235b87e534d1e163a47a11dbfb5bb3cf19d9a2ea3edd1e9c9ce5fbc9a375010c36dc -DIST installer-0.7.0.tar.gz 474349 BLAKE2B 76b86d14c0f4f0eba091ff08ef27e1b2f23c93318d197b3c41f5fef45eb11acc54bb1d35e3afc1e0dd98b30cc4cd3d9963ab1ba0bfe9d294ee3d0933ddaa24db SHA512 e89c2d28ca73d9c4291d645dda675fdcfcaba2e4f8765b9fa4a2f211e27711510f3d171b96a6b024c11808ba7f06b7b560a7cb31fafba815bd5c7396f26789f7 DIST installer-1.0.1-py3-none-any.whl 464455 BLAKE2B 2856ed291d82acae94af2ea622554356f960175bb7961da11d2e434eb80fbc5346e24e01a0603c55a2bd8a22e44be1d8200a872d35d88d339e91461ac62e004c SHA512 655b26bea8a979a23f752346e54117b2513bfa8cc7932efa4ed8d6ccccc52f320d84904d989c235321cf69688eeec806e749632cfd57873dc91b59524823c85c DIST installer-1.0.1-py3-none-any.whl.provenance 9282 BLAKE2B 1b2400ad2db330c2f0e1a72deae66779fe4261bbd7433b13b87cd9be8d0bc7a273f681ca77136cbaf7c7edc2c132b16d0e30a86b2a56bd194654cc07cca26041 SHA512 5831d2c3608ee8fa5477283b6dfddaedb6730da5da0568261b17e22117c6c4a5a2ae21ed0d6d5549cbcab88f9dd3823462a1fff487ec5335ac1dff867e715a63 DIST installer-1.0.1.tar.gz 481132 BLAKE2B 95bf26cb5d14c934f8126b656aec519a51199ec9ea95bc903016a170cbc906a884f4571a060c175ca4bb47f27cabf265c91c5c769b62d51158ee66a128aae040 SHA512 cabc4efb8ce66ce85c2139e264f66c449f9e5cf1f8c860afa7f147daf0b983716fe02182ef1f6e4abbc4b6be34d75738a0281c77dda9d48a075c212301278a73 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/installer/installer-0.7.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/installer/installer-0.7.0.ebuild deleted file mode 100644 index de554d8a562..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/installer/installer-0.7.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2022-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=no -PYTHON_COMPAT=( python3_{11..15} python3_{13..15}t pypy3_11 ) - -inherit distutils-r1 pypi - -DESCRIPTION="A library for installing Python wheels" -HOMEPAGE=" - https://pypi.org/project/installer/ - https://github.com/pypa/installer/ - https://installer.readthedocs.io/en/latest/ -" -SRC_URI+=" - $(pypi_wheel_url --unpack) -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" - -BDEPEND=" - app-arch/unzip -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -python_compile() { - python_domodule src/installer "${WORKDIR}"/*.dist-info -} - -python_install() { - distutils-r1_python_install - python_optimize -} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/installer/installer-1.0.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/installer/installer-1.0.1.ebuild index be8567454e6..96e6f0acb05 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/installer/installer-1.0.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/installer/installer-1.0.1.ebuild @@ -26,7 +26,7 @@ SRC_URI+=" LICENSE="MIT" 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" BDEPEND=" app-arch/unzip From 7e43526ecedabef22f40caf8ebd5bc4ec275e8d9 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:10 +0000 Subject: [PATCH 093/243] dev-python/jaraco-functools: Sync with Gentoo It's from Gentoo commit cb3fbcd15f4a456f39b557b71ff1654d73081392. Signed-off-by: Flatcar Buildbot --- .../dev-python/jaraco-functools/Manifest | 1 - .../jaraco-functools-4.4.0.ebuild | 56 ------------------- .../jaraco-functools-4.5.0.ebuild | 2 +- 3 files changed, 1 insertion(+), 58 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/jaraco-functools/jaraco-functools-4.4.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/jaraco-functools/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/jaraco-functools/Manifest index 9c8661f6a11..b772321b47f 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/jaraco-functools/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/jaraco-functools/Manifest @@ -1,2 +1 @@ -DIST jaraco_functools-4.4.0.tar.gz 19943 BLAKE2B c731e73db1fc74d33d0d312f3c93fc61dae1d47a239f34ad2ab8c5cd45b5dba40a1f50c96fa5d30740bb6a4dcbeae2eec99e5b1ca370574c6c226c107dd344a1 SHA512 7bfdddd2da31dee0461e791726254fcfbcf69dd198ccdfd2c87c771feb589b17a5789669e23c2cc8be4b207c073d84b03c26da3fcf7ae9c3157efd088f50cec3 DIST jaraco_functools-4.5.0.tar.gz 20272 BLAKE2B 5e6c7fee636eac91bdfbe226bccc70c98ae7c92c70ebf79436f8b7db226992921b48dad180a21ca01338a628a41a71a87c1f1511a709f8b322b6a4df1bf64e16 SHA512 b674baff8f5f882b82deb86f09da8db8a2a78cf7658f0348edaf690da38804f064191a9311d95b6aefe74a3bb31408e0a1acd577a6e4f2553a7ebb340521615f diff --git a/sdk_container/src/third_party/portage-stable/dev-python/jaraco-functools/jaraco-functools-4.4.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/jaraco-functools/jaraco-functools-4.4.0.ebuild deleted file mode 100644 index ba60834ce51..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/jaraco-functools/jaraco-functools-4.4.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( pypy3_11 python3_{11..15} python3_{13..15}t ) - -inherit distutils-r1 pypi - -DESCRIPTION="Additional functions used by other projects by developer jaraco" -HOMEPAGE=" - https://github.com/jaraco/jaraco.functools/ - https://pypi.org/project/jaraco.functools/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" - -RDEPEND=" - >=dev-python/more-itertools-0.12.0-r1[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/jaraco-classes[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -src_configure() { - grep -q 'build-backend = "setuptools' pyproject.toml || - die "Upstream changed build-backend, recheck" - # write a custom pyproject.toml to ease setuptools bootstrap - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["flit_core >=3.2,<4"] - build-backend = "flit_core.buildapi" - - [project] - name = "jaraco.functools" - version = "${PV}" - description = "Functools like those found in stdlib" - EOF -} - -python_install() { - distutils-r1_python_install - # rename to workaround a bug in pkg_resources - # https://bugs.gentoo.org/834522 - mv "${D}$(python_get_sitedir)"/jaraco{_,.}functools-${PV}.dist-info || die -} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/jaraco-functools/jaraco-functools-4.5.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/jaraco-functools/jaraco-functools-4.5.0.ebuild index 56556e02a7a..ba60834ce51 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/jaraco-functools/jaraco-functools-4.5.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/jaraco-functools/jaraco-functools-4.5.0.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" 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" RDEPEND=" >=dev-python/more-itertools-0.12.0-r1[${PYTHON_USEDEP}] From cc9a64d5876708c6990955904ed1586127947d24 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:13 +0000 Subject: [PATCH 094/243] dev-python/linkify-it-py: Sync with Gentoo It's from Gentoo commit 5075eca41e9e68d293ca7aab0344738091504cef. Signed-off-by: Flatcar Buildbot --- .../dev-python/linkify-it-py/linkify-it-py-2.1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/linkify-it-py/linkify-it-py-2.1.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/linkify-it-py/linkify-it-py-2.1.0.ebuild index 35b2fc8bfbb..798553b9d0d 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/linkify-it-py/linkify-it-py-2.1.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/linkify-it-py/linkify-it-py-2.1.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_VERIFY_REPO=https://github.com/tsutsu3/linkify-it-py -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) +PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 pypi From 118e7a64f4f2bd8a6fbc1e3e6296068ff250b963 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:14 +0000 Subject: [PATCH 095/243] dev-python/markdown-it-py: Sync with Gentoo It's from Gentoo commit 1fde82671adadc502a7d87800962d323c3599f93. Signed-off-by: Flatcar Buildbot --- .../dev-python/markdown-it-py/Manifest | 2 - .../markdown-it-py-4.0.0.ebuild | 41 ------------------- .../markdown-it-py-4.1.0.ebuild | 41 ------------------- .../markdown-it-py-4.2.0.ebuild | 4 +- 4 files changed, 2 insertions(+), 86 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/markdown-it-py/markdown-it-py-4.0.0.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/markdown-it-py/markdown-it-py-4.1.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/markdown-it-py/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/markdown-it-py/Manifest index 4a2ee8ce385..ed2f0466003 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/markdown-it-py/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/markdown-it-py/Manifest @@ -1,3 +1 @@ -DIST markdown-it-py-4.0.0.gh.tar.gz 279903 BLAKE2B c878259ae684875dfd9dd017ff5b541b842f2ef917e0f23fa00df77646684794f904eb3693106ce859853a375f8bd2e877346ef775341ed4452856f1793aa8a9 SHA512 617927d7038e2918b395c720d4b8d8327342c266c75b6fd5957961944c2bed51a8e2f01a9c184e5d85dfc4fd8b28e07f3cc1d677aa29192e1a8e54f29d6a0829 -DIST markdown-it-py-4.1.0.gh.tar.gz 292015 BLAKE2B b264b91bde959694b79de2ba8058a7a3938249d4c89b36da81b9edd6ea8e15af55b7dfac6a10ea2837f0df051b6d751fa8ebf37da7ecdac123b3a5d7fc773351 SHA512 483df889994a789b51f0a3dabb010d51bb5ca462f46a5b9a2096bd4f63b2a5f7d79a1ef86305e1ac43cbe65219b8541eff64c5bf1414a51fadc6f399dc234ad7 DIST markdown-it-py-4.2.0.gh.tar.gz 294564 BLAKE2B 0f220d32998e07de0613ee623baca1c16cde5ef8e110bccc65e7dfad2054562a7c9767cad70905dad811c5eacb66b758cf36c0fa813ac8056c9da4202fdefa72 SHA512 81e659729f8da1ad269f40c693d66f0192c129dc42fcbcb09a14c617794816555d9f69137d09458d79f96eb5c92ea29e4d625616f994f7fcffa1b198a9830be0 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/markdown-it-py/markdown-it-py-4.0.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/markdown-it-py/markdown-it-py-4.0.0.ebuild deleted file mode 100644 index 980d5417e71..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/markdown-it-py/markdown-it-py-4.0.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 2022-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) - -inherit distutils-r1 - -DESCRIPTION="Python port of markdown-it, Markdown parser" -HOMEPAGE=" - https://pypi.org/project/markdown-it-py/ - https://github.com/executablebooks/markdown-it-py/ -" -SRC_URI=" - https://github.com/executablebooks/markdown-it-py/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - Date: Mon, 6 Jul 2026 08:36:15 +0000 Subject: [PATCH 097/243] dev-python/more-itertools: Sync with Gentoo It's from Gentoo commit 81dffe7c4c292ae81c7a2dec8dbde26f9fd86736. Signed-off-by: Flatcar Buildbot --- .../dev-python/more-itertools/Manifest | 1 - .../more-itertools-11.0.2.ebuild | 23 ------------------- .../more-itertools-11.1.0.ebuild | 4 ++-- 3 files changed, 2 insertions(+), 26 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/more-itertools/more-itertools-11.0.2.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/more-itertools/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/more-itertools/Manifest index 07464f80fb0..d35a5a2a688 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/more-itertools/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/more-itertools/Manifest @@ -1,2 +1 @@ -DIST more_itertools-11.0.2.tar.gz 144659 BLAKE2B 886ef2b27e902a83e719f49ab4eaf591b957a770bdf32826180871de39a7af1597786eb6d12d8d8f5477deded3e17e033c460ae09f4cec0dddb3a43ad452040a SHA512 d108667c7839b62278323311d65e1f2f6d0da5768deeb851401d52b796e5c65f4e8412701bfae6f0fa1954157401896095c2f92a6fe17b782f4119a599f054d5 DIST more_itertools-11.1.0.tar.gz 145772 BLAKE2B 365972289c4cef7587a2bbf388862d330d44e874c7e3119feab492e67bea1539342cc1a8a6b1d34b6a56289a71cf7e1ac390268f138e855805ca1edb91dd6f3b SHA512 462085d7b103e64af94017c5886be4198eaee9abdf60ac3cb1c7a733571e1d2f6841c93d3263f74324c929c99f42420dea695269a6c066fe60815344009755e3 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/more-itertools/more-itertools-11.0.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/more-itertools/more-itertools-11.0.2.ebuild deleted file mode 100644 index 4aa4cbdef00..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/more-itertools/more-itertools-11.0.2.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{11..15} python3_{13..15}t pypy3_11 ) - -inherit distutils-r1 pypi - -DESCRIPTION="More routines for operating on iterables, beyond itertools" -HOMEPAGE=" - https://github.com/more-itertools/more-itertools/ - https://pypi.org/project/more-itertools/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" - -distutils_enable_sphinx docs \ - dev-python/furo -distutils_enable_tests unittest diff --git a/sdk_container/src/third_party/portage-stable/dev-python/more-itertools/more-itertools-11.1.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/more-itertools/more-itertools-11.1.0.ebuild index 3856cfbef07..66d302ee7b3 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/more-itertools/more-itertools-11.1.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/more-itertools/more-itertools-11.1.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{11..15} python3_{13..15}t pypy3_11 ) +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) inherit distutils-r1 pypi @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" 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" distutils_enable_sphinx docs \ dev-python/furo From fc76161ef177081f9f6818f070dc58f35edd3be2 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:15 +0000 Subject: [PATCH 098/243] dev-python/msgpack: Sync with Gentoo It's from Gentoo commit bba715e9e0d48099b5630a57faaed22111d2c494. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-python/msgpack/Manifest | 3 ++- .../dev-python/msgpack/msgpack-1.1.2.ebuild | 2 +- .../{msgpack-1.1.1.ebuild => msgpack-1.2.1.ebuild} | 8 +++++--- 3 files changed, 8 insertions(+), 5 deletions(-) rename sdk_container/src/third_party/portage-stable/dev-python/msgpack/{msgpack-1.1.1.ebuild => msgpack-1.2.1.ebuild} (80%) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/msgpack/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/msgpack/Manifest index c2bd4600228..20f8511d9fc 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/msgpack/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/msgpack/Manifest @@ -1,3 +1,4 @@ -DIST msgpack-1.1.1.tar.gz 173555 BLAKE2B 972ea4174b8b7c91c529c2db55483441fc1fd6c2964b145b73784f877f8699cd26829fd0d77574fb52af50ed3f8a0ac1b815cb67b24f751079ca2a430cec0b45 SHA512 dbd1055dd4b22b43193d381e7e15ff6e8dbb49f04d111bef84555429accc2bd1609359f72604bf0c1859d0b5f2e275d16773a0f8efd50ccebb5984c8b9e84309 DIST msgpack-1.1.2.tar.gz 173581 BLAKE2B f1631eef4699525d58f258194a9ca216294eb0c4966b264eb2bd0cc175400793d2228941d7035ec7b37a49a2b2a1cdc3478f677940b262275248963e1f811798 SHA512 75b1536e180f6cdd2cb7b525d7c4bd79ddbe8807a5276b2e119f499769497552b682a7ef76df9a82957832b7646853be8c6df5bf2881c61d716fa3de9042e4fd DIST msgpack-1.1.2.tar.gz.provenance 9256 BLAKE2B 0b8cb372ad31aae1a03e9c9467264b0eea53849a3d291c16426f91eaa8ee61eae69f313da9bad8cd64ed355e787553cfc7deed7aa709671e4296aa153c9c7988 SHA512 64eef61e138039043d7610d3718fb9374bb65704f1c2b7cccabf37c44f316f2cfa9b1695fd5918c1f2b6526332bb570293019a0e59c3aa5f2918905c904b8c53 +DIST msgpack-1.2.1.tar.gz 183960 BLAKE2B 3fca10a89d0259ba6bcc26d9e98a69e64b82662f3bec852e26073d581c4df7f6d5f9655d94e23c172d9d8e57de5850da9df87de61fc7ffeae13a9870f21e1488 SHA512 3e018978b2b3ec04508c6b8a12a16daf23e95f7d7c1f846e09e27082197a92566e3c4c5a8a6db51c52b1c8ab66bb55d4d1498373bab99a7fd193efaba53834eb +DIST msgpack-1.2.1.tar.gz.provenance 9819 BLAKE2B 2f03d8e995865b73eaf4cf51ba502082f44b16b13960163153e9dfc14019b42fc4678ff7af923642198c7a128afa4388640de4a626c825f82469216fce369cce SHA512 1b9f4202669c4ffa29ef6bb985d860a6b6f58f1b24fd46cc3720eb53beeea629db5d3b627386b2980cb4bcfae51e83d246e0eaceef20b5e92c231f7432d20fac diff --git a/sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.1.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.1.2.ebuild index 471dc419f13..d86e2384ffc 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.1.2.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.1.2.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYPI_VERIFY_REPO=https://github.com/msgpack/msgpack-python -PYTHON_COMPAT=( python3_{11..14} python3_{13..14}t pypy3_11 ) +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) inherit distutils-r1 pypi diff --git a/sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.1.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.2.1.ebuild similarity index 80% rename from sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.1.1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.2.1.ebuild index 4c92056f0d9..ebebf739658 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.1.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.2.1.ebuild @@ -1,11 +1,12 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) +PYPI_VERIFY_REPO=https://github.com/msgpack/msgpack-python +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) inherit distutils-r1 pypi @@ -18,7 +19,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" IUSE="+native-extensions" # extension code is relying on CPython implementation details @@ -30,6 +31,7 @@ BDEPEND=" ) " +EPYTEST_PLUGINS=() distutils_enable_tests pytest python_prepare_all() { From 7b00e07abd0526b5fcf42f2838802637bf195951 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:16 +0000 Subject: [PATCH 099/243] dev-python/packaging: Sync with Gentoo It's from Gentoo commit 2759e5b691913b19ffeda389faf55995c041886d. Signed-off-by: Flatcar Buildbot --- .../dev-python/packaging/Manifest | 2 - .../packaging/packaging-26.0.ebuild | 40 ------------------- .../packaging/packaging-26.1.ebuild | 1 + .../packaging/packaging-26.2.ebuild | 3 +- 4 files changed, 3 insertions(+), 43 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/packaging/packaging-26.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/packaging/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/packaging/Manifest index 06dc17dc8a7..706f61df2b9 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/packaging/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/packaging/Manifest @@ -1,5 +1,3 @@ -DIST packaging-26.0.tar.gz 143416 BLAKE2B 0f64797c7dc0c1d452bef437f3c61959efe17db4d0281ca475a45a433b349693a6e2a5183c17921cc233086da765d5af6cd902e4c3cba8975d42908de553a389 SHA512 27a066a7d65ba76189212973b6a0d162f3d361848b1b0c34a82865cf180b3284a837cc34206c297f002a73feae414e25a26c5960bb884a74ea337f582585f1d2 -DIST packaging-26.0.tar.gz.provenance 9319 BLAKE2B 95a46bf39757ebc5daa5a847413936dbf9067c50129009cca898b3010d2cc7d7175b1091ba4b8b3f5c13106a9f9da0b6dc858ab65fd0dbe7164e2c99752c539b SHA512 b1280f2554b17244745ac2c566922c1bb2b68e45a18020633d52c12a0e6be784506f10c0dfcf9a528ff6dedb7a4bfac0f240367fe26707435ee7cc15fb4c45a8 DIST packaging-26.1.tar.gz 215519 BLAKE2B de311aea3af5d7fe1414c6c3aa667b7835d47949c26d5298e1172c1bbb6c9f75646f99f4b7a633f7d2b1b13677a19d6f497912a35531baf6b7d0edb0db1e4075 SHA512 37dfdc50da2701016ff8caf7053c7d06ed3c8762ed22e43f8001c12b99b00251f960d50e8bfa0294e37069091135ef6006c7b3b92d05fde2b934cf336f0fbe1d DIST packaging-26.1.tar.gz.provenance 9178 BLAKE2B acb6131b39570cc582506163fd2b84802c36fd29c3b3c2b61470bf12fb352f77498429d54efc32e469a5189f94ba28df9334ba5febbbc0fde46e201d9962cc36 SHA512 46873132db3e0cec2c383965e68d495645a44e16059758fb88287c2e4b8e6d06f309f03a9658b21381a89b2dbb0265123a99e42059816dbc7f33b2c6d5766828 DIST packaging-26.2.tar.gz 228134 BLAKE2B 5d19304c33c560fdc5e1784c2cc0ce8b7033957c2484ff00d7b07110e2d49c84c14c40066c93a9fada23dbc47a864ac4de16afec5588031c38b084a9198d40e8 SHA512 cefa0ac8cfade3e86d73c62e79aff75e7e24337495f6e675c20ddd3fa3f3431eb48764a34e5ab0bcdacc0d2204afdc0088686d1f3f6880e9a8ae055da4867f15 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/packaging/packaging-26.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/packaging/packaging-26.0.ebuild deleted file mode 100644 index ecbe60e92e2..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/packaging/packaging-26.0.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYPI_VERIFY_REPO=https://github.com/pypa/packaging -PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t pypy3_11 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Core utilities for Python packages" -HOMEPAGE=" - https://github.com/pypa/packaging/ - https://pypi.org/project/packaging/ -" - -LICENSE="|| ( Apache-2.0 BSD-2 )" -SLOT="0" -if [[ ${PV} != *_rc* ]]; then - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -fi - -RDEPEND=" - ! Date: Mon, 6 Jul 2026 08:36:19 +0000 Subject: [PATCH 101/243] dev-python/pip: Sync with Gentoo It's from Gentoo commit 3b9e0445772647f9d2722acee1930dd64fc11281. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-python/pip/Manifest | 4 +- .../dev-python/pip/pip-26.0.1.ebuild | 204 ----------------- .../{pip-26.1.1.ebuild => pip-26.1.2.ebuild} | 2 +- .../dev-python/pip/pip-26.1.ebuild | 206 ------------------ 4 files changed, 2 insertions(+), 414 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/pip/pip-26.0.1.ebuild rename sdk_container/src/third_party/portage-stable/dev-python/pip/{pip-26.1.1.ebuild => pip-26.1.2.ebuild} (98%) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/pip/pip-26.1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/pip/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/pip/Manifest index a742f5daadb..cc088c7b0cc 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/pip/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/pip/Manifest @@ -1,4 +1,2 @@ DIST flit_core-3.12.0-py3-none-any.whl 45594 BLAKE2B 7c6cb6eb03d45bbba27f27b3728881b57fe82dd38e03f884d3b7c46116eb2b9dd76f92bdaf7f594ef8ccbe12ec8f9a56424ff9e9fc7a839c4818a113fdf0c3d3 SHA512 790c12b1f43201e365fb3f8f2f0a54e1a578876799dfdf8bfeea679a25ea096bf62946d006618c1458ae6e37ce6d00998f37e9aba426d5ab80d32ef2d75da4e0 -DIST pip-26.0.1.gh.tar.gz 9227871 BLAKE2B 96a2fab2de472b3cde570f3bcbd6bc5e5c48ef2f0808ca9b2b6c0f57a611f723cd0f5d592b6b5f553fb57a6909459f57b4130f2451cd95c3b18678e02215e0c9 SHA512 3786df7522ea65bc20fb9885ce5c2ddc60200a536a1f754a8d7dc278115c73258863e4c51ac7e9a60dda0b70263730dc194f70e1e8f8d00178a8b3c724333bf0 -DIST pip-26.1.1.gh.tar.gz 9267528 BLAKE2B 7623f0d584baf05d46f29f662ecbbb2299d82aba0204c522326e1fb7350e31e32dff660b8360bfe8505f56f38d50d0b874e84118dff95a64e9f60510a2965dc7 SHA512 777fab14b5e7e7edeffbc7ae86f4e6061e9f7cf43adcaebcb4d099c184c4f2ad6a63019a70d95b98b631821c3472713c9545fb8d65b684da67cfc31ee9293054 -DIST pip-26.1.gh.tar.gz 9268351 BLAKE2B 55773ba9ead364dcb8b900fb2f196dd768f688f54ae2ef190ae1739fec3fcc22f260c25df6ffb097e3b14ad321c51535cb71a921eafe4430a3eb30b94e38cc1e SHA512 cb3dde18f1b16ffeb36a0eeec02b64a0a363e1ef50070126fdbb152ba03749830095f85a98267e552169b7953b5839558be2c3ee8f78802cb56dd4f139b72762 +DIST pip-26.1.2.gh.tar.gz 9268753 BLAKE2B 8cbf0ecf25a2bdd148506ca0e2e778b9053759cf5fed3914b915454bd8810b1d7a27e3b2efb5fd29c4e6b189c7e8050f0da15ae6c259712446b5a35f44018ee0 SHA512 e29c98a7da5e329183b7eef86a66f9d6c3473051f64aa6e762714306148547eb0de4220824484071822a9a62bd01a62a09ab16bba4c26e4b847bfc2609728608 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/pip/pip-26.0.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/pip/pip-26.0.1.ebuild deleted file mode 100644 index c17cf70f9d8..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/pip/pip-26.0.1.ebuild +++ /dev/null @@ -1,204 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# please bump dev-python/ensurepip-pip along with this package! - -DISTUTILS_USE_PEP517=flit -PYTHON_TESTED=( pypy3_11 python3_{11..14} ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="ssl(+),threads(+)" - -inherit distutils-r1 pypi shell-completion -FLIT_CORE_PV=3.12.0 - -DESCRIPTION="The PyPA recommended tool for installing Python packages" -HOMEPAGE=" - https://pip.pypa.io/en/stable/ - https://pypi.org/project/pip/ - https://github.com/pypa/pip/ -" -SRC_URI=" - https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz - test? ( - $(pypi_wheel_url flit-core "${FLIT_CORE_PV}") - ) -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="test test-rust" -RESTRICT="!test? ( test )" - -# see src/pip/_vendor/vendor.txt -RDEPEND=" - >=dev-python/cachecontrol-0.14.3[${PYTHON_USEDEP}] - >=dev-python/dependency-groups-1.3.0[${PYTHON_USEDEP}] - >=dev-python/distlib-0.4.0[${PYTHON_USEDEP}] - >=dev-python/distro-1.9.0[${PYTHON_USEDEP}] - >=dev-python/msgpack-1.1.1[${PYTHON_USEDEP}] - >=dev-python/packaging-25.0[${PYTHON_USEDEP}] - >=dev-python/platformdirs-4.3.8[${PYTHON_USEDEP}] - >=dev-python/pyproject-hooks-1.2.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.32.4[${PYTHON_USEDEP}] - >=dev-python/rich-14.1.0[${PYTHON_USEDEP}] - >=dev-python/resolvelib-1.2.0[${PYTHON_USEDEP}] - >=dev-python/setuptools-70.3.0[${PYTHON_USEDEP}] - >=dev-python/tomli-w-1.2.0[${PYTHON_USEDEP}] - >=dev-python/truststore-0.10.1[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.13.2[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/ensurepip-setuptools - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/scripttest[${PYTHON_USEDEP}] - completion.bash || die - "${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON}" - return 0 - fi - - local EPYTEST_DESELECT=( - tests/functional/test_inspect.py::test_inspect_basic - # Internet - tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist - tests/functional/test_install.py::test_double_install_fail - tests/functional/test_install.py::test_install_sdist_links - tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed - tests/functional/test_lock.py::test_lock_archive - tests/functional/test_lock.py::test_lock_vcs - # broken by system site-packages use - tests/functional/test_freeze.py::test_freeze_with_setuptools - tests/functional/test_install.py::test_install_subprocess_output_handling - tests/functional/test_pip_runner_script.py::test_runner_work_in_environments_with_no_pip - tests/functional/test_uninstall.py::test_basic_uninstall_distutils - tests/unit/test_base_command.py::test_base_command_global_tempdir_cleanup - tests/unit/test_base_command.py::test_base_command_local_tempdir_cleanup - tests/unit/test_base_command.py::test_base_command_provides_tempdir_helpers - # broken by unbundling - "tests/functional/test_debug.py::test_debug[vendored library versions:]" - tests/functional/test_debug.py::test_debug__library_versions - tests/functional/test_freeze.py::test_freeze_multiple_exclude_with_all - tests/functional/test_install.py::test_install_package_with_same_name_in_curdir - tests/functional/test_pep517.py::test_nested_builds - tests/functional/test_python_option.py::test_python_interpreter - tests/functional/test_uninstall.py::test_basic_uninstall - tests/functional/test_uninstall.py::test_uninstall_non_local_distutils - ) - local EPYTEST_IGNORE=( - # from upstream options - tests/tests_cache - # requires proxy.py - tests/functional/test_proxy.py - ) - - case ${EPYTHON} in - pypy3*) - EPYTEST_DESELECT+=( - # unexpected tempfiles? - tests/functional/test_install_config.py::test_do_not_prompt_for_authentication - tests/functional/test_install_config.py::test_prompt_for_authentication - # wrong path - tests/functional/test_install.py::test_install_editable_with_prefix_setup_py - # wrong exception assumptions - tests/unit/test_utils_datetime.py::test_parse_iso_datetime_invalid - ) - ;; - esac - - if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/functional/test_install.py::test_install_sends_client_cert - tests/functional/test_install_config.py::test_do_not_prompt_for_authentication - tests/functional/test_install_config.py::test_prompt_for_authentication - tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed - ) - fi - - local -x PIP_DISABLE_PIP_VERSION_CHECK=1 - local EPYTEST_PLUGINS=() - # rerunfailures because test suite breaks if packages are installed - # to system site-packages while it's running - local EPYTEST_RERUNS=5 - local EPYTEST_XDIST=1 - epytest -m "not network" -o addopts= -o tmp_path_retention_policy=all \ - --use-venv -} - -python_install_all() { - local DOCS=( AUTHORS.txt docs/html/**/*.rst ) - distutils-r1_python_install_all - - newbashcomp completion.bash pip - newzshcomp completion.zsh _pip -} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/pip/pip-26.1.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/pip/pip-26.1.2.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/dev-python/pip/pip-26.1.1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-python/pip/pip-26.1.2.ebuild index 3faabd1fa3e..c91f77f366b 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/pip/pip-26.1.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/pip/pip-26.1.2.ebuild @@ -28,7 +28,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="test test-rust" RESTRICT="!test? ( test )" diff --git a/sdk_container/src/third_party/portage-stable/dev-python/pip/pip-26.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/pip/pip-26.1.ebuild deleted file mode 100644 index 3faabd1fa3e..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/pip/pip-26.1.ebuild +++ /dev/null @@ -1,206 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# please bump dev-python/ensurepip-pip along with this package! - -DISTUTILS_USE_PEP517=flit -PYTHON_TESTED=( pypy3_11 python3_{11..14} ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) -PYTHON_REQ_USE="ssl(+),threads(+)" - -inherit distutils-r1 pypi shell-completion -FLIT_CORE_PV=3.12.0 - -DESCRIPTION="The PyPA recommended tool for installing Python packages" -HOMEPAGE=" - https://pip.pypa.io/en/stable/ - https://pypi.org/project/pip/ - https://github.com/pypa/pip/ -" -SRC_URI=" - https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz - test? ( - $(pypi_wheel_url flit-core "${FLIT_CORE_PV}") - ) -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="test test-rust" -RESTRICT="!test? ( test )" - -# see src/pip/_vendor/vendor.txt -RDEPEND=" - >=dev-python/cachecontrol-0.14.3[${PYTHON_USEDEP}] - >=dev-python/dependency-groups-1.3.0[${PYTHON_USEDEP}] - >=dev-python/distlib-0.4.0[${PYTHON_USEDEP}] - >=dev-python/distro-1.9.0[${PYTHON_USEDEP}] - >=dev-python/msgpack-1.1.1[${PYTHON_USEDEP}] - >=dev-python/packaging-26.2[${PYTHON_USEDEP}] - >=dev-python/platformdirs-4.3.8[${PYTHON_USEDEP}] - >=dev-python/pyproject-hooks-1.2.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.33.1[${PYTHON_USEDEP}] - >=dev-python/rich-14.1.0[${PYTHON_USEDEP}] - >=dev-python/resolvelib-1.2.0[${PYTHON_USEDEP}] - >=dev-python/setuptools-70.3.0[${PYTHON_USEDEP}] - >=dev-python/tomli-w-1.2.0[${PYTHON_USEDEP}] - >=dev-python/truststore-0.10.1[${PYTHON_USEDEP}] - >=dev-python/typing-extensions-4.13.2[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/ensurepip-setuptools - dev-python/freezegun[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/scripttest[${PYTHON_USEDEP}] - completion.bash || die - "${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die -} - -python_test() { - if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON}" - return 0 - fi - - local EPYTEST_DESELECT=( - tests/functional/test_inspect.py::test_inspect_basic - # Internet - tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist - tests/functional/test_install.py::test_double_install_fail - tests/functional/test_install.py::test_install_sdist_links - tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed - tests/functional/test_lock.py::test_lock_archive - tests/functional/test_lock.py::test_lock_vcs - # broken by system site-packages use - tests/functional/test_freeze.py::test_freeze_with_setuptools - tests/functional/test_install.py::test_install_subprocess_output_handling - tests/functional/test_pip_runner_script.py::test_runner_work_in_environments_with_no_pip - tests/functional/test_uninstall.py::test_basic_uninstall_distutils - tests/unit/test_base_command.py::test_base_command_global_tempdir_cleanup - tests/unit/test_base_command.py::test_base_command_local_tempdir_cleanup - tests/unit/test_base_command.py::test_base_command_provides_tempdir_helpers - # broken by unbundling - "tests/functional/test_debug.py::test_debug[vendored library versions:]" - tests/functional/test_debug.py::test_debug__library_versions - tests/functional/test_freeze.py::test_freeze_multiple_exclude_with_all - tests/functional/test_install.py::test_install_package_with_same_name_in_curdir - tests/functional/test_pep517.py::test_nested_builds - tests/functional/test_python_option.py::test_python_interpreter - tests/functional/test_uninstall.py::test_basic_uninstall - tests/functional/test_uninstall.py::test_uninstall_non_local_distutils - ) - local EPYTEST_IGNORE=( - # from upstream options - tests/tests_cache - # requires proxy.py - tests/functional/test_proxy.py - ) - - case ${EPYTHON} in - pypy3*) - EPYTEST_DESELECT+=( - # unexpected tempfiles? - tests/functional/test_install_config.py::test_do_not_prompt_for_authentication - tests/functional/test_install_config.py::test_prompt_for_authentication - # wrong path - tests/functional/test_install.py::test_install_editable_with_prefix_setup_py - # wrong exception assumptions - tests/unit/test_utils_datetime.py::test_parse_iso_datetime_invalid - # TODO - tests/functional/test_install.py::test_install_warns_on_unexpected_post_install_import - ) - ;; - esac - - if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/functional/test_install.py::test_install_sends_client_cert - tests/functional/test_install_config.py::test_do_not_prompt_for_authentication - tests/functional/test_install_config.py::test_prompt_for_authentication - tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed - ) - fi - - local -x PIP_DISABLE_PIP_VERSION_CHECK=1 - local EPYTEST_PLUGINS=() - # rerunfailures because test suite breaks if packages are installed - # to system site-packages while it's running - local EPYTEST_RERUNS=5 - local EPYTEST_XDIST=1 - epytest -m "not network" -o addopts= -o tmp_path_retention_policy=all \ - --use-venv -} - -python_install_all() { - local DOCS=( AUTHORS.txt docs/html/**/*.rst ) - distutils-r1_python_install_all - - newbashcomp completion.bash pip - newzshcomp completion.zsh _pip -} From 98e34f26192551fa624da30f1e3ff67d234ea555 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:19 +0000 Subject: [PATCH 102/243] dev-python/platformdirs: Sync with Gentoo It's from Gentoo commit 5195aaccc02f1e00206c75c6ccea56d1859cfe77. Signed-off-by: Flatcar Buildbot --- .../dev-python/platformdirs/Manifest | 6 +-- ....9.6.ebuild => platformdirs-4.10.0.ebuild} | 0 .../platformdirs/platformdirs-4.9.4.ebuild | 50 ------------------- 3 files changed, 2 insertions(+), 54 deletions(-) rename sdk_container/src/third_party/portage-stable/dev-python/platformdirs/{platformdirs-4.9.6.ebuild => platformdirs-4.10.0.ebuild} (100%) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/platformdirs/platformdirs-4.9.4.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/platformdirs/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/platformdirs/Manifest index 11b0cfc1bb1..69f7fd59a04 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/platformdirs/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/platformdirs/Manifest @@ -1,4 +1,2 @@ -DIST platformdirs-4.9.4.tar.gz 28737 BLAKE2B a71ac9b3b3b2a9a02e3cf8b20cc91740da278f6581753a360600c6c2ee6c887872f08bea324ea4334337d1ccf4bdf83fc7a2b14895dc72d6421598f9234dd17b SHA512 32108f239e76693f63789dd975463a44cbd4cc06f96a86a01d3d7fc675cb953a0d6818fb8fc92daef7f1ceba8bc62f2577d092d0e58c6c616740699a2140a0d7 -DIST platformdirs-4.9.4.tar.gz.provenance 9698 BLAKE2B dc9bcf69c9bd816e61ff77096aa90f1abcabd6abad3d037d1bdf5efc354f02f53cb05b5779d874f4d9b3997172969f21777ac204050cd662dda3d8feb3ea006c SHA512 1321d072852a555f54721a6e3241aa808da665848afb3f91ca3bd47d8231dc21b85b566bd1064c5a92324aecfecc599a035ced9a8cdfff766ba53af44142d2b4 -DIST platformdirs-4.9.6.tar.gz 29400 BLAKE2B 8b41e158994241e6aa9338e239afb4d4788b4c710e978f160b35768d53cfdf18379f64beec70d661d9574a833dc0bb41aedd4964f392ce67880e8cc97e917757 SHA512 90030693cbe91f05702902787ac35c61aa4818189dbb5742f1d662b501584bd63d9b978367d826b58ca30d42e8479db86b479a0a6549c66a10a6409b96329ff5 -DIST platformdirs-4.9.6.tar.gz.provenance 9611 BLAKE2B c5dd3f37a1a5e19b4c4589f72df520138ae9701e88ef65ebf1035296cfc2d652de0bc99e3f7063dfe08ee7a6a282a73ad5bb91b68fe2233803facf2aa266dbb1 SHA512 7ee87d1e8643f83801d1662df7f9de33bbe8948f14472d9ea3cbf6e33ae1cbc101b1f7e0073dac7c0ff3408234f4825186cbe862cb221299a65ada7bb6a4f334 +DIST platformdirs-4.10.0.tar.gz 31224 BLAKE2B 4619bb4609da115660b0747237a4675a148df9a112847cb0b620c2567a24f7d7a85c7e443f92f36c3cd619b31dfacf7a5eaa1dd888548c463c48e28dcd22e178 SHA512 ad3c2dd1d65522be5b5cbd7e22447681ee0a9de80fd3716b64205c229995118ace7e9bd0282e98f9d83106df5d1332bcbebea97bc6433156de22d1e1ef2756f4 +DIST platformdirs-4.10.0.tar.gz.provenance 9894 BLAKE2B 38fc9d69b639f158adc749eabac2c0495f1ce7b7bcc7ec37b95de7e612302b578abf28bdc05a4c0952cc58cd3a45859b1b099d326b67f08b24c120e702b5e05f SHA512 cc3e135570c28ea1bce8447f823723dec2f8e3384b92a598f1b8a5eb521a496a4f2a384331f21f8d6e0e1a03f6d28e54acac293a665cb454fcd338ce547911bc diff --git a/sdk_container/src/third_party/portage-stable/dev-python/platformdirs/platformdirs-4.9.6.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/platformdirs/platformdirs-4.10.0.ebuild similarity index 100% rename from sdk_container/src/third_party/portage-stable/dev-python/platformdirs/platformdirs-4.9.6.ebuild rename to sdk_container/src/third_party/portage-stable/dev-python/platformdirs/platformdirs-4.10.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/platformdirs/platformdirs-4.9.4.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/platformdirs/platformdirs-4.9.4.ebuild deleted file mode 100644 index 641acd0e145..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/platformdirs/platformdirs-4.9.4.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 2021-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYPI_VERIFY_REPO=https://github.com/tox-dev/platformdirs -PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t pypy3_11 ) - -inherit distutils-r1 pypi - -DESCRIPTION="A small Python module for determining appropriate platform-specific dirs" -HOMEPAGE=" - https://pypi.org/project/platformdirs/ - https://github.com/tox-dev/platformdirs/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" - -BDEPEND=" - test? ( - dev-python/appdirs[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=( pytest-mock ) -distutils_enable_tests pytest - -src_configure() { - grep -q 'build-backend = "hatchling' pyproject.toml || - die "Upstream changed build-backend, recheck" - # write a custom pyproject.toml to ease setuptools bootstrap - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["flit_core >=3.2,<4"] - build-backend = "flit_core.buildapi" - - [project] - name = "${PN}" - version = "${PV}" - description = 'A small Python package for determining appropriate platform-specific dirs, e.g. a "user data dir".' - EOF - # sigh - cat > src/platformdirs/version.py <<-EOF || die - __version__ = version = '${PV}' - __version_tuple__ = version_tuple = (${PV//./, }) - EOF -} From ea4e02652525b89456d3a4fe7e29198ebeec30b0 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:21 +0000 Subject: [PATCH 103/243] dev-python/poetry-core: Sync with Gentoo It's from Gentoo commit 21a449ac9b87c2b750ef076d35dcb9cf301716fb. Signed-off-by: Flatcar Buildbot --- .../dev-python/poetry-core/Manifest | 2 - .../poetry-core/poetry-core-2.4.0.ebuild | 67 ------------------- .../poetry-core/poetry-core-2.4.1.ebuild | 2 +- 3 files changed, 1 insertion(+), 70 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/poetry-core/poetry-core-2.4.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/poetry-core/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/poetry-core/Manifest index 4237e882fe6..e4741cdb672 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/poetry-core/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/poetry-core/Manifest @@ -1,6 +1,4 @@ DIST poetry_core-2.3.2.tar.gz 382768 BLAKE2B 5c43d9b21664e80c4073d9a35648a835300eff7cbda4a1c161c10e22009e5e0480c467a4832d3dda3914a1f96a947a9ee9e3951ed041bd1be9f94bca7845c3a6 SHA512 804eca3433659215dda7beb9dd3733881640437d6bf6ef41fe0661a442203c392d92dc81d71e7d22c151d9920ba6e35f088fcdb02e1dfd464bdf9e2ff24d5c7e DIST poetry_core-2.3.2.tar.gz.provenance 9892 BLAKE2B abeb5aabd1d9ad669489c65f431b6798830cc14beda1cd5ada44c14f2ef13981dd3814e8cbda1915429ad76c091cf04f0317fc851a761c27bf24c00ccb8477df SHA512 97877bb92d950dbdc0fd7bd118e95359238ce96b1dce715362ccf459882c4f2bc13af7703db1ba1b5425a0aa1b7c8955192b25cc17af929bcec3c307213040b7 -DIST poetry_core-2.4.0.tar.gz 413541 BLAKE2B 0f3ca81d311a8421759c1a99189b320f3a1506b9afb788454e1ac8e44d5467bb8b4d3fb00aec90cff8d896f0d704ab199a0d176a178c964072799934a54789ac SHA512 07452eb3d5c640891be58d7d882be327ddb38e4d59499ca2100c854640c174f666e1175e8bb739a31631b5df44b04be0354b7bc59878340cdda3a30f9f2c3dfa -DIST poetry_core-2.4.0.tar.gz.provenance 9571 BLAKE2B 5dd1a32af4cc5e537e44655b3b762f90d70ebdd6db4041b06614d8ebd136ad93cffd9dee70fb39c5d8e679312e959433db7f14a06c6dfe649d9a6184e93f4529 SHA512 c5e301d8bcb86c4cd57c16c1c27cbfe2b3bd8934a01c4defe50ea61f4ca01473f82ded0517a15ded77daf282c1ce650bce1b829800f41cea5d412baa2de8dd7d DIST poetry_core-2.4.1.tar.gz 413699 BLAKE2B a4277944756924003e715fdd09e6ae5eddd1510cd0c7282105eeef0f1f9029f2b91e1dcb79fb11bd170f2a24b699f0da34e6b3913f9df17955e16fc341657e00 SHA512 13fbaa062eafa59a3d4ef1dbc681d834bc61e1d3218e908aabc198dea26135a307bc4b34abdb1043d453b9de9755653f1dc261cbd8e508bdce8477cc6ca4ee54 DIST poetry_core-2.4.1.tar.gz.provenance 9524 BLAKE2B 975aedf84fd8e8a88f010d462613131cc1e20b2a7d4a0b99a15c58f2f7fab641b83776fb976b4f91f1f56fbf03aedc23d578eb6909f34c3f228a8033e167305c SHA512 1bd8a0bd785990c214fb51e44e1dd4020b2e799a5ac231c07316b37bcf789fda0fc87da4ca7a79bdf3cba70996ffc796da2f27da3936c010be5eed805f689998 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/poetry-core/poetry-core-2.4.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/poetry-core/poetry-core-2.4.0.ebuild deleted file mode 100644 index fabd2d16d50..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/poetry-core/poetry-core-2.4.0.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2022-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=standalone -PYPI_VERIFY_REPO=https://github.com/python-poetry/poetry-core -PYTHON_TESTED=( pypy3_11 python3_{11..14} ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_15 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Poetry PEP 517 Build Backend" -HOMEPAGE=" - https://github.com/python-poetry/poetry-core/ - https://pypi.org/project/poetry-core/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" -IUSE="test" -RESTRICT="!test? ( test )" - -# check inside vendors/pyproject.toml -# (note that some are indirect deps) -RDEPEND=" - >=dev-python/fastjsonschema-2.21.2[${PYTHON_USEDEP}] - >=dev-python/lark-1.3.1[${PYTHON_USEDEP}] - >=dev-python/packaging-26.2[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - test? ( - $(python_gen_cond_dep ' - dev-python/build[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] - dev-python/tomli-w[${PYTHON_USEDEP}] - >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] - >=dev-python/virtualenv-20.21[${PYTHON_USEDEP}] - dev-vcs/git - ' "${PYTHON_TESTED[@]}") - ) -" - -src_prepare() { - # remove vendoring of dependencies - rm -r src/poetry/core/_vendor || die - sed -e '/__vendor_site__/d' -i src/poetry/core/__init__.py || die - - distutils-r1_src_prepare -} - -python_test() { - if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then - einfo "Skipping tests on ${EPYTHON} (unported deps)" - return - fi - - # Poetry expects test to be run inside a git repository, otherwise - # VCS-related logic doesn't get triggered. An empty repository - # suffices, though. - git init || die - - local EPYTEST_PLUGINS=( pytest-mock ) - epytest -} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/poetry-core/poetry-core-2.4.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/poetry-core/poetry-core-2.4.1.ebuild index fabd2d16d50..052d1074feb 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/poetry-core/poetry-core-2.4.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/poetry-core/poetry-core-2.4.1.ebuild @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" IUSE="test" RESTRICT="!test? ( test )" From f8ca80c6b5ed4793b543ab04dcbd389b01aa3ed4 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:25 +0000 Subject: [PATCH 104/243] dev-python/requests: Sync with Gentoo It's from Gentoo commit ee9d325367db04d0728ac78bc515fc9816f5ff62. Signed-off-by: Flatcar Buildbot --- .../dev-python/requests/Manifest | 6 -- .../requests/requests-2.33.1.ebuild | 75 ------------------- .../requests/requests-2.34.0.ebuild | 75 ------------------- .../requests/requests-2.34.1.ebuild | 75 ------------------- .../requests/requests-2.34.2.ebuild | 4 +- 5 files changed, 2 insertions(+), 233 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/requests/requests-2.33.1.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/requests/requests-2.34.0.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/requests/requests-2.34.1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/requests/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/requests/Manifest index abc21471ae7..6edfd8c433c 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/requests/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/requests/Manifest @@ -1,8 +1,2 @@ -DIST requests-2.33.1.tar.gz 134120 BLAKE2B 290c77a0f0d90d04638be623f9a32955902869f89fd6eb8c2e2c3b15cdeb28455ec331c84bdba16d6aa69cb02d8567514a245280a0adf64f653f29aacb944f44 SHA512 058dc417085f8be99c2ea79fffecce833068d9342c925a8d8bd1b10c171e52fda5d4bdd8ae1a93b05b111e275c29b705ec79ac0c365fb10f6f81c49e6d839483 -DIST requests-2.33.1.tar.gz.provenance 9256 BLAKE2B 5257b1e8dac44c85b121e04d9591b73d8e2a95ba8ad7d5a45e954d0d676a44b877da0f800bcf934e843ceaf19522bb81eb616c646ad4ac56ee6c3b7ef74a5913 SHA512 5239edd498ff5c27a92a950b75985da8c59064f7abc04809ab71c54e7f3b8b82a268a291b0431560e5fe70266f0fe5a6151fb804c093a9f99c6a6138ba6b80fb -DIST requests-2.34.0.tar.gz 142436 BLAKE2B 3aa791f8ebc58f6cd0f51883653a6860ba6503071abdd267d3473e6fa9d325aeb3bef46890d4551f946d867482b2396a2328653b08ea4a8e1ef4a7a5a4c7fbbd SHA512 4e3b5c40489b682225667cf46e36058bc22dce6b580e3d01962ea7fa46517e15a775458ebeb970b53fb2f87048f3f09bf09ac599b66c36827622fea7c17e83b6 -DIST requests-2.34.0.tar.gz.provenance 9389 BLAKE2B b25418a2b8160ac911e40d74d6f5e5359752ed956c683acb06e6dc90b13eac198cce8f389f9e6a1ed68f5f7a0317e29bb3723fbfc4a71e6bcf08f604adc15d39 SHA512 8b6387f8c81e3b1d160498992af49991e50f9c85f064a9d4b88b2346f9524d5cc6e1f996b2b347a351b9681d51e1ba28cffb8d51c53d7143fdea99943d953ad1 -DIST requests-2.34.1.tar.gz 142783 BLAKE2B 868efc2e60868d71437b007fc7bab44b344e573ed94a9dd551dd7d675924de581aa9e940ced50f60305c944b38c5be89ef2832904ea19ce2f36b994c70be8093 SHA512 1e734caa69e99c120cfff2bd5aade24feaa0000684f5499fcad94ae246aa68720724ab7acbdd611df14ca6d20f705c906fa27b808f6cf6b97fc325e41abb4dae -DIST requests-2.34.1.tar.gz.provenance 9503 BLAKE2B cffe5ceda2925e220b2af586bcc8363ad0ace0cb045e5a40d7a620ab8c4a43ab600c82d3579d7c6ef52eec9521c938c9fed5e823c5dba0089de09a70355f082e SHA512 ea1ec91731c4e70fa348b5acbcc88a9e9d0b46058e74d771565ad99704c4f48d8c7f511d94c3ff59ccd43c12d4a3014f8bb7c3cdb8610f7610322aef18940f40 DIST requests-2.34.2.tar.gz 142856 BLAKE2B 94c27e54dd0d49571179fbfe7ec666e507a5b698ea93d26c66069fa3e08bd5aeed157124111cf0b730dcd2626f5fd03b5616f08ea723c9a1e55946bdbe30316b SHA512 106d99c51c7e76d35e27dd64988afb0cc339d4f05fabb3ba1a2480e34744b4a66393e0c7873d236a9f220f6a8990d5a45a251cdbe9ce25f01e1591e693b6c9e7 DIST requests-2.34.2.tar.gz.provenance 9311 BLAKE2B 3600692e3fd67856e5cab04f9583cd134ada2783ed229f5deb04ff7f01fc692f85661871944dabb11d2f05ec25a3495b27e582736f73d8d3ac6b56aa79528611 SHA512 e2fbe3954e86a1ef1aa05bf58a9cfc45c0cc4e82ccd4fba67261ff87b94627956504764b29c0cded131f6e9ce22a0dbfe74a16eb4885cf164dea1eec16f5aa81 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/requests/requests-2.33.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/requests/requests-2.33.1.ebuild deleted file mode 100644 index 5856b4b6b3d..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/requests/requests-2.33.1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_VERIFY_REPO=https://github.com/psf/requests -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP library for human beings" -HOMEPAGE=" - https://requests.readthedocs.io/ - https://github.com/psf/requests/ - https://pypi.org/project/requests/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" -IUSE="socks5 test-rust" - -RDEPEND=" - >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}] - =dev-python/pysocks-1.5.6[${PYTHON_USEDEP}] ) -" - -BDEPEND=" - test? ( - dev-python/httpbin[${PYTHON_USEDEP}] - >=dev-python/pysocks-1.5.6[${PYTHON_USEDEP}] - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -EPYTEST_PLUGINS=( pytest-{httpbin,mock} ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # remove useless dependency check spam - sed -i -e '/def check_compatibility/a\ - return' src/requests/__init__.py || die -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet (doctests) - requests/__init__.py::requests - requests/api.py::requests.api.request - requests/models.py::requests.models.PreparedRequest - requests/sessions.py::requests.sessions.Session - # require IPv4 interface in 10.* range - tests/test_requests.py::TestTimeout::test_connect_timeout - tests/test_requests.py::TestTimeout::test_total_timeout_connect - ) - - if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/test_requests.py::TestRequests::test_https_warnings - ) - fi - - epytest -} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/requests/requests-2.34.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/requests/requests-2.34.0.ebuild deleted file mode 100644 index 32df62a8946..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/requests/requests-2.34.0.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_VERIFY_REPO=https://github.com/psf/requests -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP library for human beings" -HOMEPAGE=" - https://requests.readthedocs.io/ - https://github.com/psf/requests/ - https://pypi.org/project/requests/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" -IUSE="socks5 test-rust" - -RDEPEND=" - >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}] - =dev-python/pysocks-1.5.6[${PYTHON_USEDEP}] ) -" - -BDEPEND=" - test? ( - dev-python/httpbin[${PYTHON_USEDEP}] - >=dev-python/pysocks-1.5.6[${PYTHON_USEDEP}] - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -EPYTEST_PLUGINS=( pytest-{httpbin,mock} ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # remove useless dependency check spam - sed -i -e '/urllib3_version_list =/i\ - return' src/requests/__init__.py || die -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet (doctests) - requests/__init__.py::requests - requests/api.py::requests.api.request - requests/models.py::requests.models.PreparedRequest - requests/sessions.py::requests.sessions.Session - # require IPv4 interface in 10.* range - tests/test_requests.py::TestTimeout::test_connect_timeout - tests/test_requests.py::TestTimeout::test_total_timeout_connect - ) - - if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/test_requests.py::TestRequests::test_https_warnings - ) - fi - - epytest -} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/requests/requests-2.34.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/requests/requests-2.34.1.ebuild deleted file mode 100644 index 32df62a8946..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/requests/requests-2.34.1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_VERIFY_REPO=https://github.com/psf/requests -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP library for human beings" -HOMEPAGE=" - https://requests.readthedocs.io/ - https://github.com/psf/requests/ - https://pypi.org/project/requests/ -" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" -IUSE="socks5 test-rust" - -RDEPEND=" - >=dev-python/certifi-2017.4.17[${PYTHON_USEDEP}] - =dev-python/pysocks-1.5.6[${PYTHON_USEDEP}] ) -" - -BDEPEND=" - test? ( - dev-python/httpbin[${PYTHON_USEDEP}] - >=dev-python/pysocks-1.5.6[${PYTHON_USEDEP}] - test-rust? ( - dev-python/trustme[${PYTHON_USEDEP}] - ) - ) -" - -EPYTEST_PLUGINS=( pytest-{httpbin,mock} ) -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # remove useless dependency check spam - sed -i -e '/urllib3_version_list =/i\ - return' src/requests/__init__.py || die -} - -python_test() { - local EPYTEST_DESELECT=( - # Internet (doctests) - requests/__init__.py::requests - requests/api.py::requests.api.request - requests/models.py::requests.models.PreparedRequest - requests/sessions.py::requests.sessions.Session - # require IPv4 interface in 10.* range - tests/test_requests.py::TestTimeout::test_connect_timeout - tests/test_requests.py::TestTimeout::test_total_timeout_connect - ) - - if ! has_version "dev-python/trustme[${PYTHON_USEDEP}]"; then - EPYTEST_DESELECT+=( - tests/test_requests.py::TestRequests::test_https_warnings - ) - fi - - epytest -} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/requests/requests-2.34.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/requests/requests-2.34.2.ebuild index 32df62a8946..fcd06f10e29 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/requests/requests-2.34.2.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/requests/requests-2.34.2.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_VERIFY_REPO=https://github.com/psf/requests -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( python3_{12..15} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 pypi @@ -20,7 +20,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos" IUSE="socks5 test-rust" RDEPEND=" From 4b2f649024d5db28cfeef42bbb203dfead88ddef Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:25 +0000 Subject: [PATCH 105/243] dev-python/resolvelib: Sync with Gentoo It's from Gentoo commit 4b968943a2c604449584023ffc100ed3d20cde22. Signed-off-by: Flatcar Buildbot --- .../files/resolvelib-1.2.1-tests.patch | 59 +++++++++++++++++++ .../resolvelib/resolvelib-1.2.1.ebuild | 8 ++- 2 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/resolvelib/files/resolvelib-1.2.1-tests.patch diff --git a/sdk_container/src/third_party/portage-stable/dev-python/resolvelib/files/resolvelib-1.2.1-tests.patch b/sdk_container/src/third_party/portage-stable/dev-python/resolvelib/files/resolvelib-1.2.1-tests.patch new file mode 100644 index 00000000000..fa68b4f8aa7 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/resolvelib/files/resolvelib-1.2.1-tests.patch @@ -0,0 +1,59 @@ +https://github.com/sarugaku/resolvelib/commit/017d3a7a9ecdd01f5349d263e31d196f4f27e483 + +From 017d3a7a9ecdd01f5349d263e31d196f4f27e483 Mon Sep 17 00:00:00 2001 +From: Damian Shaw +Date: Thu, 12 Feb 2026 20:48:03 -0500 +Subject: [PATCH] Correct `PythonInputProvider._iter_matches` to fix tests with + packaging 26.0 (#201) + +--- + .../python/test_resolvers_python.py | 25 ++++++++++++++----- + 1 file changed, 19 insertions(+), 6 deletions(-) + +diff --git a/tests/functional/python/test_resolvers_python.py b/tests/functional/python/test_resolvers_python.py +index eafb1cb..c44b777 100644 +--- a/tests/functional/python/test_resolvers_python.py ++++ b/tests/functional/python/test_resolvers_python.py +@@ -3,9 +3,11 @@ + import operator + import os + from collections import defaultdict ++from functools import reduce + + import packaging.markers + import packaging.requirements ++import packaging.specifiers + import packaging.utils + import packaging.version + import pytest +@@ -92,12 +94,23 @@ def _iter_matches(self, identifier, requirements, incompatibilities): + name, _, _ = identifier.partition("[") + bad_versions = {c.version for c in incompatibilities[identifier]} + extras = {e for r in requirements[identifier] for e in r.extras} +- for key in self.index[name]: +- v = packaging.version.parse(key) +- if any(v not in r.specifier for r in requirements[identifier]): +- continue +- if v in bad_versions: +- continue ++ ++ # Get all versions from the index, excluding bad versions ++ available_versions = ( ++ v ++ for key in self.index[name] ++ if (v := packaging.version.parse(key)) not in bad_versions ++ ) ++ ++ # Combine all requirement specifiers using & operator ++ combined_specifier = reduce( ++ operator.and_, ++ map(operator.attrgetter("specifier"), requirements[identifier]), ++ packaging.specifiers.SpecifierSet(), ++ ) ++ ++ # Filter versions using the combined specifier ++ for v in combined_specifier.filter(available_versions): + yield Candidate(name=name, version=v, extras=extras) + + def find_matches(self, identifier, requirements, incompatibilities): + diff --git a/sdk_container/src/third_party/portage-stable/dev-python/resolvelib/resolvelib-1.2.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/resolvelib/resolvelib-1.2.1.ebuild index 2b6d85ef5fe..cce7aa0d56b 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/resolvelib/resolvelib-1.2.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/resolvelib/resolvelib-1.2.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 2021-2025 Gentoo Authors +# Copyright 2021-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 @@ -29,5 +29,9 @@ BDEPEND=" ) " +PATCHES=( + "${FILESDIR}"/${PN}-1.2.1-tests.patch +) + EPYTEST_PLUGINS=() distutils_enable_tests pytest From 26ae2a8bedc5f807a86bced741cf7a47bfed1ae6 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:26 +0000 Subject: [PATCH 106/243] dev-python/rich: Sync with Gentoo It's from Gentoo commit 351b675362f41845cc20db6466d8dd4b50b03fb3. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-python/rich/rich-14.3.4.ebuild | 10 +--------- .../portage-stable/dev-python/rich/rich-15.0.0.ebuild | 11 +++++++++-- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/rich/rich-14.3.4.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/rich/rich-14.3.4.ebuild index 3ba1d190579..c69fa0aec5d 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/rich/rich-14.3.4.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/rich/rich-14.3.4.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( python3_{12..14} ) inherit distutils-r1 optfeature @@ -52,14 +52,6 @@ python_test() { # flaky? plain broken? tests/test_console.py::test_brokenpipeerror ) - # version-specific output -- the usual deal - case ${EPYTHON} in - pypy3.11) - EPYTEST_DESELECT+=( - tests/test_inspect.py::test_inspect_integer_with_methods_python311 - ) - ;; - esac local -x COLUMNS=80 epytest diff --git a/sdk_container/src/third_party/portage-stable/dev-python/rich/rich-15.0.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/rich/rich-15.0.0.ebuild index 3ba1d190579..3fdf7efcc77 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/rich/rich-15.0.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/rich/rich-15.0.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 optfeature @@ -54,9 +54,16 @@ python_test() { ) # version-specific output -- the usual deal case ${EPYTHON} in - pypy3.11) + python3.15*) EPYTEST_DESELECT+=( + # https://github.com/Textualize/rich/pull/4082 isn't complete + tests/test_inspect.py::test_inspect_integer_with_methods_python38_and_python39 + tests/test_inspect.py::test_inspect_integer_with_methods_python310only tests/test_inspect.py::test_inspect_integer_with_methods_python311 + tests/test_inspect.py::test_inspect_builtin_function_except_python311 + tests/test_inspect.py::test_inspect_builtin_function_only_python311 + tests/test_pretty.py::test_attrs_broken + ) ;; esac From 6703c5642a63e7c21b12b25807bb440be4ebe020 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:26 +0000 Subject: [PATCH 107/243] dev-python/setuptools: Sync with Gentoo It's from Gentoo commit 36ed1aa4ced201e9e6f24b2c7dca44cc831a21b9. Signed-off-by: Flatcar Buildbot --- .../dev-python/setuptools/Manifest | 1 + .../setuptools/setuptools-79.0.1.ebuild | 9 +- .../setuptools/setuptools-83.0.0.ebuild | 122 ++++++++++++++++++ 3 files changed, 128 insertions(+), 4 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/setuptools/setuptools-83.0.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/setuptools/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/setuptools/Manifest index c38ebb75278..8a7191238f7 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/setuptools/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/setuptools/Manifest @@ -1,2 +1,3 @@ DIST setuptools-79.0.1.tar.gz 1367909 BLAKE2B d495a22753400b3b0ef71423e2c9b5adaad1a065d1f9638b5da8161b29c453495701c3efaa3abd2482777e186ba992bd7b57090dfc711d9cdfdaa8254616a8ff SHA512 5b68d7cc775f4318e178f7d7f69c60a01b1abc607411e88c88e3507a08bd85eed241b915d4be5f3ada90df4b68718056c2ba032943c1f53fe68d171c7d728179 DIST setuptools-82.0.1.tar.gz 1152316 BLAKE2B d7f6eaf62ec66355b65642bc20a7a549e167dd6d1c0cdb15926b6644a23cab7737d713cd9418e0cc09161eb0bff53ffd0b8781c96d9203717077121c1e3cc0d5 SHA512 5d70e9efd818245fb8119a4eed64d776078469ed884facc188f141ea491efd9fde5c10c928d3236ea5e2e431b16616f18ed14870b867f95e6320251707332395 +DIST setuptools-83.0.0.tar.gz 1154254 BLAKE2B b82142ad699703352b4ec7843545f3f078e853d39fa93e2d0ee42b9914ebc9d04bc7de4954bce0a1e49f3befea39d14176ed4e7462d202d74ed503664765fba9 SHA512 d426f235471d30b41391bda63e8f3d461f54a6a4127594a2e2d0cab0c7576d511db5e5f211ed6cdac2afc620d3695e991a1dd08106f1201ec64697b14b3e0390 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/setuptools/setuptools-79.0.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/setuptools/setuptools-79.0.1.ebuild index 9a918dfecf2..3a1556df917 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/setuptools/setuptools-79.0.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/setuptools/setuptools-79.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 8 -- sys-apps/portage dep @@ -7,8 +7,8 @@ EAPI=8 # please bump dev-python/ensurepip-setuptools along with this package! DISTUTILS_USE_PEP517=standalone -PYTHON_TESTED=( python3_{11..14} pypy3_11 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_{13,14}t ) +PYTHON_TESTED=( python3_{12..14} ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_15 python3_{14..15}t ) PYTHON_REQ_USE="xml(+)" inherit distutils-r1 pypi @@ -129,6 +129,7 @@ python_test() { local EPYTEST_XDIST=1 local -x PRE_BUILT_SETUPTOOLS_WHEEL=${DISTUTILS_WHEEL_PATH} - epytest -o tmp_path_retention_policy=all \ + local EPYTEST_PLUGINS=( pytest-{home,subprocess,timeout} ) + epytest -o filterwarnings= -o tmp_path_retention_policy=all \ -m "not uses_network" setuptools } diff --git a/sdk_container/src/third_party/portage-stable/dev-python/setuptools/setuptools-83.0.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/setuptools/setuptools-83.0.0.ebuild new file mode 100644 index 00000000000..2e5951da1aa --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/setuptools/setuptools-83.0.0.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +# please bump dev-python/ensurepip-setuptools along with this package! + +DISTUTILS_USE_PEP517=standalone +PYTHON_TESTED=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_15 python3_{13..15}t ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="Collection of extensions to Distutils" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/jaraco-functools-4.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-text-4.0.0[${PYTHON_USEDEP}] + >=dev-python/more-itertools-10.8.0[${PYTHON_USEDEP}] + >=dev-python/packaging-25.0[${PYTHON_USEDEP}] + >=dev-python/platformdirs-4.4.0[${PYTHON_USEDEP}] + >=dev-python/wheel-0.45.1[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + $(python_gen_cond_dep ' + >=dev-python/build-1.0.3[${PYTHON_USEDEP}] + >=dev-python/ini2toml-0.14[${PYTHON_USEDEP}] + >=dev-python/filelock-3.4.0[${PYTHON_USEDEP}] + >=dev-python/jaraco-envs-2.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-path-3.7.2[${PYTHON_USEDEP}] + >=dev-python/jaraco-test-5.5[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + >=dev-python/pytest-home-0.5[${PYTHON_USEDEP}] + dev-python/pytest-subprocess[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + >=dev-python/tomli-w-1.0.0[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + ) +" +# setuptools-scm is here because installing plugins apparently breaks stuff at +# runtime, so let's pull it early. See bug #663324. +# +# trove-classifiers are optionally used in validation, if they are +# installed. Since we really oughtn't block them, let's always enforce +# the newest version for the time being to avoid errors. +# https://github.com/pypa/setuptools/issues/4459 +PDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2024.10.16[${PYTHON_USEDEP}] +" + +src_prepare() { + local PATCHES=( + # https://github.com/abravalheri/validate-pyproject/pull/221 + "${FILESDIR}/setuptools-75.6.0-disable-trove-classifiers.patch" + ) + + distutils-r1_src_prepare + + # remove bundled dependencies + rm -r */_vendor || die +} + +python_test() { + if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then + return + fi + + local EPYTEST_DESELECT=( + # broken by unbundling (e.g. installs self-wheel into venv) + setuptools/tests/config/test_apply_pyprojecttoml.py::TestMeta + setuptools/tests/test_distutils_adoption.py + setuptools/tests/test_editable_install.py + setuptools/tests/test_sdist.py::test_sanity_check_setuptools_own_sdist + setuptools/tests/test_setuptools.py::test_wheel_includes_vendored_metadata + setuptools/tests/test_virtualenv.py::test_no_missing_dependencies + setuptools/tests/config/test_setupcfg.py::TestOptions::test_entry_points + # TODO + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_basic + setuptools/tests/config/test_setupcfg.py::TestConfigurationReader::test_ignore_errors + # TODO, probably some random package + setuptools/tests/config/test_setupcfg.py::TestOptions::test_cmdclass + # relies on -Werror + setuptools/_static.py::setuptools._static.Dict + setuptools/_static.py::setuptools._static.List + # Internet + setuptools/tests/test_build_py.py::TestTypeInfoFiles::test_type_files_included_by_default + setuptools/tests/test_dist.py::test_dist_fetch_build_egg + setuptools/tests/test_namespaces.py::TestNamespaces::test_mixed_site_and_non_site + setuptools/tests/test_namespaces.py::TestNamespaces::test_namespace_package_installed_and_cwd + setuptools/tests/test_namespaces.py::TestNamespaces::test_packages_in_the_same_namespace_installed_and_cwd + setuptools/tests/test_namespaces.py::TestNamespaces::test_pkg_resources_import + # broken by warnings from setuptools-scm + setuptools/tests/config/test_apply_pyprojecttoml.py::TestPresetField::test_scripts_dont_require_dynamic_entry_points + # TODO + 'setuptools/tests/test_egg_info.py::TestEggInfo::test_requires[setup_requires_with_markers]' + ) + + local EPYTEST_XDIST=1 + local -x PRE_BUILT_SETUPTOOLS_WHEEL=${DISTUTILS_WHEEL_PATH} + local EPYTEST_PLUGINS=( pytest-{home,subprocess,timeout} ) + epytest -o filterwarnings= -o tmp_path_retention_policy=all \ + -m "not uses_network" setuptools +} From ace7ad85f41ce3b6927f8cea4ce94347f0d39547 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:26 +0000 Subject: [PATCH 108/243] dev-python/setuptools-scm: Sync with Gentoo It's from Gentoo commit f62cea509aceddd8768a6b3d566146419ed08440. Signed-off-by: Flatcar Buildbot --- .../dev-python/setuptools-scm/Manifest | 6 ++ .../setuptools-scm-10.1.1.ebuild | 58 ++++++++++++++++++ .../setuptools-scm-10.1.2.ebuild | 58 ++++++++++++++++++ .../setuptools-scm-10.2.0.ebuild | 60 +++++++++++++++++++ .../setuptools-scm-9.2.2.ebuild | 4 +- 5 files changed, 184 insertions(+), 2 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/setuptools-scm-10.1.1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/setuptools-scm-10.1.2.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/setuptools-scm-10.2.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/Manifest index 1d6e7176910..ba7650b237e 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/Manifest @@ -1,4 +1,10 @@ DIST setuptools_scm-10.0.5.tar.gz 56748 BLAKE2B b41195c9f55f911a8287814ca92216cdc8169f0eec9573f20739d02a2b08fd89eaa268585b589e8e6351e8ec14d1411bf057265c04796891c764abc88a5685bd SHA512 7384b3d27497e298265aadb03dc7edd907c46cce9caf4c086751a84e5ae151e41cd4af7b07e641a5d799374c348585c118bb82a9715568b01a5cc814d71057fa DIST setuptools_scm-10.0.5.tar.gz.provenance 9960 BLAKE2B a87ce476be89d90cd11ddff5c92bfaae0716f59dd4953f495273cd4a56f1f57f27461fb07c39884ce64c6b8094fa914e2a374580ca301e9b5ac35dc102f61700 SHA512 578aea9cb7238b26fc421fcef9de704598970700967af4f1a94ca9d582a16e408759f2434fe7fa623d69065cca2b795af0eef10ee4faf65fa86bbf84524c82b1 +DIST setuptools_scm-10.1.1.tar.gz 66514 BLAKE2B 5f683dd881bbb69bec3fbcefb9688df74b001b862822f50ca28158285802cf0c2675286e746c383132807af7f761e7a165a2c4dfba53e458f804160616bb02cb SHA512 d48cf858a448d200670a2539c258d40c419c0d41c12e2cadbe7c90dfd449318b25e2c1a4b70b0ad6e040cb05a867b9701bb2e282f0364de23e56d73f31ecd5fc +DIST setuptools_scm-10.1.1.tar.gz.provenance 10393 BLAKE2B bd079e3696abc42694f5a01a3495e79839403a08a47ec3bfd89e3e18f9331e79df92bffe890591f77ebb2a932ff797f60d87468745f2fc123292d3481ebe7647 SHA512 674a3342aef170ecb88afafdd3464e7ad13ea949399742ba9fde3536029c1cea24b9c8821abb77e9fdb6c4653e5ba04472d8b9cb2bb0446640cb863213aaa14a +DIST setuptools_scm-10.1.2.tar.gz 66674 BLAKE2B 236058e5c0ba6299757e3e4693e51ea004eb06d4159a4c4dfc3a1f8af59344772a01ba4dc32cd0e3763e5f55943effd393ccae51901693eb85f8eff891c76d3b SHA512 0791ab22419ef79e5aac1ebb5958a831f08ce0834d5ceab2ec0bdf085c73060d75e81cd6dfce7b29a317a68e444be681465662406247ac3e572a5bf100000362 +DIST setuptools_scm-10.1.2.tar.gz.provenance 10213 BLAKE2B 96096834a2f4cf59f557c7b813adaa4f77f6d9aaacf1695cebeb4a84fe7ff7f26a2c37c20f678fbc8f7bbdb42c255abd6b903310d6369dd36c5429f4513e94b4 SHA512 fa8855840d287a382ecbb8c6292824b11e62640155ffddd178804a0e06374d78b81e6699623fd26613c21f84b47d21a6947f5985b3b2b28be04836c8118b66df +DIST setuptools_scm-10.2.0.tar.gz 67319 BLAKE2B 1dec0a216528126a9bc0179a5e103602bb37b25c7122238024137236908f6148c81b0f1f020cb60bf134e1a4623df3c4a780e7aebd4e61e6633a21a7b9b9da04 SHA512 682c69594b49e4fd6f20c886553a531ef90622ccd82978c0c3b7db240d9f183bd0942cf635cc35d972411fbcb0a22929bbc592bb30959b3370a2a6a7d5e8a7b2 +DIST setuptools_scm-10.2.0.tar.gz.provenance 10276 BLAKE2B eb102a3ed345c201ba583cd6659f24f02fc7bab51c3fe91653e1478f153d88df9e27995f3a4c0bd70cf74958bd42e98f503fcfe8f5817d73978783b0d62c2e59 SHA512 b2d4335e1ec1145f33b89058eda0af7045f8e81c9e84a969ad13c1a5bd76fdb8fd73f270d8edc516771e8e39d959d42b44a1dfadcda4e35897e5a1a49917601e DIST setuptools_scm-9.2.2.tar.gz 203385 BLAKE2B 8577c4c6265ae851212be04b245b3da8b49d541174f5e675dea916c76b3cba5b5ab9f6264a97904e2d5ca02dee4e3f8eb88c9e8badbba2ed53bed531fe9f6b6c SHA512 757ca11a3d13601606b6914ea70e3d271d287f26ada976ec77334fc0f611208669585d2580994f1ddff830cd698a837d3e882dd5cdccdaf9f8eba34fdd8cb708 DIST setuptools_scm-9.2.2.tar.gz.provenance 9705 BLAKE2B b710df7f8cbb324aa2927243ab0416869319813016d64f589b7a9f565576fff58c1aee18da4ea9bc3fb5a969cf74c1fcaa1332812bf88267ec9f2bf437876e53 SHA512 6ac563d0ab5f1afce28976eb030364a451508ec7d47b6e99668c37b8ba09e3b56500b104d62ad6047fad9f6be0b2b6ebea66b561041485b9d15b84c39fe92313 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/setuptools-scm-10.1.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/setuptools-scm-10.1.1.ebuild new file mode 100644 index 00000000000..f4db17aa8b6 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/setuptools-scm-10.1.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pypa/setuptools-scm +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) + +inherit distutils-r1 pypi + +DESCRIPTION="Manage versions by scm tags via setuptools" +HOMEPAGE=" + https://github.com/pypa/setuptools-scm/ + https://pypi.org/project/setuptools-scm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# there's an optional dep on rich for cute logs +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/setuptools-64[${PYTHON_USEDEP}] + >=dev-python/vcs-versioning-2.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/vcs-versioning-2.0.0[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + testing_scm/test_functions.py::test_dump_version_mypy + testing_scm/test_integration.py::test_xmlsec_download_regression + testing_scm/test_regressions.py::test_pip_download + ) + + if ! has_version "dev-python/pip[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + testing_scm/test_integration.py::test_editable_install_without_env_var + testing_scm/test_integration.py::test_editable_install_version_file + ) + fi + + epytest +} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/setuptools-scm-10.1.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/setuptools-scm-10.1.2.ebuild new file mode 100644 index 00000000000..ebc6ef29762 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/setuptools-scm-10.1.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pypa/setuptools-scm +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) + +inherit distutils-r1 pypi + +DESCRIPTION="Manage versions by scm tags via setuptools" +HOMEPAGE=" + https://github.com/pypa/setuptools-scm/ + https://pypi.org/project/setuptools-scm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# there's an optional dep on rich for cute logs +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/setuptools-64[${PYTHON_USEDEP}] + =dev-python/vcs-versioning-2*[${PYTHON_USEDEP}] +" +BDEPEND=" + =dev-python/vcs-versioning-2*[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + testing_scm/test_functions.py::test_dump_version_mypy + testing_scm/test_integration.py::test_xmlsec_download_regression + testing_scm/test_regressions.py::test_pip_download + ) + + if ! has_version "dev-python/pip[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + testing_scm/test_integration.py::test_editable_install_without_env_var + testing_scm/test_integration.py::test_editable_install_version_file + ) + fi + + epytest +} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/setuptools-scm-10.2.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/setuptools-scm-10.2.0.ebuild new file mode 100644 index 00000000000..438af4f736a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/setuptools-scm-10.2.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 8 -- sys-apps/portage dep +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pypa/setuptools-scm +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) + +inherit distutils-r1 pypi + +DESCRIPTION="Manage versions by scm tags via setuptools" +HOMEPAGE=" + https://github.com/pypa/setuptools-scm/ + https://pypi.org/project/setuptools-scm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +# there's an optional dep on rich for cute logs +RDEPEND=" + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/setuptools-64[${PYTHON_USEDEP}] + =dev-python/vcs-versioning-2*[${PYTHON_USEDEP}] + >=dev-python/vcs-versioning-2.2[${PYTHON_USEDEP}] +" +BDEPEND=" + =dev-python/vcs-versioning-2*[${PYTHON_USEDEP}] + >=dev-python/vcs-versioning-2.2[${PYTHON_USEDEP}] + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # Internet + testing_scm/test_functions.py::test_dump_version_mypy + testing_scm/test_integration.py::test_xmlsec_download_regression + testing_scm/test_regressions.py::test_pip_download + ) + + if ! has_version "dev-python/pip[${PYTHON_USEDEP}]"; then + EPYTEST_DESELECT+=( + testing_scm/test_integration.py::test_editable_install_without_env_var + testing_scm/test_integration.py::test_editable_install_version_file + ) + fi + + epytest +} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/setuptools-scm-9.2.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/setuptools-scm-9.2.2.ebuild index 332c0f91a6f..816b409cc3b 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/setuptools-scm-9.2.2.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/setuptools-scm/setuptools-scm-9.2.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # please keep this ebuild at EAPI 8 -- sys-apps/portage dep @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=standalone PYPI_VERIFY_REPO=https://github.com/pypa/setuptools-scm -PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t pypy3_11 ) +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) inherit distutils-r1 pypi From cefab40f9003483695a2079702321dc42ca4cd5d Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:27 +0000 Subject: [PATCH 109/243] dev-python/snakeoil: Sync with Gentoo It's from Gentoo commit f16134ad3b1d6ad22eca774a9acc28b612328278. Signed-off-by: Flatcar Buildbot --- .../dev-python/snakeoil/Manifest | 3 ++- ...l-0.10.11.ebuild => snakeoil-0.11.1.ebuild} | 18 ++++++++++-------- .../dev-python/snakeoil/snakeoil-9999.ebuild | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-) rename sdk_container/src/third_party/portage-stable/dev-python/snakeoil/{snakeoil-0.10.11.ebuild => snakeoil-0.11.1.ebuild} (58%) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/snakeoil/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/snakeoil/Manifest index 4755a267442..7d6bf29b4b1 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/snakeoil/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/snakeoil/Manifest @@ -1,3 +1,4 @@ -DIST snakeoil-0.10.11.tar.gz 174701 BLAKE2B 5dba8eac3fdd6dfc88fcb2ffac8cd16f18c28485d39e6726708f98f0c86cdc6d101bf343da75c505f34c59c0bede89b0adbc268bc6d93a996cfefce4e968ac75 SHA512 6cd4fb1449e1ccf74bf8042afa4e113704eb328c89ff1def59581e96031082b27d78f46574796f59a612148947626d727b13a04134bc895e96f2f4733ce54c41 DIST snakeoil-0.11.0.tar.gz 201462 BLAKE2B c8d9953b5fc482afbadd471c6de273518d1b30a42cff2cc45cd2700544bb9a84b25ea3686e8f056bd44562075f1eedf7db3af6cf935f177b513e9b3f0a76840c SHA512 6636def3a05469a3f22e0a510d00fd5d6399c561fa436f7028507b5b548c5d20200ec93fdf2d8ba03176e76f2d6a0e51f12f63fa4b6a16a11839552dcbd7543c DIST snakeoil-0.11.0.tar.gz.provenance 9238 BLAKE2B 6724f3cde7cfabdfc44a8e0056a8c112d97ff7ffba98c90c998f8244a7ebf5b38198613b49f0df7dc9106cba6d07a68bb02b6cfaf70d83e6692f730a4fdce1c2 SHA512 990cf993fab784e7878517872183edf91b0a9725c08e618974a05b68c75c35b2bd03e865bd5a3ce21fcc138cbc84a1a0051be40fda639d5f3bcc8c8c0a6ef347 +DIST snakeoil-0.11.1.tar.gz 205402 BLAKE2B 5adce8d484b4bfe9936a91368f4aaf618b76365734a75c6659462328641dbcfa5d7dec059a8f3ba6cee626994ed71ef68011e3fa4356e7c8a50c527a46c88ef4 SHA512 ba74e8aea92e52b4643cfcf7d7e4b408567f8b3f8a614831520b8e3c454bfc84258766825285c1495cca4e990b5ac73db8b02f444037ae877531153b29e3a9cd +DIST snakeoil-0.11.1.tar.gz.provenance 9560 BLAKE2B 7323544a63f67e1208f01288a09a8254eba31688d57599284b568586109260383ffcf71555963c8998e31cc1974b81de5483e592151bab07efd88f7d1a7cad1b SHA512 1508b466ba8921895279e8b3e8951e338fe240fddae709563d45e47cd948ae2ab51d37664bf3e8780913c45368410ad1704d8b17b2887fffb9bf038f015b4a6e diff --git a/sdk_container/src/third_party/portage-stable/dev-python/snakeoil/snakeoil-0.10.11.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/snakeoil/snakeoil-0.11.1.ebuild similarity index 58% rename from sdk_container/src/third_party/portage-stable/dev-python/snakeoil/snakeoil-0.10.11.ebuild rename to sdk_container/src/third_party/portage-stable/dev-python/snakeoil/snakeoil-0.11.1.ebuild index f819217c575..d219caaba52 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/snakeoil/snakeoil-0.10.11.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/snakeoil/snakeoil-0.11.1.ebuild @@ -1,11 +1,13 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) +PYPI_VERIFY_REPO=https://github.com/pkgcore/snakeoil +PYTHON_COMPAT=( python3_{12..15} ) PYTHON_REQ_USE="threads(+)" + inherit distutils-r1 if [[ ${PV} == *9999 ]] ; then @@ -13,18 +15,18 @@ if [[ ${PV} == *9999 ]] ; then https://github.com/pkgcore/snakeoil.git" inherit git-r3 else - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" inherit pypi fi DESCRIPTION="misc common functionality and useful optimizations" -HOMEPAGE="https://github.com/pkgcore/snakeoil" +HOMEPAGE=" + https://github.com/pkgcore/snakeoil/ + https://pypi.org/project/snakeoil/ +" LICENSE="BSD BSD-2 MIT" SLOT="0" -RDEPEND=" - dev-python/lazy-object-proxy[${PYTHON_USEDEP}] -" - +EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/sdk_container/src/third_party/portage-stable/dev-python/snakeoil/snakeoil-9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/snakeoil/snakeoil-9999.ebuild index b6398184541..d219caaba52 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/snakeoil/snakeoil-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/snakeoil/snakeoil-9999.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=flit PYPI_VERIFY_REPO=https://github.com/pkgcore/snakeoil -PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) +PYTHON_COMPAT=( python3_{12..15} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 From a1d691ef392f6deed271cc25b306cdbee9e6ed10 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:29 +0000 Subject: [PATCH 110/243] dev-python/tree-sitter: Sync with Gentoo It's from Gentoo commit cb5d0e8df2602b0dd6c5a5cd1d2ce63ebdcbd481. Signed-off-by: Flatcar Buildbot --- .../dev-python/tree-sitter/Manifest | 3 +- .../tree-sitter/tree-sitter-0.24.0.ebuild | 66 ------------------- .../tree-sitter/tree-sitter-0.25.2.ebuild | 58 ---------------- ....1-r1.ebuild => tree-sitter-0.26.0.ebuild} | 15 ++--- 4 files changed, 8 insertions(+), 134 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/tree-sitter-0.24.0.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/tree-sitter-0.25.2.ebuild rename sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/{tree-sitter-0.25.1-r1.ebuild => tree-sitter-0.26.0.ebuild} (78%) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/Manifest index d3329791d7e..089dafe1be9 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/Manifest @@ -1,3 +1,2 @@ -DIST tree-sitter-0.24.0.gh.tar.gz 170141 BLAKE2B 3d7f076f947192105be2fc9d93831eb331c1ec189619f6db860db8b6b6c1f2f33cd03edf315c09a5de6637d870351d06d5507d9c0de8a4dadc4e9e863ac233e8 SHA512 471d605cc29bcf7fd228eefe8a3bc2dd39c163d584e941cfd8ac0e498ff1815c7cadb9a7a45c643f704b8c9f12932bcc53597c835e23b5988da087f9a6a59067 -DIST tree-sitter-0.25.1.gh.tar.gz 174288 BLAKE2B 2580e7909e28ea05dfe8a015eb0e26d465318a0962666dc8de3d82d80c7647a62398abee093ccea13a04119e685dac3365ed098a70f7c50fac383cef34f7cb62 SHA512 37a6035921d44a13ef2128c8ff5dd7d8424dd50c1b5089a143ecfd921848304d91339d17108fa9e2f7ea0a6755b03413061ed6a6561ef1d8473534e8cf4636ef DIST tree-sitter-0.25.2.gh.tar.gz 174357 BLAKE2B c136098245beff521e7bf26b58b0cb4adfcfbec05ad59f62949c422c414cd879a973390875c285b014593790a5fb243863cc2b82dbecbf3297f24b394b06350a SHA512 ee0ee294cd3380442bb6f4f62413590818bfa4afbde1601bb89c777e97dcee885a22a06e529913c2fb08d082f5de775ced9403ffd5d2ca35dcfd0b19072ee452 +DIST tree-sitter-0.26.0.gh.tar.gz 174361 BLAKE2B 450b47a6b74abb445fdf88c75407d3a9b7273e644b9914179ec06bb4736c9c35a22efcbe50bfbae7a80d53160ee86d96ff9a4ed2b4250183969ab1236ebbe7f8 SHA512 595936f82d561bcd6aea83164b68d47336da06bd902f4c2756439df9f3282bbd4bca858849fda946b3ad3ea7b8d710f004096d1e989f331b3b7f13239b645de7 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/tree-sitter-0.24.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/tree-sitter-0.24.0.ebuild deleted file mode 100644 index 11aab4e7603..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/tree-sitter-0.24.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 - -DESCRIPTION="Python bindings to the Tree-sitter parsing library" -HOMEPAGE=" - https://github.com/tree-sitter/py-tree-sitter/ - https://pypi.org/project/tree-sitter/ -" -SRC_URI=" - https://github.com/tree-sitter/py-tree-sitter/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S=${WORKDIR}/py-${P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -# setuptools is needed for distutils import -DEPEND=">=dev-libs/tree-sitter-0.25.0:=" -RDEPEND="${DEPEND} - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ' 3.12 3.13) -" -BDEPEND=" - test? ( - >=dev-libs/tree-sitter-html-0.23.2[python,${PYTHON_USEDEP}] - >=dev-libs/tree-sitter-javascript-0.23.1[python,${PYTHON_USEDEP}] - >=dev-libs/tree-sitter-json-0.24.8[python,${PYTHON_USEDEP}] - >=dev-libs/tree-sitter-python-0.23.6[python,${PYTHON_USEDEP}] - >=dev-libs/tree-sitter-rust-0.23.2[python,${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${PN}-0.22.2-unbundle.patch -) - -src_unpack() { - default - rmdir "${S}/tree_sitter/core" || die -} - -src_prepare() { - sed -e 's/ts_node_child_containing_descendant/ts_node_child_with_descendant/' \ - -i tree_sitter/binding/node.c || die - sed -e 's/TSInputEncodingUTF16/TSInputEncodingUTF16LE/' \ - -i tree_sitter/binding/parser.c || die - distutils-r1_src_prepare -} - -src_test() { - rm -r tree_sitter || die - distutils-r1_src_test -} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/tree-sitter-0.25.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/tree-sitter-0.25.2.ebuild deleted file mode 100644 index 545153ac49d..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/tree-sitter-0.25.2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 - -DESCRIPTION="Python bindings to the Tree-sitter parsing library" -HOMEPAGE=" - https://github.com/tree-sitter/py-tree-sitter/ - https://pypi.org/project/tree-sitter/ -" -SRC_URI=" - https://github.com/tree-sitter/py-tree-sitter/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz -" -S=${WORKDIR}/py-${P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -# setuptools is needed for distutils import -DEPEND="=dev-libs/tree-sitter-0.25*:=" -RDEPEND="${DEPEND} - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ' 3.12 3.13) -" -BDEPEND=" - test? ( - >=dev-libs/tree-sitter-html-0.23.2[python,${PYTHON_USEDEP}] - >=dev-libs/tree-sitter-javascript-0.23.1[python,${PYTHON_USEDEP}] - >=dev-libs/tree-sitter-json-0.24.8[python,${PYTHON_USEDEP}] - >=dev-libs/tree-sitter-python-0.23.6[python,${PYTHON_USEDEP}] - >=dev-libs/tree-sitter-rust-0.23.2[python,${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/${PN}-0.22.2-unbundle.patch -) - -src_unpack() { - default - rmdir "${S}/tree_sitter/core" || die -} - -src_test() { - rm -r tree_sitter || die - distutils-r1_src_test -} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/tree-sitter-0.25.1-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/tree-sitter-0.26.0.ebuild similarity index 78% rename from sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/tree-sitter-0.25.1-r1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/tree-sitter-0.26.0.ebuild index 545153ac49d..81cfb35e3e0 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/tree-sitter-0.25.1-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/tree-sitter/tree-sitter-0.26.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 @@ -22,14 +22,13 @@ S=${WORKDIR}/py-${P} LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" # setuptools is needed for distutils import -DEPEND="=dev-libs/tree-sitter-0.25*:=" -RDEPEND="${DEPEND} - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ' 3.12 3.13) +DEPEND="=dev-libs/tree-sitter-0.26*:=" +RDEPEND=" + ${DEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] " BDEPEND=" test? ( From c21e9377e0cd83154829c57776e4b40a9090c925 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:30 +0000 Subject: [PATCH 111/243] dev-python/trove-classifiers: Sync with Gentoo It's from Gentoo commit f18f83420b8a68931e59ba92e31b15aa22abcaa4. Signed-off-by: Flatcar Buildbot --- .../dev-python/trove-classifiers/Manifest | 2 + .../trove-classifiers-2026.4.28.13.ebuild | 2 +- .../trove-classifiers-2026.6.1.19.ebuild | 47 +++++++++++++++++++ 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/trove-classifiers/trove-classifiers-2026.6.1.19.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/trove-classifiers/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/trove-classifiers/Manifest index 21c3aae86e5..b395a20e93d 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/trove-classifiers/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/trove-classifiers/Manifest @@ -8,3 +8,5 @@ DIST trove_classifiers-2026.5.22.10.tar.gz 17061 BLAKE2B 5fc50ba21e32ce00d74e3c2 DIST trove_classifiers-2026.5.22.10.tar.gz.provenance 9157 BLAKE2B fdf62e2effbf0bba485c5268f02a27b6dff50137f5bdf4523e68ec8079a22a148bffa0a9714e7530085ed947a6e2fdaa41422003b69e05c1eb2125cba932ffda SHA512 d47bccb2c46fd51b76835a173af8327628a95397b78c3bc73b7e09a5d7bdbf491c670db5d65d2b8cb3475fbe974d6662764de0a19113b09ab2b14706fa98fe00 DIST trove_classifiers-2026.5.7.17.tar.gz 17041 BLAKE2B c495ec45bb8f9ace2661d3ad50b75321581845d78ee1eef8b87d7e2bb2c1c316bdf7b19aa2a7eff6983f55dcc23a2df0b6916323fd7bc509ecaaa60f74519f31 SHA512 bc3ea9dd1ad0c110b83a79ec759f12ce4bd0665b220b1d43b04fc438317772f12e203d83163b9a00e3c4600b0dbb0b10c03f6432212aa4ef29a180f516d96764 DIST trove_classifiers-2026.5.7.17.tar.gz.provenance 9486 BLAKE2B 029612062c1fb148fe13903a0adc14a1078b0d0dc45c8e890dde2e3f715eb94f6c1a7f700580bdc9b5b241b4a35fc2b4f0261d8666ce3a0e1da57e4c1b933cd5 SHA512 7ea52c48c94eda862def238040bdffda67e41c2420dd274bd59a4ddd05c489a02016c5fbed0a805d16681d0803b66607b27bc65b9a8ff5c98d04c5259935a1da +DIST trove_classifiers-2026.6.1.19.tar.gz 17059 BLAKE2B ccc2ce8c27b36ebc5fd3c951698ddef25186b0ccced9fd61b6eeeaf04d9f3e4201b8e6dcf4903b2f0ff1b4e46dcfb9a839eadebe6a9740fb2bdd9fb157b67d05 SHA512 3e0d4dabdefe939cf865286ef168e28a0fe7f791fa9321f9822b81bff7c06357ea3eeba9666710867de643ee267ae69f1eb4c20163a9c209b7ba408051cebf08 +DIST trove_classifiers-2026.6.1.19.tar.gz.provenance 9832 BLAKE2B f0224488c91fee2b2a3b8a753ca1f7d4ed6de55cc88b2bc8676153f9afb242ceb1084b88bc95176bc7fde62727584f1c2114c20265df0d38ce14dfdd60a6af99 SHA512 57114ca1afbeec73693e6ac362c9c9e43513a187829e93c17afc94bd4aab6bc2ff1d9abb7298cc114eb0903ac1e86a116369daaf25607b7130bfe89d83af8db3 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/trove-classifiers/trove-classifiers-2026.4.28.13.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/trove-classifiers/trove-classifiers-2026.4.28.13.ebuild index 1b135237164..2301e315624 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/trove-classifiers/trove-classifiers-2026.4.28.13.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/trove-classifiers/trove-classifiers-2026.4.28.13.ebuild @@ -17,7 +17,7 @@ HOMEPAGE=" LICENSE="Apache-2.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" EPYTEST_PLUGINS=() distutils_enable_tests pytest diff --git a/sdk_container/src/third_party/portage-stable/dev-python/trove-classifiers/trove-classifiers-2026.6.1.19.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/trove-classifiers/trove-classifiers-2026.6.1.19.ebuild new file mode 100644 index 00000000000..7634c4f06bf --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/trove-classifiers/trove-classifiers-2026.6.1.19.ebuild @@ -0,0 +1,47 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYPI_VERIFY_REPO=https://github.com/pypa/trove-classifiers +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) + +inherit distutils-r1 pypi + +DESCRIPTION="Canonical source for classifiers on PyPI (pypi.org)" +HOMEPAGE=" + https://github.com/pypa/trove-classifiers/ + https://pypi.org/project/trove-classifiers/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease hatchling bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "trove-classifiers" + version = "${PV}" + description = "Canonical source for classifiers on PyPI (pypi.org)." + + [project.scripts] + trove-classifiers = "trove_classifiers.__main__:cli" + EOF +} + +python_test() { + epytest + "${EPYTHON}" -m tests.lib || die +} From 06a86b1ba3c028feb82335b2793ad48d5db68224 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:30 +0000 Subject: [PATCH 112/243] dev-python/truststore: Sync with Gentoo It's from Gentoo commit 24dadb3d71fc357d7189a053242286dcd6788d1b. Signed-off-by: Flatcar Buildbot --- .../truststore/truststore-0.10.4.ebuild | 39 +++++++++++++------ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/truststore/truststore-0.10.4.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/truststore/truststore-0.10.4.ebuild index 9fdb43e5de9..c6c3a60eb23 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/truststore/truststore-0.10.4.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/truststore/truststore-0.10.4.ebuild @@ -1,10 +1,11 @@ -# Copyright 2023-2025 Gentoo Authors +# Copyright 2023-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) +DISTUTILS_USE_PEP517=flit-core +PYTHON_TESTED=( python3_{12..14} ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_15 ) inherit distutils-r1 @@ -21,20 +22,34 @@ SRC_URI=" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +IUSE="test" # The vast majority of tests require Internet access. -PROPERTIES="test_network" +PROPERTIES="test? ( test_network )" RESTRICT="test" BDEPEND=" test? ( - dev-python/aiohttp[${PYTHON_USEDEP}] - dev-python/httpx[${PYTHON_USEDEP}] - dev-python/pyopenssl[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") ) " -EPYTEST_PLUGINS=( pytest-{asyncio,httpserver,rerunfailures} ) -distutils_enable_tests pytest +python_test() { + if ! has "${EPYTHON/./_}" "${PYTHON_TESTED[@]}"; then + einfo "Skipping tests on ${EPYTHON}" + return + fi + + local EPYTEST_PLUGINS=( pytest-{asyncio,httpserver,rerunfailures} ) + epytest +} From 1b0f16f272b4fa6f0e937615b1662bcb46cf621f Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:30 +0000 Subject: [PATCH 113/243] dev-python/typing-extensions: Sync with Gentoo It's from Gentoo commit 904d7095fc12373d295b0ca96828297fe8e99859. Signed-off-by: Flatcar Buildbot --- .../dev-python/typing-extensions/Manifest | 2 + .../typing-extensions-4.16.0.ebuild | 38 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/typing-extensions-4.16.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/Manifest index dc71a97ad41..9c18d616a68 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/Manifest @@ -1,2 +1,4 @@ DIST typing_extensions-4.15.0.tar.gz 109391 BLAKE2B 6a34bd7862531d3471741749eb11562b19f72fdb120c85348b28452ba0de4146c3a553626640b1f38437b7d6478a8c74c59cf4498cfa435d8e94113500e7a692 SHA512 7ad50638ddbb575a929ffde20ac7b421970abacb311ce1b10b4bbc3b331318784863a8f67b44531327a69be08f5ab7ade65cbd1b5cd35af69fde491d800c8074 DIST typing_extensions-4.15.0.tar.gz.provenance 9518 BLAKE2B dae04e788e20ad350a246c1bee1ef11200dec0ba650a5fd9a6fa160083b906cd19cf2330b3aa1dc3d5c8f0bed9627599bb6854b80a932e60adf2ee89391e4208 SHA512 1332e31df66302bf0e0c2e2d3171fd4b84d276d94348e2a3de215390b4d96fcd8794e05dc7d6327e76b22889739f435cc3eef270101acb8042d43cd34613974b +DIST typing_extensions-4.16.0.tar.gz 113555 BLAKE2B e98cfc36cbdc6459ef30f5a6a5155a891922a6eadc715e8502612c4cae98dd0bf5f4371004fdb2511f10815eb4fb95724b9802f7e4e1f2010f5ddf90c8131c76 SHA512 a46564258597913027f8104ab84dc15cb09434f978e3cac423d2e7c916b400d24627351cd0cc7095e21b01246a6c7b0bcfc062e7c9c5e56e9b71fb4d659560bd +DIST typing_extensions-4.16.0.tar.gz.provenance 10152 BLAKE2B 8c70415ad5bc2c68d825ba54c4e531b003875d95e6f4a2b2a8c3e1b3bdc8c062c542d2b3643a2b20455f59ca91d3a3929ad94ba5be08ea26385b6e3894644628 SHA512 4dec4e902cfb058375f18de56660489485458ddb4852481a75e208c5bb713feac8f83dd15631a0b1c042bf180e0fa79d1b3c0dbff70f96275fc80ba2399b479d diff --git a/sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/typing-extensions-4.16.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/typing-extensions-4.16.0.ebuild new file mode 100644 index 00000000000..ed821789db7 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/typing-extensions/typing-extensions-4.16.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit-core +PYPI_VERIFY_REPO=https://github.com/python/typing_extensions +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) + +inherit distutils-r1 pypi + +DESCRIPTION="Backported and Experimental Type Hints for Python 3.7+" +HOMEPAGE=" + https://pypi.org/project/typing-extensions/ + https://github.com/python/typing_extensions/ +" + +LICENSE="PSF-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + >=dev-python/flit-core-3.11[${PYTHON_USEDEP}] + test? ( + dev-python/test[${PYTHON_USEDEP}] + ) +" + +# TODO: switch back to unittests once we don't need deselects +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + cd src || die + epytest +} From 847883b62e61401870e957d6fe1537e34626ac7c Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:30 +0000 Subject: [PATCH 114/243] dev-python/uc-micro-py: Sync with Gentoo It's from Gentoo commit 1674d9e044f180b0af3a9f2422d982afbd67b024. Signed-off-by: Flatcar Buildbot --- .../dev-python/uc-micro-py/uc-micro-py-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/uc-micro-py/uc-micro-py-2.0.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/uc-micro-py/uc-micro-py-2.0.0.ebuild index 9cbe5e4baae..ed7d5b90e4a 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/uc-micro-py/uc-micro-py-2.0.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/uc-micro-py/uc-micro-py-2.0.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_VERIFY_REPO=https://github.com/tsutsu3/uc.micro-py -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) +PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 pypi From 207dd3c51f5ef1eca9b8a423204d7b0b11f9a28c Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:31 +0000 Subject: [PATCH 115/243] dev-python/urllib3: Sync with Gentoo It's from Gentoo commit 39256ac3e01ee53e3568ac03da2a4659b5951015. Signed-off-by: Flatcar Buildbot --- .../dev-python/urllib3/urllib3-2.7.0.ebuild | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/urllib3/urllib3-2.7.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/urllib3/urllib3-2.7.0.ebuild index 6bca93c81e4..c0e7dc04cd2 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/urllib3/urllib3-2.7.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/urllib3/urllib3-2.7.0.ebuild @@ -6,8 +6,8 @@ EAPI=8 DISTUTILS_USE_PEP517=hatchling PYPI_VERIFY_REPO=https://github.com/urllib3/urllib3 -PYTHON_TESTED=( python3_{11..14} pypy3_11 ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_15 ) +PYTHON_TESTED=( python3_{12..15} ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) PYTHON_REQ_USE="ssl(+)" inherit distutils-r1 pypi @@ -69,7 +69,7 @@ BDEPEND=" " "${PYTHON_TESTED[@]}") $(python_gen_cond_dep ' >=dev-python/backports-zstd-1.0.0[${PYTHON_USEDEP}] - ' 3.{11..13}) + ' 3.{12..13}) ) " @@ -77,6 +77,12 @@ src_prepare() { # upstream considers 0.5 s to be "long" for a timeout # we get tons of test failures on *fast* systems because of that sed -i -e '/LONG_TIMEOUT/s:0.5:5:' test/__init__.py || die + + # remove stupid warning checks + sed -e '/str(wm)/d' \ + -e '/assert not warn\.called/d' \ + -i test/with_dummyserver/test_https.py || die + distutils-r1_src_prepare } @@ -98,16 +104,10 @@ python_test() { # hangs randomly test/contrib/test_pyopenssl.py::TestHTTPS_TLSv1_{2,3}::test_http2_probe_blocked_per_thread test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_{2,3}::test_http2_probe_blocked_per_thread + # more random warning failures + test/contrib/test_pyopenssl.py::TestHTTPS_TLSv1_{2,3}::test_ssl_correct_system_time + test/contrib/test_pyopenssl.py::TestHTTPS_TLSv1_{2,3}::test_ssl_wrong_system_time ) - case ${EPYTHON} in - pypy3.11) - EPYTEST_DESELECT+=( - # lots of random "coroutine not awaited" warnings - test/contrib/test_pyopenssl.py - test/with_dummyserver/test_https.py - ) - ;; - esac local EPYTEST_PLUGINS=( pytest-timeout ) local EPYTEST_RERUNS=10 From 91d84e13e068e5bb4a88b05869c88f23cd2fb472 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:31 +0000 Subject: [PATCH 116/243] dev-python/vcs-versioning: Sync with Gentoo It's from Gentoo commit e5e83960cb436f7ad42ed2a5adaf9f841a59ebac. Signed-off-by: Flatcar Buildbot --- .../dev-python/vcs-versioning/Manifest | 8 ++++ .../vcs-versioning-2.1.0.ebuild | 39 +++++++++++++++++++ .../vcs-versioning-2.1.2.ebuild | 39 +++++++++++++++++++ .../vcs-versioning-2.2.0.ebuild | 39 +++++++++++++++++++ .../vcs-versioning-2.2.2.ebuild | 39 +++++++++++++++++++ 5 files changed, 164 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/vcs-versioning-2.1.0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/vcs-versioning-2.1.2.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/vcs-versioning-2.2.0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/vcs-versioning-2.2.2.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/Manifest index 84ba562d90c..3e0665f3b0c 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/Manifest @@ -1,2 +1,10 @@ DIST vcs_versioning-1.1.1.tar.gz 97575 BLAKE2B c55952d68f021d6e7edf7ec7ba54a9a6e9716a0a220b035a5df5f33315f8a0a8b235a67139c52a1b53ba8dcd470d3c52cee11575f81f08b09d867dcf350416ac SHA512 e5bf9fa68eeb38c8d884f4bad6f93f1354854ad0ab04919d369ed1b40832c2ed117f4c9d9458ae5a8a71c84497f6d0ff0ca5b38881c7a3a057619b3da3cbbbbc DIST vcs_versioning-1.1.1.tar.gz.provenance 9842 BLAKE2B 7c25bc61bc3f6644f82b03252f1fe9322ddd3e0aff8c473f54105f41b43951ae8b18fd6377d5dfa64b5c00f5ed17e32c3637fff03e0b7e4e8c27c796a0ff38bd SHA512 902b141380652204deadd5265c191dd86c154b6e5ee305148fdeee8d242a02ab129d59a0e1530422ba95b9d752d011fc6a4e8246931bd0558a6a0509778c0913 +DIST vcs_versioning-2.1.0.tar.gz 130507 BLAKE2B 94a0b4e1e9ca3421a6476f818b057dac2007eac088f06b1ed1ba5160b00d094a918e30a5952e35f7667558eefc20f11cd0e7864e3294c713a7abdee33d43c60d SHA512 b8cdb083e2a229fd78141e51543971d2ad066f9e3ba53aa8be941ce6408c8b80b8db2eb4aac738d31de47d409d4eaa4473ebe3458f7b8ed696ac4127b28f76f3 +DIST vcs_versioning-2.1.0.tar.gz.provenance 10150 BLAKE2B f3969455387d463b95892ec51667ace679918a8bb2d72605c92d61f7da9117f516c0d17c770b01b5bd4c8c760e33c26c761b2bc1a0f97806fd9b5c25346b9171 SHA512 da43973d6f3e7f02559cf659a7628404e927438890faa9387c6694ee62428f10165c4c3ec1984c6e546aa5b664c1bc47acbd32fc9791758c3cb210ac3f0bf36a +DIST vcs_versioning-2.1.2.tar.gz 131716 BLAKE2B cc71ee0509b92af3d859d85d226e4bc52ebfd17c09eb9e215caf01e92131f57741fa996af184a70ce7040ba3d3607c31af9e3cde0fbf9b986b869d64eb6c847e SHA512 12fa4b10ebe8aa7014fbf9e96e607224f886d4f72ee2b09a346ba25e0ddcf09cc67f38807472d94dfb9ff94bd7462f06669b88c91dc6e68ee177b338265bc501 +DIST vcs_versioning-2.1.2.tar.gz.provenance 10346 BLAKE2B 9d7c828b593a69dc7a1c2544e3e57b5b0652436c00c77d57fbff5fcef45b1f10df0758d500efde0e1b5c8fbfd7bbff64fe3a0206434b77370bcfc0637b57df1d SHA512 571095ceeaeadae96d6a5b9182789be52ed8d889b239b164afd1af62f5fd3702b8ed0a219b4d685449a205293eaaa1cadd6b188eff37ece68a9987e51444a84d +DIST vcs_versioning-2.2.0.tar.gz 132140 BLAKE2B 006dc96b4bf4d6e60a6f38ae2714bf193392531bdfae2d1a284e5237b1dad604200f373330efef3f659a2ea373712f5cca27bac8584f43688323e23cab884199 SHA512 a99d49bf1db43acd9cd397c07a187522dca13bb02cd239e7c96b4c1e1ad1e8f70256e5e997639f8753cfc1f02de5a3a0ada7ac007698605bb1ce65a172c142a6 +DIST vcs_versioning-2.2.0.tar.gz.provenance 10146 BLAKE2B 934131b93e900c4806ba9efbfb6f34ffeacee5d889227b350a73dc720eb24b708a1321f2052352b29cb5201396c08a66a7a5bf308047f1c0fe9c63bab8871c95 SHA512 f4f47b53516c9868152417c28bf59f5bc42fe2d218113fc4986c655b7a1795afd84f06ddf3995ae1ad555a4d438315f0acbbed3b245ccfaf700055ba1025f658 +DIST vcs_versioning-2.2.2.tar.gz 143135 BLAKE2B a04f2687e8cd34caea599090decb6be74f886020a75582929052cea301a36e086f8ae0917b16007a5cf34103230f99c1bf74f96a45fe7ec4eaa654e9988a36b8 SHA512 b65af99a5078d8b129e34610bbeb7d1fa8f57badb304e00f14c6318a13b2314b7ca739a26fc7729b0d2df6d829769f8b93fee28ae9f0450ab1246a2a4c36fc8f +DIST vcs_versioning-2.2.2.tar.gz.provenance 10134 BLAKE2B 47904c81c239851654bcf0f58326efbaa245fb3e7a673c12e5c8eda809fc403862b4d277d193ad8955072628f5cd7b7127b61fd50142ad9ea85740344df0e509 SHA512 60512914d4701ae0b14896188b0bcce97c9807ef6ae400e60b77225c8bfc6e8c05801a042e4a28cc4ae5f15d832c808bb609d665ec08ba8c6693654c07fcbfb2 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/vcs-versioning-2.1.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/vcs-versioning-2.1.0.ebuild new file mode 100644 index 00000000000..a30cd8f785a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/vcs-versioning-2.1.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pypa/setuptools-scm +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core VCS versioning functionality from setuptools-scm" +HOMEPAGE=" + https://github.com/pypa/setuptools-scm/ + https://pypi.org/project/vcs-versioning/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-20[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/packaging-20[${PYTHON_USEDEP}] + test? ( + >=dev-python/setuptools-scm-10.1.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # the usual nondescript gpg-agent failure + testing_vcs/test_git.py::test_git_getdate_signed_commit +) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/vcs-versioning-2.1.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/vcs-versioning-2.1.2.ebuild new file mode 100644 index 00000000000..a30cd8f785a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/vcs-versioning-2.1.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pypa/setuptools-scm +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core VCS versioning functionality from setuptools-scm" +HOMEPAGE=" + https://github.com/pypa/setuptools-scm/ + https://pypi.org/project/vcs-versioning/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-20[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/packaging-20[${PYTHON_USEDEP}] + test? ( + >=dev-python/setuptools-scm-10.1.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # the usual nondescript gpg-agent failure + testing_vcs/test_git.py::test_git_getdate_signed_commit +) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/vcs-versioning-2.2.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/vcs-versioning-2.2.0.ebuild new file mode 100644 index 00000000000..a30cd8f785a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/vcs-versioning-2.2.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pypa/setuptools-scm +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core VCS versioning functionality from setuptools-scm" +HOMEPAGE=" + https://github.com/pypa/setuptools-scm/ + https://pypi.org/project/vcs-versioning/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-20[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/packaging-20[${PYTHON_USEDEP}] + test? ( + >=dev-python/setuptools-scm-10.1.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # the usual nondescript gpg-agent failure + testing_vcs/test_git.py::test_git_getdate_signed_commit +) diff --git a/sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/vcs-versioning-2.2.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/vcs-versioning-2.2.2.ebuild new file mode 100644 index 00000000000..7371e885fd0 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/vcs-versioning/vcs-versioning-2.2.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/pypa/setuptools-scm +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) + +inherit distutils-r1 pypi + +DESCRIPTION="Core VCS versioning functionality from setuptools-scm" +HOMEPAGE=" + https://github.com/pypa/setuptools-scm/ + https://pypi.org/project/vcs-versioning/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/packaging-20[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/packaging-20[${PYTHON_USEDEP}] + test? ( + >=dev-python/setuptools-scm-10.1.1[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-timeout ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # the usual nondescript gpg-agent failure + testing_vcs/test_git.py::test_git_getdate_signed_commit +) From 2811c4b80dfe48ce6529bfe9c8e583aa113e8268 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:34 +0000 Subject: [PATCH 117/243] dev-util/catalyst: Sync with Gentoo It's from Gentoo commit 4169cc465cf2e9e9de25e03fa14e47e2eb4bbdbd. Signed-off-by: Flatcar Buildbot --- .../catalyst/{catalyst-4.1.1.ebuild => catalyst-4.1.1-r1.ebuild} | 1 + .../portage-stable/dev-util/catalyst/catalyst-9999.ebuild | 1 + 2 files changed, 2 insertions(+) rename sdk_container/src/third_party/portage-stable/dev-util/catalyst/{catalyst-4.1.1.ebuild => catalyst-4.1.1-r1.ebuild} (98%) diff --git a/sdk_container/src/third_party/portage-stable/dev-util/catalyst/catalyst-4.1.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/catalyst/catalyst-4.1.1-r1.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/dev-util/catalyst/catalyst-4.1.1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-util/catalyst/catalyst-4.1.1-r1.ebuild index f4df6931ce5..7252eb3ab5c 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/catalyst/catalyst-4.1.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-util/catalyst/catalyst-4.1.1-r1.ebuild @@ -31,6 +31,7 @@ BDEPEND=" app-text/asciidoc " DEPEND=" + app-portage/gemato[${PYTHON_USEDEP}] sys-apps/portage[${PYTHON_USEDEP}] >=dev-python/snakeoil-0.6.5[${PYTHON_USEDEP}] dev-python/fasteners[${PYTHON_USEDEP}] diff --git a/sdk_container/src/third_party/portage-stable/dev-util/catalyst/catalyst-9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/catalyst/catalyst-9999.ebuild index f4df6931ce5..27a078eb1db 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/catalyst/catalyst-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-util/catalyst/catalyst-9999.ebuild @@ -31,6 +31,7 @@ BDEPEND=" app-text/asciidoc " DEPEND=" + app-portage/gemato sys-apps/portage[${PYTHON_USEDEP}] >=dev-python/snakeoil-0.6.5[${PYTHON_USEDEP}] dev-python/fasteners[${PYTHON_USEDEP}] From 2ca03ef16ad59d94485d5bac464843da67909414 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:34 +0000 Subject: [PATCH 118/243] dev-util/gdbus-codegen: Sync with Gentoo It's from Gentoo commit 73fc0b7736b30b917310d2ae402d2a77dc9f5166. Signed-off-by: Flatcar Buildbot --- .../dev-util/gdbus-codegen/Manifest | 5 +- .../gdbus-codegen/gdbus-codegen-2.86.4.ebuild | 78 ------------------- .../gdbus-codegen/gdbus-codegen-2.88.0.ebuild | 78 ------------------- ...2.5.ebuild => gdbus-codegen-2.88.2.ebuild} | 10 ++- 4 files changed, 10 insertions(+), 161 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/gdbus-codegen-2.86.4.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/gdbus-codegen-2.88.0.ebuild rename sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/{gdbus-codegen-2.82.5.ebuild => gdbus-codegen-2.88.2.ebuild} (87%) diff --git a/sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/Manifest b/sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/Manifest index f842808b8e3..867284b62aa 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/Manifest @@ -1,6 +1,5 @@ -DIST glib-2.82.5.tar.xz 5554704 BLAKE2B e7853034be1137f8b793483df9e9ce1465dd10a990eb9b3cb9ac76c9f8f86ccc6fda85645b04b35963b28c33e0f6c02df4f3d03e06cc278b8515e588d6bd05f6 SHA512 a6b035c32a42b9d6f4c031a29da405848002619654b58c9205f2f78dbb9698cd5866f31ab213adc04aa214d2c48840a9592c0a1e9201e6851ebd435635f393ae DIST glib-2.84.4.tar.xz 5618200 BLAKE2B 5faee382433085cd598545a99e2e95ce430be4ac5ca10106b70f2404ddacf328f4223bc092a23025f9bf8b936619a88a9dfb220674a07e9250cf4213c6213be9 SHA512 2de9b2f7376c0e5f6ee585087090675d597c474199a10d04aad18df688b6ca77d17e93a86ec07482898663f51c82121992272496318138f77ca5ad2c340a4bd3 -DIST glib-2.86.4.tar.xz 5692304 BLAKE2B 20dee8c99fdb410d7f9c09366f1688dbc075638fdecd44f67562cc9cc46e34712cd1357d5a4facadd36f3c45fceeb83c7910be4f9c819ad20778339cdfb34452 SHA512 13e8beb84f3464f50c9764d0d3c6822a4bb41ae65e6c3ffac4200a5b441acdd2eb6f838a6b0722cae501e367ce9cfd4f8516b684a391c2f088a593172abcacd9 DIST glib-2.86.5.tar.xz 5695864 BLAKE2B 67fb6d9bde2c47647bfc7979bf3486aac0c7c32d51593ac37c2e988556d3225faa7c702b3f39103051a6671e142c2ae2baf309451720262d18311f519385f17c SHA512 e14e56659594cb1f929cf62b01f415b867592f83d7a624a8806c609c762fcdf6ab7bc4c68ab1faafd709f7448a52b8e37a7066a53c84b52607a8b5261bc8f222 -DIST glib-2.88.0.tar.xz 5788396 BLAKE2B b540e0f5490f85b44cfad5d819f4a6fd911addc26fed8b8b49852bd6ec322d7d16136b691452030cf5f590374ea06cf8fdb8c9109d5cbe7b68625379bbd40615 SHA512 ceead8d88720db17dc6bbff7aff14f261f90afc5e8261448aae0657f89b5fcc616cf62f4b049be88a4ddd3f50a869bbcdb66b29777da4969a47987828ecac280 DIST glib-2.88.1.tar.xz 5789296 BLAKE2B d9a0e54d2c1b5128aee76f1743cbeea84a24af5a2252ba1c649943bbca3fbc5f08896249542526560c92dd0e60cbd8a72498c3cfe1535d1f0bf85316ce37dba1 SHA512 74e6d6086081e5dfb5b7fd3b74f59171033be0c340ff2dd798fea9cb42e5f680e13b2ac3dde8dd423bceb9c6556103005f9542aeda166e9a3b89da8bacecca23 +DIST glib-2.88.2-const-whoops.patch.xz 19144 BLAKE2B 7b9cd36900acab507702f53e0e70f7b623958810d604b5ac60b7c8a458887c001f871119fcfe9bf8b3266d63d74030aa87305c44ce501bb08fab6e072bc4f774 SHA512 0f8b2b3890250725277addeb1ab42dcb5f53bdb58980d7679564c9b701ec3f68af8fa77b5b04aa9b24370fa77a6121646434aa8d811d2c5ad12966fa0caeed0e +DIST glib-2.88.2.tar.xz 5782636 BLAKE2B fecce4ad82e62e429d30f4e9050a83b53715644fc8c7c89d767ecdaefa603530e81e024dd3450ce25bcd93b00fa6aeb8551b6240d3a04862dadeb895b0177e10 SHA512 d6f40d1ff0f73faccdff8060fabd29b8217cc46139cf33e5792fee05af0665f96cd04e7866995bd84fcd99c9e40c40367d1326f8417bad99c1242dd841ec72a5 diff --git a/sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/gdbus-codegen-2.86.4.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/gdbus-codegen-2.86.4.ebuild deleted file mode 100644 index 851f8ee3a96..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/gdbus-codegen-2.86.4.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -GNOME_ORG_MODULE="glib" -PYTHON_COMPAT=( python3_{11..14} ) -PYTHON_REQ_USE="xml(+)" -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_SINGLE_IMPL=1 - -inherit gnome.org distutils-r1 - -DESCRIPTION="GDBus code and documentation generator" -HOMEPAGE="https://www.gtk.org/" - -S="${WORKDIR}/glib-${PV}/gio/gdbus-2.0/codegen" - -LICENSE="LGPL-2+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - ${PYTHON_DEPS} - >=dev-libs/glib-${PV} -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-libs/libxslt - app-text/docbook-xsl-stylesheets - >=dev-python/docutils-0.21.1 -" - -python_prepare_all() { - PATCHES=( - "${FILESDIR}/${PN}-2.56.1-sitedir.patch" - ) - distutils-r1_python_prepare_all - - local MAJOR_VERSION=$(ver_cut 1) - local MINOR_VERSION=$(ver_cut 2) - sed -e 's:@PYTHON@:python:' gdbus-codegen.in > gdbus-codegen || die - sed -e "s:@VERSION@:${PV}:" \ - -e "s:@MAJOR_VERSION@:${MAJOR_VERSION}:" \ - -e "s:@MINOR_VERSION@:${MINOR_VERSION}:" config.py.in > config.py || die - cp "${FILESDIR}/setup.py-2.32.4" setup.py || die "cp failed" - sed -e "s/@PV@/${PV}/" -i setup.py || die "sed setup.py failed" -} - -do_xsltproc_command() { - # Taken from meson.build for manual manpage building - keep in sync (also copied to dev-util/glib-utils) - xsltproc \ - --nonet \ - --stringparam man.output.quietly 1 \ - --stringparam funcsynopsis.style ansi \ - --stringparam man.th.extra1.suppress 1 \ - --stringparam man.authors.section.enabled 0 \ - --stringparam man.copyright.section.enabled 0 \ - -o "${2}" \ - http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \ - "${1}" || die "manpage generation failed" -} - -src_compile() { - distutils-r1_src_compile - rst2man \ - "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.rst" \ - "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1" -} - -src_test() { - einfo "Skipping tests. This package is tested by dev-libs/glib" - einfo "when merged with FEATURES=test" -} - -python_install_all() { - distutils-r1_python_install_all # no-op, but prevents QA warning - doman "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1" -} diff --git a/sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/gdbus-codegen-2.88.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/gdbus-codegen-2.88.0.ebuild deleted file mode 100644 index 851f8ee3a96..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/gdbus-codegen-2.88.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -GNOME_ORG_MODULE="glib" -PYTHON_COMPAT=( python3_{11..14} ) -PYTHON_REQ_USE="xml(+)" -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_SINGLE_IMPL=1 - -inherit gnome.org distutils-r1 - -DESCRIPTION="GDBus code and documentation generator" -HOMEPAGE="https://www.gtk.org/" - -S="${WORKDIR}/glib-${PV}/gio/gdbus-2.0/codegen" - -LICENSE="LGPL-2+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" - -RDEPEND=" - ${PYTHON_DEPS} - >=dev-libs/glib-${PV} -" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-libs/libxslt - app-text/docbook-xsl-stylesheets - >=dev-python/docutils-0.21.1 -" - -python_prepare_all() { - PATCHES=( - "${FILESDIR}/${PN}-2.56.1-sitedir.patch" - ) - distutils-r1_python_prepare_all - - local MAJOR_VERSION=$(ver_cut 1) - local MINOR_VERSION=$(ver_cut 2) - sed -e 's:@PYTHON@:python:' gdbus-codegen.in > gdbus-codegen || die - sed -e "s:@VERSION@:${PV}:" \ - -e "s:@MAJOR_VERSION@:${MAJOR_VERSION}:" \ - -e "s:@MINOR_VERSION@:${MINOR_VERSION}:" config.py.in > config.py || die - cp "${FILESDIR}/setup.py-2.32.4" setup.py || die "cp failed" - sed -e "s/@PV@/${PV}/" -i setup.py || die "sed setup.py failed" -} - -do_xsltproc_command() { - # Taken from meson.build for manual manpage building - keep in sync (also copied to dev-util/glib-utils) - xsltproc \ - --nonet \ - --stringparam man.output.quietly 1 \ - --stringparam funcsynopsis.style ansi \ - --stringparam man.th.extra1.suppress 1 \ - --stringparam man.authors.section.enabled 0 \ - --stringparam man.copyright.section.enabled 0 \ - -o "${2}" \ - http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \ - "${1}" || die "manpage generation failed" -} - -src_compile() { - distutils-r1_src_compile - rst2man \ - "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.rst" \ - "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1" -} - -src_test() { - einfo "Skipping tests. This package is tested by dev-libs/glib" - einfo "when merged with FEATURES=test" -} - -python_install_all() { - distutils-r1_python_install_all # no-op, but prevents QA warning - doman "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1" -} diff --git a/sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/gdbus-codegen-2.82.5.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/gdbus-codegen-2.88.2.ebuild similarity index 87% rename from sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/gdbus-codegen-2.82.5.ebuild rename to sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/gdbus-codegen-2.88.2.ebuild index a310edf11fc..4ec582262a8 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/gdbus-codegen-2.82.5.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-util/gdbus-codegen/gdbus-codegen-2.88.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 GNOME_ORG_MODULE="glib" -PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_COMPAT=( python3_{11..14} ) PYTHON_REQ_USE="xml(+)" DISTUTILS_USE_PEP517=setuptools DISTUTILS_SINGLE_IMPL=1 @@ -12,6 +12,7 @@ inherit gnome.org distutils-r1 DESCRIPTION="GDBus code and documentation generator" HOMEPAGE="https://www.gtk.org/" +SRC_URI+=" https://distfiles.gentoo.org/pub/dev/sam%40gentoo.org/dev-libs/glib/glib-2.88.2-const-whoops.patch.xz" S="${WORKDIR}/glib-${PV}/gio/gdbus-2.0/codegen" @@ -21,6 +22,7 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 RDEPEND=" ${PYTHON_DEPS} + >=dev-libs/glib-${PV} " DEPEND="${RDEPEND}" BDEPEND=" @@ -30,6 +32,10 @@ BDEPEND=" " python_prepare_all() { + cd "${WORKDIR}"/glib-${PV} || die + eapply "${WORKDIR}/glib-2.88.2-const-whoops.patch" + cd "${S}" || die + PATCHES=( "${FILESDIR}/${PN}-2.56.1-sitedir.patch" ) From d22ebcb9a5bebf8e48645e5f609f5bad72970596 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:35 +0000 Subject: [PATCH 119/243] dev-util/glib-utils: Sync with Gentoo It's from Gentoo commit c22afaa0cb50b1a9741a803be06d23aefc85ecba. Signed-off-by: Flatcar Buildbot --- .../dev-util/glib-utils/Manifest | 4 +- .../glib-utils/glib-utils-2.86.4.ebuild | 53 ------------------- .../glib-utils/glib-utils-2.88.0.ebuild | 53 ------------------- ...2.82.5.ebuild => glib-utils-2.88.2.ebuild} | 4 +- 4 files changed, 3 insertions(+), 111 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-util/glib-utils/glib-utils-2.86.4.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-util/glib-utils/glib-utils-2.88.0.ebuild rename sdk_container/src/third_party/portage-stable/dev-util/glib-utils/{glib-utils-2.82.5.ebuild => glib-utils-2.88.2.ebuild} (96%) diff --git a/sdk_container/src/third_party/portage-stable/dev-util/glib-utils/Manifest b/sdk_container/src/third_party/portage-stable/dev-util/glib-utils/Manifest index f842808b8e3..342fc55587a 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/glib-utils/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-util/glib-utils/Manifest @@ -1,6 +1,4 @@ -DIST glib-2.82.5.tar.xz 5554704 BLAKE2B e7853034be1137f8b793483df9e9ce1465dd10a990eb9b3cb9ac76c9f8f86ccc6fda85645b04b35963b28c33e0f6c02df4f3d03e06cc278b8515e588d6bd05f6 SHA512 a6b035c32a42b9d6f4c031a29da405848002619654b58c9205f2f78dbb9698cd5866f31ab213adc04aa214d2c48840a9592c0a1e9201e6851ebd435635f393ae DIST glib-2.84.4.tar.xz 5618200 BLAKE2B 5faee382433085cd598545a99e2e95ce430be4ac5ca10106b70f2404ddacf328f4223bc092a23025f9bf8b936619a88a9dfb220674a07e9250cf4213c6213be9 SHA512 2de9b2f7376c0e5f6ee585087090675d597c474199a10d04aad18df688b6ca77d17e93a86ec07482898663f51c82121992272496318138f77ca5ad2c340a4bd3 -DIST glib-2.86.4.tar.xz 5692304 BLAKE2B 20dee8c99fdb410d7f9c09366f1688dbc075638fdecd44f67562cc9cc46e34712cd1357d5a4facadd36f3c45fceeb83c7910be4f9c819ad20778339cdfb34452 SHA512 13e8beb84f3464f50c9764d0d3c6822a4bb41ae65e6c3ffac4200a5b441acdd2eb6f838a6b0722cae501e367ce9cfd4f8516b684a391c2f088a593172abcacd9 DIST glib-2.86.5.tar.xz 5695864 BLAKE2B 67fb6d9bde2c47647bfc7979bf3486aac0c7c32d51593ac37c2e988556d3225faa7c702b3f39103051a6671e142c2ae2baf309451720262d18311f519385f17c SHA512 e14e56659594cb1f929cf62b01f415b867592f83d7a624a8806c609c762fcdf6ab7bc4c68ab1faafd709f7448a52b8e37a7066a53c84b52607a8b5261bc8f222 -DIST glib-2.88.0.tar.xz 5788396 BLAKE2B b540e0f5490f85b44cfad5d819f4a6fd911addc26fed8b8b49852bd6ec322d7d16136b691452030cf5f590374ea06cf8fdb8c9109d5cbe7b68625379bbd40615 SHA512 ceead8d88720db17dc6bbff7aff14f261f90afc5e8261448aae0657f89b5fcc616cf62f4b049be88a4ddd3f50a869bbcdb66b29777da4969a47987828ecac280 DIST glib-2.88.1.tar.xz 5789296 BLAKE2B d9a0e54d2c1b5128aee76f1743cbeea84a24af5a2252ba1c649943bbca3fbc5f08896249542526560c92dd0e60cbd8a72498c3cfe1535d1f0bf85316ce37dba1 SHA512 74e6d6086081e5dfb5b7fd3b74f59171033be0c340ff2dd798fea9cb42e5f680e13b2ac3dde8dd423bceb9c6556103005f9542aeda166e9a3b89da8bacecca23 +DIST glib-2.88.2.tar.xz 5782636 BLAKE2B fecce4ad82e62e429d30f4e9050a83b53715644fc8c7c89d767ecdaefa603530e81e024dd3450ce25bcd93b00fa6aeb8551b6240d3a04862dadeb895b0177e10 SHA512 d6f40d1ff0f73faccdff8060fabd29b8217cc46139cf33e5792fee05af0665f96cd04e7866995bd84fcd99c9e40c40367d1326f8417bad99c1242dd841ec72a5 diff --git a/sdk_container/src/third_party/portage-stable/dev-util/glib-utils/glib-utils-2.86.4.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/glib-utils/glib-utils-2.86.4.ebuild deleted file mode 100644 index 37c201f7571..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-util/glib-utils/glib-utils-2.86.4.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{11..14} ) -GNOME_ORG_MODULE="glib" - -inherit gnome.org python-single-r1 - -DESCRIPTION="Build utilities for GLib using projects" -HOMEPAGE="https://www.gtk.org/" - -LICENSE="LGPL-2.1+" -SLOT="0" # /usr/bin utilities that can't be parallel installed by their nature -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" - -RDEPEND="${PYTHON_DEPS}" -DEPEND="${RDEPEND}" -BDEPEND=" - >=dev-python/docutils-0.21.1 -" - -src_configure() { :; } - -do_rst2man_command() { - rst2man \ - --syntax-highlight=none \ - "${1}" "${2}" || die "manpage generation failed" -} - -src_compile() { - sed -e "s:@VERSION@:${PV}:g;s:@PYTHON@:python:g" gobject/glib-genmarshal.in > gobject/glib-genmarshal || die - sed -e "s:@VERSION@:${PV}:g;s:@PYTHON@:python:g" gobject/glib-mkenums.in > gobject/glib-mkenums || die - sed -e "s:@GLIB_VERSION@:${PV}:g;s:@PYTHON@:python:g" glib/gtester-report.in > glib/gtester-report || die - do_rst2man_command docs/reference/gobject/glib-genmarshal.rst docs/reference/gobject/glib-genmarshal.1 - do_rst2man_command docs/reference/gobject/glib-mkenums.rst docs/reference/gobject/glib-mkenums.1 - do_rst2man_command docs/reference/glib/gtester-report.rst docs/reference/glib/gtester-report.1 -} - -src_install() { - python_fix_shebang gobject/glib-genmarshal - python_fix_shebang gobject/glib-mkenums - python_fix_shebang glib/gtester-report - exeinto /usr/bin - doexe gobject/glib-genmarshal - doexe gobject/glib-mkenums - doexe glib/gtester-report - doman docs/reference/gobject/glib-genmarshal.1 - doman docs/reference/gobject/glib-mkenums.1 - doman docs/reference/glib/gtester-report.1 -} diff --git a/sdk_container/src/third_party/portage-stable/dev-util/glib-utils/glib-utils-2.88.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/glib-utils/glib-utils-2.88.0.ebuild deleted file mode 100644 index 37c201f7571..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-util/glib-utils/glib-utils-2.88.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{11..14} ) -GNOME_ORG_MODULE="glib" - -inherit gnome.org python-single-r1 - -DESCRIPTION="Build utilities for GLib using projects" -HOMEPAGE="https://www.gtk.org/" - -LICENSE="LGPL-2.1+" -SLOT="0" # /usr/bin utilities that can't be parallel installed by their nature -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" - -RDEPEND="${PYTHON_DEPS}" -DEPEND="${RDEPEND}" -BDEPEND=" - >=dev-python/docutils-0.21.1 -" - -src_configure() { :; } - -do_rst2man_command() { - rst2man \ - --syntax-highlight=none \ - "${1}" "${2}" || die "manpage generation failed" -} - -src_compile() { - sed -e "s:@VERSION@:${PV}:g;s:@PYTHON@:python:g" gobject/glib-genmarshal.in > gobject/glib-genmarshal || die - sed -e "s:@VERSION@:${PV}:g;s:@PYTHON@:python:g" gobject/glib-mkenums.in > gobject/glib-mkenums || die - sed -e "s:@GLIB_VERSION@:${PV}:g;s:@PYTHON@:python:g" glib/gtester-report.in > glib/gtester-report || die - do_rst2man_command docs/reference/gobject/glib-genmarshal.rst docs/reference/gobject/glib-genmarshal.1 - do_rst2man_command docs/reference/gobject/glib-mkenums.rst docs/reference/gobject/glib-mkenums.1 - do_rst2man_command docs/reference/glib/gtester-report.rst docs/reference/glib/gtester-report.1 -} - -src_install() { - python_fix_shebang gobject/glib-genmarshal - python_fix_shebang gobject/glib-mkenums - python_fix_shebang glib/gtester-report - exeinto /usr/bin - doexe gobject/glib-genmarshal - doexe gobject/glib-mkenums - doexe glib/gtester-report - doman docs/reference/gobject/glib-genmarshal.1 - doman docs/reference/gobject/glib-mkenums.1 - doman docs/reference/glib/gtester-report.1 -} diff --git a/sdk_container/src/third_party/portage-stable/dev-util/glib-utils/glib-utils-2.82.5.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/glib-utils/glib-utils-2.88.2.ebuild similarity index 96% rename from sdk_container/src/third_party/portage-stable/dev-util/glib-utils/glib-utils-2.82.5.ebuild rename to sdk_container/src/third_party/portage-stable/dev-util/glib-utils/glib-utils-2.88.2.ebuild index ccc9f22d40d..ba14f90a591 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/glib-utils/glib-utils-2.82.5.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-util/glib-utils/glib-utils-2.88.2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_COMPAT=( python3_{11..14} ) GNOME_ORG_MODULE="glib" inherit gnome.org python-single-r1 From 5ad955987b4b46651586f2ca55e0879ea7bdbcf8 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:36 +0000 Subject: [PATCH 120/243] dev-util/maturin: Sync with Gentoo It's from Gentoo commit 63026cdff0ec76f2cad140175fc3b1566e3cc2c1. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-util/maturin/Manifest | 10 +- .../dev-util/maturin/maturin-1.12.6.ebuild | 159 ------------------ .../dev-util/maturin/maturin-1.13.3.ebuild | 2 +- ...in-1.13.2.ebuild => maturin-1.14.0.ebuild} | 0 ...in-1.13.1.ebuild => maturin-1.14.1.ebuild} | 18 +- 5 files changed, 18 insertions(+), 171 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.12.6.ebuild rename sdk_container/src/third_party/portage-stable/dev-util/maturin/{maturin-1.13.2.ebuild => maturin-1.14.0.ebuild} (100%) rename sdk_container/src/third_party/portage-stable/dev-util/maturin/{maturin-1.13.1.ebuild => maturin-1.14.1.ebuild} (92%) diff --git a/sdk_container/src/third_party/portage-stable/dev-util/maturin/Manifest b/sdk_container/src/third_party/portage-stable/dev-util/maturin/Manifest index 6756cade125..b23a422c451 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/maturin/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-util/maturin/Manifest @@ -1,8 +1,6 @@ -DIST maturin-1.12.6-vendor.tar.xz 19339996 BLAKE2B 5fa56bde7c2445eebd51802e58ae53cc9fa7742d04d0b79043f29bdedee8b3e0871042ca1481b310398c3ffd51b518f97bf74c13999c7bc0b83dd2b9e5e4799d SHA512 c32f476784de0d86e4d3ec47a92f9e7d17f5e257b81b7aef8914e76d03d822f8117bb45ea055cb6e391ca1dfa9b6ae211e1eab117cda9559316eff8a1111d2e3 -DIST maturin-1.12.6.gh.tar.gz 650246 BLAKE2B ea808aac177168947c059506ae19c53d322811fc8c0c20c01cf8a40364344daca0a3ffba09032352b0faea2f3f88286509d5fc4434658f30fbe6971aaa6d657f SHA512 49d4e6d759be491f7c689c37738586f0059ec4c0067ed9862858b124aad904504e7af44d2b58c1aa123b268a536ab2bdecef53564c8a0e649e37678fdf0170be -DIST maturin-1.13.1-vendor.tar.xz 21185996 BLAKE2B 1f1dfd72948296a29e70de2dc75b76dbb9569ca24bc77f09123bc3c06895bf1e61c2b02da3bec3e4c38dbcc1f560a89a6982cbf7741157a247c9cf7fa7e3b8ae SHA512 98d3c1905d9bce620a28d4e9deceef16ee8a26e837cc029758b807de706370906fb12cdec3a827cdc20ae9df72c33907a3432432501dbcdcd458c328fb07cac0 -DIST maturin-1.13.1.gh.tar.gz 727220 BLAKE2B 33495999ede9aaa47e37a89c68fceb3bed7d9a473a45253a3960cd101a938a72834c68b4fa8638af4f758206fcbc712fbd892f181ff889a405ba33fe632cd546 SHA512 b5487a89d3a400467dcb381f80e0e33bccf5bd28272460c781452862887cc1244b89ed6abab7099c95ace0fa247b71ac1eaedce2da4707338a579f33c8087d29 -DIST maturin-1.13.2-vendor.tar.xz 21259304 BLAKE2B 0b30000345c42a23bd732f5b9ead6643ce634ff8f6bde62f37a13664e9d1e62367b9597562b1c760fea0a38d5e82204c126a873f5b1b606adc67de98ce92185e SHA512 3a3fe108f5b0fee1f77c0484c1db3877e39b07145f7aa9c8ebe760e8f1a8a3fd6fb1d90be403bc243624c6451de1ef973f789af23fbb24e4387c7728b18298c2 -DIST maturin-1.13.2.gh.tar.gz 759073 BLAKE2B 3ae9ccfd1eb04e3d3571c9078bc7d2a4e55bc96cd789dd43d660c5175fa5fb8669849a548dd961caf0b55a8ee702f8d684435d6788753748deb279b3f40b9555 SHA512 c24f6186a16105de8b75b117333fe16245bed4294bea64479a0e2a2f90fc7ab40aed9078f8c10df45da85dccf64061a284c7e261f32ae5c3c6ee5adcda644dde DIST maturin-1.13.3-vendor.tar.xz 21271368 BLAKE2B 5f81814e104e108ee79f296e270f91dc5d610188a41b054d61cf14e8cb59ddce1c64d14dd2293b576f6447bfa5c983070e783fb52c1ded265c61d57e42b42508 SHA512 3fe99c4c39af8abc9ebfff8cc6c32e646787ce5d34b54f39854a5206c0844c624ce40a4f1c07329308908109bb1ededae401813bc5a85e93df1d5a87a4b721a4 DIST maturin-1.13.3.gh.tar.gz 759742 BLAKE2B ce1314d57c089459ecc3cb4290807c5d26fa06766d2473d8474013901a9be6546ab5fac19f77cb6d03b9b457b4ef91c9ffdb8ac40aed50041640bd69d5d9cd8a SHA512 ed5d08ae5598a20a0570c815d162ea1979edbeade4c12c1d346a59b414a84dae63e22246c283549970d3d72a9c6d6bd333f95b24e29cd6714468df5feeff89a7 +DIST maturin-1.14.0-vendor.tar.xz 21276592 BLAKE2B bda69673ef7efd45661f75197d0fc02010419a7df1a676cf3fd3677449878c5c061873de652658a2b0b3b7559f3cc9a4151863d1f600f3f9f3a8284df668cd31 SHA512 b2124cff2e7f555d6636eea1116ba0322677936cc241ce8b22de5b763ff0df80d6ffbd406eec02fd51c4367131488214c1a0a6a8cb4558a417f22986d28c709c +DIST maturin-1.14.0.gh.tar.gz 772414 BLAKE2B 19b5f8d5d56fdf2b9ed6b561018ab29685e672bf10258f6fed8de9e29b7fde291687ac93a2d57802592685bd2f871f571f2b418dc646c26f1262258f84058452 SHA512 7253845280f4d91ac2c5e58da867091f0d6fcbd4f835bde317010f096e9b7b423f8da7c1b084c7078ac2ceaea0b6e7e9a04ecba08d9640857f9f45734fdfa754 +DIST maturin-1.14.1-vendor.tar.xz 21282668 BLAKE2B 4a7244b3b4ae6618d940407ef0fe62ec16a236c76663fc580a91fc2c4b9c4e467ee9d70178456117df4720cbb1cb6995f7fea889addcf14ab112c42a3f7635d0 SHA512 179e8fb81ac792ea1a32290316694cef4d8c96053ef2b3058828e44ad4cb31b40a0eea50f057aa600ac9f4d4b4ae6942fce0b016f1ca0b2b0aa8a4a4e81021b1 +DIST maturin-1.14.1.gh.tar.gz 777248 BLAKE2B dbfe06929085605a1f7b96e16b2e2afc33c576072a6a017c569198ee3ddb130a0cc79a774ad1e8ee11cc4f31c65d9bf78d0980e0ccd1af5a51752d72d3d73f6d SHA512 db2fd5fa98edafad85e42bd9a5eae45525a706b550604d49a62431211dc14a83841a851ce5a53bfd298ce4a14546efc62e8ef4349946e40d5f688ee16f6b2962 diff --git a/sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.12.6.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.12.6.ebuild deleted file mode 100644 index c9444bc5be9..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.12.6.ebuild +++ /dev/null @@ -1,159 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_UPSTREAM_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) -RUST_MIN_VER=1.88.0 -inherit cargo distutils-r1 flag-o-matic shell-completion toolchain-funcs - -DESCRIPTION="Build and publish crates with pyo3, rust-cpython and cffi bindings" -HOMEPAGE="https://www.maturin.rs/" -SRC_URI=" - https://github.com/PyO3/maturin/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz - https://distfiles.gentoo.org/pub/dev/ionen@gentoo.org/${P}-vendor.tar.xz -" -# ^ tarball also includes test-crates' Cargo.lock(s) crates for tests - -LICENSE="|| ( Apache-2.0 MIT ) doc? ( Apache-2.0 OFL-1.1 )" -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD - CDLA-Permissive-2.0 MIT MPL-2.0 Unicode-3.0 ZLIB BZIP2 -" # crates -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 x86" -IUSE="doc +ssl test" -RESTRICT="!test? ( test )" - -RDEPEND=" - app-arch/xz-utils - app-arch/zstd:= - ssl? ( "${T}"/pip.conf <<-EOF || die - [global] - quiet = 2 - - [install] - no-index = yes - no-dependencies = yes - EOF - - # uv does not work easily w/ network-sandbox, force virtualenv - sed -i 's/"uv"/"uv-not-found"/' tests/common/mod.rs || die - - # increase timeouts for tests (bug #950332) - sed -i '/^#\[timeout/s/secs(60)/secs(300)/' tests/run.rs || die - - # used by *git_sdist_generator tests - git init -q || die - git config --global user.email "larry@gentoo.org" || die - git config --global user.name "Larry the Cow" || die - git add . || die - git commit -qm init || die - fi -} - -src_configure() { - export OPENSSL_NO_VENDOR=1 - export ZSTD_SYS_USE_PKG_CONFIG=1 - - # https://github.com/rust-lang/stacker/issues/79 - use s390 && ! is-flagq '-march=*' && - append-cflags $(test-flags-CC -march=z10) - - local myfeatures=( - # like release.yml + native-tls for better platform support than rustls - full - password-storage - $(usev ssl native-tls) - ) - - cargo_src_configure --no-default-features -} - -python_compile_all() { - cargo_src_compile - - use !doc || mdbook build -d "${T}"/html guide || die - - if ! tc-is-cross-compiler; then - local maturin=$(cargo_target_dir)/maturin - "${maturin}" completions bash > "${T}"/${PN} || die - "${maturin}" completions fish > "${T}"/${PN}.fish || die - "${maturin}" completions zsh > "${T}"/_${PN} || die - else - ewarn "shell completion files were skipped due to cross-compilation" - fi -} - -python_test() { - local -x MATURIN_TEST_PYTHON=${EPYTHON} - local -x PIP_CONFIG_FILE=${T}/pip.conf - local -x VIRTUALENV_SYSTEM_SITE_PACKAGES=1 - - # need this for (new) python versions not yet recognized by pyo3 - local -x PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 - - local CARGO_SKIP_TESTS=( - # picky cli output test that easily benignly fail (bug #937992) - cli_tests - # fails for unsupported rust targets, non-issue here (bug #973104) - pypi_compatibility_linux_tag - # avoid need for wasm over a single hello world test - integration_wasm_hello_world - # fragile depending on rust version, also wants libpypy*-c.so for pypy - pyo3_no_extension_module - # unimportant tests that require uv, and not obvious to get it - # to work with network-sandbox (not worth the trouble) - develop_hello_world::case_2 - develop_pyo3_ffi_pure::case_2 - # compliance test using zig requires an old libc to pass (bug #946967) - integration_pyo3_mixed_py_subdir - # these currently attempt to install tomli regardless of python version - pep517_default_profile - pep517_editable_profile - ) - - cargo_src_test -} - -python_install_all() { - dobin "$(cargo_target_dir)"/maturin - - dodoc Changelog.md README.md - use doc && dodoc -r "${T}"/html - - if ! tc-is-cross-compiler; then - dobashcomp "${T}"/${PN} - dofishcomp "${T}"/${PN}.fish - dozshcomp "${T}"/_${PN} - fi -} diff --git a/sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.13.3.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.13.3.ebuild index a48ed8b2042..a2eda0116b6 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.13.3.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.13.3.ebuild @@ -25,7 +25,7 @@ LICENSE+=" BZIP2 " # crates SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="doc +ssl test" RESTRICT="!test? ( test )" diff --git a/sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.13.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.14.0.ebuild similarity index 100% rename from sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.13.2.ebuild rename to sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.14.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.13.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.14.1.ebuild similarity index 92% rename from sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.13.1.ebuild rename to sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.14.1.ebuild index 0120c5750dd..a5edbf7e932 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.13.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-util/maturin/maturin-1.14.1.ebuild @@ -5,8 +5,8 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools DISTUTILS_UPSTREAM_PEP517=standalone -PYTHON_COMPAT=( pypy3_11 python3_{11..15} ) -RUST_MIN_VER=1.88.0 +PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t ) +RUST_MIN_VER=1.89.0 inherit cargo distutils-r1 flag-o-matic shell-completion toolchain-funcs DESCRIPTION="Build and publish crates with pyo3, rust-cpython and cffi bindings" @@ -21,7 +21,8 @@ SRC_URI=" LICENSE="|| ( Apache-2.0 MIT ) doc? ( Apache-2.0 OFL-1.1 )" LICENSE+=" 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD - CDLA-Permissive-2.0 MIT MIT-0 MPL-2.0 Unicode-3.0 ZLIB BZIP2 + CDLA-Permissive-2.0 ISC MIT MIT-0 MPL-2.0 openssl Unicode-3.0 ZLIB + BZIP2 " # crates SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" @@ -31,15 +32,15 @@ RESTRICT="!test? ( test )" RDEPEND=" app-arch/xz-utils app-arch/zstd:= - ssl? ( Date: Mon, 6 Jul 2026 08:36:37 +0000 Subject: [PATCH 122/243] dev-util/patchutils: Sync with Gentoo It's from Gentoo commit db558883904c1c8c776e7d1977d229d2e220582e. Signed-off-by: Flatcar Buildbot --- .../dev-util/patchutils/patchutils-0.4.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/dev-util/patchutils/patchutils-0.4.5-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/patchutils/patchutils-0.4.5-r1.ebuild index 96147fc9af7..7115c5ecc90 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/patchutils/patchutils-0.4.5-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-util/patchutils/patchutils-0.4.5-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/twaugh/patchutils/releases/download/${PV}/${P}.tar.x LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="pcre" REQUIRED_USE="${PYTHON_REQUIRED_USE}" From bf6cf24b2376d64a977aaf4d556d1917fbd01c3e Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:37 +0000 Subject: [PATCH 123/243] dev-util/perf: Sync with Gentoo It's from Gentoo commit 8d9f95f00ba5f6a8a01879d7bacf8290e09dd52b. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-util/perf/Manifest | 4 +- .../dev-util/perf/files/perf-6.14-lto.patch | 17 - .../portage-stable/dev-util/perf/metadata.xml | 7 - .../dev-util/perf/perf-6.14.ebuild | 352 ------------------ .../dev-util/perf/perf-6.19.12.ebuild | 2 +- .../{perf-6.18.5.ebuild => perf-7.1.ebuild} | 29 +- 6 files changed, 9 insertions(+), 402 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-util/perf/files/perf-6.14-lto.patch delete mode 100644 sdk_container/src/third_party/portage-stable/dev-util/perf/perf-6.14.ebuild rename sdk_container/src/third_party/portage-stable/dev-util/perf/{perf-6.18.5.ebuild => perf-7.1.ebuild} (93%) diff --git a/sdk_container/src/third_party/portage-stable/dev-util/perf/Manifest b/sdk_container/src/third_party/portage-stable/dev-util/perf/Manifest index ed404eed066..a685a5fedef 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/perf/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-util/perf/Manifest @@ -1,6 +1,4 @@ -DIST linux-6.14.tar.xz 149408504 BLAKE2B 11835719804b406fe281ea1c276a84dc0cbaa808552ddcca9233d3eaeb1c001d0455c7205379b02de8e8db758c1bae6fe7ceb6697e63e3cf9ae7187dc7a9715e SHA512 71dcaa3772d8d9797c3ae30cae9c582b11a7047a3bbcb8dfd479a4dffb40ff0da74cf3d45175f50cc9992e338bcadd46c9c570f54054ca3bde6661768d3d22eb -DIST linux-6.18.tar.xz 154309096 BLAKE2B b94b7b9bf18aca0c3e50baf79b009a1448fc6cd9c3ee019f641cc247dcf53a4abef4274ee0608ad8cd4943af69854363a95d26e117ff23620bb07dccb158859f SHA512 88599ffdec96d150c1feb9b261ba93bb0301a9d0e1ad6bef7aeab1f5372cbfc57d8b43c7e902bd8f76921d1dbd8189663c142ea869e51d0e2b483b150ee00fe0 DIST linux-6.19.tar.xz 156067644 BLAKE2B d1551c058e9a1201a0fa769b427255f13bb0d73fdd384e2c0302956cc9a1eeba255b013fa87a15fdad508bc00fdae2085590572c76cfe20fe2af31ba87b7d289 SHA512 01b29c7f4e5bc0c9802794c2cd027fece825f90417be229a71e60eefce530010d5d301749c54ae744e9d4a483518e769e2bb7e6e9209687681ad7fff11c3ed86 DIST linux-7.0.tar.xz 157143652 BLAKE2B 3d9795083c8938f80f480de0d10bfd9c525640e59d5c7f22983de3f12ee42c84c31be902cafb05579ddb1c32bac5ed06b0d4953f9705450be185bd2d9ab08f89 SHA512 8c85b708342f8f09ca25b2234b22e93b62b144a9ef919fbb21827f52fa47498e778c79db1559524dd7fb360f95b2ce174171443c1859656c281be41d2b6c5a0b -DIST patch-6.18.5.xz 414548 BLAKE2B 50fe5af5616fb080d90111c9b10d7f24ffa40ea6bcd7a645250622ff4adf7923f09bd1a93c82947c6e56a77ea457eb5df14aa215f6c3cae036cc1f11cc20f3d0 SHA512 2c07af94135abbb1fc118be061c7b39e3b692783e67231954eabe1ccac8948a126084e651d5648aebd6d58667ac82ba41264057df1cc81fcaa161df5eee56395 +DIST linux-7.1.tar.xz 158304768 BLAKE2B 5199b2057fd1b89f0275bdaff9d81035cf5e1e8e64318a4a67467399245628a0f8c5e82f9d80dfc54b094349a8cfcdc892b7a4ad4bdf5dd1daa268ff30c1cf38 SHA512 d4d9c45261813559341c67ea53d4a47f5a04d1ad15e3c2b8222a09b5483380d2bfd31b8c675e144db2eb91f560d6cb28f66187a5ea4f24f6dfb82a4ad48064cc DIST patch-6.19.12.xz 948944 BLAKE2B 155a7b412f7e0699c6b23cc3a53b9ab0fe38980d9ece77977f50c51f748cb79e4076fde7eac574ee68a85dbe661a4e6bc10ed5a6cb5b1fc5fc3b1ec150f25757 SHA512 375caad1de11ef1466f7e2fa85775e990f215bae0e269d4a97661c936f633df40c51af849880ef05c4cd323cf1d27804b72222cb12df98af021623742e000330 diff --git a/sdk_container/src/third_party/portage-stable/dev-util/perf/files/perf-6.14-lto.patch b/sdk_container/src/third_party/portage-stable/dev-util/perf/files/perf-6.14-lto.patch deleted file mode 100644 index e5e54fd00b2..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-util/perf/files/perf-6.14-lto.patch +++ /dev/null @@ -1,17 +0,0 @@ - -Adapted to v6.14 from patch submitted upstream: -https://lore.kernel.org/all/20250321082038.27901-2-holger@applied-asynchrony.com/ - -Bug: https://bugs.gentoo.org/951151 - ---- a/tools/perf/Makefile.config -+++ b/tools/perf/Makefile.config -@@ -820,7 +820,7 @@ else - PERL_EMBED_LIBADD = $(call grep-libs,$(PERL_EMBED_LDOPTS)) - PERL_EMBED_CCOPTS = $(shell perl -MExtUtils::Embed -e ccopts 2>/dev/null) - PERL_EMBED_CCOPTS := $(filter-out -specs=%,$(PERL_EMBED_CCOPTS)) -- PERL_EMBED_CCOPTS := $(filter-out -flto=auto -ffat-lto-objects, $(PERL_EMBED_CCOPTS)) -+ PERL_EMBED_CCOPTS := $(filter-out -flto=% -ffat-lto-objects, $(PERL_EMBED_CCOPTS)) - PERL_EMBED_LDOPTS := $(filter-out -specs=%,$(PERL_EMBED_LDOPTS)) - FLAGS_PERL_EMBED=$(PERL_EMBED_CCOPTS) $(PERL_EMBED_LDOPTS) - diff --git a/sdk_container/src/third_party/portage-stable/dev-util/perf/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-util/perf/metadata.xml index b6bbca8dc0e..766bc483dce 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/perf/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/dev-util/perf/metadata.xml @@ -13,13 +13,6 @@ Enable support for eBPF features with dev-libs/libbpf Enable dev-util/babeltrace support Use dev-libs/capstone for disassembly support - - Build documentation and man pages. With this USE flag disabled, - the --help parameter for perf and its sub-tools will not be - available. This is optional because it depends on a few - documentation handling tools that are not always welcome on user - systems. - Enable dev-libs/libpfm support Enable dev-libs/libtraceevent support Enable dev-libs/libtracefs support diff --git a/sdk_container/src/third_party/portage-stable/dev-util/perf/perf-6.14.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/perf/perf-6.14.ebuild deleted file mode 100644 index 3ea6211b2a5..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-util/perf/perf-6.14.ebuild +++ /dev/null @@ -1,352 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_COMPAT=( {18..20} ) -LLVM_OPTIONAL=1 -PYTHON_COMPAT=( python3_{11..13} python3_13t) -inherit bash-completion-r1 estack flag-o-matic linux-info llvm-r1 toolchain-funcs python-r1 - -DESCRIPTION="Userland tools for Linux Performance Counters" -HOMEPAGE="https://perfwiki.github.io/main/" - -LINUX_V="${PV:0:1}.x" -if [[ ${PV} == *_rc* ]] ; then - LINUX_VER=$(ver_cut 1-2).$(($(ver_cut 3)-1)) - PATCH_VERSION=$(ver_cut 1-3) - LINUX_PATCH=patch-${PV//_/-}.xz - SRC_URI="https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/testing/${LINUX_PATCH} - https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/testing/v${PATCH_VERSION}/${LINUX_PATCH}" -elif [[ ${PV} == *.*.* ]] ; then - # stable-release series - LINUX_VER=$(ver_cut 1-2) - LINUX_PATCH=patch-${PV}.xz - SRC_URI="https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/${LINUX_PATCH}" -else - LINUX_VER=${PV} -fi - -LINUX_SOURCES="linux-${LINUX_VER}.tar.xz" -SRC_URI+=" https://www.kernel.org/pub/linux/kernel/v${LINUX_V}/${LINUX_SOURCES}" - -S_K="${WORKDIR}/linux-${LINUX_VER}" -S="${S_K}/tools/perf" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv x86" -IUSE="abi_mips_o32 abi_mips_n32 abi_mips_n64 babeltrace capstone big-endian bpf caps crypt debug +doc gtk java libpfm +libtraceevent +libtracefs lzma numa perl +python +slang systemtap tcmalloc unwind" - -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} - bpf? ( ${LLVM_REQUIRED_USE} ) -" - -# setuptools (and Python) are always needed even if not building Python bindings -BDEPEND=" - ${LINUX_PATCH+dev-util/patchutils} - ${PYTHON_DEPS} - >=app-arch/tar-1.34-r2 - dev-python/setuptools[${PYTHON_USEDEP}] - app-alternatives/yacc - app-alternatives/lex - sys-apps/which - virtual/pkgconfig - doc? ( - app-text/asciidoc - app-text/sgml-common - app-text/xmlto - sys-process/time - ) -" - -RDEPEND=" - babeltrace? ( dev-util/babeltrace:0/1 ) - bpf? ( - dev-libs/libbpf - dev-util/bpftool - dev-util/pahole - $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT}= - llvm-core/llvm:${LLVM_SLOT}= - ') - ) - caps? ( sys-libs/libcap ) - capstone? ( dev-libs/capstone ) - crypt? ( dev-libs/openssl:= ) - gtk? ( x11-libs/gtk+:2 ) - java? ( virtual/jre:* ) - libpfm? ( dev-libs/libpfm:= ) - libtraceevent? ( dev-libs/libtraceevent ) - libtracefs? ( dev-libs/libtracefs ) - lzma? ( app-arch/xz-utils ) - numa? ( sys-process/numactl ) - perl? ( dev-lang/perl:= ) - python? ( ${PYTHON_DEPS} ) - slang? ( sys-libs/slang ) - systemtap? ( dev-debug/systemtap ) - tcmalloc? ( dev-util/google-perftools ) - unwind? ( sys-libs/libunwind:= ) - app-arch/zstd:= - dev-libs/elfutils - sys-libs/binutils-libs:= - virtual/zlib:= - virtual/libcrypt -" - -DEPEND="${RDEPEND} - >=sys-kernel/linux-headers-5.10 - java? ( virtual/jdk ) -" - -QA_FLAGS_IGNORED=( - 'usr/bin/perf-read-vdso32' # not linked with anything except for libc - 'usr/libexec/perf-core/dlfilters/.*' # plugins -) - -pkg_pretend() { - if ! use doc ; then - ewarn "Without the doc USE flag you won't get any documentation nor man pages." - ewarn "And without man pages, you won't get any --help output for perf and its" - ewarn "sub-tools." - fi -} - -pkg_setup() { - local CONFIG_CHECK=" - ~!SCHED_OMIT_FRAME_POINTER - ~DEBUG_INFO - ~FRAME_POINTER - ~FTRACE - ~FTRACE_SYSCALLS - ~FUNCTION_TRACER - ~KALLSYMS - ~KALLSYMS_ALL - ~KPROBES - ~KPROBE_EVENTS - ~PERF_EVENTS - ~STACKTRACE - ~TRACEPOINTS - ~UPROBES - ~UPROBE_EVENTS - " - - use bpf && llvm-r1_pkg_setup - # We enable python unconditionally as libbpf always generates - # API headers using python script - python_setup - - if use bpf ; then - CONFIG_CHECK+="~BPF ~BPF_EVENTS ~BPF_SYSCALL ~DEBUG_INFO_BTF ~HAVE_EBPF_JIT ~UNWINDER_FRAME_POINTER" - fi - - linux-info_pkg_setup -} - -# src_unpack and src_prepare are copied to dev-util/bpftool since -# it's building from the same tarball, please keep it in sync with bpftool -src_unpack() { - local paths=( - 'arch/*/include/*' 'arch/*/lib/*' 'arch/*/tools/*' 'include/*' - 'kernel/bpf/*' 'lib/*' 'scripts/*' 'tools/arch/*' 'tools/bpf/*' - 'tools/build/*' 'tools/include/*' 'tools/lib/*' 'tools/perf/*' - 'tools/scripts/*' - ) - - # We expect the tar implementation to support the -j option (both - # GNU tar and libarchive's tar support that). - echo ">>> Unpacking ${LINUX_SOURCES} (${paths[*]}) to ${PWD}" - gtar --wildcards -xpf "${DISTDIR}"/${LINUX_SOURCES} \ - "${paths[@]/#/linux-${LINUX_VER}/}" || die - - if [[ -n ${LINUX_PATCH} ]] ; then - eshopts_push -o noglob - ebegin "Filtering partial source patch" - xzcat "${DISTDIR}"/${LINUX_PATCH} | filterdiff -p1 ${paths[@]/#/-i} > ${P}.patch - assert -n "Unpacking to ${P} from ${DISTDIR}/${LINUX_PATCH} failed" - eend $? || die "filterdiff failed" - test -s ${P}.patch || die "patch is empty?!" - eshopts_pop - fi - - local a - for a in ${A}; do - [[ ${a} == ${LINUX_SOURCES} ]] && continue - [[ ${a} == ${LINUX_PATCH} ]] && continue - unpack ${a} - done -} - -src_prepare() { - default - if [[ -n ${LINUX_PATCH} ]] ; then - pushd "${S_K}" >/dev/null || die - eapply "${WORKDIR}"/${P}.patch - popd || die - fi - - pushd "${S_K}" >/dev/null || die - # Gentoo patches go here - eapply "${FILESDIR}"/${P}-lto.patch - popd || die - - # Drop some upstream too-developer-oriented flags and fix the - # Makefile in general - sed -i \ - -e "s@\$(sysconfdir_SQ)/bash_completion.d@$(get_bashcompdir)@" \ - "${S}"/Makefile.perf || die - # A few places still use -Werror w/out $(WERROR) protection. - sed -i -e 's@-Werror@@' \ - "${S}"/Makefile.perf "${S_K}"/tools/lib/bpf/Makefile \ - "${S_K}"/tools/lib/perf/Makefile || die - - # Avoid the call to make kernelversion - sed -i -e '/PERF-VERSION-GEN/d' Makefile.perf || die - echo "#define PERF_VERSION \"${PV}\"" > PERF-VERSION-FILE - - # The code likes to compile local assembly files which lack ELF markings. - find -name '*.S' -exec sed -i '$a.section .note.GNU-stack,"",%progbits' {} + -} - -puse() { usex $1 "" 1; } -perf_make() { - # The arch parsing is a bit funky. The perf tools package is integrated - # into the kernel, so it wants an ARCH that looks like the kernel arch, - # but it also wants to know about the split value -- i386/x86_64 vs just - # x86. We can get that by telling the func to use an older linux version. - # It's kind of a hack, but not that bad ... - - # LIBDIR sets a search path of perf-gtk.so. Bug 515954 - - local arch=$(tc-arch-kernel) - local java_dir - use java && java_dir="${EPREFIX}/etc/java-config-2/current-system-vm" - - # sync this with the whitelist in tools/perf/Makefile.config - local disable_libdw - if ! use amd64 && ! use x86 && \ - ! use arm && \ - ! use arm64 && \ - ! use ppc && ! use ppc64 \ - ! use s390 && \ - ! use riscv && \ - ! use loong - then - disable_libdw=1 - fi - - # perf directly invokes LD for linking without going through CC, on mips - # it is required to specify the emulation. port of below buildroot patch - # https://patchwork.ozlabs.org/project/buildroot/patch/20170217105905.32151-1-Vincent.Riera@imgtec.com/ - local linker="$(tc-getLD)" - if use mips - then - if use big-endian - then - use abi_mips_n64 && linker+=" -m elf64btsmip" - use abi_mips_n32 && linker+=" -m elf32btsmipn32" - use abi_mips_o32 && linker+=" -m elf32btsmip" - else - use abi_mips_n64 && linker+=" -m elf64ltsmip" - use abi_mips_n32 && linker+=" -m elf32ltsmipn32" - use abi_mips_o32 && linker+=" -m elf32ltsmip" - fi - fi - - # FIXME: NO_CORESIGHT - local emakeargs=( - V=1 VF=1 - HOSTCC="$(tc-getBUILD_CC)" HOSTLD="$(tc-getBUILD_LD)" - CC="$(tc-getCC)" CXX="$(tc-getCXX)" AR="$(tc-getAR)" LD="${linker}" NM="$(tc-getNM)" - CLANG="${CHOST}-clang" - PKG_CONFIG="$(tc-getPKG_CONFIG)" - prefix="${EPREFIX}/usr" bindir_relative="bin" - tipdir="share/doc/${PF}" - EXTRA_CFLAGS="${CFLAGS}" - EXTRA_LDFLAGS="${LDFLAGS}" - ARCH="${arch}" - BUILD_BPF_SKEL=$(usex bpf 1 "") \ - BUILD_NONDISTRO=1 - JDIR="${java_dir}" - CORESIGHT= - GTK2=$(usex gtk 1 "") - feature-gtk2-infobar=$(usex gtk 1 "") - NO_AUXTRACE= - NO_BACKTRACE= - NO_CAPSTONE=$(puse capstone) - NO_DEMANGLE= - NO_JVMTI=$(puse java) - NO_LIBAUDIT=1 - NO_LIBBABELTRACE=$(puse babeltrace) - NO_LIBBIONIC=1 - NO_LIBBPF=$(puse bpf) - NO_LIBCAP=$(puse caps) - NO_LIBCRYPTO=$(puse crypt) - NO_LIBDW_DWARF_UNWIND="${disable_libdw}" - NO_LIBELF= - NO_LIBLLVM=$(puse bpf) - NO_LIBNUMA=$(puse numa) - NO_LIBPERL=$(puse perl) - NO_LIBPFM4=$(puse libpfm) - NO_LIBPYTHON=$(puse python) - NO_LIBTRACEEVENT=$(puse libtraceevent) - NO_LIBUNWIND=$(puse unwind) - NO_SDT=$(puse systemtap) - NO_SHELLCHECK=1 - NO_SLANG=$(puse slang) - NO_LZMA=$(puse lzma) - NO_ZLIB= - TCMALLOC=$(usex tcmalloc 1 "") - WERROR=0 - DEBUG=$(usex debug 1 "") - LIBDIR="/usr/libexec/perf-core" - libdir="${EPREFIX}/usr/$(get_libdir)" - plugindir="${EPREFIX}/usr/$(get_libdir)/perf/plugins" - "$@" - ) - NO_JEVENTS=$(puse python) emake "${emakeargs[@]}" -} - -src_compile() { - filter-lto - - perf_make -f Makefile.perf - use doc && perf_make -C Documentation man -} - -src_test() { - : -} - -src_install() { - _install_python_ext() { - perf_make -f Makefile.perf install-python_ext DESTDIR="${D}" - } - - perf_make -f Makefile.perf install DESTDIR="${D}" - - if use python; then - python_foreach_impl _install_python_ext - fi - - if use gtk; then - local libdir - libdir="$(get_libdir)" - # on some arches it ends up in lib even on 64bit, ppc64 for instance. - [[ -f "${ED}"/usr/lib/libperf-gtk.so ]] && libdir="lib" - mv "${ED}"/usr/${libdir}/libperf-gtk.so \ - "${ED}"/usr/libexec/perf-core || die - fi - - dodoc CREDITS - - dodoc *txt Documentation/*.txt - - # perf needs this decompressed to print out tips for users - docompress -x /usr/share/doc/${PF}/tips.txt - - if use doc ; then - doman Documentation/*.1 - fi -} diff --git a/sdk_container/src/third_party/portage-stable/dev-util/perf/perf-6.19.12.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/perf/perf-6.19.12.ebuild index 8dae6b0c428..eddb7358c26 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/perf/perf-6.19.12.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-util/perf/perf-6.19.12.ebuild @@ -35,7 +35,7 @@ S="${S_K}/tools/perf" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv x86" IUSE="abi_mips_o32 abi_mips_n32 abi_mips_n64 babeltrace capstone big-endian bpf caps crypt debug gtk java libpfm +libtraceevent +libtracefs lzma numa perl +python +slang systemtap tcmalloc unwind" REQUIRED_USE=" diff --git a/sdk_container/src/third_party/portage-stable/dev-util/perf/perf-6.18.5.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/perf/perf-7.1.ebuild similarity index 93% rename from sdk_container/src/third_party/portage-stable/dev-util/perf/perf-6.18.5.ebuild rename to sdk_container/src/third_party/portage-stable/dev-util/perf/perf-7.1.ebuild index d2c4f064d6f..50d6a9060e2 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/perf/perf-6.18.5.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-util/perf/perf-7.1.ebuild @@ -3,10 +3,10 @@ EAPI=8 -LLVM_COMPAT=( {18..21} ) +LLVM_COMPAT=( {18..22} ) LLVM_OPTIONAL=1 -PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t) -inherit bash-completion-r1 estack flag-o-matic linux-info llvm-r1 toolchain-funcs python-single-r1 +PYTHON_COMPAT=( python3_{12..14} python3_{13,14}t) +inherit bash-completion-r1 estack flag-o-matic linux-info llvm-r2 toolchain-funcs python-single-r1 DESCRIPTION="Userland tools for Linux Performance Counters" HOMEPAGE="https://perfwiki.github.io/main/" @@ -36,7 +36,7 @@ S="${S_K}/tools/perf" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="abi_mips_o32 abi_mips_n32 abi_mips_n64 babeltrace capstone big-endian bpf caps crypt debug gtk java libpfm +libtraceevent +libtracefs lzma numa perl +python +slang systemtap tcmalloc unwind" +IUSE="abi_mips_o32 abi_mips_n32 abi_mips_n64 babeltrace capstone big-endian bpf caps crypt debug gtk java libpfm +libtraceevent +libtracefs lzma numa perl +python +slang systemtap tcmalloc" REQUIRED_USE=" ${PYTHON_REQUIRED_USE} @@ -87,7 +87,6 @@ RDEPEND=" slang? ( sys-libs/slang ) systemtap? ( dev-debug/systemtap ) tcmalloc? ( dev-util/google-perftools ) - unwind? ( sys-libs/libunwind:= ) app-arch/zstd:= dev-libs/elfutils virtual/zlib:= @@ -123,13 +122,13 @@ pkg_setup() { ~UPROBE_EVENTS " - use bpf && llvm-r1_pkg_setup + use bpf && llvm-r2_pkg_setup # We enable python unconditionally as libbpf always generates # API headers using python script python_setup if use bpf ; then - CONFIG_CHECK+="~BPF ~BPF_EVENTS ~BPF_SYSCALL ~DEBUG_INFO_BTF ~HAVE_EBPF_JIT ~UNWINDER_FRAME_POINTER" + CONFIG_CHECK+="~BPF ~BPF_EVENTS ~BPF_SYSCALL ~DEBUG_INFO_BTF ~HAVE_EBPF_JIT" fi linux-info_pkg_setup @@ -213,19 +212,6 @@ perf_make() { local java_dir use java && java_dir="${EPREFIX}/etc/java-config-2/current-system-vm" - # sync this with the whitelist in tools/perf/Makefile.config - local disable_libdw - if ! use amd64 && ! use x86 && \ - ! use arm && \ - ! use arm64 && \ - ! use ppc && ! use ppc64 \ - ! use s390 && \ - ! use riscv && \ - ! use loong - then - disable_libdw=1 - fi - # perf directly invokes LD for linking without going through CC, on mips # it is required to specify the emulation. port of below buildroot patch # https://patchwork.ozlabs.org/project/buildroot/patch/20170217105905.32151-1-Vincent.Riera@imgtec.com/ @@ -274,14 +260,13 @@ perf_make() { NO_LIBBPF=$(puse bpf) NO_LIBCAP=$(puse caps) NO_LIBCRYPTO=$(puse crypt) - NO_LIBDW_DWARF_UNWIND="${disable_libdw}" NO_LIBELF= NO_LIBLLVM=$(puse bpf) NO_LIBNUMA=$(puse numa) NO_LIBPFM4=$(puse libpfm) NO_LIBPYTHON=$(puse python) NO_LIBTRACEEVENT=$(puse libtraceevent) - NO_LIBUNWIND=$(puse unwind) + NO_LIBUNWIND=1 NO_SDT=$(puse systemtap) NO_SHELLCHECK=1 NO_SLANG=$(puse slang) From 79336207cd733b7c546f5e52bb715f3fb95594de Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:37 +0000 Subject: [PATCH 124/243] dev-util/pkgcheck: Sync with Gentoo It's from Gentoo commit 16d8f52e84fb13586cb38661b74bcda25854b78f. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-util/pkgcheck/Manifest | 2 +- .../files/pkgcheck-0.10.37-branding.patch | 44 ------------------- .../files/pkgcheck-0.10.40-py315.patch | 43 ++++++++++++++++++ ...0.39.ebuild => pkgcheck-0.10.39-r1.ebuild} | 5 ++- ...7-r1.ebuild => pkgcheck-0.10.40-r1.ebuild} | 26 +++++------ .../dev-util/pkgcheck/pkgcheck-9999.ebuild | 8 ++-- 6 files changed, 61 insertions(+), 67 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/files/pkgcheck-0.10.37-branding.patch create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/files/pkgcheck-0.10.40-py315.patch rename sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/{pkgcheck-0.10.39.ebuild => pkgcheck-0.10.39-r1.ebuild} (94%) rename sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/{pkgcheck-0.10.37-r1.ebuild => pkgcheck-0.10.40-r1.ebuild} (75%) diff --git a/sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/Manifest b/sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/Manifest index 4abea9819d4..f7dd870caf5 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/Manifest @@ -1,2 +1,2 @@ -DIST pkgcheck-0.10.37.tar.gz 388402 BLAKE2B 8e93290da49ed9d8231550a7602300c93d16f2dc4be040f88690bf4cf996b51f8aac3cb26b2478345b10dfb1faddc185d6316810d5bac091fc5cae504ced459d SHA512 84c1717fad6a7f41dcc069dbdb68e73062606d7e0497286cba7255e415e8b317cb4aa396d9bc46f873712a65fa0e3cd95216df368ca73381f81c160308329f15 DIST pkgcheck-0.10.39.tar.gz 402359 BLAKE2B d0bbf0e97e45a9beca56b59b810fe2fc3cc9778ea894a72e4a402f4bbaff68e0811525e1c1d8ed795c30bba2d0a53d879fecd777736e7fbe5c333801f0bf40f9 SHA512 11f0ec9ecdfd80a98312975175e4605b4986ea3aa7131496c4d7195f3373c2329fc03f463d9722f39e508bdd30674abcb5edc3fa8c6542414eb0e9322fbf14c0 +DIST pkgcheck-0.10.40.tar.gz 409641 BLAKE2B 77e95e7b2a6023341896f2fb26b39b0da71504fd3f5de6c077fa1d7420d5ff3c2dcfa66b18a1dfdee5acdbeadaaf506644c7db5897d2aacc481f6b9655d1eee4 SHA512 ed337613f1d09223c79160e3c3bf2c579b1773bda6de3d2f566aa099824cf404d60c12000061825c09bfccaf0a2a95214dc4b219129a3c4744fa9a3fa0933049 diff --git a/sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/files/pkgcheck-0.10.37-branding.patch b/sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/files/pkgcheck-0.10.37-branding.patch deleted file mode 100644 index 94132f25fc3..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/files/pkgcheck-0.10.37-branding.patch +++ /dev/null @@ -1,44 +0,0 @@ -From efa950dc665e998e7fb31c41678579d52ee2e657 Mon Sep 17 00:00:00 2001 -From: James Le Cuirot -Date: Mon, 22 Dec 2025 18:16:30 +0000 -Subject: [PATCH] InheritsCheck: Whitelist branding.eclass from UnusedInherits - -It can be used purely for variables recognised by external build tools -rather than the ebuild itself. - -Resolves: https://github.com/pkgcore/pkgcheck/issues/765 -Signed-off-by: James Le Cuirot -Closes: https://github.com/pkgcore/pkgcheck/pull/766 -Signed-off-by: Arthur Zamarin ---- - src/pkgcheck/checks/codingstyle.py | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -diff --git a/src/pkgcheck/checks/codingstyle.py b/src/pkgcheck/checks/codingstyle.py -index b2126429b..6cd07148d 100644 ---- a/src/pkgcheck/checks/codingstyle.py -+++ b/src/pkgcheck/checks/codingstyle.py -@@ -817,6 +817,10 @@ class InheritsCheck(Check): - ) - required_addons = (addons.eclass.EclassAddon,) - -+ # branding.eclass can be used purely for variables recognised by external -+ # build tools rather than the ebuild itself. -+ unused_whitelist = frozenset({"branding"}) -+ - def __init__(self, *args, eclass_addon): - super().__init__(*args) - self.eclass_cache = eclass_addon.eclasses -@@ -961,7 +965,11 @@ def feed(self, pkg): - ) - if exported_eclass_keys.intersection(self.unused_eclass_skiplist): - unused.discard(eclass) -- elif not self.eclass_cache[eclass].exported_function_names and exported_eclass_keys: -+ elif ( -+ not self.eclass_cache[eclass].exported_function_names -+ and exported_eclass_keys -+ or eclass in self.unused_whitelist -+ ): - # ignore eclasses that export ebuild metadata (e.g. - # SRC_URI, S, ...) and no functions - unused.discard(eclass) diff --git a/sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/files/pkgcheck-0.10.40-py315.patch b/sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/files/pkgcheck-0.10.40-py315.patch new file mode 100644 index 00000000000..c2db4faadad --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/files/pkgcheck-0.10.40-py315.patch @@ -0,0 +1,43 @@ +https://github.com/pkgcore/pkgcheck/issues/787 +https://github.com/pkgcore/pkgcheck/commit/d649977e79984afca90c61315fcab89cb8f9ef6a + +From d649977e79984afca90c61315fcab89cb8f9ef6a Mon Sep 17 00:00:00 2001 +From: Arthur Zamarin +Date: Sun, 5 Jul 2026 22:14:30 +0300 +Subject: [PATCH] tests: replace deprecated Loader.load_module with exec_module + +load_module() was removed in Python 3.15, breaking test_scan_repo[eclass]. +Use the recommended spec_from_loader + module_from_spec + exec_module API. + +Resolves: https://github.com/pkgcore/pkgcheck/issues/787 +Signed-off-by: Arthur Zamarin +--- + tests/scripts/test_pkgcheck_scan.py | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +diff --git a/tests/scripts/test_pkgcheck_scan.py b/tests/scripts/test_pkgcheck_scan.py +index 7aee972e8..11deb686b 100644 +--- a/tests/scripts/test_pkgcheck_scan.py ++++ b/tests/scripts/test_pkgcheck_scan.py +@@ -1,5 +1,6 @@ + import importlib + import importlib.machinery ++import importlib.util + import io + import os + import pathlib +@@ -608,9 +609,10 @@ def _load_expected_data(self, base: pathlib.Path) -> _expected_data_result: + with (custom_handler_path := base / "handler.py").open(): + # We can't import since it's not a valid python directory layout, nor do + # want to pollute the namespace. +- module = importlib.machinery.SourceFileLoader( +- "handler", str(custom_handler_path) +- ).load_module() ++ loader = importlib.machinery.SourceFileLoader("handler", str(custom_handler_path)) ++ spec = importlib.util.spec_from_loader("handler", loader) ++ module = importlib.util.module_from_spec(spec) ++ loader.exec_module(module) + if ( + custom_handler := typing.cast( + typing.Callable[[Result], bool], getattr(module, "handler") + diff --git a/sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/pkgcheck-0.10.39.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/pkgcheck-0.10.39-r1.ebuild similarity index 94% rename from sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/pkgcheck-0.10.39.ebuild rename to sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/pkgcheck-0.10.39-r1.ebuild index bcb1dde831c..6805d62ec13 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/pkgcheck-0.10.39.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-util/pkgcheck/pkgcheck-0.10.39-r1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{12..14} ) inherit elisp-common distutils-r1 optfeature if [[ ${PV} == *9999 ]] ; then @@ -30,7 +30,8 @@ if [[ ${PV} == *9999 ]]; then else RDEPEND=" >=dev-python/snakeoil-0.11.0[${PYTHON_USEDEP}] - >=sys-apps/pkgcore-0.12.31[${PYTHON_USEDEP}]" + >=sys-apps/pkgcore-0.12.31[${PYTHON_USEDEP}] + =dev-python/snakeoil-0.11.1[${PYTHON_USEDEP}] + >=sys-apps/pkgcore-0.12.34[${PYTHON_USEDEP}]" fi RDEPEND+=" app-arch/zstd - >=dev-libs/tree-sitter-bash-0.21.0[python,${PYTHON_USEDEP}] - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/lazy-object-proxy[${PYTHON_USEDEP}] + >=dev-libs/tree-sitter-bash-0.25.1[python,${PYTHON_USEDEP}] + dev-python/charset-normalizer[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] dev-python/pathspec[${PYTHON_USEDEP}] - >=dev-python/tree-sitter-0.25.0[${PYTHON_USEDEP}] + >=dev-python/tree-sitter-0.25.2[${PYTHON_USEDEP}] emacs? ( >=app-editors/emacs-24.1:* app-emacs/ebuild-mode @@ -50,25 +48,21 @@ RDEPEND+=" BDEPEND="${RDEPEND} >=dev-python/flit-core-3.8[${PYTHON_USEDEP}] test? ( - =dev-python/snakeoil-0.11.1[${PYTHON_USEDEP}] + >=sys-apps/pkgcore-0.12.34[${PYTHON_USEDEP}]" fi RDEPEND+=" app-arch/zstd >=dev-libs/tree-sitter-bash-0.25.1[python,${PYTHON_USEDEP}] - dev-python/chardet[${PYTHON_USEDEP}] + dev-python/charset-normalizer[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] dev-python/pathspec[${PYTHON_USEDEP}] >=dev-python/tree-sitter-0.25.2[${PYTHON_USEDEP}] From 1f3551ece00de171c66f516b27a4e5324038b464 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:38 +0000 Subject: [PATCH 125/243] dev-util/pkgconf: Sync with Gentoo It's from Gentoo commit c887a67b7857de8ffee9e81b16e5d661be28652a. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-util/pkgconf/Manifest | 3 +- .../dev-util/pkgconf/pkgconf-2.3.0.ebuild | 73 ------------------- ...onf-2.4.3.ebuild => pkgconf-2.9.94.ebuild} | 19 ++--- .../dev-util/pkgconf/pkgconf-9999.ebuild | 19 ++--- 4 files changed, 15 insertions(+), 99 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-util/pkgconf/pkgconf-2.3.0.ebuild rename sdk_container/src/third_party/portage-stable/dev-util/pkgconf/{pkgconf-2.4.3.ebuild => pkgconf-2.9.94.ebuild} (81%) diff --git a/sdk_container/src/third_party/portage-stable/dev-util/pkgconf/Manifest b/sdk_container/src/third_party/portage-stable/dev-util/pkgconf/Manifest index 083270b5dda..9c3fbdb77e9 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/pkgconf/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-util/pkgconf/Manifest @@ -1,3 +1,2 @@ -DIST pkgconf-2.3.0.tar.xz 316160 BLAKE2B cca3476df0b79cdbca798ed3a067611414e9b422e8347d0f490e7c4d0c43cdd2c7b586ac11e028a8df365d4ea4194f46b1d9fc0acd0f5fd6b4a5548673a8f853 SHA512 869fe0a7a2e06e9da37ff672b991dad60a9a7c9df2c65b78b2aa70dba10920650fb946d5a9c8019ea54a510835acc2eb4244092fa36d0339bd6764ff84e8542c -DIST pkgconf-2.4.3.tar.xz 321352 BLAKE2B 5ca90b1b97e5516369e7042952418d5046faee02ff67144b0805c3c007507c42400825cfe73ac2c4df3f11dab4d5abba24b52abe930a3b25abbcbbddb3a06a31 SHA512 7e59b6aaf875ec3fc8c225985937384d2aef57d9daf64b7ea88242bf1a11349fe52cf6d1238d728f0509599982d69c761a0f01e8f8e24de028db58288760896f DIST pkgconf-2.5.1.tar.xz 328064 BLAKE2B 0995c1d649876d27e9275a77b702c0c100979c7b83fb7b58c925ca287be5e1568dd7ae2781dac51beb9e84a41d4424428f0542e4de488c45d005d602e76e1277 SHA512 e654c3a460e5f0f801e8ac43ad9086f397d1da0553186ff05f5f0e18ffdac99fb652fd9b6c0379db4bc8307699699d69bc66d13cc85a4a6b0cd36462f5948a1d +DIST pkgconf-2.9.94.tar.xz 399808 BLAKE2B b97d581004cf75c7e2fad479bb581b784b89584a35511e7eaa856013f6bcbb2050f1ea3d2f681f33325745de66855c053cf7209f08083c5ccda5d3bb37861fb1 SHA512 4dfdc45fed01c2d01fa92623dbb0a1c295ccae9e1c7ed1967e736a2508d105f3415544e3662b4e52d0aea15c74d4328c4780e495f36c6dddee7ab8abece13e7e diff --git a/sdk_container/src/third_party/portage-stable/dev-util/pkgconf/pkgconf-2.3.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/pkgconf/pkgconf-2.3.0.ebuild deleted file mode 100644 index 32e316f91a1..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-util/pkgconf/pkgconf-2.3.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 2012-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multilib multilib-minimal - -if [[ ${PV} == 9999 ]] ; then - inherit autotools git-r3 - EGIT_REPO_URI="https://gitea.treehouse.systems/ariadne/pkgconf.git" -else - SRC_URI="https://distfiles.ariadne.space/${PN}/${P}.tar.xz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -fi - -DESCRIPTION="pkg-config compatible replacement with no dependencies other than C99" -HOMEPAGE="https://gitea.treehouse.systems/ariadne/pkgconf" - -LICENSE="ISC" -SLOT="0/5" -IUSE="+native-symlinks test" - -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-libs/atf - dev-util/kyua - ) -" -RDEPEND="!dev-util/pkgconfig" - -src_prepare() { - default - - [[ ${PV} == 9999 ]] && eautoreconf - - MULTILIB_CHOST_TOOLS=( - /usr/bin/pkgconf$(get_exeext) - /usr/bin/pkg-config$(get_exeext) - ) -} - -multilib_src_configure() { - local myeconfargs=( - --with-system-includedir="${EPREFIX}/usr/include" - --with-system-libdir="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir)" - ) - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_test() { - unset PKG_CONFIG_LIBDIR PKG_CONFIG_PATH - default -} - -multilib_src_install() { - default - - dosym pkgconf$(get_exeext) /usr/bin/pkg-config$(get_exeext) - dosym pkgconf.1 /usr/share/man/man1/pkg-config.1 -} - -multilib_src_install_all() { - einstalldocs - - if ! use native-symlinks; then - rm "${ED}"/usr/bin/{pkgconf,pkg-config}$(get_exeext) || die - fi - - find "${ED}" -type f -name '*.la' -delete || die -} diff --git a/sdk_container/src/third_party/portage-stable/dev-util/pkgconf/pkgconf-2.4.3.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/pkgconf/pkgconf-2.9.94.ebuild similarity index 81% rename from sdk_container/src/third_party/portage-stable/dev-util/pkgconf/pkgconf-2.4.3.ebuild rename to sdk_container/src/third_party/portage-stable/dev-util/pkgconf/pkgconf-2.9.94.ebuild index 4987c5b4ccd..d77151edc86 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/pkgconf/pkgconf-2.4.3.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-util/pkgconf/pkgconf-2.9.94.ebuild @@ -1,4 +1,4 @@ -# Copyright 2012-2025 Gentoo Authors +# Copyright 2012-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,24 +10,19 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/pkgconf/pkgconf" else SRC_URI="https://distfiles.ariadne.space/${PN}/${P}.tar.xz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" + + if [[ $(ver_cut 3) -lt 90 ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + fi fi DESCRIPTION="pkg-config compatible replacement with no dependencies other than C99" HOMEPAGE="https://github.com/pkgconf/pkgconf" LICENSE="ISC" -SLOT="0/6" -IUSE="+native-symlinks test" +SLOT="0/8" +IUSE="+native-symlinks" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-libs/atf - dev-util/kyua - ) -" RDEPEND="!dev-util/pkgconfig" src_prepare() { diff --git a/sdk_container/src/third_party/portage-stable/dev-util/pkgconf/pkgconf-9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/pkgconf/pkgconf-9999.ebuild index 0892c9966d0..d77151edc86 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/pkgconf/pkgconf-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-util/pkgconf/pkgconf-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2012-2025 Gentoo Authors +# Copyright 2012-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,24 +10,19 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/pkgconf/pkgconf" else SRC_URI="https://distfiles.ariadne.space/${PN}/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + + if [[ $(ver_cut 3) -lt 90 ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + fi fi DESCRIPTION="pkg-config compatible replacement with no dependencies other than C99" HOMEPAGE="https://github.com/pkgconf/pkgconf" LICENSE="ISC" -SLOT="0/7" -IUSE="+native-symlinks test" +SLOT="0/8" +IUSE="+native-symlinks" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-libs/atf - dev-util/kyua - ) -" RDEPEND="!dev-util/pkgconfig" src_prepare() { From 72129c1761d16be1f47176dc64804300755b78b1 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:39 +0000 Subject: [PATCH 126/243] dev-util/xdelta: Sync with Gentoo It's from Gentoo commit b984b77b7cbc4d9259ec588e56ae023231e90f93. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-util/xdelta/Manifest | 1 + .../dev-util/xdelta/metadata.xml | 1 - .../dev-util/xdelta/xdelta-3.2.0.ebuild | 48 +++++++++++++++++++ 3 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/xdelta/xdelta-3.2.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-util/xdelta/Manifest b/sdk_container/src/third_party/portage-stable/dev-util/xdelta/Manifest index 5ad02861c73..0614e39434a 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/xdelta/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-util/xdelta/Manifest @@ -1,2 +1,3 @@ DIST xdelta-1.1.4.tar.gz 423529 BLAKE2B b565f82ba0504118b74127096939e5699ea312be5c6c8a345abfcf0fb01b45e759abe595b33619b2714671e2f0307d603366a1f7a6b1fb5a786378716a51df6b SHA512 eef45f7977e9a7f490b881f33ab8a948cc5eff9300ea850cc30062905c8e883c104961f075f56f7ce8e385142c35de168aef1e0b8169bda66786ea4bee33168b DIST xdelta3-3.0.11.tar.gz 683605 BLAKE2B bc33c9d6a3bb21bc52d72bba54f5e2b1058ea8d7cd7474aaf6dbdc27e165e0fbea644c584402f5bbc8ace7cd6a3aefae18588a659418f93eb041168545363bf4 SHA512 41c48e28f92ad50a737cf0acac150fe17d1132e9a652c482d751c8c4e745c6922d576a183eeabae343a1a238ed8c53353e537977628c86eb599ab3d1c01e7c52 +DIST xdelta3-3.2.0.tar.gz 348621 BLAKE2B 67cfa907028df06aafc48e313a786cef626d3320cb97e3b07c3bff3832f64a3fda5339e562524ef791fa5fdce2db5fa04cca32999eb805edf0da21658cff178a SHA512 9112511b2db53eb8ed61dc8ecb41ef6eefa52cf3397b7add407865cbc20cb084e29fcbf6d93df2282f8a3a157fdcf53a14b4eac6521fccb782e5845352c3e9b1 diff --git a/sdk_container/src/third_party/portage-stable/dev-util/xdelta/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-util/xdelta/metadata.xml index f01eaf45088..46388fa6632 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/xdelta/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/dev-util/xdelta/metadata.xml @@ -6,7 +6,6 @@ Michał Górny
- xdelta jmacd/xdelta-devel
diff --git a/sdk_container/src/third_party/portage-stable/dev-util/xdelta/xdelta-3.2.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/xdelta/xdelta-3.2.0.ebuild new file mode 100644 index 00000000000..fb9c473bc5c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/xdelta/xdelta-3.2.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2002-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_P=xdelta3-${PV} +DESCRIPTION="Computes changes between binary or text files and creates deltas" +HOMEPAGE="https://github.com/jmacd/xdelta/" +SRC_URI="https://github.com/jmacd/xdelta/releases/download/v${PV}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}/xdelta3" + +LICENSE="GPL-2" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="examples lzma test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-libs/blake3:= + lzma? ( app-arch/xz-utils:= ) +" +RDEPEND=" + ${DEPEND} +" + +src_configure() { + local mycmakeargs=( + -DXD3_BUILD_TESTS=$(usex test) + -DXD3_SECONDARY_FGK=OFF + # link dynamically to liblzma + -DXD3_LIB_LZMA=ON + -DXD3_LZMA_MODE=$(usex lzma on off) + -DXD3_LARGESIZET=ON + -DXD3_ARMOR=ON + # TODO: for now we're getting away with a CMake warning + # and implicit linking to -lblake3 + -DFETCHCONTENT_FULLY_DISCONNECTED=ON + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + dodoc draft-korn-vcdiff.txt + use examples && dodoc -r examples +} From 6c67134aa75d372f29bba022730a95e401a6fdbc Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:40 +0000 Subject: [PATCH 127/243] dev-vcs/git: Sync with Gentoo It's from Gentoo commit 71bcb06b9832b0aef048b41b40b1f976c229e256. Signed-off-by: Flatcar Buildbot --- .../portage-stable/dev-vcs/git/Manifest | 3 + .../git-2.55.0-0001-macos-no-fsmonitor.patch | 68 +++ .../dev-vcs/git/git-2.52.0.ebuild | 13 +- .../dev-vcs/git/git-2.53.0.ebuild | 13 +- .../dev-vcs/git/git-2.54.0.ebuild | 15 +- .../dev-vcs/git/git-2.55.0.ebuild | 465 ++++++++++++++++++ .../dev-vcs/git/git-9999-r1.ebuild | 17 +- .../dev-vcs/git/git-9999-r2.ebuild | 17 +- .../dev-vcs/git/git-9999-r3.ebuild | 17 +- .../dev-vcs/git/git-9999.ebuild | 17 +- 10 files changed, 608 insertions(+), 37 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/dev-vcs/git/files/git-2.55.0-0001-macos-no-fsmonitor.patch create mode 100644 sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.55.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-vcs/git/Manifest b/sdk_container/src/third_party/portage-stable/dev-vcs/git/Manifest index dbb415809a1..efdf3136160 100644 --- a/sdk_container/src/third_party/portage-stable/dev-vcs/git/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-vcs/git/Manifest @@ -1,9 +1,12 @@ DIST git-2.52.0.tar.xz 7957064 BLAKE2B f228174814b1048f12543a6a20f771017991f9a23778f12fc32020b38837990eb19bc69e891078692ac4ad4ae1cb2e0e77400760964e09c491046e4ed8b16f96 SHA512 965e5ebb72d1f080d64e34bdb75f0bb1689c9dd41dcf63b020d986bad49808ac09bfb1115962bc0c5b95bac8622367ac4cd09aa89266f73d2137fe94c90dd3ed DIST git-2.53.0.tar.xz 7993096 BLAKE2B a23ccb2f793d37347e892f6094ad589510c93011a53fb2c14cdcbfbe6d87413edb4585a98253e4ca5124217f66ad783f4fa584f38dc25ffa34772da01dc45f02 SHA512 f9c0c0f527e10fe3eb524e368b1a24088bfd41097d8cac7854dae7ff21ab8ab2a1716384be53ea6174023ca5a2af3eeddca1d9feb57e447713f82e061df55c8d DIST git-2.54.0.tar.xz 8126372 BLAKE2B 68ee0623ff5a695a35dae2f31e3f410ebd4b6a8296c7c9fd03f53668878e9164b78ca82869c8a0719b3fae981f514f2022c45b39df7174b5e883348bdd269a82 SHA512 cb363917124edc245c9f6745e6e0c4093990275b4d57f9d2213c655b304ac81b05ece8d88546122727495ebc48a5ae19ab166a3ee43b6b8c68da488ac0270064 +DIST git-2.55.0.tar.xz 8177180 BLAKE2B 7666d99f1002a20ec3ca89fdfcbe1156cf6ed3bbc3823a8e7903d0ff177db91ce1309cf17466d813338e83d9782f748b1dc450ce3fa8bae82211a61042acea26 SHA512 73a53e5e79e9c357884512ad9fe5788ce48c33fd7ebb49f7c68f63c872beb5c5766f4fd1a9d9a2d8c89c192dc801ac7339422e9eec644ada56215fe9803af741 DIST git-htmldocs-2.52.0.tar.xz 1657524 BLAKE2B c21219b1059ee593ea850464473ba3466f83b44932261b70abecb7837a0e5c2434d71e29c495ac33faad9a34bda061b81187f691c57e8dc9557a56f8030dbeea SHA512 6fee6834bbd1400acef575fd206f58fb15472d45bad8f4ca9066930a3b4b1be8a633bb94c11f83644177266a06e2c4bb8a9478f10c4f1742016f59d07612c5e4 DIST git-htmldocs-2.53.0.tar.xz 1675212 BLAKE2B b3df781089a91c36b91f46ee7801162ef925cfaee470813b0c33e58690a7494b1946ec487538769a153ec275d9dd13e5386fb8552185f274ca07e1e2e1a88afd SHA512 0c752d1aa78747f2ce9f73c3fca06ac69b543c4b546bfd13e1b22552a41a417982feee60adc6e525c88c6887e98c3b843c680ea6fd3a250f7e8317338dee3036 DIST git-htmldocs-2.54.0.tar.xz 1695136 BLAKE2B bfb8d7ee1f33b545534928a09901b863dd775e42651a032366cb8549e3e5980dc92d8a0d6f74aee27e715521c28dad9625954c661f5fa165ff8149546d2a4238 SHA512 f6ccd8bbe3664096b7d50ffbc0b4c7fa77776047b396f9247dfee7744115807dddfd447819b6e50a0a0c46ce830c59567bc642af13d1cb732ae417daeb919ce2 +DIST git-htmldocs-2.55.0.tar.xz 1713768 BLAKE2B 6f85d0168a8625fa59591014cf4ab646a62da6da6b1524b469db2b1de7285d959492f046a3319141cfabb439db2b69c24047f35d7954f39e6b39c2535feab415 SHA512 0fb35b50fce07cb27ec0ace173fbe0a9a818dc3463345dae1b5f6b57255935a1bba1a5c1bda327ceb44eb04a32617fcb5a74d5fdccad19d5a3c3aeed985544a2 DIST git-manpages-2.52.0.tar.xz 607864 BLAKE2B 6736100b503afd95aa7d6d9878a5c9420b44c5755b31c99e4b6db4a567db0984a6a786d2fac07baea95bf2b758c68fef042b75b10c848732add19fe17f3243bf SHA512 8e7998ed101fa4c7e9707721cbbc61e07bab56647c69f2d46d16c30465a825e223429cfab1ddfa58302a0563a12a8e5886133566bc6a1097ab0970d8ae4458d7 DIST git-manpages-2.53.0.tar.xz 614136 BLAKE2B c2c309de1853ffceee4b3a334e2983fbfa5ce6a40ac60215aded917cff45b4e5eef7a38812cafec2515dd5538ceec8333a50525df09e15c012b4968435578487 SHA512 babb19223cd0da4e930449a4e246007283b5787b19b1c7ea341969bf6321f3de1164db9d1920de16535c4b18d03935c6e3fc329d9e2308aec4b4cb70514518a9 DIST git-manpages-2.54.0.tar.xz 622912 BLAKE2B cca36435ec488cd2e1bbecd34885be5e0faaec4320c19fffb2a829b5f3b93241bf09a4464112544a7da73b8b434c0a7d838c69a49d0adc8859ba4ae1806a58c7 SHA512 c046d7c3d204587f16085621acde11d7df06ee194a38ff8aacf2ff2d9e446cc5c056a1557512aed150db30097da1e0b165507e9944f8b25249402a356b50d4bd +DIST git-manpages-2.55.0.tar.xz 630172 BLAKE2B 30a47ac7ccb78d07f9eb534284c3aba77e46ab2b19d704ec2884d71fa25ab0c668185145313217bfa7021ff44f32758607de9e53d873bdeb053e49a9226ddc9d SHA512 9b9bca6adf6575d579da23f84a6a3be5a6f420af20d4d1a2387d6bcccce8e04263b2ef875c9866ff1e1461811b9e8aeb1522b214d79f2a4d1c2bf3e76ec357b4 diff --git a/sdk_container/src/third_party/portage-stable/dev-vcs/git/files/git-2.55.0-0001-macos-no-fsmonitor.patch b/sdk_container/src/third_party/portage-stable/dev-vcs/git/files/git-2.55.0-0001-macos-no-fsmonitor.patch new file mode 100644 index 00000000000..d91266df728 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-vcs/git/files/git-2.55.0-0001-macos-no-fsmonitor.patch @@ -0,0 +1,68 @@ +From 4c1b3deac5d80f12fc7ba3227b49ef5b1a7242c4 Mon Sep 17 00:00:00 2001 +Message-ID: <4c1b3deac5d80f12fc7ba3227b49ef5b1a7242c4.1778619463.git.ben.knoble+github@gmail.com> +From: "D. Ben Knoble" +Date: Tue, 12 May 2026 16:46:38 -0400 +Subject: [PATCH] meson.build: allow to disable fsmonitor backend for macOS + +Gentoo Prefix toolchain and setup does not enable CoreServices Framework +by default, so simply allow to disable the fsmonitor backend + +Best-viewed-with: --ignore-all-space +Signed-off-by: Fabian Groffen +Signed-off-by: D. Ben Knoble +--- + meson.build | 24 +++++++++++++----------- + meson_options.txt | 2 ++ + 2 files changed, 15 insertions(+), 11 deletions(-) + +diff --git a/meson.build b/meson.build +index 38dddd67ab..1c369c7157 100644 +--- a/meson.build ++++ b/meson.build +@@ -1353,17 +1353,19 @@ endif + + fsmonitor_backend = '' + fsmonitor_os = '' +-if host_machine.system() == 'windows' +- fsmonitor_backend = 'win32' +- fsmonitor_os = 'win32' +-elif host_machine.system() == 'linux' and threads.found() and compiler.has_header('linux/magic.h') +- fsmonitor_backend = 'linux' +- fsmonitor_os = 'unix' +- libgit_c_args += '-DHAVE_LINUX_MAGIC_H' +-elif host_machine.system() == 'darwin' +- fsmonitor_backend = 'darwin' +- fsmonitor_os = 'unix' +- libgit_dependencies += dependency('CoreServices') ++if get_option('fsmonitor') ++ if host_machine.system() == 'windows' ++ fsmonitor_backend = 'win32' ++ fsmonitor_os = 'win32' ++ elif host_machine.system() == 'linux' and threads.found() and compiler.has_header('linux/magic.h') ++ fsmonitor_backend = 'linux' ++ fsmonitor_os = 'unix' ++ libgit_c_args += '-DHAVE_LINUX_MAGIC_H' ++ elif host_machine.system() == 'darwin' ++ fsmonitor_backend = 'darwin' ++ fsmonitor_os = 'unix' ++ libgit_dependencies += dependency('CoreServices') ++ endif + endif + if fsmonitor_backend != '' + libgit_c_args += '-DHAVE_FSMONITOR_DAEMON_BACKEND' +diff --git a/meson_options.txt b/meson_options.txt +index 80a8025f20..9c0e391254 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -81,6 +81,8 @@ option('rust', type: 'feature', value: 'enabled', + description: 'Enable building with Rust.') + option('macos_use_homebrew_gettext', type: 'boolean', value: true, + description: 'Use gettext from Homebrew instead of the slightly-broken system-provided one.') ++option('fsmonitor', type: 'boolean', value: true, ++ description: 'Build fsmonitor backend on supported platforms.') + + # gitweb configuration. + option('gitweb_config', type: 'string', value: 'gitweb_config.perl') +-- +2.54.0.564.ge3ee0a11b5.dirty + diff --git a/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.52.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.52.0.ebuild index de2865405d7..b261ac505b3 100644 --- a/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.52.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.52.0.ebuild @@ -7,9 +7,9 @@ GENTOO_DEPEND_ON_PERL=no # bug #329479: git-remote-testgit is not multiple-version aware PYTHON_COMPAT=( python3_{11..14} ) -RUST_OPTIONAL=1 -inherit flag-o-matic toolchain-funcs perl-module shell-completion optfeature -inherit plocale python-single-r1 rust systemd meson +CARGO_OPTIONAL=1 +inherit cargo flag-o-matic toolchain-funcs perl-module shell-completion +inherit optfeature plocale python-single-r1 systemd meson PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN" @@ -192,6 +192,7 @@ src_unpack() { git-r3_src_unpack fi + use rust && cargo_gen_config } src_prepare() { @@ -319,7 +320,11 @@ git_emake() { } src_compile() { - meson_src_compile + if use rust; then # bug #978391 + cargo_env meson_src_compile + else + meson_src_compile + fi if use tk ; then local tkdir diff --git a/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.53.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.53.0.ebuild index 20b909278e8..3819cecd306 100644 --- a/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.53.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.53.0.ebuild @@ -7,9 +7,9 @@ GENTOO_DEPEND_ON_PERL=no # bug #329479: git-remote-testgit is not multiple-version aware PYTHON_COMPAT=( python3_{11..14} ) -RUST_OPTIONAL=1 -inherit flag-o-matic toolchain-funcs perl-module shell-completion optfeature -inherit plocale python-single-r1 rust systemd meson +CARGO_OPTIONAL=1 +inherit cargo flag-o-matic toolchain-funcs perl-module shell-completion +inherit optfeature plocale python-single-r1 systemd meson PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN" @@ -187,6 +187,7 @@ src_unpack() { git-r3_src_unpack fi + use rust && cargo_gen_config } src_prepare() { @@ -314,7 +315,11 @@ git_emake() { } src_compile() { - meson_src_compile + if use rust; then # bug #978391 + cargo_env meson_src_compile + else + meson_src_compile + fi if use tk ; then local tkdir diff --git a/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.54.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.54.0.ebuild index 62e904225e5..69bacea1f95 100644 --- a/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.54.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.54.0.ebuild @@ -7,9 +7,9 @@ GENTOO_DEPEND_ON_PERL=no # bug #329479: git-remote-testgit is not multiple-version aware PYTHON_COMPAT=( python3_{11..14} ) -RUST_OPTIONAL=1 -inherit flag-o-matic toolchain-funcs perl-module shell-completion optfeature -inherit plocale python-single-r1 rust systemd meson +CARGO_OPTIONAL=1 +inherit cargo flag-o-matic toolchain-funcs perl-module shell-completion +inherit optfeature plocale python-single-r1 systemd meson PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN" @@ -51,7 +51,7 @@ if [[ ${PV} != *9999 ]]; then SRC_URI+=" doc? ( ${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} )" if [[ ${PV} != *_rc* ]] ; 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 fi @@ -187,6 +187,7 @@ src_unpack() { git-r3_src_unpack fi + use rust && cargo_gen_config } src_prepare() { @@ -304,7 +305,11 @@ git_emake() { } src_compile() { - meson_src_compile + if use rust; then # bug #978391 + cargo_env meson_src_compile + else + meson_src_compile + fi if use doc ; then # Workaround fragments that still use the Makefile and can't diff --git a/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.55.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.55.0.ebuild new file mode 100644 index 00000000000..ed400d0e4ed --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-2.55.0.ebuild @@ -0,0 +1,465 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GENTOO_DEPEND_ON_PERL=no + +# bug #329479: git-remote-testgit is not multiple-version aware +PYTHON_COMPAT=( python3_{11..14} ) +CARGO_OPTIONAL=1 +inherit cargo flag-o-matic toolchain-funcs perl-module shell-completion +inherit optfeature plocale python-single-r1 systemd meson + +PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN" + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://git.kernel.org/pub/scm/git/git.git" + + inherit git-r3 + # Please ensure that all _four_ 9999 ebuilds get updated; they track the 4 upstream branches. + # See https://git-scm.com/docs/gitworkflows#_graduation + # In order of stability: + # 9999-r0: maint + # 9999-r1: master + # 9999-r2: next + # 9999-r3: seen + case ${PVR} in + 9999) EGIT_BRANCH=maint ;; + 9999-r1) EGIT_BRANCH=master ;; + 9999-r2) EGIT_BRANCH=next;; + 9999-r3) EGIT_BRANCH=seen ;; + esac +fi + +MY_PV="${PV/_rc/.rc}" +MY_P="${PN}-${MY_PV}" + +DOC_VER="${MY_PV}" + +DESCRIPTION="Stupid content tracker: distributed VCS designed for speed and efficiency" +HOMEPAGE="https://www.git-scm.com/" + +if [[ ${PV} != *9999 ]]; then + SRC_URI_SUFFIX="xz" + SRC_URI_KORG="https://www.kernel.org/pub/software/scm/git" + + [[ ${PV/rc} != ${PV} ]] && SRC_URI_KORG+='/testing' + + SRC_URI="${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX}" + SRC_URI+=" ${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}" + SRC_URI+=" doc? ( ${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} )" + + if [[ ${PV} != *_rc* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + fi +fi + +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="0" +IUSE="+curl cgi cvs doc keyring +gpg highlight +iconv +nls +pcre perforce +perl +rust +safe-directory selinux subversion test tk +webdav xinetd" + +# Common to both DEPEND and RDEPEND +DEPEND=" + dev-libs/openssl:= + virtual/zlib:= + curl? ( + net-misc/curl + webdav? ( dev-libs/expat ) + ) + keyring? ( + app-crypt/libsecret + dev-libs/glib:2 + ) + iconv? ( virtual/libiconv ) + pcre? ( dev-libs/libpcre2:= ) + perl? ( dev-lang/perl:=[-build(-)] ) + tk? ( dev-lang/tk:= ) +" +RDEPEND=" + ${DEPEND} + gpg? ( app-alternatives/gpg ) + perl? ( + dev-perl/Error + dev-perl/MailTools + dev-perl/Authen-SASL + >=virtual/perl-libnet-3.110.0-r4[ssl] + cgi? ( + dev-perl/CGI + highlight? ( app-text/highlight ) + ) + cvs? ( + >=dev-vcs/cvsps-2.1:0 + dev-perl/DBI + dev-perl/DBD-SQLite + ) + subversion? ( + dev-vcs/subversion[-dso(-),perl] + dev-perl/libwww-perl + dev-perl/TermReadKey + ) + ) + perforce? ( ${PYTHON_DEPS} ) + selinux? ( sec-policy/selinux-git ) +" + +# This is how info docs are created with Git: +# .txt/asciidoc --(asciidoc)---------> .xml/docbook +# .xml/docbook --(docbook2texi.pl)--> .texi +# .texi --(makeinfo)---------> .info +BDEPEND=" + doc? ( + app-text/asciidoc + app-text/docbook2X + app-text/xmlto + sys-apps/texinfo + ) + keyring? ( virtual/pkgconfig ) + nls? ( sys-devel/gettext ) + rust? ( ${RUST_DEPEND} ) + test? ( + app-arch/unzip + app-crypt/gnupg + dev-lang/perl + ) +" + +# Live ebuild builds man pages and HTML docs, additionally +if [[ ${PV} == *9999 ]]; then + BDEPEND+=" app-text/asciidoc" +fi + +SITEFILE="50${PN}-gentoo.el" + +REQUIRED_USE=" + cgi? ( perl ) + cvs? ( perl ) + perforce? ( ${PYTHON_REQUIRED_USE} ) + subversion? ( perl ) + webdav? ( curl ) +" + +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}"/${PN}-2.55.0-0001-macos-no-fsmonitor.patch + + # This patch isn't merged upstream but is kept in the ebuild by + # demand from developers. It's opt-in (needs a config option) + # and the documentation mentions that it is a Gentoo addition. + "${FILESDIR}"/${PN}-2.50.0-diff-implement-config.diff.renames-copies-harder.patch + + "${FILESDIR}"/${PN}-2.54.0-0001-rust-don-t-pass-quiet-to-cargo.patch + "${FILESDIR}"/${PN}-2.54.0-0002-rust-respect-CARGO-environment-variable.patch +) + +pkg_setup() { + if use subversion && has_version "dev-vcs/subversion[dso]" ; then + ewarn "Per Gentoo bugs #223747, #238586, when subversion is built" + ewarn "with USE=dso, there may be weird crashes in git-svn. You" + ewarn "have been warned!" + fi + + if use perforce ; then + python-single-r1_pkg_setup + fi + + if use rust ; then + rust_pkg_setup + fi +} + +src_unpack() { + if [[ ${PV} != *9999 ]] ; then + unpack ${MY_P}.tar.${SRC_URI_SUFFIX} + + cd "${S}" || die + unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX} + + if use doc ; then + pushd "${S}"/Documentation &>/dev/null || die + unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX} + popd &>/dev/null || die + fi + else + git-r3_src_unpack + fi + + use rust && cargo_gen_config +} + +src_prepare() { + if ! use safe-directory ; then + # This patch neuters the "safe directory" detection. + # bugs #838271, #838223 + PATCHES+=( + "${FILESDIR}"/git-2.46.2-unsafe-directory.patch + ) + fi + + default +} + +src_configure() { + local contrib=( + completion + subtree + + $(usev perl 'contacts') + ) + local credential_helpers=( + $(usev keyring 'libsecret') + $(usev perl 'netrc') + ) + + # Needs macOS Frameworks that can't currently be built with GCC. + if [[ ${CHOST} == *-darwin* ]] && tc-is-clang ; then + credential_helpers+=( osxkeychain ) + fi + + local native_file="${T}"/meson.ini.local + cat >> ${native_file} <<-EOF || die + [binaries] + # We don't want to bake /usr/bin/sh from usrmerged systems into + # binaries. /bin/sh is required by POSIX. + sh='/bin/sh' + EOF + + local emesonargs=( + --native-file "${native_file}" + + $(meson_feature curl) + $(meson_feature cgi gitweb) + $(meson_feature webdav expat) + $(meson_feature tk gitk) + $(meson_feature tk git_gui) + $(meson_feature iconv) + $(meson_feature nls gettext) + $(meson_feature pcre pcre2) + $(meson_feature perl) + $(meson_feature perforce python) + $(meson_feature rust) + $(meson_use test tests) + + -Dcontrib=$(IFS=, ; echo "${contrib[*]}" ) + -Dcredential_helpers=$(IFS=, ; echo "${credential_helpers[*]}" ) + + -Dmacos_use_homebrew_gettext=false + -Dperl_cpan_fallback=false + # TODO: allow zlib-ng + -Dzlib_backend=zlib + ) + + [[ ${CHOST} == *-darwin* ]] && emesonargs+=( -Dfsmonitor=false ) + [[ ${CHOST} == *-solaris* ]] && append-flags -D__EXTENSIONS__ + + # For non-live, we use a downloaded docs tarball instead. + if [[ ${PV} == *9999 ]] || use doc ; then + emesonargs+=( + -Ddocs="man$(usev doc ',html')" + -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html" + ) + fi + + if [[ ${PV} != *9999 ]] ; then + # Non-live ebuilds download the sources from a tarball which does not + # include a .git directory. Coccinelle assumes it exists and fails + # otherwise. + # + # Fixes https://bugs.gentoo.org/952004 + emesonargs+=( + -Dcoccinelle=disabled + ) + fi + + meson_src_configure +} + +git_emake() { + local mymakeargs=( + prefix="${EPREFIX}"/usr + htmldir="${EPREFIX}"/usr/share/doc/${PF}/html + sysconfdir="${EPREFIX}"/etc + perllibdir="$(use perl && perl_get_raw_vendorlib)" + + CC="$(tc-getCC)" + CFLAGS="${CFLAGS}" + LDFLAGS="${LDFLAGS}" + PKG_CONFIG="$(tc-getPKG_CONFIG)" + OPTAR="$(tc-getAR)" + OPTCC="$(tc-getCC)" + OPTCFLAGS="${CFLAGS}" + OPTLDFLAGS="${LDFLAGS}" + + PERL_PATH="${EPREFIX}/usr/bin/perl" + PERL_MM_OPT="" + + V=1 + + "$@" + ) + + emake "${mymakeargs[@]}" +} + +src_compile() { + if use rust; then # bug #978391 + cargo_env meson_src_compile + else + meson_src_compile + fi + + if use doc ; then + # Workaround fragments that still use the Makefile and can't + # find the bits from Meson's out-of-source build + ln -s "${BUILD_DIR}"/Documentation/asciidoc.conf "${S}"/Documentation/asciidoc.conf || die + fi + + git_emake -C contrib/diff-highlight +} + +src_test() { + # t0610-reftable-basics.sh uses $A + local -x A= + + meson_src_test +} + +src_install() { + meson_src_install + + # Depending on the tarball and manual rebuild of the documentation, the + # manpages may exist in either OR both of these directories. + find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157] + find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157] + dodoc README* Documentation/{SubmittingPatches,CodingGuidelines} + + local d + for d in / /howto/ /technical/ ; do + docinto ${d} + dodoc Documentation${d}*.adoc + done + docinto / + + newbashcomp contrib/completion/git-completion.bash ${PN} + bashcomp_alias git gitk + newzshcomp contrib/completion/git-completion.zsh _${PN} + # Not really a bash-completion file (bug #477920) + # but still needed uncompressed (bug #507480) + insinto /usr/share/${PN} + doins contrib/completion/git-prompt.sh + + #dobin contrib/fast-import/git-p4 # Moved upstream + #dodoc contrib/fast-import/git-p4.txt # Moved upstream + newbin contrib/fast-import/import-tars.perl import-tars + + # diff-highlight + dobin contrib/diff-highlight/diff-highlight + newdoc contrib/diff-highlight/README README.diff-highlight + + # git-jump + exeinto /usr/libexec/git-core/ + doexe contrib/git-jump/git-jump + newdoc contrib/git-jump/README git-jump.txt + + dodir /usr/share/${PN}/contrib + # The following are excluded: + # completion - installed above + # diff-highlight - done above + # git-jump - done above + # gitview - installed above + # p4import - excluded because fast-import has a better one + # patches - stuff the Git guys made to go upstream to other places + # subtree - built seperately + # svnimport - use git-svn + # thunderbird-patch-inline - fixes thunderbird + local contrib_objects=( + buildsystems + fast-import + rerere-train.sh + stats + ) + local i + for i in "${contrib_objects[@]}" ; do + cp -rf "${S}"/contrib/${i} "${ED}"/usr/share/${PN}/contrib || die "Failed contrib ${i}" + done + + if use cgi ; then + # We used to install in /usr/share/${PN}/gitweb + # but upstream installs in /usr/share/gitweb + # so we will install a symlink and use their location for compat with other + # distros + dosym ../gitweb /usr/share/${PN}/gitweb + + # INSTALL discusses configuration issues, not just installation + docinto / + newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb + newdoc "${S}"/gitweb/README README.gitweb + + for d in "${ED}"/usr/lib{,64}/perl5/ ; do + if [[ -d "${d}" ]] ; then + find "${d}" -name .packlist -delete || die + fi + done + else + rm -rf "${ED}"/usr/share/gitweb + fi + + if use perl ; then + dodir "$(perl_get_vendorlib)" + mv "${ED}"/usr/share/perl5/Git.pm "${ED}/$(perl_get_vendorlib)" || die + mv "${ED}"/usr/share/perl5/Git "${ED}/$(perl_get_vendorlib)" || die + fi + + if ! use subversion ; then + rm -f "${ED}"/usr/libexec/git-core/git-svn \ + "${ED}"/usr/share/man/man1/git-svn.1* + fi + + if use xinetd ; then + insinto /etc/xinetd.d + newins "${FILESDIR}"/git-daemon.xinetd git-daemon + fi + + if ! use prefix ; then + newinitd "${FILESDIR}"/git-daemon-r2.initd git-daemon + newconfd "${FILESDIR}"/git-daemon.confd git-daemon + systemd_newunit "${FILESDIR}/git-daemon_at-r1.service" "git-daemon@.service" + systemd_dounit "${FILESDIR}/git-daemon.socket" + fi + + perl_delete_localpod + + # Remove disabled linguas + # we could remove sources in src_prepare, but install does not + # handle missing locale dir well + rm_loc() { + if [[ -e "${ED}/usr/share/locale/${1}" ]] ; then + rm -r "${ED}/usr/share/locale/${1}" || die + fi + } + plocale_for_each_disabled_locale rm_loc +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + elog "Please read /usr/share/bash-completion/completions/git for Git bash command" + elog "completion." + elog "Please read /usr/share/git/git-prompt.sh for Git bash prompt" + elog "Note that the prompt bash code is now in that separate script" + fi + + if has_version app-shells/zsh ; then + elog 'There are two competing zsh completions available for Git.' + elog 'One is from app-shells/zsh, the other from dev-vcs/git.' + elog 'To choose between them, order the entries of $fpath so that your' + elog 'desired completion is earlier in the list or symlink the relevant' + elog 'script into a personal override directory early on fpath.' + fi + + optfeature_header "Some scripts require additional dependencies:" + optfeature git-quiltimport dev-util/quilt + optfeature git-instaweb www-servers/lighttpd www-servers/apache www-servers/nginx +} diff --git a/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-9999-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-9999-r1.ebuild index 62e904225e5..ed400d0e4ed 100644 --- a/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-9999-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-9999-r1.ebuild @@ -7,9 +7,9 @@ GENTOO_DEPEND_ON_PERL=no # bug #329479: git-remote-testgit is not multiple-version aware PYTHON_COMPAT=( python3_{11..14} ) -RUST_OPTIONAL=1 -inherit flag-o-matic toolchain-funcs perl-module shell-completion optfeature -inherit plocale python-single-r1 rust systemd meson +CARGO_OPTIONAL=1 +inherit cargo flag-o-matic toolchain-funcs perl-module shell-completion +inherit optfeature plocale python-single-r1 systemd meson PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN" @@ -59,7 +59,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" SLOT="0" -IUSE="+curl cgi cvs doc keyring +gpg highlight +iconv +nls +pcre perforce +perl rust +safe-directory selinux subversion test tk +webdav xinetd" +IUSE="+curl cgi cvs doc keyring +gpg highlight +iconv +nls +pcre perforce +perl +rust +safe-directory selinux subversion test tk +webdav xinetd" # Common to both DEPEND and RDEPEND DEPEND=" @@ -144,7 +144,7 @@ REQUIRED_USE=" RESTRICT="!test? ( test )" PATCHES=( - "${FILESDIR}"/${PN}-2.48.1-macos-no-fsmonitor.patch + "${FILESDIR}"/${PN}-2.55.0-0001-macos-no-fsmonitor.patch # This patch isn't merged upstream but is kept in the ebuild by # demand from developers. It's opt-in (needs a config option) @@ -187,6 +187,7 @@ src_unpack() { git-r3_src_unpack fi + use rust && cargo_gen_config } src_prepare() { @@ -304,7 +305,11 @@ git_emake() { } src_compile() { - meson_src_compile + if use rust; then # bug #978391 + cargo_env meson_src_compile + else + meson_src_compile + fi if use doc ; then # Workaround fragments that still use the Makefile and can't diff --git a/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-9999-r2.ebuild b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-9999-r2.ebuild index 62e904225e5..ed400d0e4ed 100644 --- a/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-9999-r2.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-9999-r2.ebuild @@ -7,9 +7,9 @@ GENTOO_DEPEND_ON_PERL=no # bug #329479: git-remote-testgit is not multiple-version aware PYTHON_COMPAT=( python3_{11..14} ) -RUST_OPTIONAL=1 -inherit flag-o-matic toolchain-funcs perl-module shell-completion optfeature -inherit plocale python-single-r1 rust systemd meson +CARGO_OPTIONAL=1 +inherit cargo flag-o-matic toolchain-funcs perl-module shell-completion +inherit optfeature plocale python-single-r1 systemd meson PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN" @@ -59,7 +59,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" SLOT="0" -IUSE="+curl cgi cvs doc keyring +gpg highlight +iconv +nls +pcre perforce +perl rust +safe-directory selinux subversion test tk +webdav xinetd" +IUSE="+curl cgi cvs doc keyring +gpg highlight +iconv +nls +pcre perforce +perl +rust +safe-directory selinux subversion test tk +webdav xinetd" # Common to both DEPEND and RDEPEND DEPEND=" @@ -144,7 +144,7 @@ REQUIRED_USE=" RESTRICT="!test? ( test )" PATCHES=( - "${FILESDIR}"/${PN}-2.48.1-macos-no-fsmonitor.patch + "${FILESDIR}"/${PN}-2.55.0-0001-macos-no-fsmonitor.patch # This patch isn't merged upstream but is kept in the ebuild by # demand from developers. It's opt-in (needs a config option) @@ -187,6 +187,7 @@ src_unpack() { git-r3_src_unpack fi + use rust && cargo_gen_config } src_prepare() { @@ -304,7 +305,11 @@ git_emake() { } src_compile() { - meson_src_compile + if use rust; then # bug #978391 + cargo_env meson_src_compile + else + meson_src_compile + fi if use doc ; then # Workaround fragments that still use the Makefile and can't diff --git a/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-9999-r3.ebuild b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-9999-r3.ebuild index 62e904225e5..ed400d0e4ed 100644 --- a/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-9999-r3.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-9999-r3.ebuild @@ -7,9 +7,9 @@ GENTOO_DEPEND_ON_PERL=no # bug #329479: git-remote-testgit is not multiple-version aware PYTHON_COMPAT=( python3_{11..14} ) -RUST_OPTIONAL=1 -inherit flag-o-matic toolchain-funcs perl-module shell-completion optfeature -inherit plocale python-single-r1 rust systemd meson +CARGO_OPTIONAL=1 +inherit cargo flag-o-matic toolchain-funcs perl-module shell-completion +inherit optfeature plocale python-single-r1 systemd meson PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN" @@ -59,7 +59,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" SLOT="0" -IUSE="+curl cgi cvs doc keyring +gpg highlight +iconv +nls +pcre perforce +perl rust +safe-directory selinux subversion test tk +webdav xinetd" +IUSE="+curl cgi cvs doc keyring +gpg highlight +iconv +nls +pcre perforce +perl +rust +safe-directory selinux subversion test tk +webdav xinetd" # Common to both DEPEND and RDEPEND DEPEND=" @@ -144,7 +144,7 @@ REQUIRED_USE=" RESTRICT="!test? ( test )" PATCHES=( - "${FILESDIR}"/${PN}-2.48.1-macos-no-fsmonitor.patch + "${FILESDIR}"/${PN}-2.55.0-0001-macos-no-fsmonitor.patch # This patch isn't merged upstream but is kept in the ebuild by # demand from developers. It's opt-in (needs a config option) @@ -187,6 +187,7 @@ src_unpack() { git-r3_src_unpack fi + use rust && cargo_gen_config } src_prepare() { @@ -304,7 +305,11 @@ git_emake() { } src_compile() { - meson_src_compile + if use rust; then # bug #978391 + cargo_env meson_src_compile + else + meson_src_compile + fi if use doc ; then # Workaround fragments that still use the Makefile and can't diff --git a/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-9999.ebuild b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-9999.ebuild index 62e904225e5..ed400d0e4ed 100644 --- a/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-vcs/git/git-9999.ebuild @@ -7,9 +7,9 @@ GENTOO_DEPEND_ON_PERL=no # bug #329479: git-remote-testgit is not multiple-version aware PYTHON_COMPAT=( python3_{11..14} ) -RUST_OPTIONAL=1 -inherit flag-o-matic toolchain-funcs perl-module shell-completion optfeature -inherit plocale python-single-r1 rust systemd meson +CARGO_OPTIONAL=1 +inherit cargo flag-o-matic toolchain-funcs perl-module shell-completion +inherit optfeature plocale python-single-r1 systemd meson PLOCALES="bg ca de es fr is it ko pt_PT ru sv vi zh_CN" @@ -59,7 +59,7 @@ S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" SLOT="0" -IUSE="+curl cgi cvs doc keyring +gpg highlight +iconv +nls +pcre perforce +perl rust +safe-directory selinux subversion test tk +webdav xinetd" +IUSE="+curl cgi cvs doc keyring +gpg highlight +iconv +nls +pcre perforce +perl +rust +safe-directory selinux subversion test tk +webdav xinetd" # Common to both DEPEND and RDEPEND DEPEND=" @@ -144,7 +144,7 @@ REQUIRED_USE=" RESTRICT="!test? ( test )" PATCHES=( - "${FILESDIR}"/${PN}-2.48.1-macos-no-fsmonitor.patch + "${FILESDIR}"/${PN}-2.55.0-0001-macos-no-fsmonitor.patch # This patch isn't merged upstream but is kept in the ebuild by # demand from developers. It's opt-in (needs a config option) @@ -187,6 +187,7 @@ src_unpack() { git-r3_src_unpack fi + use rust && cargo_gen_config } src_prepare() { @@ -304,7 +305,11 @@ git_emake() { } src_compile() { - meson_src_compile + if use rust; then # bug #978391 + cargo_env meson_src_compile + else + meson_src_compile + fi if use doc ; then # Workaround fragments that still use the Makefile and can't From 102c3f33db3c1fd50fbdd75245716c34afab1fae Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:44 +0000 Subject: [PATCH 128/243] eclass/bash-completion-r1: Sync with Gentoo It's from Gentoo commit 4b99041553d6fa2ce69b3ab736d145b4d76eeed9. Signed-off-by: Flatcar Buildbot --- .../eclass/bash-completion-r1.eclass | 118 +----------------- 1 file changed, 5 insertions(+), 113 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/bash-completion-r1.eclass b/sdk_container/src/third_party/portage-stable/eclass/bash-completion-r1.eclass index 9fffbbe4bb6..02425859d71 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/bash-completion-r1.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/bash-completion-r1.eclass @@ -5,7 +5,11 @@ # @MAINTAINER: # mgorny@gentoo.org # @SUPPORTED_EAPIS: 7 8 +# @PROVIDES: shell-completion # @BLURB: A few quick functions to install bash-completion files +# @DESCRIPTION: +# This eclass provides functions to install bash-completion files. +# For EAPI 9 or newer, use shell-completion.eclass instead. # @EXAMPLE: # # @CODE @@ -26,118 +30,6 @@ if [[ -z ${_BASH_COMPLETION_R1_ECLASS} ]]; then _BASH_COMPLETION_R1_ECLASS=1 -inherit toolchain-funcs - -case ${EAPI} in - 7|8) ;; - *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; -esac - -# @FUNCTION: _bash-completion-r1_get_bashdir -# @INTERNAL -# @DESCRIPTION: -# First argument is name of the string in bash-completion.pc -# Second argument is the fallback directory if the string is not found -# @EXAMPLE: -# _bash-completion-r1_get_bashdir completionsdir /usr/share/bash-completion -_bash-completion-r1_get_bashdir() { - debug-print-function ${FUNCNAME} "$@" - - if $(tc-getPKG_CONFIG) --exists bash-completion &>/dev/null; then - local path - path=$($(tc-getPKG_CONFIG) --variable="${1}" bash-completion) || die - # we need to return unprefixed, so strip from what pkg-config returns - # to us, bug #477692 - echo "${path#"${EPREFIX}"}" - else - echo "${2}" - fi -} - -# @FUNCTION: _bash-completion-r1_get_bashcompdir -# @INTERNAL -# @DESCRIPTION: -# Get unprefixed bash-completion completions directory. -_bash-completion-r1_get_bashcompdir() { - debug-print-function ${FUNCNAME} "$@" - - _bash-completion-r1_get_bashdir completionsdir /usr/share/bash-completion/completions -} - -# @FUNCTION: _bash-completion-r1_get_bashhelpersdir -# @INTERNAL -# @DESCRIPTION: -# Get unprefixed bash-completion helpers directory. -_bash-completion-r1_get_bashhelpersdir() { - debug-print-function ${FUNCNAME} "$@" - - _bash-completion-r1_get_bashdir helpersdir /usr/share/bash-completion/helpers -} - -# @FUNCTION: get_bashcompdir -# @DESCRIPTION: -# Get the bash-completion completions directory. -get_bashcompdir() { - debug-print-function ${FUNCNAME} "$@" - - echo "${EPREFIX}$(_bash-completion-r1_get_bashcompdir)" -} - -# @FUNCTION: get_bashhelpersdir -# @INTERNAL -# @DESCRIPTION: -# Get the bash-completion helpers directory. -get_bashhelpersdir() { - debug-print-function ${FUNCNAME} "$@" - - echo "${EPREFIX}$(_bash-completion-r1_get_bashhelpersdir)" -} - -# @FUNCTION: dobashcomp -# @USAGE: [...] -# @DESCRIPTION: -# Install bash-completion files passed as args. Has EAPI-dependent failure -# behavior (like doins). -dobashcomp() { - debug-print-function ${FUNCNAME} "$@" - - ( - insopts -m 0644 - insinto "$(_bash-completion-r1_get_bashcompdir)" - doins "${@}" - ) -} - -# @FUNCTION: newbashcomp -# @USAGE: -# @DESCRIPTION: -# Install bash-completion file under a new name. Has EAPI-dependent failure -# behavior (like newins). -newbashcomp() { - debug-print-function ${FUNCNAME} "$@" - - ( - insopts -m 0644 - insinto "$(_bash-completion-r1_get_bashcompdir)" - newins "${@}" - ) -} - -# @FUNCTION: bashcomp_alias -# @USAGE: ... -# @DESCRIPTION: -# Alias completion to one or more commands (es). -bashcomp_alias() { - debug-print-function ${FUNCNAME} "$@" - - [[ ${#} -lt 2 ]] && die "Usage: ${FUNCNAME} ..." - local base=${1} f - shift - - for f; do - dosym "${base}" "$(_bash-completion-r1_get_bashcompdir)/${f}" \ - || return - done -} +inherit shell-completion fi From bbd9370a31789d214db09ed055006975ec971360 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:48 +0000 Subject: [PATCH 129/243] eclass/cmake: Sync with Gentoo It's from Gentoo commit c084bb9558e18a4b0b4d9d1e30066ce1948abe51. Signed-off-by: Flatcar Buildbot --- .../portage-stable/eclass/cmake.eclass | 107 ++++++++---------- 1 file changed, 49 insertions(+), 58 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/cmake.eclass b/sdk_container/src/third_party/portage-stable/eclass/cmake.eclass index 5ea90aa4da2..e938a1119b2 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/cmake.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/cmake.eclass @@ -561,9 +561,10 @@ cmake_src_configure() { # Fix xdg collision with sandbox xdg_environment_reset + local libdir=$(get_libdir) + # Prepare Gentoo override rules (set valid compiler, append CPPFLAGS etc.) local build_rules=${BUILD_DIR}/gentoo_rules.cmake - cat > "${build_rules}" <<- _EOF_ || die set(CMAKE_ASM_COMPILE_OBJECT " ${CPPFLAGS} -o -c " CACHE STRING "ASM compile command" FORCE) set(CMAKE_ASM-ATT_COMPILE_OBJECT " ${CPPFLAGS} -o -c -x assembler " CACHE STRING "ASM-ATT compile command" FORCE) @@ -571,10 +572,39 @@ cmake_src_configure() { set(CMAKE_C_COMPILE_OBJECT " ${CPPFLAGS} -o -c " CACHE STRING "C compile command" FORCE) set(CMAKE_CXX_COMPILE_OBJECT " ${CPPFLAGS} -o -c " CACHE STRING "C++ compile command" FORCE) set(CMAKE_Fortran_COMPILE_OBJECT " ${FCFLAGS} -o -c " CACHE STRING "Fortran compile command" FORCE) + + # in Prefix we need rpath and must ensure cmake gets our default linker path + # right ... except for Darwin hosts + if($(usex prefix-guest 1 0)) # if use prefix-guest + if(NOT APPLE) + set(CMAKE_SKIP_RPATH OFF CACHE BOOL "" FORCE) + set(CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH "${EPREFIX}/usr/${CHOST}/lib/gcc;${EPREFIX}/usr/${CHOST}/lib;${EPREFIX}/usr/${libdir};${EPREFIX}/${libdir}" CACHE STRING "" FORCE) + else() + set(CMAKE_PREFIX_PATH "${EPREFIX}/usr" CACHE STRING "" FORCE) + set(CMAKE_MACOSX_RPATH ON CACHE BOOL "" FORCE) + set(CMAKE_SKIP_BUILD_RPATH OFF CACHE BOOL "" FORCE) + set(CMAKE_SKIP_RPATH OFF CACHE BOOL "" FORCE) + set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE CACHE BOOL "" FORCE) + endif() + endif() _EOF_ local myCC=$(tc-getCC) myCXX=$(tc-getCXX) myFC=$(tc-getFC) + # We are using the C compiler for assembly by default. + local -x ASMFLAGS=${CFLAGS} + local -x PKG_CONFIG=$(tc-getPKG_CONFIG) + + local sysname + case "${KERNEL:-linux}" in + Cygwin) sysname="CYGWIN_NT-5.1" ;; + HPUX) sysname="HP-UX" ;; + Hurd) sysname="GNU" ;; + linux) sysname="Linux" ;; + Winnt) sysname="Windows" ;; + *) sysname="${KERNEL}" ;; + esac + # !!! IMPORTANT NOTE !!! # Single slash below is intentional. CMake is weird and wants the # CMAKE_*_VARIABLES split into two elements: the first one with @@ -589,65 +619,26 @@ cmake_src_configure() { set(CMAKE_Fortran_COMPILER "${myFC/ /;}") set(CMAKE_AR $(type -P $(tc-getAR)) CACHE FILEPATH "Archive manager" FORCE) set(CMAKE_RANLIB $(type -P $(tc-getRANLIB)) CACHE FILEPATH "Archive index generator" FORCE) + set(CMAKE_SYSTEM_NAME "${sysname}") + set(CMAKE_CROSSCOMPILING $(tc-is-cross-compiler && echo TRUE || echo FALSE)) set(CMAKE_SYSTEM_PROCESSOR "${CHOST%%-*}") - _EOF_ - - # We are using the C compiler for assembly by default. - local -x ASMFLAGS=${CFLAGS} - local -x PKG_CONFIG=$(tc-getPKG_CONFIG) - - if tc-is-cross-compiler; then - local sysname - case "${KERNEL:-linux}" in - Cygwin) sysname="CYGWIN_NT-5.1" ;; - HPUX) sysname="HP-UX" ;; - Hurd) sysname="GNU" ;; - linux) sysname="Linux" ;; - Winnt) - sysname="Windows" - cat >> "${toolchain_file}" <<- _EOF_ || die - set(CMAKE_RC_COMPILER $(tc-getRC)) - _EOF_ - ;; - *) sysname="${KERNEL}" ;; - esac - cat >> "${toolchain_file}" <<- _EOF_ || die - set(CMAKE_SYSTEM_NAME "${sysname}") - _EOF_ - fi + if(CMAKE_CROSSCOMPILING AND CMAKE_SYSTEM_NAME STREQUAL "Windows") + set(CMAKE_RC_COMPILER $(tc-getRC)) + endif() - if [[ ${SYSROOT:-/} != / ]] ; then # When building with a sysroot (e.g. with crossdev's emerge wrappers) # we need to tell cmake to use libs/headers from the sysroot but programs from / only. - cat >> "${toolchain_file}" <<- _EOF_ || die + if($(if [[ ${SYSROOT:-/} != / ]] ; then echo 1; else echo 0; fi)) # if \${SYSROOT:-/} != / set(CMAKE_SYSROOT "${ESYSROOT}") set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) - _EOF_ - fi - - if use prefix-guest; then - cat >> "${build_rules}" <<- _EOF_ || die - # in Prefix we need rpath and must ensure cmake gets our default linker path - # right ... except for Darwin hosts - if(NOT APPLE) - set(CMAKE_SKIP_RPATH OFF CACHE BOOL "" FORCE) - set(CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH "${EPREFIX}/usr/${CHOST}/lib/gcc;${EPREFIX}/usr/${CHOST}/lib;${EPREFIX}/usr/$(get_libdir);${EPREFIX}/$(get_libdir)" CACHE STRING "" FORCE) - else() - set(CMAKE_PREFIX_PATH "${EPREFIX}/usr" CACHE STRING "" FORCE) - set(CMAKE_MACOSX_RPATH ON CACHE BOOL "" FORCE) - set(CMAKE_SKIP_BUILD_RPATH OFF CACHE BOOL "" FORCE) - set(CMAKE_SKIP_RPATH OFF CACHE BOOL "" FORCE) - set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE CACHE BOOL "" FORCE) - endif() - _EOF_ - fi + endif() + _EOF_ # Common configure parameters (invariants) local common_config=${BUILD_DIR}/gentoo_common_config.cmake - local libdir=$(get_libdir) cat > "${common_config}" <<- _EOF_ || die set(CMAKE_GENTOO_BUILD ON CACHE BOOL "Indicate Gentoo package build") set(LIB_SUFFIX ${libdir/lib} CACHE STRING "library path suffix" FORCE) @@ -664,19 +655,17 @@ cmake_src_configure() { set(CMAKE_TLS_VERIFY ON CACHE BOOL "") set(CMAKE_COMPILE_WARNING_AS_ERROR OFF CACHE BOOL "") set(CMAKE_LINK_WARNING_AS_ERROR OFF CACHE BOOL "") - _EOF_ - # See bug 689410 - if [[ "${ARCH}" == riscv ]]; then - echo 'set(CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX '"${libdir#lib}"' CACHE STRING "library search suffix" FORCE)' >> "${common_config}" || die - fi + # See Gentoo-bug 689410 + if($(if [[ "${ARCH}" == riscv ]]; then echo 1; else echo 0; fi)) # if \${ARCH} == riscv + set(CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX '"${libdir#lib}"' CACHE STRING "library search suffix" FORCE) + endif() - if [[ "${NOCOLOR}" = true || "${NOCOLOR}" = yes ]]; then - echo 'set(CMAKE_COLOR_MAKEFILE OFF CACHE BOOL "pretty colors during make" FORCE)' >> "${common_config}" || die - fi + if($(if [[ "${NOCOLOR}" = true || "${NOCOLOR}" = yes ]]; then echo 1; else echo 0; fi)) # if NOCOLOR=(true|yes) + set(CMAKE_COLOR_MAKEFILE OFF CACHE BOOL "pretty colors during make" FORCE) + endif() - # Wipe the default optimization flags out of CMake - cat >> ${common_config} <<- _EOF_ || die + # Wipe the default optimization flags out of CMake set(CMAKE_ASM_FLAGS_${CMAKE_BUILD_TYPE^^} "" CACHE STRING "") set(CMAKE_ASM-ATT_FLAGS_${CMAKE_BUILD_TYPE^^} "" CACHE STRING "") set(CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE^^} "" CACHE STRING "") @@ -782,7 +771,9 @@ cmake_build() { ;; esac + local rc=$? # save build tool's exit code in case of running under nonfatal popd > /dev/null || die + return $rc } # @ECLASS_VARIABLE: CTEST_JOBS From 4295c798a7358f2be8617f76bd0036e0a3bd3f07 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:54 +0000 Subject: [PATCH 130/243] eclass/desktop: Sync with Gentoo It's from Gentoo commit be170100a5ce71a151b28a2609df14220e73e425. Signed-off-by: Flatcar Buildbot --- .../portage-stable/eclass/desktop.eclass | 38 +++++++++++-------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/desktop.eclass b/sdk_container/src/third_party/portage-stable/eclass/desktop.eclass index b10e2647e87..8a84d965be6 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/desktop.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/desktop.eclass @@ -63,17 +63,20 @@ _DESKTOP_IDS=() # @CODE make_desktop_entry() { local eapi9 - if [[ ${1} == --eapi9 ]]; then - case ${EAPI} in - 7|8) + case ${EAPI} in + 7|8) + if [[ ${1} == --eapi9 ]]; then eapi9=1 shift - ;; - *) + fi + ;; + *) + eapi9=1 + if [[ ${1} == --eapi9 ]]; then die "make_desktop_entry: --eapi9 arg is obsolete in EAPI-${EAPI}!" - ;; - esac - fi + fi + ;; + esac [[ -z ${1} ]] && die "make_desktop_entry: You must specify at least a command" if [[ ${eapi9} ]]; then @@ -374,17 +377,20 @@ make_desktop_entry() { # @CODE make_session_desktop() { local eapi9 - if [[ ${1} == --eapi9 ]]; then - case ${EAPI} in - 7|8) + case ${EAPI} in + 7|8) + if [[ ${1} == --eapi9 ]]; then eapi9=1 shift - ;; - *) + fi + ;; + *) + eapi9=1 + if [[ ${1} == --eapi9 ]]; then die "make_session_desktop: --eapi9 arg is obsolete in EAPI-${EAPI}!" - ;; - esac - fi + fi + ;; + esac [[ -z ${1} ]] && die "make_session_desktop: You must specify at least a command" if [[ ${eapi9} ]]; then From aeff6b3d711e60c32e8ff6c05751946b940e7b53 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:54 +0000 Subject: [PATCH 131/243] eclass/dist-kernel-utils: Sync with Gentoo It's from Gentoo commit 787f6641daca0ac58d417723d763a6b10b1fd478. Signed-off-by: Flatcar Buildbot --- .../eclass/dist-kernel-utils.eclass | 122 +++++++++++++++++- 1 file changed, 121 insertions(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/dist-kernel-utils.eclass b/sdk_container/src/third_party/portage-stable/eclass/dist-kernel-utils.eclass index a910f397360..ae56f844b78 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/dist-kernel-utils.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/dist-kernel-utils.eclass @@ -53,7 +53,7 @@ dist-kernel_get_image_path() { arm) echo arch/arm/boot/zImage ;; - hppa|ppc|ppc64|s390|sparc) + alpha|hppa|m68k|mips|ppc|ppc64|s390|sparc) # https://www.kernel.org/doc/html/latest/powerpc/bootwrapper.html # ./ is required because of ${image_path%/*} # substitutions in the code @@ -341,5 +341,125 @@ dist-kernel_compressed_module_cleanup() { ) } +# @FUNCTION: dist-kernel_can_update_src_symlink +# @USAGE: +# @DESCRIPTION: +# Determine whether the symlink at (full path) should be +# updated. Returns 0 if it should, 1 to leave as-is. +dist-kernel_can_update_src_symlink() { + debug-print-function ${FUNCNAME} "$@" + + [[ ${#} -eq 1 ]] || die "${FUNCNAME}: invalid arguments" + local target=${1} + + # if the symlink does not exist or is broken, update + [[ ! -e ${target} ]] && return 0 + # if the target does not seem to contain kernel sources + # (i.e. is probably a leftover directory), update + [[ ! -e ${target}/Makefile ]] && return 0 + + local symlink_target=$(readlink "${target}") + # the symlink target should start with the same basename as target + # (e.g. "linux-*") + [[ ${symlink_target} != ${target##*/}-* ]] && return 1 + + # try to establish the kernel version from symlink target + local symlink_ver=${symlink_target#${target##*/}-} + # strip KV_LOCALVERSION, we want to update the old kernels not using + # KV_LOCALVERSION suffix and the new kernels using it + symlink_ver=${symlink_ver%${KV_LOCALVERSION}} + symlink_ver=${symlink_ver/-p/_p} + # strip -p* revision + local symlink_ver_no_rev=${symlink_ver%_p[0-9]*} + local rev=${symlink_ver#${symlink_ver_no_rev}} + rev=${rev#_p} + + # if ${symlink_ver} contained anything but numbers and revision (e.g. + # an extra suffix), it's not our kernel, so leave it alone + [[ -n ${symlink_ver_no_rev//[0-9.]/} || -n ${rev//[0-9]/} ]] && return 1 + + local symlink_pkg=${CATEGORY}/${PN}-${symlink_ver} + # if the current target is either being replaced, or still + # installed (probably depclean candidate), update the symlink + has "${symlink_ver}" ${REPLACING_VERSIONS} && return 0 + has_version -r "~${symlink_pkg}" && return 0 + + # otherwise it could be another kernel package, so leave it alone + return 1 +} + +# @FUNCTION: dist-kernel_update_src_symlink +# @USAGE: +# @DESCRIPTION: +# Update the kernel source symlink at (full path) with a link +# to - if it's either missing or pointing out to +# an older version of this package. +dist-kernel_update_src_symlink() { + debug-print-function ${FUNCNAME} "$@" + + [[ ${#} -eq 2 ]] || die "${FUNCNAME}: invalid arguments" + local target=${1} + local version=${2} + + if dist-kernel_can_update_src_symlink "${target}"; then + ebegin "Updating ${target} symlink" + ln -f -n -s "${target##*/}-${version}" "${target}" + eend ${?} + # If we're upgrading from older versions of g-k-bin that did not + # use the "-bin" suffix in KV_LOCALVERSION, we need to override + # the check in the eclass to successfully migrate the symlink. + # Since sys-kernel/gentoo-kernel was not co-installable with g-k-bin + # then, let's use its non-presence as a good heuristic whether to + # trigger the migration path. + elif [[ ${CATEGORY}/${PN} == sys-kernel/gentoo-kernel-bin ]] && + ! has_version sys-kernel/gentoo-kernel && + KV_LOCALVERSION=${KV_LOCALVERSION%-bin} \ + dist-kernel_can_update_src_symlink "${target}" + then + ebegin "Updating ${target} symlink" + ln -f -n -s "${target##*/}-${version}" "${target}" + eend ${?} + else + elog "${target} points at another kernel, leaving it as-is." + elog "Please use 'eselect kernel' to update it when desired." + fi +} + +# @FUNCTION: dist-kernel_update_lib_symlinks +# @USAGE: [] [] +# @DESCRIPTION: +# Update the symlinks in ${ED}/lib/modules/${KV_FULL} if the system is +# running merged-usr. Intended to be used in pkg_preinst(). +dist-kernel_update_lib_symlinks() { + debug-print-function ${FUNCNAME} "$@" + + [[ ${#} -gt 2 ]] && die "${FUNCNAME}: invalid arguments" + local version=${1:-${KV_FULL}} + local image_path=${2:-$(dist-kernel_get_image_path)} + + if [[ -L ${EROOT}/lib && ${EROOT}/lib -ef ${EROOT}/usr/lib ]]; then + # Adjust symlinks for merged-usr. + local file + for file in build source; do + if [[ -L "${ED}/lib/modules/${version}/${file}" ]]; then + rm "${ED}/lib/modules/${version}/${file}" || die + dosym "../../../src/linux-${version}" "/usr/lib/modules/${version}/${file}" + fi + done + for file in .config System.map; do + if [[ -L "${ED}/lib/modules/${version}/${file#.}" ]]; then + rm "${ED}/lib/modules/${version}/${file#.}" || die + dosym "../../../src/linux-${version}/${file}" "/usr/lib/modules/${version}/${file#.}" + fi + done + for file in vmlinux vmlinuz; do + if [[ -L "${ED}/lib/modules/${version}/${file}" ]]; then + rm "${ED}/lib/modules/${version}/${file}" || die + dosym "../../../src/linux-${version}/${image_path}" "/usr/lib/modules/${version}/${file}" + fi + done + fi +} + _DIST_KERNEL_UTILS=1 fi From 6c316aac836b4dc472c7766bda7bd44db95fc20e Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:36:55 +0000 Subject: [PATCH 132/243] eclass/distutils-r1: Sync with Gentoo It's from Gentoo commit 3ad007222eeff1362b4345b44101d10f29580f34. Signed-off-by: Flatcar Buildbot --- .../portage-stable/eclass/distutils-r1.eclass | 155 +++++------------- 1 file changed, 42 insertions(+), 113 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/distutils-r1.eclass b/sdk_container/src/third_party/portage-stable/eclass/distutils-r1.eclass index 176a8b33ba9..9141ec8e76b 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/distutils-r1.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/distutils-r1.eclass @@ -94,38 +94,16 @@ # @PRE_INHERIT # @REQUIRED # @DESCRIPTION: -# Specifies the PEP517 build system used for the package. Currently, -# the following values are supported: +# Specifies the PEP517 build system used for the package. Normally, +# the values match the name of the package providing this backend. # -# - flit - flit-core backend +# The currently supported backends are: flit-core, flit-scm, hatchling, +# jupyter-packaging, maturin, meson-python, pbr, pdm-backend, +# poetry-core, scikit-build-core, setuptools, sip, uv-build. # -# - flit_scm - flit_scm backend -# -# - hatchling - hatchling backend (from hatch) -# -# - jupyter - jupyter_packaging backend -# -# - maturin - maturin backend -# -# - meson-python - meson-python (mesonpy) backend -# -# - no - no PEP517 build system (see below) -# -# - pbr - pbr backend -# -# - pdm-backend - pdm.backend backend -# -# - poetry - poetry-core backend -# -# - scikit-build-core - scikit-build-core backend -# -# - setuptools - distutils or setuptools (incl. legacy mode) -# -# - sip - sipbuild backend -# -# - standalone - standalone/local build systems -# -# - uv-build - uv-build backend (using dev-python/uv) +# Additionally, two special values are supported: "no" to indicate +# no PEP517 build system, and "standalone" to indicate a standalone +# (local to the package) build backend. Both are described further on. # # The variable needs to be set before the inherit line. If another # value than "standalone" and "no" is used, The eclass adds appropriate @@ -235,32 +213,42 @@ else fi _distutils_set_globals() { + # convert deprecated values + if [[ ${EAPI} == [78] ]]; then + case ${DISTUTILS_USE_PEP517} in + flit) + DISTUTILS_USE_PEP517=flit-core + ;; + flit_scm) + DISTUTILS_USE_PEP517=flit-scm + ;; + jupyter) + DISTUTILS_USE_PEP517=jupyter-packaging + ;; + poetry) + DISTUTILS_USE_PEP517=poetry-core + ;; + esac + fi + local rdep bdep bdep=' >=dev-python/gpep517-16[${PYTHON_USEDEP}] ' case ${DISTUTILS_USE_PEP517} in - flit) - bdep+=' - >=dev-python/flit-core-3.11.0[${PYTHON_USEDEP}] - ' + flit-core|hatchling|jupyter-packaging|meson-python|pbr|pdm-backend) + ;& + poetry-core|scikit-build-core|setuptools|sip|uv-build) + bdep+=" + dev-python/${DISTUTILS_USE_PEP517}[\${PYTHON_USEDEP}] + " ;; - flit_scm) + flit-scm) bdep+=' >=dev-python/flit-core-3.11.0[${PYTHON_USEDEP}] >=dev-python/flit-scm-1.7.0[${PYTHON_USEDEP}] ' ;; - hatchling) - bdep+=' - >=dev-python/hatchling-1.27.0[${PYTHON_USEDEP}] - ' - ;; - jupyter) - bdep+=' - >=dev-python/jupyter-packaging-0.12.3[${PYTHON_USEDEP}] - ' - ;; maturin) bdep+=' >=dev-util/maturin-1.8.2[${PYTHON_USEDEP}] @@ -270,48 +258,8 @@ _distutils_set_globals() { # undo the generic deps added above bdep= ;; - meson-python) - bdep+=' - >=dev-python/meson-python-0.17.1[${PYTHON_USEDEP}] - ' - ;; - pbr) - bdep+=' - >=dev-python/pbr-6.1.1[${PYTHON_USEDEP}] - ' - ;; - pdm-backend) - bdep+=' - >=dev-python/pdm-backend-2.4.3[${PYTHON_USEDEP}] - ' - ;; - poetry) - bdep+=' - >=dev-python/poetry-core-2.1.1[${PYTHON_USEDEP}] - ' - ;; - scikit-build-core) - bdep+=' - >=dev-python/scikit-build-core-0.11.5[${PYTHON_USEDEP}] - ' - ;; - setuptools) - bdep+=' - >=dev-python/setuptools-78.1.0[${PYTHON_USEDEP}] - ' - ;; - sip) - bdep+=' - >=dev-python/sip-6.10.0[${PYTHON_USEDEP}] - ' - ;; standalone) ;; - uv-build) - bdep+=' - dev-python/uv-build[${PYTHON_USEDEP}] - ' - ;; *) die "Unknown DISTUTILS_USE_PEP517=${DISTUTILS_USE_PEP517}" ;; @@ -742,12 +690,12 @@ _distutils-r1_print_package_versions() { ) fi case ${DISTUTILS_USE_PEP517} in - flit) + flit-core|meson-python|poetry-core|scikit-build-core|sip) packages+=( - dev-python/flit-core + "dev-python/${DISTUTILS_USE_PEP517}" ) ;; - flit_scm) + flit-scm) packages+=( dev-python/flit-core dev-python/flit-scm @@ -761,7 +709,7 @@ _distutils-r1_print_package_versions() { dev-python/hatch-vcs ) ;; - jupyter) + jupyter-packaging) packages+=( dev-python/jupyter-packaging dev-python/setuptools @@ -777,11 +725,6 @@ _distutils-r1_print_package_versions() { no) return ;; - meson-python) - packages+=( - dev-python/meson-python - ) - ;; pbr) packages+=( dev-python/pbr @@ -795,16 +738,6 @@ _distutils-r1_print_package_versions() { dev-python/setuptools ) ;; - poetry) - packages+=( - dev-python/poetry-core - ) - ;; - scikit-build-core) - packages+=( - dev-python/scikit-build-core - ) - ;; setuptools) packages+=( dev-python/setuptools @@ -813,11 +746,6 @@ _distutils-r1_print_package_versions() { dev-python/wheel ) ;; - sip) - packages+=( - dev-python/sip - ) - ;; uv-build) packages+=( dev-python/uv @@ -867,16 +795,16 @@ _distutils-r1_key_to_backend() { local key=${1} case ${key} in - flit) + flit-core) echo flit_core.buildapi ;; - flit_scm) + flit-scm) echo flit_scm:buildapi ;; hatchling) echo hatchling.build ;; - jupyter) + jupyter-packaging) echo jupyter_packaging.build_api ;; maturin) @@ -891,7 +819,7 @@ _distutils-r1_key_to_backend() { pdm-backend) echo pdm.backend ;; - poetry) + poetry-core) echo poetry.core.masonry.api ;; scikit-build-core) @@ -1859,6 +1787,7 @@ _distutils-r1_post_python_install() { eqawarn "QA Notice: Python extension modules (*$(get_modname)) found installed. Please set:" eqawarn " DISTUTILS_EXT=1" eqawarn "in the ebuild." + [[ ${EAPI} != [78] ]] && die "DISTUTILS_EXT not set" _DISTUTILS_EXT_WARNED=1 fi fi From bc37c9c87bf10a6569aee09dbc5776f916ecbf47 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:37:43 +0000 Subject: [PATCH 133/243] eclass/java-utils-2: Sync with Gentoo It's from Gentoo commit 3a2e7877cb49ba2006330aeff81eb339a7ec6a1b. Signed-off-by: Flatcar Buildbot --- .../portage-stable/eclass/java-utils-2.eclass | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/java-utils-2.eclass b/sdk_container/src/third_party/portage-stable/eclass/java-utils-2.eclass index 8b4e4ea8eec..87c760ad9fa 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/java-utils-2.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/java-utils-2.eclass @@ -1,4 +1,4 @@ -# Copyright 2004-2025 Gentoo Authors +# Copyright 2004-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: java-utils-2.eclass @@ -295,13 +295,6 @@ JAVA_PKG_COMPILERS_CONF=${JAVA_PKG_COMPILERS_CONF:="/etc/java-config-2/build/com # ) # @CODE -# @ECLASS_VARIABLE: JAVA_DISABLE_DEPEND_ON_JAVA_DEP_CHECK -# @PRE_INHERIT -# @DEFAULT_UNSET -# @DESCRIPTION: -# Helper variable to be used in packages which would otherwise have circular -# dependencies with dev-java/java-dep-check once this is forced to BDEPEND. - # @FUNCTION: java-pkg_doexamples # @USAGE: [--subdir ] [ ...] # @DESCRIPTION: @@ -3003,16 +2996,6 @@ is-java-strict() { return $? } -# Avoid having to emerge them separately every time -if is-java-strict; then - # Needed for java-pkg_verify-classes - BDEPEND="${BDEPEND} dev-java/javatoolkit" - if [[ -z "${JAVA_DISABLE_DEPEND_ON_JAVA_DEP_CHECK}" ]]; then - # Needed for java-utils-2_pkg_preinst - BDEPEND="${BDEPEND} dev-java/java-dep-check:0" || die - fi -fi - # @FUNCTION: java-pkg_clean # @DESCRIPTION: # Java package cleaner function. This will remove all *.class and *.jar From 38b3178fc23db1ed3592b56bf6f6c3dd9c24cc9d Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:37:44 +0000 Subject: [PATCH 134/243] eclass/kernel-2: Sync with Gentoo It's from Gentoo commit c5dc07c475a7beca0cc2be4e4915e0da6e670406. Signed-off-by: Flatcar Buildbot --- .../portage-stable/eclass/kernel-2.eclass | 30 +++++++++++++++++-- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/kernel-2.eclass b/sdk_container/src/third_party/portage-stable/eclass/kernel-2.eclass index 44b1bce504a..8a675db7a74 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/kernel-2.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/kernel-2.eclass @@ -181,6 +181,15 @@ # this is useful for things like wolk. IE: # EXTRAVERSION would be something like : -wolk-4.19-r1 +# @ECLASS_VARIABLE: K_NO_VERSION_CHECK +# @DEFAULT_UNSET +# @DESCRIPTION: +# If this is set, skip the sanity check that make sure +# a kernel version patch number is present that +# matches the kernel version indicated by the build name +# This should be used in X.Y.0 kernels as the initial +# ebuild does not contain a separate point release + # @ECLASS_VARIABLE: K_WANT_GENPATCHES # @DEFAULT_UNSET # @DESCRIPTION: @@ -667,7 +676,7 @@ if [[ ${ETYPE} == sources ]]; then SLOT=${SLOT:=${PVR}} DESCRIPTION="Sources based on the Linux Kernel" - IUSE="symlink build" + IUSE="symlink build vanilla" # Bug #266157, deblob for libre support if [[ -z ${K_PREDEBLOBBED} ]]; then @@ -1131,7 +1140,7 @@ unipatch() { fi done < <(find "$KPATCH_DIR" -type f -print0) - if [[ -z ${KV_PATCH_FOUND} ]]; then + if [[ -z ${K_NO_VERSION_CHECK} && -z ${KV_PATCH_FOUND} ]]; then eerror "GENPATCHES does not contain linux patch ${OKV}" eerror "Please check your ebuild for the proper K_GENPATCHES_VER=N" die "GENPATCHES appears to be missing Linux patch ${OKV}" @@ -1234,11 +1243,26 @@ unipatch() { # So now lets get rid of the patch numbers we want to exclude UNIPATCH_DROP="${UNIPATCH_EXCLUDE} ${UNIPATCH_DROP}" for i in ${UNIPATCH_DROP}; do - ebegin "Excluding Patch #${i}" + ebegin "Excluding Patch ${i}" for x in ${KPATCH_DIR}; do rm -f ${x}/${i}* 2>/dev/null; done eend $? done + # for USE=vanilla, remove non-upstream patches + # which should be labeled as 1000_ through 1499_ + if in_iuse vanilla && use vanilla; then + for patch in ${KPATCH_DIR}/*; do + patchname="${patch##*/}" # Extract filename without path + numericprefix="${patchname:0:4}" # Get first 4 characters + # Check if it's exactly 4 digits and greater than 1499 + if [[ $numericprefix =~ ^[0-9]{4}$ ]] && (( numericprefix > 1499 )); then + ebegin "Excluding Patch ${patchname}" + rm ${patch} 2>/dev/null + eend $? + fi + done + fi + # and now, finally, we patch it :) for x in ${KPATCH_DIR}; do for i in $(find ${x} -maxdepth 1 -iname "*.patch*" -or -iname "*.diff*" | sort -n); do From dacb62995520e81001a55f6933b1a806f2d425b5 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:37:47 +0000 Subject: [PATCH 135/243] eclass/llvm-r1: Sync with Gentoo It's from Gentoo commit 9df1aaff715eaada80d832f5d7f8c5957f2db400. Signed-off-by: Flatcar Buildbot --- .../src/third_party/portage-stable/eclass/llvm-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/llvm-r1.eclass b/sdk_container/src/third_party/portage-stable/eclass/llvm-r1.eclass index f5642bcee68..411cab4b094 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/llvm-r1.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/llvm-r1.eclass @@ -64,7 +64,7 @@ _LLVM_OLDEST_SLOT=16 # @DESCRIPTION: # The newest stable LLVM version. Versions newer than that won't # be automatically enabled via USE defaults. -_LLVM_NEWEST_STABLE=21 +_LLVM_NEWEST_STABLE=22 # == control variables == From 7006459795cf02b171ca5393b3fa2435dcddd1b6 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:37:48 +0000 Subject: [PATCH 136/243] eclass/llvm-r2: Sync with Gentoo It's from Gentoo commit 9d803eaa129ba713785948535d2bc6019c84c1d2. Signed-off-by: Flatcar Buildbot --- .../src/third_party/portage-stable/eclass/llvm-r2.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/llvm-r2.eclass b/sdk_container/src/third_party/portage-stable/eclass/llvm-r2.eclass index 6a3ee23f17a..cdc74d39639 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/llvm-r2.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/llvm-r2.eclass @@ -70,7 +70,7 @@ _LLVM_OLDEST_SLOT=16 # @DESCRIPTION: # The newest stable LLVM version. Versions newer than that won't # be automatically enabled via USE defaults. -_LLVM_NEWEST_STABLE=21 +_LLVM_NEWEST_STABLE=22 # == control variables == From a0e44caa8ef92da56438c12b20beec0d9de154dc Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:38:07 +0000 Subject: [PATCH 137/243] eclass/mount-boot: Sync with Gentoo It's from Gentoo commit 15b35d9a934ad67cbb3023be1aae8b7f1c2ce6e6. Signed-off-by: Flatcar Buildbot --- .../third_party/portage-stable/eclass/mount-boot.eclass | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/mount-boot.eclass b/sdk_container/src/third_party/portage-stable/eclass/mount-boot.eclass index ce17026ffd2..527a8199e6e 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/mount-boot.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/mount-boot.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: mount-boot.eclass @@ -33,13 +33,6 @@ mount-boot_pkg_preinst() { mount-boot_pkg_prerm() { mount-boot_check_status - - if [[ -z ${EPREFIX} ]] \ - && ! ( shopt -s failglob; : "${EROOT}"/boot/.keep* ) 2>/dev/null - then - # Create a .keep file, in case it is shadowed at the mount point - touch "${EROOT}"/boot/.keep 2>/dev/null - fi } # No-op phases for backwards compatibility From 08e6df2e78f276ad1b035ee2f12938bed4c43513 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:38:15 +0000 Subject: [PATCH 138/243] eclass/optfeature: Sync with Gentoo It's from Gentoo commit 601b1d1b9305e2e272421e30644d7c5120a1bbec. Signed-off-by: Flatcar Buildbot --- .../portage-stable/eclass/optfeature.eclass | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/optfeature.eclass b/sdk_container/src/third_party/portage-stable/eclass/optfeature.eclass index b82ac893add..b415aee02c6 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/optfeature.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/optfeature.eclass @@ -4,17 +4,17 @@ # @ECLASS: optfeature.eclass # @MAINTAINER: # base-system@gentoo.org -# @SUPPORTED_EAPIS: 7 8 +# @SUPPORTED_EAPIS: 7 8 9 # @BLURB: Advertise optional functionality that might be useful to users +if [[ -z ${_OPTFEATURE_ECLASS} ]]; then +_OPTFEATURE_ECLASS=1 + case ${EAPI} in - 7|8) ;; + 7|8|9) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -if [[ -z ${_OPTFEATURE_ECLASS} ]]; then -_OPTFEATURE_ECLASS=1 - # @ECLASS_VARIABLE: _OPTFEATURE_DEFAULT_HEADER # @INTERNAL # @DESCRIPTION: From 7b97f604331dc59c9c837f219989abebbe90ec08 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:38:44 +0000 Subject: [PATCH 139/243] eclass/python-utils-r1: Sync with Gentoo It's from Gentoo commit 7379aff75fbe5a0922b75cae4ce052f8831f72ff. Signed-off-by: Flatcar Buildbot --- .../eclass/python-utils-r1.eclass | 34 ++++++++++++++----- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/python-utils-r1.eclass b/sdk_container/src/third_party/portage-stable/eclass/python-utils-r1.eclass index 6230cba30d9..023d951d54d 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/python-utils-r1.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/python-utils-r1.eclass @@ -39,9 +39,8 @@ inherit multiprocessing toolchain-funcs # @DESCRIPTION: # All supported Python implementations, most preferred last. _PYTHON_ALL_IMPLS=( - pypy3_11 - python3_{13..15}t - python3_{11..15} + python3_{14..15}t + python3_{12..15} ) readonly _PYTHON_ALL_IMPLS @@ -51,9 +50,10 @@ readonly _PYTHON_ALL_IMPLS # All historical Python implementations that are no longer supported. _PYTHON_HISTORICAL_IMPLS=( jython2_7 - pypy pypy1_{8,9} pypy2_0 pypy3 + pypy pypy1_{8,9} pypy2_0 pypy3 pypy3_11 python2_{5..7} - python3_{1..10} + python3_{1..11} + python3_13t ) readonly _PYTHON_HISTORICAL_IMPLS @@ -137,9 +137,16 @@ _python_set_impls() { # please keep them in sync with _PYTHON_ALL_IMPLS # and _PYTHON_HISTORICAL_IMPLS case ${i} in - pypy3_11|python3_9|python3_1[1-5]|python3_1[3-5]t) + python3_1[2-5]|python3_1[4-5]t) ;; - jython2_7|pypy|pypy1_[89]|pypy2_0|pypy3|python2_[5-7]|python3_[1-9]|python3_10) + # implementations deprecated prior to EAPI 9 are fatal + jython2_7|pypy|pypy1_[89]|pypy2_0|pypy3|pypy3_11|python2_[5-7]|python3_[1-9]|python3_1[01]|python3_13t) + [[ ${EAPI} != [78] ]] && + die "Please remove old implementations from PYTHON_COMPAT for EAPI ${EAPI}" + ;& + # implementations deprecated after EAPI 9 are non-fatal + # (none yet, hence placeholder) + python3_x) obsolete+=( "${i}" ) ;; *) @@ -230,10 +237,18 @@ _python_impl_matches() { fi return 0 ;; - 3.[89]|3.1[0-5]) + 3.[89]|3.10) + [[ ${EAPI} != [78] ]] && + die "Please remove old implementations from ${FUNCNAME[1]} in EAPI ${EAPI}" + ;& + 3.1[1-5]) [[ ${impl%t} == python${pattern/./_} || ${impl} == pypy${pattern/./_} ]] && return 0 ;; + jython2_7|pypy|pypy1_[89]|pypy2_0|pypy3|python2_[5-7]|python3_[1-9]|python3_10) + [[ ${EAPI} != [78] ]] && + die "Please remove old implementations from ${FUNCNAME[1]} in EAPI ${EAPI}" + ;; *) # unify value style to allow lax matching [[ ${impl} == ${pattern/./_} ]] && return 0 @@ -1590,7 +1605,8 @@ epytest() { ) if [[ ${MAKEFLAGS} == *--jobserver-auth=* ]]; then - if has_version "dev-python/pytest-jobserver[${PYTHON_USEDEP}]" + local usedep="python_targets_${EPYTHON/./_}(-)" + if has_version "dev-python/pytest-jobserver[${usedep}]" then args+=( -p jobserver ) elif [[ ! ${_EPYTEST_JOBSERVER_WARNED} ]]; then From 0431d55bc12c523e76a3a6e00714fb38d7d6c5f2 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:38:44 +0000 Subject: [PATCH 140/243] eclass/qmake-utils: Sync with Gentoo It's from Gentoo commit e7388372d4f14850f5375445f6bcec32dabc7ac6. Signed-off-by: Flatcar Buildbot --- .../portage-stable/eclass/qmake-utils.eclass | 61 ++++--------------- 1 file changed, 12 insertions(+), 49 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/qmake-utils.eclass b/sdk_container/src/third_party/portage-stable/eclass/qmake-utils.eclass index 1be7524693a..024d23a32f2 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/qmake-utils.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/qmake-utils.eclass @@ -6,24 +6,29 @@ # qt@gentoo.org # @AUTHOR: # Davide Pesavento -# @SUPPORTED_EAPIS: 8 +# @SUPPORTED_EAPIS: 8 9 +# @PROVIDES: qt-utils # @BLURB: Common functions for qmake-based packages. # @DESCRIPTION: # Utility eclass providing wrapper functions for Qt qmake. # +# This eclass unconditionally inherits qt-utils.eclass and all its public +# helper functions may be considered as part of this eclass's API. +# # This eclass does not set any metadata variables nor export any phase # functions. It can be inherited safely. +if [[ -z ${_QMAKE_UTILS_ECLASS} ]]; then +_QMAKE_UTILS_ECLASS=1 + case ${EAPI} in - 8) ;; + 8|9) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac -if [[ -z ${_QMAKE_UTILS_ECLASS} ]]; then -_QMAKE_UTILS_ECLASS=1 - -inherit toolchain-funcs +inherit qt-utils toolchain-funcs +if [[ ${EAPI} == 8 ]]; then # @FUNCTION: qt5_get_bindir # @DESCRIPTION: # Echoes the directory where Qt5 binaries are installed. @@ -118,49 +123,7 @@ eqmake5() { die "eqmake5 failed" fi } - -# @FUNCTION: qt6_get_bindir -# @DESCRIPTION: -# Echoes the directory where Qt6 binaries are installed. -# EPREFIX is already prepended to the returned path. -qt6_get_bindir() { - echo ${EPREFIX}$(qt6_get_libdir)/qt6/bin -} - -# @FUNCTION: qt6_get_headerdir -# @DESCRIPTION: -# Echoes the directory where Qt6 headers are installed. -qt6_get_headerdir() { - echo /usr/include/qt6 -} - -# @FUNCTION: qt6_get_libdir -# @DESCRIPTION: -# Echoes the directory where Qt6 libraries are installed. -qt6_get_libdir() { - echo /usr/$(get_libdir) -} - -# @FUNCTION: qt6_get_libexecdir -# @DESCRIPTION: -# Echoes the directory where Qt6 libexec bins are installed. -qt6_get_libexecdir() { - echo $(qt6_get_libdir)/qt6/libexec -} - -# @FUNCTION: qt6_get_mkspecsdir -# @DESCRIPTION: -# Echoes the directory where Qt6 mkspecs are installed. -qt6_get_mkspecsdir() { - echo $(qt6_get_libdir)/qt6/mkspecs -} - -# @FUNCTION: qt6_get_plugindir -# @DESCRIPTION: -# Echoes the directory where Qt6 plugins are installed. -qt6_get_plugindir() { - echo $(qt6_get_libdir)/qt6/plugins -} +fi # @FUNCTION: qt6_get_qmake_args # @DESCRIPTION: From 880052d5c04615cc9fdbe7882238ec7f4626a43e Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:38:57 +0000 Subject: [PATCH 141/243] eclass/secureboot: Sync with Gentoo It's from Gentoo commit 354ec1fc6a2794d3b0e77b21f4e9656b43c73f7f. Signed-off-by: Flatcar Buildbot --- .../portage-stable/eclass/secureboot.eclass | 58 ++++++++++++++----- 1 file changed, 45 insertions(+), 13 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/secureboot.eclass b/sdk_container/src/third_party/portage-stable/eclass/secureboot.eclass index 7361465ee2d..15c86e58ffa 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/secureboot.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/secureboot.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: secureboot.eclass @@ -51,6 +51,15 @@ BDEPEND=" ) " +# @ECLASS_VARIABLE: SECUREBOOT_SIGN_CERT +# @USER_VARIABLE +# @DEFAULT_UNSET +# @DESCRIPTION: +# Used with USE=secureboot. Should be set to the path of the public +# key certificate in PEM format to use. +# If unspecified the SECUREBOOT_SIGN_KEY is assumed to also contain the +# certificate belonging to it. + # @ECLASS_VARIABLE: SECUREBOOT_SIGN_KEY # @USER_VARIABLE # @DEFAULT_UNSET @@ -65,14 +74,16 @@ BDEPEND=" # If none of these exist, a new key will be generated at # /etc/portage/secureboot.pem. -# @ECLASS_VARIABLE: SECUREBOOT_SIGN_CERT +# @ECLASS_VARIABLE: SECUREBOOT_SIGN_TOOL # @USER_VARIABLE -# @DEFAULT_UNSET # @DESCRIPTION: -# Used with USE=secureboot. Should be set to the path of the public -# key certificate in PEM format to use. -# If unspecified the SECUREBOOT_SIGN_KEY is assumed to also contain the -# certificate belonging to it. +# Used with USE=secureboot. May be set to a signing tool to use when +# signing EFI files. +# +# Valid values: sbsign,systemd-sbsign +# +# Default if unset: sbsign +: "${SECUREBOOT_SIGN_TOOL:=sbsign}" if [[ -z ${_SECUREBOOT_ECLASS} ]]; then _SECUREBOOT_ECLASS=1 @@ -220,15 +231,36 @@ secureboot_sign_efi_file() { ewarn "${input_file} already signed, skipping" return=0 else + # Common arguments local args=( - "--key=${SECUREBOOT_SIGN_KEY}" - "--cert=${SECUREBOOT_SIGN_CERT}" + "--output=${output_file}" ) - if [[ ${SECUREBOOT_SIGN_KEY} == pkcs11:* ]]; then - args+=( --engine=pkcs11 ) - fi - sbsign "${args[@]}" "${input_file}" --output "${output_file}" + case ${SECUREBOOT_SIGN_TOOL} in + sbsign) + args+=( + "--key=${SECUREBOOT_SIGN_KEY}" + "--cert=${SECUREBOOT_SIGN_CERT}" + ) + if [[ ${SECUREBOOT_SIGN_KEY} == pkcs11:* ]]; then + args+=( "--engine=pkcs11" ) + fi + + "${EPREFIX}/usr/bin/sbsign" "${input_file}" "${args[@]}" + ;; + systemd-sbsign) + args+=( + "--private-key=${SECUREBOOT_SIGN_KEY}" + "--certificate=${SECUREBOOT_SIGN_CERT}" + ) + if [[ ${SECUREBOOT_SIGN_KEY} == pkcs11:* ]]; then + args+=( "--private-key-source=engine:pkcs11" ) + fi + + "${EPREFIX}/usr/lib/systemd/systemd-sbsign" sign "${input_file}" "${args[@]}" + ;; + *) die "Unsupported value SECUREBOOT_SIGN_TOOL=${SECUREBOOT_SIGN_TOOL}" ;; + esac return=${?} fi eend ${return} || die "Signing ${input_file} failed" From 9b698977240a198e87c0f7b5706a0e5436ffb81d Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:38:58 +0000 Subject: [PATCH 142/243] eclass/shell-completion: Sync with Gentoo It's from Gentoo commit ca6495b0406f71d6b721e11db284b5c4ecc0fd5f. Signed-off-by: Flatcar Buildbot --- .../eclass/shell-completion.eclass | 125 ++++++++++++++++-- 1 file changed, 117 insertions(+), 8 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/shell-completion.eclass b/sdk_container/src/third_party/portage-stable/eclass/shell-completion.eclass index caccdee7b19..badf3ada57e 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/shell-completion.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/shell-completion.eclass @@ -1,30 +1,139 @@ -# Copyright 2023-2024 Gentoo Authors +# Copyright 2023-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: shell-completion.eclass # @MAINTAINER: # Jonas Frei # Florian Schmaus +# mgorny@gentoo.org # @AUTHOR: # Alfred Wingate -# @SUPPORTED_EAPIS: 8 -# @PROVIDES: bash-completion-r1 +# @SUPPORTED_EAPIS: 7 8 9 # @BLURB: a few quick functions to install various shell completion files # @DESCRIPTION: # This eclass provides a standardised way to install shell completions -# for popular shells. It inherits the already widely adopted -# 'bash-completion-r1', thus extending on its functionality. +# for popular shells. case ${EAPI} in - 8) ;; + 7|8|9) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" esac if [[ -z ${_SHELL_COMPLETION_ECLASS} ]]; then _SHELL_COMPLETION_ECLASS=1 -# Extend bash-completion-r1 -inherit bash-completion-r1 +if [[ ${EAPI} != 9 ]]; then +inherit toolchain-funcs +fi + +# @FUNCTION: _bash-completion-r1_get_bashdir +# @INTERNAL +# @DESCRIPTION: +# First argument is name of the string in bash-completion.pc +# Second argument is the fallback directory if the string is not found +# Note that the first argument is only used on EAPI < 9. +# @EXAMPLE: +# _bash-completion-r1_get_bashdir completionsdir /usr/share/bash-completion +_bash-completion-r1_get_bashdir() { + debug-print-function ${FUNCNAME} "$@" + + if [[ ${EAPI} != 9 ]] && $(tc-getPKG_CONFIG) --exists bash-completion &>/dev/null; then + local path + path=$($(tc-getPKG_CONFIG) --variable="${1}" bash-completion) || die + # we need to return unprefixed, so strip from what pkg-config returns + # to us, bug #477692 + echo "${path#"${EPREFIX}"}" + return + fi + + echo "${2}" +} + +# @FUNCTION: _bash-completion-r1_get_bashcompdir +# @INTERNAL +# @DESCRIPTION: +# Get unprefixed bash-completion completions directory. +_bash-completion-r1_get_bashcompdir() { + debug-print-function ${FUNCNAME} "$@" + + _bash-completion-r1_get_bashdir completionsdir /usr/share/bash-completion/completions +} + +# @FUNCTION: _bash-completion-r1_get_bashhelpersdir +# @INTERNAL +# @DESCRIPTION: +# Get unprefixed bash-completion helpers directory. +_bash-completion-r1_get_bashhelpersdir() { + debug-print-function ${FUNCNAME} "$@" + + _bash-completion-r1_get_bashdir helpersdir /usr/share/bash-completion/helpers +} + +# @FUNCTION: get_bashcompdir +# @DESCRIPTION: +# Get the bash-completion completions directory. +get_bashcompdir() { + debug-print-function ${FUNCNAME} "$@" + + echo "${EPREFIX}$(_bash-completion-r1_get_bashcompdir)" +} + +# @FUNCTION: get_bashhelpersdir +# @INTERNAL +# @DESCRIPTION: +# Get the bash-completion helpers directory. +get_bashhelpersdir() { + debug-print-function ${FUNCNAME} "$@" + + echo "${EPREFIX}$(_bash-completion-r1_get_bashhelpersdir)" +} + +# @FUNCTION: dobashcomp +# @USAGE: [...] +# @DESCRIPTION: +# Install bash-completion files passed as args. Has EAPI-dependent failure +# behavior (like doins). +dobashcomp() { + debug-print-function ${FUNCNAME} "$@" + + ( + insopts -m 0644 + insinto "$(_bash-completion-r1_get_bashcompdir)" + doins "${@}" + ) +} + +# @FUNCTION: newbashcomp +# @USAGE: +# @DESCRIPTION: +# Install bash-completion file under a new name. Has EAPI-dependent failure +# behavior (like newins). +newbashcomp() { + debug-print-function ${FUNCNAME} "$@" + + ( + insopts -m 0644 + insinto "$(_bash-completion-r1_get_bashcompdir)" + newins "${@}" + ) +} + +# @FUNCTION: bashcomp_alias +# @USAGE: ... +# @DESCRIPTION: +# Alias completion to one or more commands (es). +bashcomp_alias() { + debug-print-function ${FUNCNAME} "$@" + + [[ ${#} -lt 2 ]] && die "Usage: ${FUNCNAME} ..." + local base=${1} f + shift + + for f; do + dosym "${base}" "$(_bash-completion-r1_get_bashcompdir)/${f}" \ + || return + done +} # @FUNCTION: _shell-completion_get_fishcompdir # @INTERNAL From 8d11e8708be31b6b8e911546caeb3dfd213942ff Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:39:11 +0000 Subject: [PATCH 143/243] eclass/toolchain: Sync with Gentoo It's from Gentoo commit 1477a7c7b284babad88acd5a5cdba3f7f8237529. Signed-off-by: Flatcar Buildbot --- .../third_party/portage-stable/eclass/toolchain.eclass | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass b/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass index c89e7d21ee4..5c9a4a2648d 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/toolchain.eclass @@ -1115,6 +1115,7 @@ toolchain_setup_ada() { ! tc-is-cross-compiler && _toolchain_make_gnat_wrappers export CC="$(tc-getCC) -specs=${T}/ada.spec" + export CXX="$(tc-getCXX) -specs=${T}/ada.spec" if ver_test ${PV} -lt 13 && [[ ${CTARGET#accel-} == hppa* ]] ; then # For HPPA, the ada-bootstrap binaries seem to default @@ -1154,6 +1155,8 @@ toolchain_setup_d() { die "Did not find any appropriate GDC compiler installed" fi + export CC=${bootstrap_gcc_bin_dir}/${CHOST}-gcc + export CXX=${bootstrap_gcc_bin_dir}/${CHOST}-g++ export GDC=${bootstrap_gcc_bin_dir}/${CHOST}-gdc } @@ -1285,8 +1288,12 @@ toolchain_src_configure() { _tc_use_if_iuse d && [[ ${GCCMAJOR} -ge 12 ]] } - _need_ada_bootstrap_mangling && toolchain_setup_ada + # D goes first because while we'd like a matching CC/CXX for it, + # it's not critical like it is for Ada, where a configure test + # fails when trying to find GNAT w/o it. D has the benefit of the + # GDC envvar. _need_d_bootstrap && toolchain_setup_d + _need_ada_bootstrap_mangling && toolchain_setup_ada confgcc+=( --enable-languages=${GCC_LANG} ) From edf9ea29143b0d0becc18dc82dc416db19314c9b Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:39:11 +0000 Subject: [PATCH 144/243] eclass/tree-sitter-grammar: Sync with Gentoo It's from Gentoo commit 3ae25a35e7227fc0ee8309b519054906674fa890. Signed-off-by: Flatcar Buildbot --- .../portage-stable/eclass/tree-sitter-grammar.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/tree-sitter-grammar.eclass b/sdk_container/src/third_party/portage-stable/eclass/tree-sitter-grammar.eclass index 9ddbcfc3875..5827b0db9be 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/tree-sitter-grammar.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/tree-sitter-grammar.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: tree-sitter-grammar.eclass @@ -46,7 +46,7 @@ for _BINDING in "${TS_BINDINGS[@]}"; do DISTUTILS_EXT=1 DISTUTILS_OPTIONAL=1 DISTUTILS_USE_PEP517=setuptools - PYTHON_COMPAT=( python3_{11..14} ) + PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 IUSE+=" python" From 93ba9ffbd2cf63a298dd9656c8037a83b61bcab3 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:39:44 +0000 Subject: [PATCH 145/243] licenses: Sync with Gentoo It's from Gentoo commit 1024bc76261732b52814873a12e86ef28d6115d6. Signed-off-by: Flatcar Buildbot --- .../portage-stable/licenses/Boost-1.0 | 23 - .../portage-stable/licenses/EUPL-1.2 | 191 ++++++++ .../licenses/GPL-2+-with-eCos-exception-2 | 12 + .../third_party/portage-stable/licenses/MIT-0 | 16 + .../portage-stable/licenses/NVIDIA-2025 | 416 ++++++++++++++++++ .../portage-stable/licenses/Unicode-DFS-2016 | 60 --- .../portage-stable/licenses/Unlicense | 24 - 7 files changed, 635 insertions(+), 107 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/licenses/Boost-1.0 create mode 100644 sdk_container/src/third_party/portage-stable/licenses/EUPL-1.2 create mode 100644 sdk_container/src/third_party/portage-stable/licenses/GPL-2+-with-eCos-exception-2 create mode 100644 sdk_container/src/third_party/portage-stable/licenses/MIT-0 create mode 100644 sdk_container/src/third_party/portage-stable/licenses/NVIDIA-2025 delete mode 100644 sdk_container/src/third_party/portage-stable/licenses/Unicode-DFS-2016 delete mode 100644 sdk_container/src/third_party/portage-stable/licenses/Unlicense diff --git a/sdk_container/src/third_party/portage-stable/licenses/Boost-1.0 b/sdk_container/src/third_party/portage-stable/licenses/Boost-1.0 deleted file mode 100644 index 36b7cd93cdf..00000000000 --- a/sdk_container/src/third_party/portage-stable/licenses/Boost-1.0 +++ /dev/null @@ -1,23 +0,0 @@ -Boost Software License - Version 1.0 - August 17th, 2003 - -Permission is hereby granted, free of charge, to any person or organization -obtaining a copy of the software and accompanying documentation covered by -this license (the "Software") to use, reproduce, display, distribute, -execute, and transmit the Software, and to prepare derivative works of the -Software, and to permit third-parties to whom the Software is furnished to -do so, all subject to the following: - -The copyright notices in the Software and this entire statement, including -the above license grant, this restriction and the following disclaimer, -must be included in all copies of the Software, in whole or in part, and -all derivative works of the Software, unless such copies or derivative -works are solely in the form of machine-executable object code generated by -a source language processor. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT -SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE -FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, -ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. diff --git a/sdk_container/src/third_party/portage-stable/licenses/EUPL-1.2 b/sdk_container/src/third_party/portage-stable/licenses/EUPL-1.2 new file mode 100644 index 00000000000..4e2a69e7605 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/licenses/EUPL-1.2 @@ -0,0 +1,191 @@ +EUROPEAN UNION PUBLIC LICENCE v. 1.2 +EUPL © the European Union 2007, 2016 + +This European Union Public Licence (the ‘EUPL’) applies to the Work (as defined below) which is provided under the +terms of this Licence. Any use of the Work, other than as authorised under this Licence is prohibited (to the extent such +use is covered by a right of the copyright holder of the Work). +The Work is provided under the terms of this Licence when the Licensor (as defined below) has placed the following +notice immediately following the copyright notice for the Work: + Licensed under the EUPL +or has expressed by any other means his willingness to license under the EUPL. + +1.Definitions +In this Licence, the following terms have the following meaning: +— ‘The Licence’:this Licence. +— ‘The Original Work’:the work or software distributed or communicated by the Licensor under this Licence, available +as Source Code and also as Executable Code as the case may be. +— ‘Derivative Works’:the works or software that could be created by the Licensee, based upon the Original Work or +modifications thereof. This Licence does not define the extent of modification or dependence on the Original Work +required in order to classify a work as a Derivative Work; this extent is determined by copyright law applicable in +the country mentioned in Article 15. +— ‘The Work’:the Original Work or its Derivative Works. +— ‘The Source Code’:the human-readable form of the Work which is the most convenient for people to study and +modify. +— ‘The Executable Code’:any code which has generally been compiled and which is meant to be interpreted by +a computer as a program. +— ‘The Licensor’:the natural or legal person that distributes or communicates the Work under the Licence. +— ‘Contributor(s)’:any natural or legal person who modifies the Work under the Licence, or otherwise contributes to +the creation of a Derivative Work. +— ‘The Licensee’ or ‘You’:any natural or legal person who makes any usage of the Work under the terms of the +Licence. +— ‘Distribution’ or ‘Communication’:any act of selling, giving, lending, renting, distributing, communicating, +transmitting, or otherwise making available, online or offline, copies of the Work or providing access to its essential +functionalities at the disposal of any other natural or legal person. + +2.Scope of the rights granted by the Licence +The Licensor hereby grants You a worldwide, royalty-free, non-exclusive, sublicensable licence to do the following, for +the duration of copyright vested in the Original Work: +— use the Work in any circumstance and for all usage, +— reproduce the Work, +— modify the Work, and make Derivative Works based upon the Work, +— communicate to the public, including the right to make available or display the Work or copies thereof to the public +and perform publicly, as the case may be, the Work, +— distribute the Work or copies thereof, +— lend and rent the Work or copies thereof, +— sublicense rights in the Work or copies thereof. +Those rights can be exercised on any media, supports and formats, whether now known or later invented, as far as the +applicable law permits so. +In the countries where moral rights apply, the Licensor waives his right to exercise his moral right to the extent allowed +by law in order to make effective the licence of the economic rights here above listed. +The Licensor grants to the Licensee royalty-free, non-exclusive usage rights to any patents held by the Licensor, to the +extent necessary to make use of the rights granted on the Work under this Licence. + +3.Communication of the Source Code +The Licensor may provide the Work either in its Source Code form, or as Executable Code. If the Work is provided as +Executable Code, the Licensor provides in addition a machine-readable copy of the Source Code of the Work along with +each copy of the Work that the Licensor distributes or indicates, in a notice following the copyright notice attached to +the Work, a repository where the Source Code is easily and freely accessible for as long as the Licensor continues to +distribute or communicate the Work. + +4.Limitations on copyright +Nothing in this Licence is intended to deprive the Licensee of the benefits from any exception or limitation to the +exclusive rights of the rights owners in the Work, of the exhaustion of those rights or of other applicable limitations +thereto. + +5.Obligations of the Licensee +The grant of the rights mentioned above is subject to some restrictions and obligations imposed on the Licensee. Those +obligations are the following: + +Attribution right: The Licensee shall keep intact all copyright, patent or trademarks notices and all notices that refer to +the Licence and to the disclaimer of warranties. The Licensee must include a copy of such notices and a copy of the +Licence with every copy of the Work he/she distributes or communicates. The Licensee must cause any Derivative Work +to carry prominent notices stating that the Work has been modified and the date of modification. + +Copyleft clause: If the Licensee distributes or communicates copies of the Original Works or Derivative Works, this +Distribution or Communication will be done under the terms of this Licence or of a later version of this Licence unless +the Original Work is expressly distributed only under this version of the Licence — for example by communicating +‘EUPL v. 1.2 only’. The Licensee (becoming Licensor) cannot offer or impose any additional terms or conditions on the +Work or Derivative Work that alter or restrict the terms of the Licence. + +Compatibility clause: If the Licensee Distributes or Communicates Derivative Works or copies thereof based upon both +the Work and another work licensed under a Compatible Licence, this Distribution or Communication can be done +under the terms of this Compatible Licence. For the sake of this clause, ‘Compatible Licence’ refers to the licences listed +in the appendix attached to this Licence. Should the Licensee's obligations under the Compatible Licence conflict with +his/her obligations under this Licence, the obligations of the Compatible Licence shall prevail. + +Provision of Source Code: When distributing or communicating copies of the Work, the Licensee will provide +a machine-readable copy of the Source Code or indicate a repository where this Source will be easily and freely available +for as long as the Licensee continues to distribute or communicate the Work. +Legal Protection: This Licence does not grant permission to use the trade names, trademarks, service marks, or names +of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and +reproducing the content of the copyright notice. + +6.Chain of Authorship +The original Licensor warrants that the copyright in the Original Work granted hereunder is owned by him/her or +licensed to him/her and that he/she has the power and authority to grant the Licence. +Each Contributor warrants that the copyright in the modifications he/she brings to the Work are owned by him/her or +licensed to him/her and that he/she has the power and authority to grant the Licence. +Each time You accept the Licence, the original Licensor and subsequent Contributors grant You a licence to their contributions +to the Work, under the terms of this Licence. + +7.Disclaimer of Warranty +The Work is a work in progress, which is continuously improved by numerous Contributors. It is not a finished work +and may therefore contain defects or ‘bugs’ inherent to this type of development. +For the above reason, the Work is provided under the Licence on an ‘as is’ basis and without warranties of any kind +concerning the Work, including without limitation merchantability, fitness for a particular purpose, absence of defects or +errors, accuracy, non-infringement of intellectual property rights other than copyright as stated in Article 6 of this +Licence. +This disclaimer of warranty is an essential part of the Licence and a condition for the grant of any rights to the Work. + +8.Disclaimer of Liability +Except in the cases of wilful misconduct or damages directly caused to natural persons, the Licensor will in no event be +liable for any direct or indirect, material or moral, damages of any kind, arising out of the Licence or of the use of the +Work, including without limitation, damages for loss of goodwill, work stoppage, computer failure or malfunction, loss +of data or any commercial damage, even if the Licensor has been advised of the possibility of such damage. However, +the Licensor will be liable under statutory product liability laws as far such laws apply to the Work. + +9.Additional agreements +While distributing the Work, You may choose to conclude an additional agreement, defining obligations or services +consistent with this Licence. However, if accepting obligations, You may act only on your own behalf and on your sole +responsibility, not on behalf of the original Licensor or any other Contributor, and only if You agree to indemnify, +defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against such Contributor by +the fact You have accepted any warranty or additional liability. + +10.Acceptance of the Licence +The provisions of this Licence can be accepted by clicking on an icon ‘I agree’ placed under the bottom of a window +displaying the text of this Licence or by affirming consent in any other similar way, in accordance with the rules of +applicable law. Clicking on that icon indicates your clear and irrevocable acceptance of this Licence and all of its terms +and conditions. +Similarly, you irrevocably accept this Licence and all of its terms and conditions by exercising any rights granted to You +by Article 2 of this Licence, such as the use of the Work, the creation by You of a Derivative Work or the Distribution +or Communication by You of the Work or copies thereof. + +11.Information to the public +In case of any Distribution or Communication of the Work by means of electronic communication by You (for example, +by offering to download the Work from a remote location) the distribution channel or media (for example, a website) +must at least provide to the public the information requested by the applicable law regarding the Licensor, the Licence +and the way it may be accessible, concluded, stored and reproduced by the Licensee. + +12.Termination of the Licence +The Licence and the rights granted hereunder will terminate automatically upon any breach by the Licensee of the terms +of the Licence. +Such a termination will not terminate the licences of any person who has received the Work from the Licensee under +the Licence, provided such persons remain in full compliance with the Licence. + +13.Miscellaneous +Without prejudice of Article 9 above, the Licence represents the complete agreement between the Parties as to the +Work. +If any provision of the Licence is invalid or unenforceable under applicable law, this will not affect the validity or +enforceability of the Licence as a whole. Such provision will be construed or reformed so as necessary to make it valid +and enforceable. +The European Commission may publish other linguistic versions or new versions of this Licence or updated versions of +the Appendix, so far this is required and reasonable, without reducing the scope of the rights granted by the Licence. +New versions of the Licence will be published with a unique version number. +All linguistic versions of this Licence, approved by the European Commission, have identical value. Parties can take +advantage of the linguistic version of their choice. + +14.Jurisdiction +Without prejudice to specific agreement between parties, +— any litigation resulting from the interpretation of this License, arising between the European Union institutions, +bodies, offices or agencies, as a Licensor, and any Licensee, will be subject to the jurisdiction of the Court of Justice +of the European Union, as laid down in article 272 of the Treaty on the Functioning of the European Union, +— any litigation arising between other parties and resulting from the interpretation of this License, will be subject to +the exclusive jurisdiction of the competent court where the Licensor resides or conducts its primary business. + +15.Applicable Law +Without prejudice to specific agreement between parties, +— this Licence shall be governed by the law of the European Union Member State where the Licensor has his seat, +resides or has his registered office, +— this licence shall be governed by Belgian law if the Licensor has no seat, residence or registered office inside +a European Union Member State. + + + Appendix + +‘Compatible Licences’ according to Article 5 EUPL are: +— GNU General Public License (GPL) v. 2, v. 3 +— GNU Affero General Public License (AGPL) v. 3 +— Open Software License (OSL) v. 2.1, v. 3.0 +— Eclipse Public License (EPL) v. 1.0 +— CeCILL v. 2.0, v. 2.1 +— Mozilla Public Licence (MPL) v. 2 +— GNU Lesser General Public Licence (LGPL) v. 2.1, v. 3 +— Creative Commons Attribution-ShareAlike v. 3.0 Unported (CC BY-SA 3.0) for works other than software +— European Union Public Licence (EUPL) v. 1.1, v. 1.2 +— Québec Free and Open-Source Licence — Reciprocity (LiLiQ-R) or Strong Reciprocity (LiLiQ-R+). + +The European Commission may update this Appendix to later versions of the above licences without producing +a new version of the EUPL, as long as they provide the rights granted in Article 2 of this Licence and protect the +covered Source Code from exclusive appropriation. +All other changes or additions to this Appendix require the production of a new EUPL version. + diff --git a/sdk_container/src/third_party/portage-stable/licenses/GPL-2+-with-eCos-exception-2 b/sdk_container/src/third_party/portage-stable/licenses/GPL-2+-with-eCos-exception-2 new file mode 100644 index 00000000000..e5cceeaf5f2 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/licenses/GPL-2+-with-eCos-exception-2 @@ -0,0 +1,12 @@ +GNU General Public License, version 2 or any later version. +See GPL-2 or GPL-3 for the full text of these licenses. + +As a special exception, if other files instantiate templates or use macros or +inline functions from this file, or you compile this file and link it with +other works to produce a work based on this file, this file does not by itself +cause the resulting work to be covered by the GNU General Public License. +However the source code for this file must still be made available in +accordance with section (3) of the GNU General Public License v2. + +This exception does not invalidate any other reasons why a work based on this +file might be covered by the GNU General Public License. diff --git a/sdk_container/src/third_party/portage-stable/licenses/MIT-0 b/sdk_container/src/third_party/portage-stable/licenses/MIT-0 new file mode 100644 index 00000000000..0b9a51dfea6 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/licenses/MIT-0 @@ -0,0 +1,16 @@ +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/sdk_container/src/third_party/portage-stable/licenses/NVIDIA-2025 b/sdk_container/src/third_party/portage-stable/licenses/NVIDIA-2025 new file mode 100644 index 00000000000..eebf02d403f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/licenses/NVIDIA-2025 @@ -0,0 +1,416 @@ +NVIDIA Driver License Agreement + +IMPORTANT NOTICE - PLEASE READ AND AGREE BEFORE USING THE SOFTWARE. + +This license agreement ("Agreement") is a legal agreement between you, whether +an individual or entity ("you") and NVIDIA Corporation ("NVIDIA") and governs +your use of the NVIDIA driver, and any additional software and materials +provided (the "SOFTWARE"). + +If you don't have the required age or authority to enter into this Agreement or +if you don't accept all the terms below, do not use the SOFTWARE. + +You agree to use the SOFTWARE only for purposes that are permitted by this +Agreement and any applicable law or regulation in the relevant jurisdictions. + +1. License. + +1.1 Subject to the terms of this Agreement, NVIDIA grants you a non-exclusive, +revocable, non-transferable and non-sublicensable (except as expressly provided +in this Agreement) license to: + +a. Install and use copies of the SOFTWARE, + +b. Modify and create derivative works of any portion of the SOFTWARE delivered +by NVIDIA in source code format, + +c. Deploy, for your own use, the SOFTWARE on infrastructure you own or lease, +and + +d. Distribute the SOFTWARE provided for use with operating system kernels +distributed under the terms of an OSI-approved open source license as listed by +the Open Source Initiative at http://opensource.org, provided that (i) the +binary files thereof are not modified in any way (except for uncompressing of +compressed files) and (ii) this Agreement is provided to each SOFTWARE +recipient. + +2. Limitations. + +The following license limitations apply to your use of the SOFTWARE: + +2.1 The SOFTWARE is only licensed for use in conjunction with microprocessor(s), +SoCs, and GPUs which have been (i) designed by NVIDIA and/or its affiliates and +(ii) sold (directly or indirectly) by NVIDIA and/or its affiliates ("NVIDIA +Platform"). You may only use firmware in NVIDIA Platforms. You may not translate +firmware, nor cause or permit firmware to be translated, from the architecture +or language in which it is originally provided by NVIDIA, into any other +architecture or language. + +2.2 You may not reverse engineer, decompile, or disassemble the SOFTWARE +provided in binary form, nor attempt in any other manner to obtain source code +of such SOFTWARE. + +2.3 You may not modify or create derivative works of the SOFTWARE provided in +binary form. + +2.4 You may not distribute any modified header files. + +2.5 You may not change or remove copyright or other proprietary notices in the +SOFTWARE, or misrepresent the authorship of the SOFTWARE, and you must cause any +modified files to carry prominent notices stating that you changed the files +such that modifications are not misrepresented as an original SOFTWARE. + +2.6 You may not bypass, disable, or circumvent any technical limitation, +encryption, security, digital rights management or authentication mechanism in +the SOFTWARE. + +2.7 Except as expressly granted in this Agreement, you may not sell, rent, +sublicense, distribute or transfer the SOFTWARE or provide commercial hosting +services with the SOFTWARE. + +2.8 You agree that GeForce or Titan SOFTWARE: (i) is licensed for use only on +GeForce or Titan hardware products you own, and (ii) is not licensed for +datacenter deployment. + +2.9 You may not use the SOFTWARE in any manner that would cause it to become +subject to an open source software license, subject to the terms in the +"Components Under Other Licenses" section below. + +2.10 You acknowledge that the SOFTWARE as delivered is not tested or certified +by NVIDIA for use in any system or application where the use of or failure of +such system or application developed with the SOFTWARE could result in injury, +death or catastrophic damage (each, a "Critical Application"). Examples of +Critical Applications include use in avionics, navigation, autonomous vehicle +applications, automotive products, military, medical, life support or other life +critical applications. NVIDIA will not be liable to you or any third party, in +whole or in part, for any claims or damages arising from these uses. You are +solely responsible for ensuring that systems and applications developed with the +SOFTWARE include sufficient safety and redundancy features, and comply with all +applicable legal and regulatory standards and requirements. + +2.11 You agree to defend, indemnify and hold harmless NVIDIA and its affiliates, +and their respective employees, contractors, agents, officers and directors, +from and against any and all claims, damages, obligations, losses, liabilities, +costs or debt, fines, restitutions and expenses (including but not limited to +attorney's fees and costs incident to establishing the right of indemnification) +arising out of or related to products or services that have been developed with +or use the SOFTWARE (including for use in or for Critical Applications), and for +use of the SOFTWARE outside of the scope of this Agreement or not in compliance +with its terms. + +3. Authorized Users. + +You may allow employees and contractors of your entity or of your +subsidiary(ies) to access and use the SOFTWARE from your secure network to +perform the work authorized by this Agreement on your behalf. + +If you are an academic institution, you may allow users enrolled or employed by +the academic institution to access and use the SOFTWARE as authorized by this +Agreement from your secure network. + +You are responsible for the compliance with the terms of this Agreement by your +authorized users. Any act or omission that if committed by you would constitute +a breach of this Agreement will be deemed to constitute a breach of this +Agreement if committed by your authorized users. + +4. Pre-Release SOFTWARE. + +The SOFTWARE versions identified as alpha, beta, preview or otherwise as +pre-release may not be fully functional, may contain errors or design flaws, and +may have reduced or different security, privacy, accessibility and reliability +standards relative to commercial versions of NVIDIA software and materials. + +You may use pre-release SOFTWARE at your own risk, understanding that +pre-release SOFTWARE is not intended for use in production or business-critical +systems and NVIDIA may choose not to make available a commercial version of any +pre-release SOFTWARE. + +5. Support and Updates. + +NVIDIA is not obligated to support any SOFTWARE, unless there is a separate +agreement for this purpose. NVIDIA may, at its option, make available patches, +workarounds or other updates to the SOFTWARE. Unless the updates are provided +with their separate governing terms, they are deemed part of the SOFTWARE +licensed to you as provided in this Agreement. + +6. Components Under Other Licenses. + +The SOFTWARE may include or be distributed with components provided with +separate legal notices or terms that accompany the components, such as open +source software licenses and other license terms ("Other Licenses"). The +components are subject to the applicable Other Licenses, including any +proprietary notices, disclaimers, requirements and extended use rights; except +that this Agreement will prevail regarding the use of third-party open source +software, unless a third-party open source software license requires its license +terms to prevail. Open source software license means any software, data or +documentation subject to any license identified as an open source license by the +Open Source Initiative (http://opensource.org), Free Software Foundation +(http://www.fsf.org) or other similar open source organization or listed by the +Software Package Data Exchange (SPDX) Workgroup under the Linux Foundation +(http://www.spdx.org). + +You acknowledge and agree that it is your sole responsibility to obtain any +additional third-party licenses required to make, have made, use, have used, +sell, import, and offer for sale your products or services that include or +incorporate any third-party software and content, including, without limitation, +audio and/or video encoders and decoders and implementations of technical +standards. NVIDIA does not grant to you under this Agreement any necessary +patent or other rights, including standard essential patent rights, with respect +to any third-party software and content. + +7. Termination. + +This Agreement will automatically terminate without notice from NVIDIA if you +fail to comply with any of the terms in this Agreement or if you commence or +participate in any legal proceeding against NVIDIA with respect to the +SOFTWARE. Upon any termination, you must stop using and destroy all copies of +the SOFTWARE. You can terminate this Agreement whenever you want by stopping use +of the SOFTWARE and destroying all copies of the SOFTWARE. Your prior +distributions according to this Agreement are not affected by termination. All +provisions will survive termination, except for the licenses granted to you. + +8. Ownership. + +The SOFTWARE, including all intellectual property rights, is and will remain the +sole and exclusive property of NVIDIA or its licensors. Except as expressly +granted in this Agreement, (i) NVIDIA reserves all rights, interests, and +remedies in connection with the SOFTWARE, and (ii) no other license or right is +granted to you by implication, estoppel or otherwise. You agree to cooperate +with NVIDIA and provide reasonably requested information to verify your +compliance with this Agreement. + +9. Feedback. + +You may, but you are not obligated to, provide suggestions, requests, fixes, +modifications, enhancements, or other feedback regarding the SOFTWARE +(collectively, "Feedback"). Feedback, even if designated as confidential by you, +will not create any confidentiality obligation for NVIDIA or its affiliates. If +you provide Feedback, you grant NVIDIA, its affiliates and its designees a +non-exclusive, perpetual, irrevocable, sublicensable, worldwide, royalty-free, +fully paid-up and transferable license, under your intellectual property rights, +to publicly perform, publicly display, reproduce, use, make, have made, sell, +offer for sale, distribute (through multiple tiers of distribution), import, +create derivative works of and otherwise commercialize and exploit the Feedback +at NVIDIA's discretion. You will not give Feedback (i) that you have reason to +believe is subject to any restriction that impairs the exercise of the grant +stated in this section; or (ii) subject to license terms which seek to require +any product incorporating or developed using such Feedback, or other +intellectual property of NVIDIA or its affiliates, to be licensed to or +otherwise shared with any third party. + +10. Governing Law and Dispute Resolution. + +10.1 Informal Resolution. + +If you or NVIDIA have any dispute, claim or controversy arising out of or +relating to the SOFTWARE or this Agreement ("Dispute"), the parties agree to +work in good faith to resolve the Dispute informally. If you have a Dispute, you +must first contact NVIDIA and give NVIDIA an opportunity to resolve it by +contacting NVIDIA by mail at NVIDIA Corporation, ATTN: Legal, 2788 San Tomas +Expressway, Santa Clara, California, 95051. Either you or NVIDIA may seek to +have a Dispute resolved in small claims court if all the requirements of the +small claims court are satisfied. Either you or NVIDIA may seek to have a +Dispute resolved in small claims court in your county of residence or the small +claims court in closest proximity to your residence at any time before an +arbitrator is appointed, and you may also bring a Dispute in small claims court +in the Superior Court of California, County of Santa Clara. + +10.2 Binding Arbitration. + +For any Disputes that are not resolved informally or by the small claims court, +you and NVIDIA each agree to resolve any such Dispute by binding arbitration +before an arbitrator from Judicial Mediation and Arbitration Services ("JAMS") +(rules available at https://www.jamsadr.com/). Except as otherwise provided in +this section, all issues are for the arbitrator to decide, including +jurisdictional and arbitrability issues and the formation, existence, validity, +interpretation, and scope of this arbitration provision. The arbitration will be +conducted in Santa Clara County, California (or the nearest JAMS office to Santa +Clara County), unless you request an in-person hearing in your hometown or you +and NVIDIA agree otherwise. You and NVIDIA agree that the parties will arbitrate +all Disputes, remedies, and requests for relief subject to individual +arbitration first, the arbitrator will only determine issues of liability on the +merits of any claim asserted, and the arbitrator may only award declaratory or +injunctive relief in favor of the individual party seeking relief and only to +the extent necessary to provide relief warranted by that party's individual +claim. You and NVIDIA agree that any remaining unresolved Disputes, remedies, or +requests for relief may be pursued in court only after the arbitrator's award +has been issued. In any later court proceeding, the arbitrator's factual +findings will not be entitled to deference by the court. Nothing in these terms +will prevent a party from seeking injunctive or other equitable relief from the +courts in any jurisdiction to prevent the actual or threatened violation of that +party's data security, intellectual property rights, or other proprietary +rights. If for any reason this Section 10.2 is unenforceable concerning any +Dispute, and a Dispute proceeds in a court of general jurisdiction, the Dispute +will be exclusively brought in state or federal court located in Santa Clara +County, California. + +10.3 Class Action, Representative Action, & Jury Trial Waiver. + +All Disputes must be brought by a party in its individual capacity, and not as a +plaintiff or class member in any purported class or representative +proceeding. You and NVIDIA agree to waive the right to a jury trial, participate +in class action lawsuits, class-wide arbitrations, any collective, consolidated, +or other proceeding or request for relief where someone acts in a representative +capacity. + +10.4 Right to Opt-Out. + +You may opt-out of the foregoing jury trial, class action, arbitration, and +collective or consolidated proceeding waiver provision by notifying NVIDIA in +writing within 30 days of commencement of use of the SOFTWARE, within 30 days of +the effective date of this Agreement, or within 30 days of any future change +NVIDIA may make to this Section 10.4. Such written notification must be sent by +mail to NVIDIA Corporation, Attn: Legal, 2788 San Tomas Expressway, Santa Clara, +California, 95051 and must include (1) your name, (2) your address, (3) the +reference to NVIDIA drivers as the software to which the notice relates, and (4) +a clear statement indicating that you do not wish to resolve disputes through +arbitration and demonstrating compliance with the 30-day time limit to +opt-out. Any opt-out notification received after the opt-out deadline or not +including the required items noted in (1)-(4) in the preceding sentence will not +be valid and you will be required to pursue your Dispute in arbitration or small +claims court. Opting out of this dispute resolution procedure will not affect +the terms and conditions of this Agreement, which still apply to you. If you +opt-out of any future change NVIDIA may make to this Section 10.4, the most +recent version of Section 10.4 before the change you rejected will apply. + +10.5 Governing Law. + +You and NVIDIA each agree that all Disputes will be governed by the Federal +Arbitration Act, in addition to the internal substantive laws of the State of +Delaware and the United States, without regard to or application of its conflict +of laws rules or principles. The United Nations Convention on Contracts for the +International Sale of Goods is expressly disclaimed. Any translation of this +Agreement is done for local requirements and, if there is a dispute between the +English and any non-English versions, you and NVIDIA agree that the English +version of this Agreement will govern to the extent not prohibited by local law +in your jurisdiction. + +11. Disclaimer of Warranties. + +THE SOFTWARE IS PROVIDED BY NVIDIA AS-IS AND WITH ALL FAULTS. TO THE FULLEST +EXTENT PERMITTED BY APPLICABLE LAW, NVIDIA DISCLAIMS ALL WARRANTIES AND +REPRESENTATIONS OF ANY KIND, WHETHER EXPRESS, IMPLIED OR STATUTORY, RELATING TO +OR ARISING UNDER THIS AGREEMENT, INCLUDING, WITHOUT LIMITATION, THE WARRANTIES +OF TITLE, NONINFRINGEMENT, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, +USAGE OF TRADE AND COURSE OF DEALING. WITHOUT LIMITING THE FOREGOING, NVIDIA +DOES NOT WARRANT THAT THE SOFTWARE WILL MEET YOUR REQUIREMENTS; THAT ANY DEFECTS +OR ERRORS WILL BE CORRECTED; THAT ANY CERTAIN CONTENT WILL BE AVAILABLE; OR THAT +THE SOFTWARE IS FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS. + +In addition, you agree that you are solely responsible for maintaining +appropriate data backups and system restore points for systems that include the +SOFTWARE, and that NVIDIA will have no responsibility for any damage or loss to +such systems (including loss of data or access) arising from or relating to (a) +any changes to the configuration, application settings, environment variables, +registry, drivers, BIOS, or other attributes of the system (or any part of such +system) initiated through the SOFTWARE; or (b) installation of any SOFTWARE or +third party software patches through the NVIDIA update service. + +NO INFORMATION OR ADVICE GIVEN BY NVIDIA WILL IN ANY WAY INCREASE THE SCOPE OF +ANY WARRANTY EXPRESSLY PROVIDED IN THIS AGREEMENT. You are responsible for +checking that a SOFTWARE version is the appropriate one for your NVIDIA product +model, operating system, and computer hardware. + +12. Limitations of Liability. + +TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL NVIDIA BE +LIABLE FOR ANY (I) INDIRECT, PUNITIVE, SPECIAL, INCIDENTAL OR CONSEQUENTIAL +DAMAGES, OR (II) DAMAGES FOR (A) THE COST OF PROCURING SUBSTITUTE GOODS, OR (B) +LOSS OF PROFITS, REVENUES, USE, DATA OR GOODWILL ARISING OUT OF OR RELATED TO +THIS AGREEMENT, WHETHER BASED ON BREACH OF CONTRACT, TORT (INCLUDING +NEGLIGENCE), STRICT LIABILITY, OR OTHERWISE, AND EVEN IF NVIDIA HAS BEEN ADVISED +OF THE POSSIBILITY OF SUCH DAMAGES AND EVEN IF A PARTY'S REMEDIES FAIL THEIR +ESSENTIAL PURPOSE. + +ADDITIONALLY, TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, NVIDIA'S TOTAL +CUMULATIVE AGGREGATE LIABILITY FOR ANY AND ALL LIABILITIES, OBLIGATIONS OR +CLAIMS ARISING OUT OF OR RELATED TO THIS AGREEMENT WILL NOT EXCEED FIVE +U.S. DOLLARS (US$5). + +13. Data Collection. + +If you are using the SOFTWARE on a Windows operating system, you hereby +acknowledge that at the time of SOFTWARE installation, NVIDIA will access and +collect data to: (a) properly configure and optimize the system for use with the +SOFTWARE; (b) deliver content or service through SOFTWARE; and (c) improve +NVIDIA products and services. Information collected may include configuration +data such as GPU and CPU, and operating system. + +The SOFTWARE may contain links to third party websites and services. NVIDIA +encourages you to review the privacy statements on those sites and services that +you choose to visit to understand how they may collect, use and share your +data. NVIDIA is not responsible for the privacy statements or practices of third +party sites or services. + +Please review the NVIDIA Privacy Policy, located at +https://www.nvidia.com/en-us/about-nvidia/privacy-policy, which explains +NVIDIA's policy for collecting and using data. + +14. Assignment. + +NVIDIA may assign, delegate or transfer its rights or obligations under this +Agreement by any means or operation of law. You may not, without NVIDIA's prior +written consent, assign, delegate or transfer any of its rights or obligations +under this Agreement by any means or operation of law, and any attempt to do so +is null and void. + +15. Trade Compliance. + +You agree to comply with all applicable export, import, trade and economic +sanctions laws and regulations, including U.S. Export Administration +Regulations and Office of Foreign Assets Control regulations. These laws include +restrictions on destinations, end-users and end-use. + +16. Government Use. + +The SOFTWARE, including related documentation ("Protected Items") is a +"Commercial product" as this term is defined at 48 C.F.R. 2.101, consisting of +"commercial computer software" and "commercial computer software documentation" +as such terms are used in, respectively, 48 C.F.R. 12.212 and 48 C.F.R. 227.7202 +& 252.227-7014(a)(1). Before any Protected Items are supplied to the +U.S. Government, you will (i) inform the U.S. Government in writing that the +Protected Items are and must be treated as commercial computer software and +commercial computer software documentation developed at private expense; (ii) +inform the U.S. Government that the Protected Items are provided subject to the +terms of this Agreement; and (iii) mark the Protected Items as commercial +computer software and commercial computer software documentation developed at +private expense. In no event will you permit the U.S. Government to acquire +rights in Protected Items beyond those specified in 48 +C.F.R. 52.227-19(b)(1)-(2) or 252.227-7013(c) except as expressly approved by +NVIDIA in writing. + +17. Notices. + +Please direct your legal notices or other correspondence to NVIDIA Corporation, +2788 San Tomas Expressway, Santa Clara, California 95051, United States of +America, Attention: Legal Department. If NVIDIA needs to contact you about the +SOFTWARE, you consent to receive the notices by email and that such notices will +satisfy any legal communication requirements. + +18. Entire Agreement. + +Regarding the subject matter of this Agreement, the parties agree that (i) this +Agreement constitutes the entire and exclusive agreement between the parties and +supersedes all prior and contemporaneous communications and (ii) any additional +or different terms or conditions, whether contained in purchase orders, order +acknowledgments, invoices or otherwise, will not be binding on the receiving +party and are null and void. This Agreement may only be modified in a writing +signed by an authorized representative of each party. + +If a court of competent jurisdiction rules that a provision of this Agreement is +unenforceable, that provision will be deemed modified to the extent necessary to +make it enforceable and the remainder of this Agreement will continue in full +force and effect. + +19. No Waiver. + +No failure or delay by a party to enforce any Agreement term or obligation will +operate as a waiver by that party, or prevent the enforcement of such term or +obligation later. + +20. Licensing. + +For any questions regarding this Agreement, please contact NVIDIA at +driver-licensing@nvidia.com + +(v. February 25, 2025) diff --git a/sdk_container/src/third_party/portage-stable/licenses/Unicode-DFS-2016 b/sdk_container/src/third_party/portage-stable/licenses/Unicode-DFS-2016 deleted file mode 100644 index d41e7a7d6fa..00000000000 --- a/sdk_container/src/third_party/portage-stable/licenses/Unicode-DFS-2016 +++ /dev/null @@ -1,60 +0,0 @@ -UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE - -Unicode Data Files include all data files under the directories -http://www.unicode.org/Public/, http://www.unicode.org/reports/, -http://www.unicode.org/cldr/data/, -http://source.icu-project.org/repos/icu/, and -http://www.unicode.org/utility/trac/browser/. - -Unicode Data Files do not include PDF online code charts under the -directory http://www.unicode.org/Public/. - -Software includes any source code published in the Unicode Standard -or under the directories -http://www.unicode.org/Public/, http://www.unicode.org/reports/, -http://www.unicode.org/cldr/data/, -http://source.icu-project.org/repos/icu/, and -http://www.unicode.org/utility/trac/browser/. - -NOTICE TO USER: Carefully read the following legal agreement. -BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S -DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), -YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE -TERMS AND CONDITIONS OF THIS AGREEMENT. -IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE -THE DATA FILES OR SOFTWARE. - -COPYRIGHT AND PERMISSION NOTICE - -Copyright © 1991-2016 Unicode, Inc. All rights reserved. -Distributed under the Terms of Use in -http://www.unicode.org/copyright.html. - -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Unicode data files and any associated documentation -(the "Data Files") or Unicode software and any associated documentation -(the "Software") to deal in the Data Files or Software -without restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, and/or sell copies of -the Data Files or Software, and to permit persons to whom the Data Files -or Software are furnished to do so, provided that either -(a) this copyright and permission notice appear with all copies -of the Data Files or Software, or -(b) this copyright and permission notice appear in associated -Documentation. - -THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE -WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT OF THIRD PARTY RIGHTS. -IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS -NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL -DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, -DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THE DATA FILES OR SOFTWARE. - -Except as contained in this notice, the name of a copyright holder -shall not be used in advertising or otherwise to promote the sale, -use or other dealings in these Data Files or Software without prior -written authorization of the copyright holder. diff --git a/sdk_container/src/third_party/portage-stable/licenses/Unlicense b/sdk_container/src/third_party/portage-stable/licenses/Unlicense deleted file mode 100644 index 68a49daad8f..00000000000 --- a/sdk_container/src/third_party/portage-stable/licenses/Unlicense +++ /dev/null @@ -1,24 +0,0 @@ -This is free and unencumbered software released into the public domain. - -Anyone is free to copy, modify, publish, use, compile, sell, or -distribute this software, either in source code form or as a compiled -binary, for any purpose, commercial or non-commercial, and by any -means. - -In jurisdictions that recognize copyright laws, the author or authors -of this software dedicate any and all copyright interest in the -software to the public domain. We make this dedication for the benefit -of the public at large and to the detriment of our heirs and -successors. We intend this dedication to be an overt act of -relinquishment in perpetuity of all present and future rights to this -software under copyright law. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR -OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - -For more information, please refer to From 53381c71e357c7897faad4eab539bc45449df185 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:39:45 +0000 Subject: [PATCH 146/243] media-libs/libpng: Sync with Gentoo It's from Gentoo commit 7e2e01c04acbec01393b6fe2b3c843ea7b8132b9. Signed-off-by: Flatcar Buildbot --- .../portage-stable/media-libs/libpng/Manifest | 3 - .../media-libs/libpng/libpng-1.6.55.ebuild | 78 ------------------- .../media-libs/libpng/libpng-1.6.56.ebuild | 78 ------------------- .../media-libs/libpng/libpng-1.6.57.ebuild | 78 ------------------- 4 files changed, 237 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.55.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.56.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.57.ebuild diff --git a/sdk_container/src/third_party/portage-stable/media-libs/libpng/Manifest b/sdk_container/src/third_party/portage-stable/media-libs/libpng/Manifest index 0388c8d44ba..8a67c489095 100644 --- a/sdk_container/src/third_party/portage-stable/media-libs/libpng/Manifest +++ b/sdk_container/src/third_party/portage-stable/media-libs/libpng/Manifest @@ -1,5 +1,2 @@ DIST libpng-1.6.54-libpng-apng-apng.patch.gz 10604 BLAKE2B 8202b80755e6c18227e89567cdb087ac79b4f72862d9a23e29f1271310af4bcb4783a52090e1479724bd9c088a13a7a4e2f2cbda2e958e2c3180619b20ec8a1b SHA512 217449d76fab45707a696ee5926039c6091196abfc33b4e3bec0a5f63d5b17fd4a7e48af41c4cc2536edc527837dc10fe718092d5b1ffc89ee4dc66883e7267a -DIST libpng-1.6.55.tar.xz 1064676 BLAKE2B 2fd88e6e9f4e72edbafbfdd6d8e78522033920a250f8cb37f29ba8e9593cdf006b06f4e73de4e83fc5ddaaa3725362f27f5a16727ae841fd8969b74f28517ec4 SHA512 a9846fc32cb042bcce05f719a5b31255957e1c36ad6ad14dd23cf5eac3ce0b981dc5c34b18dc255e1fffc2cc064d0a77e3a1beb3c7167a0bdc3e1d0103383b4a -DIST libpng-1.6.56.tar.xz 1067028 BLAKE2B f653a3177e0910fc156a792d5522fc2a0c04ce0bb43eabb68e06922303dcf6062d8f9b570440bfe1a94ac1b901ef6e9c32b6882d0f4a406e5a9090ea3396f89a SHA512 e405c46d7c9cf8c6c9fb6cf35b7e8498bb863bb24a918f4a6b1aca9f1e61d8b9feb46cb67a5478b6d87da74b2baf1d1f25c43889866408fc23c0ac498094081f -DIST libpng-1.6.57.tar.xz 1069484 BLAKE2B 7aa96c8aeb829f3aa59040b17b8a52e07c7d2792fd659ca69a2e3e27d902d5c26f2462177e114a958c6720a95f60a7d0fab0a65a1357207d711fa847f2632f26 SHA512 9e7a691b96dd2c2c2ab66666685685a6c29824653aa85b15e764ff4afcebf02cfe776d58881a88d91e9cf60b11958079c923e2ea16bc5374b01a7f3edf56a71d DIST libpng-1.6.58.tar.xz 1070096 BLAKE2B 51042e8f2b56d469b516db9cbde6d4b6813a62d1b7117898ba32a9a5ac5cd73832c627d7377745e5d5154aade6ec6928fc6b9cd9b96885f64b7ca7df19ca40ec SHA512 5937d6409d7ad564c9dba7969c5d39eea8bbc01936f433bf5936c872ec290dea353783f89bded91e124b3b3b15518320097de365acd3b0bcc922a0e90c94adc8 diff --git a/sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.55.ebuild b/sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.55.ebuild deleted file mode 100644 index b446031fc7e..00000000000 --- a/sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.55.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dot-a libtool multilib-minimal - -APNG_REPO=libpng-apng # sometimes libpng-apng is more up to date -APNG_VERSION="1.6.54" -DESCRIPTION="Portable Network Graphics library" -HOMEPAGE="https://www.libpng.org/" -SRC_URI=" - https://downloads.sourceforge.net/${PN}/${P}.tar.xz - apng? ( - https://downloads.sourceforge.net/${APNG_REPO}/${PN}$(ver_rs 1-2 '' $(ver_cut 1-2 ${APNG_VERSION}))/${PV}/${PN}-${APNG_VERSION}-apng.patch.gz -> ${PN}-${APNG_VERSION}-${APNG_REPO}-apng.patch.gz - https://downloads.sourceforge.net/${APNG_REPO}/${PN}$(ver_rs 1-2 '' $(ver_cut 1-2 ${APNG_VERSION}))/${PN}-${APNG_VERSION}-apng.patch.gz -> ${PN}-${APNG_VERSION}-${APNG_REPO}-apng.patch.gz - ) -" - -LICENSE="libpng2" -SLOT="0/16" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="apng cpu_flags_x86_sse static-libs test" -RESTRICT="!test? ( test )" - -RDEPEND=">=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]" -DEPEND=" - ${RDEPEND} - riscv? ( sys-kernel/linux-headers ) -" - -DOCS=( ANNOUNCE CHANGES libpng-manual.txt README TODO ) - -src_prepare() { - default - - if use apng; then - case ${APNG_REPO} in - apng) - eapply -p0 "${WORKDIR}"/${PN}-${APNG_VERSION}-${APNG_REPO}-apng.patch - ;; - libpng-apng) - eapply "${WORKDIR}"/${PN}-${APNG_VERSION}-${APNG_REPO}-apng.patch - ;; - *) - die "Unknown APNG_REPO!" - ;; - esac - - # Don't execute symbols check with apng patch, bug #378111 - sed -i -e '/^check/s:scripts/symbols.chk::' Makefile.in || die - fi - - elibtoolize -} - -src_configure() { - lto-guarantee-fat - multilib-minimal_src_configure -} - -multilib_src_configure() { - local myeconfargs=( - $(multilib_native_enable tools) - $(use_enable test tests) - $(use_enable cpu_flags_x86_sse intel-sse) - $(use_enable static-libs static) - ) - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_install_all() { - default - - strip-lto-bytecode - find "${ED}" \( -type f -o -type l \) -name '*.la' -delete || die -} diff --git a/sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.56.ebuild b/sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.56.ebuild deleted file mode 100644 index b446031fc7e..00000000000 --- a/sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.56.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dot-a libtool multilib-minimal - -APNG_REPO=libpng-apng # sometimes libpng-apng is more up to date -APNG_VERSION="1.6.54" -DESCRIPTION="Portable Network Graphics library" -HOMEPAGE="https://www.libpng.org/" -SRC_URI=" - https://downloads.sourceforge.net/${PN}/${P}.tar.xz - apng? ( - https://downloads.sourceforge.net/${APNG_REPO}/${PN}$(ver_rs 1-2 '' $(ver_cut 1-2 ${APNG_VERSION}))/${PV}/${PN}-${APNG_VERSION}-apng.patch.gz -> ${PN}-${APNG_VERSION}-${APNG_REPO}-apng.patch.gz - https://downloads.sourceforge.net/${APNG_REPO}/${PN}$(ver_rs 1-2 '' $(ver_cut 1-2 ${APNG_VERSION}))/${PN}-${APNG_VERSION}-apng.patch.gz -> ${PN}-${APNG_VERSION}-${APNG_REPO}-apng.patch.gz - ) -" - -LICENSE="libpng2" -SLOT="0/16" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="apng cpu_flags_x86_sse static-libs test" -RESTRICT="!test? ( test )" - -RDEPEND=">=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]" -DEPEND=" - ${RDEPEND} - riscv? ( sys-kernel/linux-headers ) -" - -DOCS=( ANNOUNCE CHANGES libpng-manual.txt README TODO ) - -src_prepare() { - default - - if use apng; then - case ${APNG_REPO} in - apng) - eapply -p0 "${WORKDIR}"/${PN}-${APNG_VERSION}-${APNG_REPO}-apng.patch - ;; - libpng-apng) - eapply "${WORKDIR}"/${PN}-${APNG_VERSION}-${APNG_REPO}-apng.patch - ;; - *) - die "Unknown APNG_REPO!" - ;; - esac - - # Don't execute symbols check with apng patch, bug #378111 - sed -i -e '/^check/s:scripts/symbols.chk::' Makefile.in || die - fi - - elibtoolize -} - -src_configure() { - lto-guarantee-fat - multilib-minimal_src_configure -} - -multilib_src_configure() { - local myeconfargs=( - $(multilib_native_enable tools) - $(use_enable test tests) - $(use_enable cpu_flags_x86_sse intel-sse) - $(use_enable static-libs static) - ) - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_install_all() { - default - - strip-lto-bytecode - find "${ED}" \( -type f -o -type l \) -name '*.la' -delete || die -} diff --git a/sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.57.ebuild b/sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.57.ebuild deleted file mode 100644 index f96018defa3..00000000000 --- a/sdk_container/src/third_party/portage-stable/media-libs/libpng/libpng-1.6.57.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dot-a libtool multilib-minimal - -APNG_REPO=libpng-apng # sometimes libpng-apng is more up to date -APNG_VERSION="1.6.54" -DESCRIPTION="Portable Network Graphics library" -HOMEPAGE="https://www.libpng.org/" -SRC_URI=" - https://downloads.sourceforge.net/${PN}/${P}.tar.xz - apng? ( - https://downloads.sourceforge.net/${APNG_REPO}/${PN}$(ver_rs 1-2 '' $(ver_cut 1-2 ${APNG_VERSION}))/${PV}/${PN}-${APNG_VERSION}-apng.patch.gz -> ${PN}-${APNG_VERSION}-${APNG_REPO}-apng.patch.gz - https://downloads.sourceforge.net/${APNG_REPO}/${PN}$(ver_rs 1-2 '' $(ver_cut 1-2 ${APNG_VERSION}))/${PN}-${APNG_VERSION}-apng.patch.gz -> ${PN}-${APNG_VERSION}-${APNG_REPO}-apng.patch.gz - ) -" - -LICENSE="libpng2" -SLOT="0/16" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" -IUSE="apng cpu_flags_x86_sse static-libs test" -RESTRICT="!test? ( test )" - -RDEPEND=">=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]" -DEPEND=" - ${RDEPEND} - riscv? ( sys-kernel/linux-headers ) -" - -DOCS=( ANNOUNCE CHANGES libpng-manual.txt README TODO ) - -src_prepare() { - default - - if use apng; then - case ${APNG_REPO} in - apng) - eapply -p0 "${WORKDIR}"/${PN}-${APNG_VERSION}-${APNG_REPO}-apng.patch - ;; - libpng-apng) - eapply "${WORKDIR}"/${PN}-${APNG_VERSION}-${APNG_REPO}-apng.patch - ;; - *) - die "Unknown APNG_REPO!" - ;; - esac - - # Don't execute symbols check with apng patch, bug #378111 - sed -i -e '/^check/s:scripts/symbols.chk::' Makefile.in || die - fi - - elibtoolize -} - -src_configure() { - lto-guarantee-fat - multilib-minimal_src_configure -} - -multilib_src_configure() { - local myeconfargs=( - $(multilib_native_enable tools) - $(use_enable test tests) - $(use_enable cpu_flags_x86_sse intel-sse) - $(use_enable static-libs static) - ) - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_install_all() { - default - - strip-lto-bytecode - find "${ED}" \( -type f -o -type l \) -name '*.la' -delete || die -} From 0c0162d96ff39db1629b1047b77f8d2129e11665 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:39:50 +0000 Subject: [PATCH 147/243] net-dns/bind: Sync with Gentoo It's from Gentoo commit 5c5ee0e6fafc80ce4958ed4e8538c57f011040ea. Signed-off-by: Flatcar Buildbot --- .../third_party/portage-stable/net-dns/bind/bind-9.18.47.ebuild | 2 +- .../third_party/portage-stable/net-dns/bind/bind-9.18.49.ebuild | 2 +- .../third_party/portage-stable/net-dns/bind/bind-9.20.23.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/net-dns/bind/bind-9.18.47.ebuild b/sdk_container/src/third_party/portage-stable/net-dns/bind/bind-9.18.47.ebuild index a777ce0685b..e97d59489c5 100644 --- a/sdk_container/src/third_party/portage-stable/net-dns/bind/bind-9.18.47.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-dns/bind/bind-9.18.47.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${MY_PV}" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="+caps dnstap doc doh fixed-rrset idn jemalloc geoip gssapi lmdb selinux static-libs test xml" RESTRICT="!test? ( test )" diff --git a/sdk_container/src/third_party/portage-stable/net-dns/bind/bind-9.18.49.ebuild b/sdk_container/src/third_party/portage-stable/net-dns/bind/bind-9.18.49.ebuild index a777ce0685b..e97d59489c5 100644 --- a/sdk_container/src/third_party/portage-stable/net-dns/bind/bind-9.18.49.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-dns/bind/bind-9.18.49.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}/${PN}-${MY_PV}" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="+caps dnstap doc doh fixed-rrset idn jemalloc geoip gssapi lmdb selinux static-libs test xml" RESTRICT="!test? ( test )" diff --git a/sdk_container/src/third_party/portage-stable/net-dns/bind/bind-9.20.23.ebuild b/sdk_container/src/third_party/portage-stable/net-dns/bind/bind-9.20.23.ebuild index b6ce44a1852..f4d8e3028bc 100644 --- a/sdk_container/src/third_party/portage-stable/net-dns/bind/bind-9.20.23.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-dns/bind/bind-9.20.23.ebuild @@ -19,7 +19,7 @@ S="${WORKDIR}/${PN}-${MY_PV}" LICENSE="MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="dnstap doc doh fixed-rrset idn jemalloc geoip gssapi lmdb selinux static-libs systemtap test xml" RESTRICT="!test? ( test )" From 6228a641193785fd183c2a06181f12d21a7a6409 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:39:51 +0000 Subject: [PATCH 148/243] net-dns/dnsmasq: Sync with Gentoo It's from Gentoo commit bef69a62bb4d62c3bcd66c8a2d667ebad122fd56. Signed-off-by: Flatcar Buildbot --- .../portage-stable/net-dns/dnsmasq/Manifest | 1 - .../net-dns/dnsmasq/dnsmasq-2.91.ebuild | 231 ------------------ 2 files changed, 232 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/net-dns/dnsmasq/dnsmasq-2.91.ebuild diff --git a/sdk_container/src/third_party/portage-stable/net-dns/dnsmasq/Manifest b/sdk_container/src/third_party/portage-stable/net-dns/dnsmasq/Manifest index aa160b8efb0..96f6c96162d 100644 --- a/sdk_container/src/third_party/portage-stable/net-dns/dnsmasq/Manifest +++ b/sdk_container/src/third_party/portage-stable/net-dns/dnsmasq/Manifest @@ -1,3 +1,2 @@ -DIST dnsmasq-2.91.tar.xz 576820 BLAKE2B a363a084ef528d792829a8f83616dd490a3a37c04812f1b98b8cef6422d742cacf3d91a88b528b3806511a9a7e8c3ab7c42193d35e6a3e05c2c54c7ff4e48252 SHA512 d8b062d28f32d0e499e551aeebba75d3ea9f6a5173d78f45292cb1ef28a5d0f7c86982d987fe25c3cee9f139023b1fd023130dddd0dc849fb0cfbd969c3b0c7f DIST dnsmasq-2.92rel2.tar.xz 638020 BLAKE2B 4dd6b286c1f361673fea32ed3e0c3144fa3f873bfc0ec699c05c47da52371ee0f57abf15a851933c8967015bda3cd1f62e07c8ece875891c3660d02bb55677a5 SHA512 607abf33d6eac24eafdff9cd291d84b065354303d5e1d9514d79085b247fb3861ac57851ca1dfc4a5cddd314f8b970d17e93b987b1576e9f6ba1d6bffd42fff1 DIST dnsmasq-2.92rel2.tar.xz.asc 833 BLAKE2B 0544e86f5c7eb3141a8d19a7b3234fb0e52f308462a0ccc3843d37af644d079e928fa53eb38672b78fd7fc067982c87b74adc848b3fc0055d91e314b5c31a88e SHA512 140161d89287ab46fe15f7b68264a166e1a1f1a019cc781b0013a6345790e3f75186a023b32e526e7b5c05584734dfaff7e3b76b3c01878c0d22d9f6a039fcde diff --git a/sdk_container/src/third_party/portage-stable/net-dns/dnsmasq/dnsmasq-2.91.ebuild b/sdk_container/src/third_party/portage-stable/net-dns/dnsmasq/dnsmasq-2.91.ebuild deleted file mode 100644 index 4a07f18f163..00000000000 --- a/sdk_container/src/third_party/portage-stable/net-dns/dnsmasq/dnsmasq-2.91.ebuild +++ /dev/null @@ -1,231 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{1..4} luajit ) - -inherit toolchain-funcs lua-single systemd - -DESCRIPTION="Small forwarding DNS server" -HOMEPAGE="https://thekelleys.org.uk/dnsmasq/doc.html" -SRC_URI="https://thekelleys.org.uk/dnsmasq/${P}.tar.xz" - -LICENSE="|| ( GPL-2 GPL-3 )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - -IUSE="auth-dns conntrack dbus +dhcp dhcp-tools dnssec +dumpfile id idn libidn2" -IUSE+=" +loop +inotify ipv6 lua nettlehash nls script selinux static tftp" - -DM_LINGUAS=(de es fi fr id it no pl pt_BR ro) - -BDEPEND=" - app-arch/xz-utils - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" - -COMMON_DEPEND=" - acct-group/dnsmasq - acct-user/dnsmasq - dbus? ( sys-apps/dbus:= ) - idn? ( - !libidn2? ( net-dns/libidn:0= ) - libidn2? ( >=net-dns/libidn2-2.0:= ) - ) - lua? ( ${LUA_DEPS} ) - conntrack? ( net-libs/libnetfilter_conntrack:= ) - nls? ( sys-devel/gettext ) -" - -DEPEND="${COMMON_DEPEND} - dnssec? ( - dev-libs/nettle:=[gmp] - static? ( >=dev-libs/nettle-3.4[static-libs(+)] ) - ) - nettlehash? ( - static? ( >=dev-libs/nettle-3.4[static-libs(+)] ) - ) -" - -RDEPEND="${COMMON_DEPEND} - dnssec? ( - !static? ( >=dev-libs/nettle-3.4:=[gmp] ) - ) - nettlehash? ( - !static? ( dev-libs/nettle:=[gmp] ) - ) - selinux? ( sec-policy/selinux-dnsmasq ) -" - -REQUIRED_USE=" - dhcp-tools? ( dhcp ) - dnssec? ( !nettlehash ) - lua? ( - script - ${LUA_REQUIRED_USE} - ) - libidn2? ( idn ) -" - -use_have() { - local no_only - if [[ ${1} == '-n' ]]; then - no_only=1 - shift - fi - local useflag="${1}" - shift - - local uword="${1:-${useflag}}" - shift - - while [[ ${uword} ]]; do - uword="${uword^^}" - - if ! use "${useflag}"; then - printf -- " -DNO_%s" "${uword}" - elif [[ -z "${no_only}" ]]; then - printf -- " -DHAVE_%s" "${uword}" - fi - uword="${1}" - shift - done -} - -pkg_setup() { - use lua && lua-single_pkg_setup -} - -pkg_pretend() { - if use static; then - einfo "Only sys-libs/gmp and dev-libs/nettle are statically linked." - use dnssec || einfo "Thus, ${P}[!dnssec,static] makes no sense;" \ - "in this case the static USE flag does nothing." - fi -} - -src_prepare() { - default - - sed -i "s:%%PREFIX%%:${EPREFIX}/usr:" \ - dnsmasq.conf.example || die -} - -src_configure() { - COPTS=( - $(use_have -n auth-dns auth) - $(use_have conntrack) - $(use_have dbus) - $(use libidn2 || use_have idn) - $(use_have libidn2) - $(use_have -n inotify) - $(use_have -n dhcp dhcp dhcp6) - $(use_have -n ipv6 ipv6 dhcp6) - $(use_have -n id id) - $(use_have -n loop) - $(use_have lua luascript) - $(use_have -n script) - $(use_have -n tftp) - $(use_have dnssec) - $(use_have nettlehash) - $(use_have static dnssec_static) - $(use_have -n dumpfile) - ) -} - -src_compile() { - emake \ - PREFIX=/usr \ - MANDIR=/usr/share/man \ - CC="$(tc-getCC)" \ - PKG_CONFIG="$(tc-getPKG_CONFIG)" \ - CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - COPTS="${COPTS[*]}" \ - CONFFILE="/etc/${PN}.conf" \ - all$(use nls && printf -- "-i18n\n") - - use dhcp-tools && emake -C contrib/lease-tools \ - PREFIX=/usr \ - MANDIR=/usr/share/man \ - CC="$(tc-getCC)" \ - PKG_CONFIG="$(tc-getPKG_CONFIG)" \ - CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - all -} - -src_install() { - local lingua puid - emake \ - PREFIX=/usr \ - MANDIR=/usr/share/man \ - CC="$(tc-getCC)" \ - PKG_CONFIG="$(tc-getPKG_CONFIG)" \ - CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - COPTS="${COPTS[*]}" \ - CONFFILE="/etc/${PN}.conf" \ - DESTDIR="${ED}" \ - install$(use nls && printf -- "-i18n\n") - - for lingua in "${DM_LINGUAS[@]}"; do - has ${lingua} ${LINGUAS-${lingua}} \ - || rm -rf "${ED}"/usr/share/locale/${lingua} - done - [[ -d "${D}"/usr/share/locale/ ]] && \ - rmdir --ignore-fail-on-non-empty "${ED}"/usr/share/locale/ - - dodoc CHANGELOG CHANGELOG.archive FAQ dnsmasq.conf.example - dodoc -r logo - - docinto html/ - dodoc *.html - - newinitd "${FILESDIR}"/dnsmasq-init-r4 ${PN} - newconfd "${FILESDIR}"/dnsmasq.confd-r1 ${PN} - - insinto /etc/logrotate.d - newins "${FILESDIR}"/dnsmasq.logrotate ${PN} - - insinto /etc - newins dnsmasq.conf.example dnsmasq.conf - - insinto /usr/share/dnsmasq - doins trust-anchors.conf - - if use dhcp; then - keepdir /var/lib/misc - newinitd "${FILESDIR}"/dnsmasq-init-dhcp-r3 ${PN} - fi - if use dbus; then - insinto /etc/dbus-1/system.d - doins dbus/dnsmasq.conf - - docinto - dodoc dbus/DBus-interface - fi - - if use dhcp-tools; then - dosbin contrib/lease-tools/{dhcp_release,dhcp_lease_time} - doman contrib/lease-tools/{dhcp_release,dhcp_lease_time}.1 - if use ipv6; then - dosbin contrib/lease-tools/dhcp_release6 - doman contrib/lease-tools/dhcp_release6.1 - fi - fi - - systemd_newunit "${FILESDIR}"/${PN}.service-r1 ${PN}.service -} - -pkg_preinst() { - [[ -f /var/lib/misc/dnsmasq.leases ]] && \ - cp /var/lib/misc/dnsmasq.leases "${T}" -} - -pkg_postinst() { - [[ -f "${T}"/dnsmasq.leases ]] && \ - cp "${T}"/dnsmasq.leases /var/lib/misc/dnsmasq.leases -} From 3d2ddc6ed64df61e968904ed2b057c44d226d975 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:39:56 +0000 Subject: [PATCH 149/243] net-fs/cifs-utils: Sync with Gentoo It's from Gentoo commit b2397219f5750466073fbb1eeb2a1fb46f71ed5e. Signed-off-by: Flatcar Buildbot --- .../portage-stable/net-fs/cifs-utils/Manifest | 4 +- .../cifs-utils/cifs-utils-7.0-r1.ebuild | 146 ------------------ .../net-fs/cifs-utils/cifs-utils-7.4.ebuild | 144 ----------------- ...utils-7.3.ebuild => cifs-utils-7.6.ebuild} | 5 +- 4 files changed, 3 insertions(+), 296 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/cifs-utils-7.4.ebuild rename sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/{cifs-utils-7.3.ebuild => cifs-utils-7.6.ebuild} (97%) diff --git a/sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/Manifest b/sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/Manifest index 985daab574c..5517854ea5c 100644 --- a/sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/Manifest +++ b/sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/Manifest @@ -1,4 +1,2 @@ -DIST cifs-utils-7.0.tar.bz2 418638 BLAKE2B 514d35f243d0ef7b866068a9a53a4b1704d2856d491d56aa469e8e3919b4030cb920a7f60d08851b0a23d28a020d1ddf7daa8b9ac412f1567a0a60d2f6ee6774 SHA512 4c57741af0c4567a78f352c73caca998881666a5ed36536275cfa775efd66ff1a44ebe539a8ed96c409c5b08a1378266964ce667a27e9fc7f2d43999c63dd0eb -DIST cifs-utils-7.3.tar.bz2 423716 BLAKE2B 59cf39ed2bf14d1fff54b6ad3b2fa410dd20b7e49ff9e87a95521d7e72cd4c5fe506f7026db2f42c53f4f79ed8f2492e3aa98b6349b000c7e2457cfea695c94d SHA512 7e341f5f5f53c3d533350cbd58983fddc428921ef8f8da6dea7b58884786b778fcc24ec23d0ebafc944ca54b9978213425fa6270e5c28934efb3383c0b66745a -DIST cifs-utils-7.4.tar.bz2 389033 BLAKE2B 57e03bb050b2345229dd4e0de22ac7baae7dcf080fba54c1dc339d8ecc6e60254e30feaa160568f8465698769ee513447c77de3bf8b0cd9c234ec4590e8e4270 SHA512 36fb64ed531e983752be243be488392ba52c3797ac638147a75998b8965448009e95d7ccda187c7d50d753b0ddb87a464a83044064b099d49fffe03a0b6ba739 DIST cifs-utils-7.5.tar.bz2 423849 BLAKE2B ddabbaaa122252640d9e69f7c180b53c33d0d02d14b26d96f1fc52858e3d6a3d491c64cec9bc9e0367dedfbc041fa7098d1de6aa3dc991e655ef45c919e3b1a3 SHA512 d44b26ca3224160bcb4fc712eb6c6d09fcfee196197d46481e95333494eaae1a4851712fba9b922c203e3cd301c481b433ff49ec396428c12ff7db3c628ce9e9 +DIST cifs-utils-7.6.tar.bz2 236411 BLAKE2B 8a05d1c31f43ae107d3ea4f4ccd18b3ca95ad669a33fe8dc3991cfe77343ff2ad59c15ccf85740795b3d74c0f5a189d3c5ea5ab2d4eef9f4ebcc3573160587cd SHA512 000bca9eb0242c8c04dc1110244ad26cd39f11541cc038e36a1b36c2e683fde19d61a59234e0e592bf8d83ebebafb4d46a7e6978c745bba5e3e155e05908dcbc diff --git a/sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild b/sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild deleted file mode 100644 index c2ffc03be37..00000000000 --- a/sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/cifs-utils-7.0-r1.ebuild +++ /dev/null @@ -1,146 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) - -inherit autotools bash-completion-r1 flag-o-matic linux-info pam python-single-r1 - -DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" -HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils https://git.samba.org/cifs-utils.git/?p=cifs-utils.git" -SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="+acl +ads +caps creds pam +python systemd" - -RDEPEND=" - ads? ( - sys-apps/keyutils:= - sys-libs/talloc - virtual/krb5 - ) - caps? ( sys-libs/libcap-ng ) - creds? ( sys-apps/keyutils:= ) - pam? ( - sys-apps/keyutils:= - sys-libs/pam - ) - python? ( ${PYTHON_DEPS} ) -" -DEPEND="${RDEPEND}" -BDEPEND="dev-python/docutils" -PDEPEND=" - acl? ( >=net-fs/samba-4.0.0_alpha1 ) -" - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -DOCS="doc/linux-cifs-client-guide.odt" - -PATCHES=( - "${FILESDIR}/${PN}-6.12-ln_in_destdir.patch" #766594 - "${FILESDIR}/${PN}-6.15-musl.patch" - "${FILESDIR}/${PN}-7.0-no-clobber-fortify-source.patch" - "${FILESDIR}/${PN}-7.0-musl.patch" -) - -pkg_setup() { - linux-info_pkg_setup - - if ! linux_config_exists || ! linux_chkconfig_present CIFS; then - ewarn "You must enable CIFS support in your kernel config, " - ewarn "to be able to mount samba shares. You can find it at" - ewarn - ewarn " File systems" - ewarn " Network File Systems" - ewarn " CIFS support" - ewarn - ewarn "and recompile your kernel ..." - fi - - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - - if has_version app-crypt/heimdal ; then - # https://bugs.gentoo.org/612584 - eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" - fi - - eautoreconf -} - -src_configure() { - # bug #927809 - filter-flags -fno-semantic-interposition - - local myeconfargs=( - --enable-man - --enable-smbinfo - $(use_enable acl cifsacl cifsidmap) - $(use_enable ads cifsupcall) - $(use_with caps libcap) - $(use_enable creds cifscreds) - $(use_enable pam) - $(use_with pam pamdir $(getpam_mod_dir)) - $(use_enable python pythontools) - # mount.cifs can get passwords from systemd - $(use_enable systemd) - ) - ROOTSBINDIR="${EPREFIX}"/sbin \ - econf "${myeconfargs[@]}" -} - -src_install() { - default - - # remove empty directories - find "${ED}" -type d -empty -delete || die - - if use acl ; then - dodir /etc/cifs-utils - dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \ - /etc/cifs-utils/idmap-plugin - dodir /etc/request-key.d - echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ - > "${ED}/etc/request-key.d/cifs.idmap.conf" - fi - - if use ads ; then - dodir /etc/request-key.d - echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ - > "${ED}/etc/request-key.d/cifs.upcall.conf" - echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ - > "${ED}/etc/request-key.d/cifs.spnego.conf" - fi - - dobashcomp bash-completion/smbinfo - use python && python_fix_shebang "${ED}" -} - -pkg_postinst() { - # Inform about set-user-ID bit of mount.cifs - ewarn "setuid use flag was dropped due to multiple security implications" - ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586" - ewarn "You are free to set setuid flags by yourself" - - # Inform about upcall usage - if use acl ; then - einfo "The cifs.idmap utility has been enabled by creating the" - einfo "configuration file /etc/request-key.d/cifs.idmap.conf" - einfo "This enables you to get and set CIFS acls." - fi - - if use ads ; then - einfo "The cifs.upcall utility has been enabled by creating the" - einfo "configuration file /etc/request-key.d/cifs.upcall.conf" - einfo "This enables you to mount DFS shares." - fi -} diff --git a/sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/cifs-utils-7.4.ebuild b/sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/cifs-utils-7.4.ebuild deleted file mode 100644 index 9535ad03e6c..00000000000 --- a/sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/cifs-utils-7.4.ebuild +++ /dev/null @@ -1,144 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..13} ) - -inherit autotools bash-completion-r1 flag-o-matic linux-info pam python-single-r1 - -DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems" -HOMEPAGE="https://wiki.samba.org/index.php/LinuxCIFS_utils https://git.samba.org/cifs-utils.git/?p=cifs-utils.git" -SRC_URI="https://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="+acl +ads +caps creds pam +python systemd" - -RDEPEND=" - sys-libs/talloc - ads? ( - sys-apps/keyutils:= - virtual/krb5 - ) - caps? ( sys-libs/libcap-ng ) - creds? ( sys-apps/keyutils:= ) - pam? ( - sys-apps/keyutils:= - sys-libs/pam - ) - python? ( ${PYTHON_DEPS} ) -" -DEPEND="${RDEPEND}" -BDEPEND="dev-python/docutils" -PDEPEND=" - acl? ( >=net-fs/samba-4.0.0_alpha1 ) -" - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -DOCS="doc/linux-cifs-client-guide.odt" - -PATCHES=( - "${FILESDIR}/${PN}-7.3-no-clobber-fortify-source.patch" -) - -pkg_setup() { - linux-info_pkg_setup - - if ! linux_config_exists || ! linux_chkconfig_present CIFS; then - ewarn "You must enable CIFS support in your kernel config, " - ewarn "to be able to mount samba shares. You can find it at" - ewarn - ewarn " File systems" - ewarn " Network File Systems" - ewarn " CIFS support" - ewarn - ewarn "and recompile your kernel ..." - fi - - use python && python-single-r1_pkg_setup -} - -src_prepare() { - default - - if has_version app-crypt/heimdal ; then - # bug #612584 - eapply "${FILESDIR}/${PN}-6.7-heimdal.patch" - fi - - eautoreconf -} - -src_configure() { - # bug #927809 - filter-flags -fno-semantic-interposition - - local myeconfargs=( - --enable-man - --enable-smbinfo - $(use_enable acl cifsacl cifsidmap) - $(use_enable ads cifsupcall) - $(use_with caps libcap) - $(use_with caps libcap-ng) - $(use_enable creds cifscreds) - $(use_enable pam) - $(use_with pam pamdir $(getpam_mod_dir)) - $(use_enable python pythontools) - # mount.cifs can get passwords from systemd - $(use_enable systemd) - ) - - ROOTSBINDIR="${EPREFIX}"/sbin econf "${myeconfargs[@]}" -} - -src_install() { - default - - # remove empty directories - find "${ED}" -type d -empty -delete || die - - if use acl ; then - dodir /etc/cifs-utils - dosym ../../usr/$(get_libdir)/cifs-utils/idmapwb.so \ - /etc/cifs-utils/idmap-plugin - dodir /etc/request-key.d - echo 'create cifs.idmap * * /usr/sbin/cifs.idmap %k' \ - > "${ED}/etc/request-key.d/cifs.idmap.conf" - fi - - if use ads ; then - dodir /etc/request-key.d - echo 'create dns_resolver * * /usr/sbin/cifs.upcall %k' \ - > "${ED}/etc/request-key.d/cifs.upcall.conf" - echo 'create cifs.spnego * * /usr/sbin/cifs.upcall %k' \ - > "${ED}/etc/request-key.d/cifs.spnego.conf" - fi - - dobashcomp bash-completion/smbinfo - use python && python_fix_shebang "${ED}" -} - -pkg_postinst() { - # Inform about set-user-ID bit of mount.cifs - ewarn "setuid use flag was dropped due to multiple security implications" - ewarn "such as CVE-2009-2948, CVE-2011-3585 and CVE-2012-1586" - ewarn "You are free to set setuid flags by yourself" - - # Inform about upcall usage - if use acl ; then - einfo "The cifs.idmap utility has been enabled by creating the" - einfo "configuration file /etc/request-key.d/cifs.idmap.conf" - einfo "This enables you to get and set CIFS acls." - fi - - if use ads ; then - einfo "The cifs.upcall utility has been enabled by creating the" - einfo "configuration file /etc/request-key.d/cifs.upcall.conf" - einfo "This enables you to mount DFS shares." - fi -} diff --git a/sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/cifs-utils-7.3.ebuild b/sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/cifs-utils-7.6.ebuild similarity index 97% rename from sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/cifs-utils-7.3.ebuild rename to sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/cifs-utils-7.6.ebuild index 5af15e3d216..71c808984da 100644 --- a/sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/cifs-utils-7.3.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-fs/cifs-utils/cifs-utils-7.6.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit autotools bash-completion-r1 flag-o-matic linux-info pam python-single-r1 @@ -44,7 +44,6 @@ DOCS="doc/linux-cifs-client-guide.odt" PATCHES=( "${FILESDIR}/${PN}-7.3-no-clobber-fortify-source.patch" - "${FILESDIR}/${PN}-7.0-musl.patch" ) pkg_setup() { From 062c6519bed3305b96a057914b149d014c5d1282 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:39:57 +0000 Subject: [PATCH 150/243] net-fs/samba: Sync with Gentoo It's from Gentoo commit 4e072d565d3ab65940f4e9715d5d005e86ee6b22. Signed-off-by: Flatcar Buildbot --- .../portage-stable/net-fs/samba/Manifest | 7 +- .../net-fs/samba/samba-4.22.10.ebuild | 397 ++++++++++++++++++ ...amba-4.23.7.ebuild => samba-4.23.9.ebuild} | 0 ...amba-4.24.1.ebuild => samba-4.24.3.ebuild} | 0 ...amba-4.24.2.ebuild => samba-4.24.4.ebuild} | 2 +- 5 files changed, 402 insertions(+), 4 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.22.10.ebuild rename sdk_container/src/third_party/portage-stable/net-fs/samba/{samba-4.23.7.ebuild => samba-4.23.9.ebuild} (100%) rename sdk_container/src/third_party/portage-stable/net-fs/samba/{samba-4.24.1.ebuild => samba-4.24.3.ebuild} (100%) rename sdk_container/src/third_party/portage-stable/net-fs/samba/{samba-4.24.2.ebuild => samba-4.24.4.ebuild} (99%) diff --git a/sdk_container/src/third_party/portage-stable/net-fs/samba/Manifest b/sdk_container/src/third_party/portage-stable/net-fs/samba/Manifest index b16ff270cf6..851401f75b1 100644 --- a/sdk_container/src/third_party/portage-stable/net-fs/samba/Manifest +++ b/sdk_container/src/third_party/portage-stable/net-fs/samba/Manifest @@ -1,6 +1,7 @@ +DIST samba-4.22.10.tar.gz 42927839 BLAKE2B d75280581c0e22789aa274a957745a211435c78f8762aa5f571700156c03d087fdfa01820c2e4893b1e9e4c678834ed1b06bc8220aacd867fc4240cf1ea83077 SHA512 2f2169c6c2805c12c72069052b7864f6938a850ae20f7916eb63aaae5526df3944b205bb181f097d9e6140144ff565421b57b96ec202cf6c2f3dc4b20d60f245 DIST samba-4.22.5.tar.gz 42876122 BLAKE2B c6ee4c98c4aced9faa0b5f90c61a3ea9473fc8c90e7c3ceb470aba9354fb4bb21cdd16a7d19bb6b0faee4454259e02546b4bb5093e8e8fe64a67b5635fc1152b SHA512 ee183e664768076f814c252afef0cd2225961d173174e8f4703d8cf59fe2abc2d1a089e293905849201ab2af75e27d8666360072a85bcce2b0dc735324d6b02e DIST samba-4.22.9.tar.gz 42873956 BLAKE2B 8f238f0d6ca94c729bcb3af7e56399bbc86d20e15d77908de5beb824f10502407f99079f908001200b3b540ba6673037a7580dcd6090ef53aa285ff503729d01 SHA512 e97dc94b22bd05e37c6612ab778da2ca5d58007d9c08ce3ee9a6d595f020fcfd9613831811278e167dc010050da088966190ae9a322154dba4cab7c01b96e565 DIST samba-4.23.6.tar.gz 43306831 BLAKE2B c5c567bfc4734429790ec7362150eda231ce7e3e7dbdfaa2ca2dc81bd178c9c15cc9360b21f4c5dd1f1423d46337bc5a7b581efcff8ed647adb69a9b47922320 SHA512 61dc2a80f1ea5a7a04bc45ba7896107fd1c619ec3f841f9f6adb9c166a3ce3a5cee7b0d097cfa2c768ba65e35167c0739099cc76a5478c0d6f41521a621336c9 -DIST samba-4.23.7.tar.gz 43305961 BLAKE2B 1c3847855a2cde457498856fddd25957c78240e58d2bdc65c5fe5805afc0a650638908393e3e83ff112b9c9a2c0c31fa5a186bb102d0ec6c063ab4e728dfdf0a SHA512 4cecc3ff3a2e1738a40bcd499c86c0503e79c49a99864423eb348d825c130febdeb44589cf2db007817c7d633a614ad4d58a887c10a579093ae2cda009c979b0 -DIST samba-4.24.1.tar.gz 43389244 BLAKE2B 51459d4db739e47bc05692046ce0a8b3044de923b3d1e7a51589bb838a7ef9865b6d6034656ade87e099374157a92dac0cba70a5f293a4d1e2b623341b3e75ca SHA512 419653355fd609443b1cd321986e7e83c6479a52d7a998e1197846cdb591305b1173b77022a65cf643c46a3a8810de05499a9eba903b839a87fac7a270ebc85f -DIST samba-4.24.2.tar.gz 43409510 BLAKE2B 464b9324b1c4d9e50d70c0d921c65b775f49db9e9b82314cc072ad03087f2d2f3ca4c9cf2925a3628c07c2f4664f58f9a36528078a14666d1fcb20ddb7949b44 SHA512 54f65c200815f7f05eca5ee1e69e554acd93be912913d5e8fde1f8ed9b1b809dad4b47559053e4ce9780f271cf61b0abc3a25dce331ca237730574417cf5c5e7 +DIST samba-4.23.9.tar.gz 43340009 BLAKE2B 106fd5170015a1175bdd8221ece532f6b18dd7deb4ccaf22504cfaf6ca1706f5204d5be7d92455f8d7cc49e368c1142d3432fe1d1272c6cf50c57e54d8b37785 SHA512 8d6cd716e36db5f6e96bcd1bc3848f51b55f3c0ed039650fc0f78c15f03ae2f5669cf106166fb7f20feacb539b5296ec47212b72f7baf519c3e20b310bd8b950 +DIST samba-4.24.3.tar.gz 43446520 BLAKE2B 7804075e3153ac2252549e33ee421c54aaa355ad53cb06790875f32a802c1b8fc9fc77f70f7a4e231df40f8c32a87651e87ed93218e3e27bf97734204cecad5d SHA512 769445f861bfd978bc8eccc53135c03d94b5e2b402f45df8c3ae202999d6f8e35a2a78bb4bada34f09cf177cfe8be4013ffd6da8d311cf6a7ff2a4a8222c6b4f +DIST samba-4.24.4.tar.gz 43431734 BLAKE2B 7d8406ed473f88a009628b64e070611dbac2b70da3d49857f5add1a8066dac93c762d6947fe3f3ed12b316e4041f0af42fa897a842ab1110dd629146848d0f5f SHA512 3f6b8a99491d82fcb90115288e547b330afd452f7ed15f288085644a0ea9ccbd45645c5a75f2d5db6d2d888ff280e87ec252b48e0c064a0ca33cac39f24f123d diff --git a/sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.22.10.ebuild b/sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.22.10.ebuild new file mode 100644 index 00000000000..59f7231f761 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.22.10.ebuild @@ -0,0 +1,397 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_REQ_USE="threads(+),xml(+)" +inherit python-single-r1 flag-o-matic waf-utils multilib-minimal linux-info optfeature systemd pam tmpfiles + +DESCRIPTION="Samba Suite Version 4" +HOMEPAGE="https://samba.org/" + +MY_PV="${PV/_rc/rc}" +MY_P="${PN}-${MY_PV}" +if [[ ${PV} == *_rc* ]]; then + SRC_URI="https://download.samba.org/pub/samba/rc/${MY_P}.tar.gz" +else + SRC_URI="https://download.samba.org/pub/samba/stable/${MY_P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +fi +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3" +SLOT="0/2.10.0" +IUSE="acl addc ads ceph client cluster cups debug fam glusterfs gpg" +IUSE+=" iprint json ldap llvm-libunwind lmdb pam profiling-data python quota" +IUSE+=" +regedit selinux snapper spotlight syslog system-heimdal +system-mitkrb5" +IUSE+=" systemd test unwind winbind zeroconf" + +# ldap needs ads (bug #941578) +REQUIRED_USE="${PYTHON_REQUIRED_USE} + addc? ( json python !system-mitkrb5 winbind ) + ads? ( acl ldap python winbind ) + cluster? ( ads ) + gpg? ( addc ) + ldap? ( ads ) + spotlight? ( json ) + test? ( python ) + !ads? ( !addc ) + ?? ( system-heimdal system-mitkrb5 ) +" + +# the test suite is messed, it uses system-installed samba +# bits instead of what was built, tests things disabled via use +# flags, and generally just fails to work in a way ebuilds could +# rely on in its current state +RESTRICT="test" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/samba-4.0/policy.h + /usr/include/samba-4.0/dcerpc_server.h + /usr/include/samba-4.0/ctdb.h + /usr/include/samba-4.0/ctdb_client.h + /usr/include/samba-4.0/ctdb_protocol.h + /usr/include/samba-4.0/ctdb_private.h + /usr/include/samba-4.0/ctdb_typesafe_cb.h + /usr/include/samba-4.0/ctdb_version.h +) + +TALLOC_VERSION="2.4.3" +TDB_VERSION="1.4.13" +TEVENT_VERSION="0.16.2" + +COMMON_DEPEND=" + >=app-arch/libarchive-3.1.2:=[${MULTILIB_USEDEP}] + dev-lang/perl:= + dev-libs/icu:=[${MULTILIB_USEDEP}] + dev-libs/libbsd[${MULTILIB_USEDEP}] + dev-libs/libtasn1:=[${MULTILIB_USEDEP}] + dev-libs/popt[${MULTILIB_USEDEP}] + dev-perl/Parse-Yapp + >=net-libs/gnutls-3.4.7:=[${MULTILIB_USEDEP}] + >=sys-fs/e2fsprogs-1.46.4-r51[${MULTILIB_USEDEP}] + !sys-libs/ldb + sys-libs/libcap[${MULTILIB_USEDEP}] + sys-libs/liburing:=[${MULTILIB_USEDEP}] + sys-libs/ncurses:= + sys-libs/readline:= + >=sys-libs/talloc-${TALLOC_VERSION}[${MULTILIB_USEDEP}] + >=sys-libs/tdb-${TDB_VERSION}[${MULTILIB_USEDEP}] + >=sys-libs/tevent-${TEVENT_VERSION}[${MULTILIB_USEDEP}] + virtual/zlib:=[${MULTILIB_USEDEP}] + virtual/libcrypt:=[${MULTILIB_USEDEP}] + virtual/libiconv + $(python_gen_cond_dep ' + addc? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/dnspython:=[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + net-dns/bind[gssapi] + ) + ads? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/dnspython:=[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + net-dns/bind[gssapi] + ) + ') + acl? ( virtual/acl ) + ceph? ( sys-cluster/ceph ) + cluster? ( net-libs/rpcsvc-proto ) + cups? ( net-print/cups ) + debug? ( dev-util/lttng-ust ) + fam? ( virtual/fam ) + gpg? ( app-crypt/gpgme:= ) + json? ( dev-libs/jansson:= ) + ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] ) + lmdb? ( >=dev-db/lmdb-0.9.16:=[${MULTILIB_USEDEP}] ) + pam? ( sys-libs/pam ) + python? ( + sys-libs/talloc[python,${PYTHON_SINGLE_USEDEP}] + sys-libs/tdb[python,${PYTHON_SINGLE_USEDEP}] + sys-libs/tevent[python,${PYTHON_SINGLE_USEDEP}] + ) + snapper? ( sys-apps/dbus ) + system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl(-),${MULTILIB_USEDEP}] ) + system-mitkrb5? ( >=app-crypt/mit-krb5-1.19[${MULTILIB_USEDEP}] ) + !system-heimdal? ( !system-mitkrb5? ( sys-apps/keyutils[${MULTILIB_USEDEP}] ) ) + systemd? ( sys-apps/systemd:= ) + unwind? ( + llvm-libunwind? ( llvm-runtimes/libunwind:= ) + !llvm-libunwind? ( sys-libs/libunwind:= ) + ) + zeroconf? ( net-dns/avahi[dbus] ) +" +DEPEND="${COMMON_DEPEND} + dev-perl/JSON + net-libs/libtirpc[${MULTILIB_USEDEP}] + net-libs/rpcsvc-proto + spotlight? ( dev-libs/glib ) + test? ( + >=dev-util/cmocka-1.1.3[${MULTILIB_USEDEP}] + $(python_gen_cond_dep "dev-python/python-subunit[\${PYTHON_USEDEP},${MULTILIB_USEDEP}]" ) + !system-mitkrb5? ( + >=net-dns/resolv_wrapper-1.1.4 + >=net-libs/socket_wrapper-1.1.9 + >=sys-libs/nss_wrapper-1.1.3 + >=sys-libs/uid_wrapper-1.2.1 + ) + )" +RDEPEND="${COMMON_DEPEND} + client? ( net-fs/cifs-utils[ads?] ) + python? ( ${PYTHON_DEPS} ) + selinux? ( sec-policy/selinux-samba ) +" +BDEPEND="${PYTHON_DEPS} + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-4.18.4-pam.patch + "${FILESDIR}"/ldb-2.5.2-skip-wav-tevent-check.patch +) + +CONFDIR="${FILESDIR}/4.4" +WAF_BINARY="${S}/buildtools/bin/waf" +SHAREDMODS="" + +pkg_setup() { + # Package fails to build with distcc + export DISTCC_DISABLE=1 + export PYTHONHASHSEED=1 + + python-single-r1_pkg_setup + + SHAREDMODS="$(usev !snapper '!')vfs_snapper" + if use cluster ; then + SHAREDMODS+=",idmap_rid,idmap_tdb2,idmap_ad" + elif use ads ; then + SHAREDMODS+=",idmap_ad" + fi +} + +check_samba_dep_versions() { + actual_talloc_version=$(sed -En '/^VERSION =/{s/[^0-9.]//gp}' lib/talloc/wscript || die) + if [[ ${actual_talloc_version} != ${TALLOC_VERSION} ]] ; then + eerror "Source talloc version: ${TALLOC_VERSION}" + eerror "Ebuild talloc version: ${actual_talloc_version}" + die "Ebuild needs to fix TALLOC_VERSION!" + fi + + actual_tdb_version=$(sed -En '/^VERSION =/{s/[^0-9.]//gp}' lib/tdb/wscript || die) + if [[ ${actual_tdb_version} != ${TDB_VERSION} ]] ; then + eerror "Source tdb version: ${TDB_VERSION}" + eerror "Ebuild tdb version: ${actual_tdb_version}" + die "Ebuild needs to fix TDB_VERSION!" + fi + + actual_tevent_version=$(sed -En '/^VERSION =/{s/[^0-9.]//gp}' lib/tevent/wscript || die) + if [[ ${actual_tevent_version} != ${TEVENT_VERSION} ]] ; then + eerror "Source tevent version: ${TEVENT_VERSION}" + eerror "Ebuild tevent version: ${actual_tevent_version}" + die "Ebuild needs to fix TEVENT_VERSION!" + fi +} + +src_prepare() { + default + + check_samba_dep_versions + + # Unbundle dnspython + sed -i -e '/"dns.resolver":/d' "${S}"/third_party/wscript || die + + # Unbundle iso8601 unless tests are enabled + if ! use test ; then + sed -i -e '/"iso8601":/d' "${S}"/third_party/wscript || die + fi + + # Ugly hackaround for bug #592502 + #cp /usr/include/tevent_internal.h "${S}"/lib/tevent/ || die + + # bug #943942 + append-cflags -std=gnu17 + + # WAF + multilib_copy_sources +} + +multilib_src_configure() { + # When specifying libs for samba build you must append NONE to the end to + # stop it automatically including things + local bundled_libs="NONE" + if ! use system-heimdal && ! use system-mitkrb5 ; then + bundled_libs="heimbase,heimntlm,hdb,kdc,krb5,wind,gssapi,hcrypto,hx509,roken,asn1,com_err,NONE" + fi + + # We "use" bundled cmocka when we're not running tests as we're + # not using it anyway. Means we avoid making users install it for + # no reason. bug #802531 + if ! use test ; then + bundled_libs="cmocka,${bundled_libs}" + fi + + # bug #874633 + if use llvm-libunwind ; then + mkdir -p "${T}"/${ABI}/pkgconfig || die + + local -x PKG_CONFIG_PATH="${T}/${ABI}/pkgconfig:${PKG_CONFIG_PATH}" + + cat <<-EOF > "${T}"/${ABI}/pkgconfig/libunwind-generic.pc || die + exec_prefix=\${prefix} + libdir=/usr/$(get_libdir) + includedir=\${prefix}/include + + Name: libunwind-generic + Description: libunwind generic library + Version: 1.70 + Libs: -L\${libdir} -lunwind + Cflags: -I\${includedir} + EOF + fi + + local myconf=( + --enable-fhs + --sysconfdir="${EPREFIX}/etc" + --localstatedir="${EPREFIX}/var" + --with-modulesdir="${EPREFIX}/usr/$(get_libdir)/samba" + --with-piddir="${EPREFIX}/run/${PN}" + --bundled-libraries="${bundled_libs}" + --builtin-libraries=NONE + --disable-rpath + --disable-rpath-install + --nopyc + --nopyo + --without-winexe + $(multilib_native_use_with acl acl-support) + $(multilib_native_usex addc '' '--without-ad-dc') + $(multilib_native_use_enable ceph cephfs) + $(multilib_native_use_with cluster cluster-support) + $(multilib_native_use_enable cups) + --without-dmapi + $(multilib_native_use_with fam) + $(multilib_native_use_enable glusterfs) + $(multilib_native_use_with gpg gpgme) + $(multilib_native_use_with json) + $(multilib_native_use_enable iprint) + $(multilib_native_use_with pam) + $(multilib_native_usex pam "--with-pammodulesdir=${EPREFIX}/$(get_libdir)/security" '') + $(multilib_native_use_with quota quotas) + $(multilib_native_use_with regedit) + $(multilib_native_use_enable spotlight) + $(multilib_native_use_with syslog) + $(multilib_native_use_with systemd) + --systemd-install-services + --with-systemddir="$(systemd_get_systemunitdir)" + $(multilib_native_use_with unwind libunwind) + $(multilib_native_use_with winbind) + $(multilib_native_usex python '' '--disable-python') + $(multilib_native_use_enable zeroconf avahi) + $(multilib_native_usex test '--enable-selftest' '') + $(usev system-mitkrb5 "--with-system-mitkrb5 ${ESYSROOT}/usr $(multilib_native_usex addc --with-experimental-mit-ad-dc '')") + $(use_with ads) + $(use_with debug lttng) + $(use_with ldap) + $(use_with profiling-data) + --private-libraries='!ldb' + $(usex lmdb '' --without-ldb-lmdb) + # bug #683148 + --jobs 1 + ) + + if multilib_is_native_abi ; then + myconf+=( --with-shared-modules=${SHAREDMODS} ) + else + myconf+=( --with-shared-modules=DEFAULT,!vfs_snapper ) + fi + + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) # bug 914898 + + append-cppflags "-I${ESYSROOT}/usr/include/et" + + waf-utils_src_configure ${myconf[@]} +} + +multilib_src_compile() { + waf-utils_src_compile +} + +multilib_src_test() { + if multilib_is_native_abi ; then + "${WAF_BINARY}" test || die "Test failed" + fi +} + +multilib_src_install() { + waf-utils_src_install + + # Make all .so files executable + find "${ED}" -type f -name "*.so" -exec chmod +x {} + || die + # smbspool_krb5_wrapper must only be accessible to root, bug #880739 + find "${ED}" -type f -name "smbspool_krb5_wrapper" -exec chmod go-rwx {} + || die + + # Remove empty runtime dirs created by build system (bug #892341) + find "${ED}"/{run,var} -type d -empty -delete || die + + if multilib_is_native_abi ; then + # Install ldap schema for server (bug #491002) + if use ldap ; then + insinto /etc/openldap/schema + doins examples/LDAP/samba.schema + fi + + # Create symlink for cups (bug #552310) + if use cups ; then + dosym ../../../bin/smbspool \ + /usr/libexec/cups/backend/smb + fi + + # Install example config file + insinto /etc/samba + doins examples/smb.conf.default + + # Fix paths in example file (bug #603964) + sed \ + -e '/log file =/s@/usr/local/samba/var/@/var/log/samba/@' \ + -e '/include =/s@/usr/local/samba/lib/@/etc/samba/@' \ + -e '/path =/s@/usr/local/samba/lib/@/var/lib/samba/@' \ + -e '/path =/s@/usr/local/samba/@/var/lib/samba/@' \ + -e '/path =/s@/usr/spool/samba@/var/spool/samba@' \ + -i "${ED}"/etc/samba/smb.conf.default || die + + # Install init script and conf.d file + newinitd "${CONFDIR}/samba4.initd-r1" samba + newconfd "${CONFDIR}/samba4.confd" samba + + dotmpfiles "${FILESDIR}"/samba.conf + if ! use addc ; then + rm "${D}/$(systemd_get_systemunitdir)/samba.service" \ + || die + fi + + # Preserve functionality for old gentoo-specific unit names + dosym nmb.service "$(systemd_get_systemunitdir)/nmbd.service" + dosym smb.service "$(systemd_get_systemunitdir)/smbd.service" + dosym winbind.service "$(systemd_get_systemunitdir)/winbindd.service" + + use python && python_optimize + fi + + if use pam && use winbind ; then + newpamd "${CONFDIR}/system-auth-winbind.pam" system-auth-winbind + # bugs #376853 and #590374 + insinto /etc/security + doins examples/pam_winbind/pam_winbind.conf + fi +} + +pkg_postinst() { + tmpfiles_process samba.conf + + if use addc || use ads ; then + optfeature "Hide passwords from command line when using samba-tool or samba-gpupdate" dev-python/setproctitle + fi +} diff --git a/sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.23.7.ebuild b/sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.23.9.ebuild similarity index 100% rename from sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.23.7.ebuild rename to sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.23.9.ebuild diff --git a/sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.24.1.ebuild b/sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.24.3.ebuild similarity index 100% rename from sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.24.1.ebuild rename to sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.24.3.ebuild diff --git a/sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.24.2.ebuild b/sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.24.4.ebuild similarity index 99% rename from sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.24.2.ebuild rename to sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.24.4.ebuild index 789db2de9ad..a246637f498 100644 --- a/sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.24.2.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-fs/samba/samba-4.24.4.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == *_rc* ]]; then SRC_URI="https://download.samba.org/pub/samba/rc/${MY_P}.tar.gz" else SRC_URI="https://download.samba.org/pub/samba/stable/${MY_P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" fi S="${WORKDIR}/${MY_P}" From a1e570bdc5c17766076344d514406c8fe152344d Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:39:58 +0000 Subject: [PATCH 151/243] net-libs/gnutls: Sync with Gentoo It's from Gentoo commit 833ccc85027fcac6b3fc990ccbc9d457ba77af1f. Signed-off-by: Flatcar Buildbot --- .../portage-stable/net-libs/gnutls/gnutls-3.8.13.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/net-libs/gnutls/gnutls-3.8.13.ebuild b/sdk_container/src/third_party/portage-stable/net-libs/gnutls/gnutls-3.8.13.ebuild index 41d9c9cf1d7..c7f72e550ef 100644 --- a/sdk_container/src/third_party/portage-stable/net-libs/gnutls/gnutls-3.8.13.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-libs/gnutls/gnutls-3.8.13.ebuild @@ -17,7 +17,7 @@ LICENSE="GPL-3 LGPL-2.1+" # Subslot format: # . SLOT="0/30.30" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="brotli +cxx dane doc examples +idn nls +openssl pkcs11 +post-quantum sslv2 sslv3" IUSE+=" systemtap static-libs test test-full +tls-heartbeat tools zlib zstd" REQUIRED_USE="test-full? ( cxx dane doc examples idn nls openssl pkcs11 tls-heartbeat tools )" From 7ee5e32a0d4a37d701c3eeb0d4ef62ef4abeeedd Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:17 +0000 Subject: [PATCH 152/243] net-libs/libslirp: Sync with Gentoo It's from Gentoo commit 066948a5279ee142620ef70b29e0c87a3a137d4a. Signed-off-by: Flatcar Buildbot --- .../portage-stable/net-libs/libslirp/Manifest | 1 + .../net-libs/libslirp/libslirp-4.9.3.ebuild | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/net-libs/libslirp/libslirp-4.9.3.ebuild diff --git a/sdk_container/src/third_party/portage-stable/net-libs/libslirp/Manifest b/sdk_container/src/third_party/portage-stable/net-libs/libslirp/Manifest index 9070f10a402..2f8cfb9f013 100644 --- a/sdk_container/src/third_party/portage-stable/net-libs/libslirp/Manifest +++ b/sdk_container/src/third_party/portage-stable/net-libs/libslirp/Manifest @@ -1 +1,2 @@ DIST libslirp-4.9.1.tar.bz2 132888 BLAKE2B f181d1b27110c84f1b7df49d1989246bd7955f7e65eb662dbc212398712787eebbee8b5499c209bd563969037d4be412624185975603a455df71df8375ec8945 SHA512 9e1d950a959dea382a55ff50dc632c9c995817f3e7bb2818d77ee39daee273e401317c45c179301e71b21e88c0659b67965a474117ff17ee4a9f5d63cf2a12b6 +DIST libslirp-4.9.3.tar.bz2 133720 BLAKE2B 27a624aab16613acca70254d71fc45fac69973c4523bf889c2ec819675d85a797ed8c7841b5299964f9622fb2da95a0d9c42693e254d1a497cb07a73eb26282f SHA512 0da996cf55b3fa4f189c211d13d03fb64b4d8e4b372a6804f509a5c52294a531c9b8d37369727bfc698c1479b9181465f8ecf0546aa08a122f93367b823182b5 diff --git a/sdk_container/src/third_party/portage-stable/net-libs/libslirp/libslirp-4.9.3.ebuild b/sdk_container/src/third_party/portage-stable/net-libs/libslirp/libslirp-4.9.3.ebuild new file mode 100644 index 00000000000..cb449088267 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-libs/libslirp/libslirp-4.9.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +MY_P="${PN}-v${PV}" + +DESCRIPTION="A TCP-IP emulator used to provide virtual networking services" +HOMEPAGE="https://gitlab.freedesktop.org/slirp/libslirp" +SRC_URI="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v${PV}/${MY_P}.tar.bz2 -> ${P}.tar.bz2" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~x86" +IUSE="static-libs valgrind" + +RDEPEND="dev-libs/glib:=" +# Valgrind usage is automagic but it's not so bad given it's a header-only dep. +DEPEND="${RDEPEND} + valgrind? ( dev-debug/valgrind ) +" + +src_prepare() { + echo "${PV}" > .tarball-version || die + echo -e "#!${BASH}\necho -n \$(cat '${S}/.tarball-version')" > build-aux/git-version-gen || die + default +} + +src_configure() { + local emesonargs=( + -Ddefault_library=$(usex static-libs both shared) + ) + meson_src_configure +} From 190b176d32732979893f8e06d6f7d69289016dff Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:18 +0000 Subject: [PATCH 153/243] net-libs/nghttp2: Sync with Gentoo It's from Gentoo commit 3a5e870efed395633841712c71db8797426f3819. Signed-off-by: Flatcar Buildbot --- .../portage-stable/net-libs/nghttp2/nghttp2-1.68.0.ebuild | 4 ++-- .../portage-stable/net-libs/nghttp2/nghttp2-1.68.1.ebuild | 4 ++-- .../portage-stable/net-libs/nghttp2/nghttp2-1.69.0.ebuild | 4 ++-- .../portage-stable/net-libs/nghttp2/nghttp2-9999.ebuild | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/net-libs/nghttp2/nghttp2-1.68.0.ebuild b/sdk_container/src/third_party/portage-stable/net-libs/nghttp2/nghttp2-1.68.0.ebuild index a0b29b5116b..564d1b7b44a 100644 --- a/sdk_container/src/third_party/portage-stable/net-libs/nghttp2/nghttp2-1.68.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-libs/nghttp2/nghttp2-1.68.0.ebuild @@ -12,10 +12,10 @@ HOMEPAGE="https://nghttp2.org/" if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/nghttp2/nghttp2.git" - inherit git-r3 + inherit git-r3 autotools else VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nghttp2.asc - inherit autotools verify-sig + inherit verify-sig SRC_URI=" https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz verify-sig? ( https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz.asc ) diff --git a/sdk_container/src/third_party/portage-stable/net-libs/nghttp2/nghttp2-1.68.1.ebuild b/sdk_container/src/third_party/portage-stable/net-libs/nghttp2/nghttp2-1.68.1.ebuild index aaf1c0a74fe..88a5d2c2263 100644 --- a/sdk_container/src/third_party/portage-stable/net-libs/nghttp2/nghttp2-1.68.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-libs/nghttp2/nghttp2-1.68.1.ebuild @@ -12,10 +12,10 @@ HOMEPAGE="https://nghttp2.org/" if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/nghttp2/nghttp2.git" - inherit git-r3 + inherit git-r3 autotools else VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nghttp2.asc - inherit autotools verify-sig + inherit verify-sig SRC_URI=" https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz verify-sig? ( https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz.asc ) diff --git a/sdk_container/src/third_party/portage-stable/net-libs/nghttp2/nghttp2-1.69.0.ebuild b/sdk_container/src/third_party/portage-stable/net-libs/nghttp2/nghttp2-1.69.0.ebuild index aaf1c0a74fe..88a5d2c2263 100644 --- a/sdk_container/src/third_party/portage-stable/net-libs/nghttp2/nghttp2-1.69.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-libs/nghttp2/nghttp2-1.69.0.ebuild @@ -12,10 +12,10 @@ HOMEPAGE="https://nghttp2.org/" if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/nghttp2/nghttp2.git" - inherit git-r3 + inherit git-r3 autotools else VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nghttp2.asc - inherit autotools verify-sig + inherit verify-sig SRC_URI=" https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz verify-sig? ( https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz.asc ) diff --git a/sdk_container/src/third_party/portage-stable/net-libs/nghttp2/nghttp2-9999.ebuild b/sdk_container/src/third_party/portage-stable/net-libs/nghttp2/nghttp2-9999.ebuild index aaf1c0a74fe..88a5d2c2263 100644 --- a/sdk_container/src/third_party/portage-stable/net-libs/nghttp2/nghttp2-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-libs/nghttp2/nghttp2-9999.ebuild @@ -12,10 +12,10 @@ HOMEPAGE="https://nghttp2.org/" if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/nghttp2/nghttp2.git" - inherit git-r3 + inherit git-r3 autotools else VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nghttp2.asc - inherit autotools verify-sig + inherit verify-sig SRC_URI=" https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz verify-sig? ( https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz.asc ) From 78695e4c20b42d904c1aae17339b751b472c1d9f Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:18 +0000 Subject: [PATCH 154/243] net-libs/ngtcp2: Sync with Gentoo It's from Gentoo commit 0fbcca8f53ee0ac887852401fa724e09286f05dd. Signed-off-by: Flatcar Buildbot --- .../portage-stable/net-libs/ngtcp2/Manifest | 4 + .../net-libs/ngtcp2/ngtcp2-1.23.0.ebuild | 74 +++++++++++++++++++ .../net-libs/ngtcp2/ngtcp2-1.24.0.ebuild | 74 +++++++++++++++++++ .../net-libs/ngtcp2/ngtcp2-9999.ebuild | 2 +- 4 files changed, 153 insertions(+), 1 deletion(-) create mode 100644 sdk_container/src/third_party/portage-stable/net-libs/ngtcp2/ngtcp2-1.23.0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/net-libs/ngtcp2/ngtcp2-1.24.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/net-libs/ngtcp2/Manifest b/sdk_container/src/third_party/portage-stable/net-libs/ngtcp2/Manifest index 384e5b7d660..26f3ec47376 100644 --- a/sdk_container/src/third_party/portage-stable/net-libs/ngtcp2/Manifest +++ b/sdk_container/src/third_party/portage-stable/net-libs/ngtcp2/Manifest @@ -7,3 +7,7 @@ DIST ngtcp2-1.22.0.tar.xz 697608 BLAKE2B efbbf259770ee7a8b8a486e05278354ce3aed60 DIST ngtcp2-1.22.0.tar.xz.asc 833 BLAKE2B 5ede902e49cae93015d46c3fc9fe66baac50200e94336c2af4d0d1cba5fabfeaee163104b4810335dc2c9b1662d9dcf585b69ce82ee8fe5ea55b8d0826b86d61 SHA512 d73cc96124c8e06d1e1fea9115f192da9e1d15f4854094690d172dcd4706603ca57fdf6eb921acc9f8eb29da49f24d7526121b87c13e18d90bdc9ea627a754dd DIST ngtcp2-1.22.1.tar.xz 692880 BLAKE2B ff8c8f3c8e6756791bd7180c93a1e8e7fa19595e22f57b683d76a4064fba205cae7d7661d9407e62e11032c2976e683115725ba2ea8e2d586f1f678ec0889e8f SHA512 f2f137b034932448cd34581d55cbcdaa028c36568d8000f7aad5a35a0765cf4fade62e224a1ad7ef63a9e3a240594b53485e823a8a21c8056dc6f02f5811704d DIST ngtcp2-1.22.1.tar.xz.asc 833 BLAKE2B 2267accfb3508e2469932035d8730a0c906ac0fed5149d1f44b41d8fa85578eee9d52af98742363eb700e97fd57c97c19237da6b5839c5019ed9e03af82ee198 SHA512 b670b375c7b3c2eecd15770a80372cb9cee7d2102ceb38e6a831c5f7ba6c8f0957063fc2fa6966f76f08a0ee0035585d30d546a1130a8a32ef197d1d87ecfc2d +DIST ngtcp2-1.23.0.tar.xz 708136 BLAKE2B c5ca36a1fb172598a0c9226b8b157259e18b86134b1fbb919a1d7b9a1d3ac532d3edaf0c4ba163ab647da5d4dc29eea17ed39a2541c4496a4044df951ab2d306 SHA512 86adc6606182a6d249dc2b6678014d15117461ab72c756a2060503e38e8bd334f3b2ee3a2ec54a1c9b384e4853dce7ac9b99e7525e5a017d5e66b037b471ed39 +DIST ngtcp2-1.23.0.tar.xz.asc 833 BLAKE2B 44abc9177667480ba8a7a72378b99fb97ed608a245bc0d9f31564c5739ea80ef0aba39e691269fe6de167956e5c1891349720bc64024a1fadea2c4a33bc4f857 SHA512 e20dd30be8409a9476f6b720c9dae708ec076d6a4324a49d655a99970f24293d8a2aa37aa8490003594016db4a44d0b46ffb835ac42f765a9d1226b6f299a5e8 +DIST ngtcp2-1.24.0.tar.xz 702424 BLAKE2B a459d08fa5d55f4de482fafd5c1809fa47c3e3b7703ac15f5b142944667ccb4a525fcc0a07d8d895d42121b8fbe676e832e02f54112ea2bb29ffee795b30b6c2 SHA512 e8c862c4bef6f1b75eec7808a4c6f5e7aba4d38bf06428fa02878d64685ff234528688639d7dd8907e1efa12da04198dd91d05e17a2925f9a785d04bd469d52f +DIST ngtcp2-1.24.0.tar.xz.asc 833 BLAKE2B 35dffc8f9557d6b3a6d1a8153abc9beb9d45f54f839588d338bc0a73cbdd81c1c358d39072ee392d5da155d8c6d0f1d59feeb03681858af923c52ff79f134315 SHA512 a776462252aa1fbaa0a922b095e918f947af8a7a2a6dd4662fbc3f5713a98ca652c143a07ec751adc6386b75bd0d73f0e28075d80403bea88e6279de8f3ef641 diff --git a/sdk_container/src/third_party/portage-stable/net-libs/ngtcp2/ngtcp2-1.23.0.ebuild b/sdk_container/src/third_party/portage-stable/net-libs/ngtcp2/ngtcp2-1.23.0.ebuild new file mode 100644 index 00000000000..a910ee17d3d --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-libs/ngtcp2/ngtcp2-1.23.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Built with autotools rather than cmake to avoid circular dep (bug #951524 + +inherit multilib-minimal + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/ngtcp2/ngtcp2.git" + inherit autotools git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/ngtcp2.asc + inherit verify-sig + SRC_URI=" + https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz + verify-sig? ( https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz.asc ) + " + + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos" + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ngtcp2 )" +fi + +DESCRIPTION="Implementation of the IETF QUIC Protocol" +HOMEPAGE="https://nghttp2.org/ngtcp2/ https://github.com/ngtcp2/ngtcp2" + +LICENSE="MIT" +SLOT="0/0" +IUSE="gnutls +openssl +ssl" +REQUIRED_USE="ssl? ( || ( gnutls openssl ) )" + +# Uses SSL_set_quic_tls_cbs to detect OpenSSL. The function was introduced in +# OpenSSL 3.5: +# https://docs.openssl.org/master/man3/SSL_set_quic_tls_cbs/#history. +RDEPEND=" + ssl? ( + gnutls? ( >=net-libs/gnutls-3.7.2:=[${MULTILIB_USEDEP}] ) + openssl? ( >=dev-libs/openssl-3.5:=[${MULTILIB_USEDEP}] ) + ) +" +DEPEND="${RDEPEND}" +BDEPEND+=" virtual/pkgconfig" + +# QuicTLS function, the OpenSSL support is checked via SSL_set_quic_tls_cbs. +QA_CONFIG_IMPL_DECL_SKIP=( + 'SSL_provide_quic_data' +) + +src_prepare() { + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --disable-werror + --enable-lib-only + $(use_with openssl) + $(use_with gnutls) + --without-boringssl + --without-picotls + --without-wolfssl + --without-libev + --without-libnghttp3 + --without-jemalloc + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}"/usr -type f -name '*.la' -delete || die +} diff --git a/sdk_container/src/third_party/portage-stable/net-libs/ngtcp2/ngtcp2-1.24.0.ebuild b/sdk_container/src/third_party/portage-stable/net-libs/ngtcp2/ngtcp2-1.24.0.ebuild new file mode 100644 index 00000000000..ddb0bb95b58 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-libs/ngtcp2/ngtcp2-1.24.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Built with autotools rather than cmake to avoid circular dep (bug #951524 + +inherit multilib-minimal + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/ngtcp2/ngtcp2.git" + inherit autotools git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/ngtcp2.asc + inherit verify-sig + SRC_URI=" + https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz + verify-sig? ( https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz.asc ) + " + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos" + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ngtcp2 )" +fi + +DESCRIPTION="Implementation of the IETF QUIC Protocol" +HOMEPAGE="https://nghttp2.org/ngtcp2/ https://github.com/ngtcp2/ngtcp2" + +LICENSE="MIT" +SLOT="0/0" +IUSE="gnutls +openssl +ssl" +REQUIRED_USE="ssl? ( || ( gnutls openssl ) )" + +# Uses SSL_set_quic_tls_cbs to detect OpenSSL. The function was introduced in +# OpenSSL 3.5: +# https://docs.openssl.org/master/man3/SSL_set_quic_tls_cbs/#history. +RDEPEND=" + ssl? ( + gnutls? ( >=net-libs/gnutls-3.7.2:=[${MULTILIB_USEDEP}] ) + openssl? ( >=dev-libs/openssl-3.5:=[${MULTILIB_USEDEP}] ) + ) +" +DEPEND="${RDEPEND}" +BDEPEND+=" virtual/pkgconfig" + +# QuicTLS function, the OpenSSL support is checked via SSL_set_quic_tls_cbs. +QA_CONFIG_IMPL_DECL_SKIP=( + 'SSL_provide_quic_data' +) + +src_prepare() { + default + [[ ${PV} == 9999 ]] && eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --disable-werror + --enable-lib-only + $(use_with openssl) + $(use_with gnutls) + --without-boringssl + --without-picotls + --without-wolfssl + --without-libev + --without-libnghttp3 + --without-jemalloc + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}"/usr -type f -name '*.la' -delete || die +} diff --git a/sdk_container/src/third_party/portage-stable/net-libs/ngtcp2/ngtcp2-9999.ebuild b/sdk_container/src/third_party/portage-stable/net-libs/ngtcp2/ngtcp2-9999.ebuild index 81f58ee6eb2..ddb0bb95b58 100644 --- a/sdk_container/src/third_party/portage-stable/net-libs/ngtcp2/ngtcp2-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-libs/ngtcp2/ngtcp2-9999.ebuild @@ -18,7 +18,7 @@ else verify-sig? ( https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz.asc ) " - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~arm64-macos ~x64-macos" BDEPEND="verify-sig? ( sec-keys/openpgp-keys-ngtcp2 )" fi From eaf9540c382ef0afd02d04c45d71cef5962a494e Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:22 +0000 Subject: [PATCH 155/243] net-misc/chrony: Sync with Gentoo It's from Gentoo commit d1d55c4eafce60544844d2facdc475ecf82fb9e0. Signed-off-by: Flatcar Buildbot --- .../portage-stable/net-misc/chrony/chrony-4.8-r1.ebuild | 2 +- .../portage-stable/net-misc/chrony/chrony-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/net-misc/chrony/chrony-4.8-r1.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/chrony/chrony-4.8-r1.ebuild index e6623482d24..98e268a97b7 100644 --- a/sdk_container/src/third_party/portage-stable/net-misc/chrony/chrony-4.8-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-misc/chrony/chrony-4.8-r1.ebuild @@ -162,7 +162,7 @@ src_configure() { # OPERATINGSYSTEM=`uname -s` (--host-system=) # VERSION=`uname -r` (--host-release=) # MACHINE=`uname -m` (--host-machine=) - if tc-tc-is-cross-compiler ; then + if tc-is-cross-compiler ; then case "${KERNEL}" in linux) myconf+=( diff --git a/sdk_container/src/third_party/portage-stable/net-misc/chrony/chrony-9999.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/chrony/chrony-9999.ebuild index 6242bfaa820..bfaa748c3ae 100644 --- a/sdk_container/src/third_party/portage-stable/net-misc/chrony/chrony-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-misc/chrony/chrony-9999.ebuild @@ -162,7 +162,7 @@ src_configure() { # OPERATINGSYSTEM=`uname -s` (--host-system=) # VERSION=`uname -r` (--host-release=) # MACHINE=`uname -m` (--host-machine=) - if tc-tc-is-cross-compiler ; then + if tc-is-cross-compiler ; then case "${KERNEL}" in linux) myconf+=( From 028bb54c7355820fa17d17654a0787c904f6d200 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:22 +0000 Subject: [PATCH 156/243] net-misc/curl: Sync with Gentoo It's from Gentoo commit 0a78b08506bf321875c56679a3bb1a6455b69505. Signed-off-by: Flatcar Buildbot --- .../portage-stable/net-misc/curl/Manifest | 10 +-- ....20.0_rc1.ebuild => curl-8.20.0-r1.ebuild} | 4 +- ...l-8.20.0_rc2.ebuild => curl-8.20.0.ebuild} | 0 ...{curl-8.18.0.ebuild => curl-8.21.0.ebuild} | 75 ++++++++----------- .../net-misc/curl/curl-9999.ebuild | 6 +- .../curl/files/curl-8.20.0-cpu-use.patch | 37 +++++++++ 6 files changed, 78 insertions(+), 54 deletions(-) rename sdk_container/src/third_party/portage-stable/net-misc/curl/{curl-8.20.0_rc1.ebuild => curl-8.20.0-r1.ebuild} (98%) rename sdk_container/src/third_party/portage-stable/net-misc/curl/{curl-8.20.0_rc2.ebuild => curl-8.20.0.ebuild} (100%) rename sdk_container/src/third_party/portage-stable/net-misc/curl/{curl-8.18.0.ebuild => curl-8.21.0.ebuild} (86%) create mode 100644 sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-8.20.0-cpu-use.patch diff --git a/sdk_container/src/third_party/portage-stable/net-misc/curl/Manifest b/sdk_container/src/third_party/portage-stable/net-misc/curl/Manifest index 9fa9e1deb1e..5f1f82ac13e 100644 --- a/sdk_container/src/third_party/portage-stable/net-misc/curl/Manifest +++ b/sdk_container/src/third_party/portage-stable/net-misc/curl/Manifest @@ -1,8 +1,6 @@ -DIST curl-8.18.0.tar.xz 2801444 BLAKE2B 16e1539616c1800dfa08a5bd3e38ff75d2906a4a574b1541509c69200aebe680b0a5efdf1b1e0c89f3cccb6001bfe1c1459b9fd815053c964e1a1434be1e2e0e SHA512 50c7a7b0528e0019697b0c59b3e56abb2578c71d77e4c085b56797276094b5611718c0a9cb2b14db7f8ab502fcf8f42a364297a3387fae3870a4d281484ba21c -DIST curl-8.18.0.tar.xz.asc 488 BLAKE2B 68c2ce9777ba51962139e70e48c4b24d404682a6ad530843791cc188b2656dc26a19f0757f97ead2ff492f7b8a4e4116707df901e81bf8efb28658ff4df99ae0 SHA512 07e08d1bb3f8bf20b3d22f37fbc19c49c0d9ee4ea9d92da76fa8a9de343023e1b5d416ccc6535a4ff98b08b30eb9334fd856227e37564f6bcd542aa81bced152 DIST curl-8.19.0.tar.xz 2787584 BLAKE2B d4a943af9a109893112876784dbe106276317e6cd5a2663f4de143c93abb4e266945fa65b4a5fa842f99240c961b027a1b2492e3e32f5247a91c394895e2b8b0 SHA512 ee97faaf588b255428000599293c47a2f648af11d1a0b7b823db6aec151e2090f5c7b921745ddb2c3818d92b16e0a4c15d7a9b3d1ff45df1f35438504bd16574 DIST curl-8.19.0.tar.xz.asc 488 BLAKE2B 0031029301586546bf2a50e00fdf16042da14ac26c2294d033274ed9cd9303c81c3997935b17b3b4202356c972eeed2b354cb623c790fa3983481587ed2ecf35 SHA512 ea3d4f2f42ec6571340e982868c5a35836eed2b76109b08b90b98023474293ad33a7218da511f153d01de607b735fc039a0733fa09fddd984fd7e2c61ee0446a -DIST curl-8.20.0-rc1.tar.xz 2817580 BLAKE2B a3abc134a44214aa7a0a1a56da8863ce1a5bb1ef90483cccc4875d9e403eb14467529a715cf904f5766bbff69de1bca9bd606f574e48c8e03d0d35ba2e47face SHA512 5bbdd09dc3471cb1ce0888f4e5be612fc67cf5b3c34a7833071dbf76b26f330d4838680979117092605746ae585f338e514e3bd8c74e9fdf3b71ee0846bbc43a -DIST curl-8.20.0-rc1.tar.xz.asc 488 BLAKE2B 20ed9317f2a48dacc1c2cd408aa62fc02b2ea4ffa825f3886fcd4eefa1b2411697b779ec9eecf968405d168b9423b3ee1c89c30823cc0f8b1c75c7020c95fe74 SHA512 e8c288cb8319f61b013b720d499ae38a33c9b76f87f07deb313be5a2f301834f9457f013d6b41083c976b234f4414b448fc387c5f9320830b42e4f84cf1cc396 -DIST curl-8.20.0-rc2.tar.xz 2821812 BLAKE2B bbf6441020eea3809b538521e116b263366dd35036778569b0494045ea270b82a6f7dd71dee7190415dfaa2ccaeebe2818fed49fb1a65ebdf588fc407cb9a5e4 SHA512 c07fc924de0dba35bb2a9cc815eecb9d257f8af8fa9d77dd7c93630d068c5b20cccfcd200865c05f40cffd75a4b636596876a058f8b34e0a11241ea8d3e6fef5 -DIST curl-8.20.0-rc2.tar.xz.asc 488 BLAKE2B 508ea07b37108ff327b6bb5d7431a67332ead100ffe7898d7f3ef7edada78c00aba12ba1cf9a3ecc51e89df0b9b9ccae3902b3b6d906967bb36011c648dbfd4d SHA512 5d40aa31e1d565e35b7a0c63fa1a263e81645c4dbf3cab0f070e14a050f68bc5bb2195876626eb12313ae93fa602ac77559d8e577cc91d0187b78e441f058b0a +DIST curl-8.20.0.tar.xz 2834456 BLAKE2B 5b61a1099212af9b3c18629fd0b6c93881014e7b02ed5171021a2a074a87786ff8f8e94a47c53c3ca83354cfbe74f7d917cae819c97011c0ff9e4ace014e01c2 SHA512 edfa5882aaeefcf2226fe03b19246151c0377c3656f9c8cc385bdaf34565e1354e762005b58780917a6d98039ae34085e4a4bcb44255c77e3b0e1d94090c010b +DIST curl-8.20.0.tar.xz.asc 488 BLAKE2B 918959b650c41f7f938e18a71fe24682d94984b74b0726de822ea84b7202734096350eccc69ce1cf624c97c8ec86a5ba753866c572db4ca4d5f9472b591f860b SHA512 188b7f664ed0cd4b1b0a8eb743a9b05e54fca38dbfe56c38a1591942c64c1c79dc29466745d8ec824513809708b13d9c7ced52b15eb71522da32e8a633a66488 +DIST curl-8.21.0.tar.xz 2882336 BLAKE2B 230989e586a592b2aee768a1a6d48f1c8247e4d26afd0787a94f45faa9fbebcda5c9a8e2b739fb5a2ada151c13b09a8e2319825e9314fcc894377f24e92d338f SHA512 5f7c646e5a3d4d3d8b8a3675adfa29c266a3148599d510d24f91c82d6ff064bfafce420af01522f8be973019619f3eee5e970398fa79be168b77f697c52bf8e5 +DIST curl-8.21.0.tar.xz.asc 488 BLAKE2B 6b61b1e55ff198f2c614dd7c099ffde84e0b22f469c6bd688797333af3b7c83f38da1a819d3acdd5b6a8c24c2d6c4175daabbe20c826d5d112d0258aa30b86bc SHA512 bb860d59a7117b0a484c06be80f305897af2b2f6d6c64b763b20e71073d8c36f74c3de85c1e449e65ead832903369b76ee0afc382932e3d9a1cc7253f00afb69 diff --git a/sdk_container/src/third_party/portage-stable/net-misc/curl/curl-8.20.0_rc1.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/curl/curl-8.20.0-r1.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/net-misc/curl/curl-8.20.0_rc1.ebuild rename to sdk_container/src/third_party/portage-stable/net-misc/curl/curl-8.20.0-r1.ebuild index c8d71db98ff..bea636500c9 100644 --- a/sdk_container/src/third_party/portage-stable/net-misc/curl/curl-8.20.0_rc1.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-misc/curl/curl-8.20.0-r1.ebuild @@ -22,7 +22,7 @@ else S="${WORKDIR}/${P//_/-}" else CURL_URI="https://curl.se/download/" - 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 SRC_URI=" ${CURL_URI}${P//_/-}.tar.xz @@ -64,7 +64,6 @@ REQUIRED_USE=" openssl gnutls ) - !gnutls !mbedtls !rustls http3 @@ -171,6 +170,7 @@ QA_CONFIG_IMPL_DECL_SKIP=( PATCHES=( "${FILESDIR}/${PN}-prefix-6.patch" "${FILESDIR}/${PN}-respect-cflags-3.patch" + "${FILESDIR}/${P}-cpu-use.patch" ) src_prepare() { diff --git a/sdk_container/src/third_party/portage-stable/net-misc/curl/curl-8.20.0_rc2.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/curl/curl-8.20.0.ebuild similarity index 100% rename from sdk_container/src/third_party/portage-stable/net-misc/curl/curl-8.20.0_rc2.ebuild rename to sdk_container/src/third_party/portage-stable/net-misc/curl/curl-8.20.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/net-misc/curl/curl-8.18.0.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/curl/curl-8.21.0.ebuild similarity index 86% rename from sdk_container/src/third_party/portage-stable/net-misc/curl/curl-8.18.0.ebuild rename to sdk_container/src/third_party/portage-stable/net-misc/curl/curl-8.21.0.ebuild index 3d6fa238e12..efbd86bb755 100644 --- a/sdk_container/src/third_party/portage-stable/net-misc/curl/curl-8.18.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-misc/curl/curl-8.21.0.ebuild @@ -22,7 +22,7 @@ else S="${WORKDIR}/${P//_/-}" else CURL_URI="https://curl.se/download/" - 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 SRC_URI=" ${CURL_URI}${P//_/-}.tar.xz @@ -33,10 +33,10 @@ fi LICENSE="BSD curl ISC test? ( BSD-4 )" SLOT="0" IUSE="+adns +alt-svc brotli debug ech +ftp gnutls gopher +hsts +http2 +http3 +httpsrr idn +imap kerberos ldap" -IUSE+=" mbedtls +openssl +pop3 +psl +quic rtmp rustls samba sasl-scram +smtp ssh ssl static-libs test" +IUSE+=" mbedtls +openssl +pop3 +psl +quic rustls sasl-scram +smtp ssh ssl static-libs test" IUSE+=" telnet +tftp +websockets zstd" # These select the default tls implementation / which quic impl to use -IUSE+=" +curl_quic_openssl curl_quic_ngtcp2 curl_ssl_gnutls curl_ssl_mbedtls +curl_ssl_openssl curl_ssl_rustls" +IUSE+=" curl_ssl_gnutls curl_ssl_mbedtls +curl_ssl_openssl curl_ssl_rustls" RESTRICT="!test? ( test )" # HTTPS RR is technically usable with the threaded resolver, but it still uses c-ares to @@ -45,21 +45,27 @@ RESTRICT="!test? ( test )" # To simplify dependency management in the ebuild we'll require c-ares for HTTPS RR (for now?). # HTTPS RR in cURL is a dependency for: -# - ECH (requires patched openssl or gnutls currently, enabled with rustls) +# - ECH (enabled with rustls, ossl 4.0+) # - Fetching the ALPN list which should provide a better HTTP/3 experience. - # Only one default ssl / quic provider can be enabled # The default provider needs its USE satisfied # HTTP/3 and MultiSSL are mutually exclusive; it's not clear if MultiSSL offers any benefit at all in the modern day. # https://github.com/curl/curl/commit/65ece771f4602107d9cdd339dff4b420280a2c2e REQUIRED_USE=" - ech? ( rustls ) + ech? ( + || ( + openssl + rustls + ) + ) httpsrr? ( adns ) quic? ( ^^ ( - curl_quic_openssl - curl_quic_ngtcp2 + openssl + gnutls ) + !mbedtls + !rustls http3 ssl ) @@ -71,18 +77,6 @@ REQUIRED_USE=" curl_ssl_rustls ) ) - curl_quic_openssl? ( - curl_ssl_openssl - !gnutls - !mbedtls - !rustls - ) - curl_quic_ngtcp2? ( - curl_ssl_gnutls - !mbedtls - !openssl - !rustls - ) curl_ssl_gnutls? ( gnutls ) curl_ssl_mbedtls? ( mbedtls ) curl_ssl_openssl? ( openssl ) @@ -95,12 +89,10 @@ REQUIRED_USE=" # - https://github.com/curl/curl/blob/master/docs/INTERNALS.md (core dependencies + minimum versions) # - https://github.com/curl/curl/blob/master/docs/HTTP3.md (example of a feature that moves quickly) # - https://github.com/curl/curl/blob/master/.github/workflows/http3-linux.yml (CI/CD for TCP/2) +# - https://curl.se/dev/deprecate.html - good source of deprecation timelines, e.g. for OpenSSL 1.1.1 # However 'supported' vs 'works' are two entirely different things; be sane but # don't be afraid to require a later version. # ngtcp2 = https://bugs.gentoo.org/912029 - can only build with one tls backend at a time. -# TODO: OpenSSL-QUIC support is going to be removed in 2026; depend on ngtcp2[{gnutls,openssl}] before that point. -# - https://github.com/curl/curl/pull/18820 (Deprecate OpenSSL QUIC support) -# - https://github.com/curl/curl/issues/18336 (curl w/ OpenSSL QUIC fails to fetch Google.com) RDEPEND=" >=virtual/zlib-1.2.5:=[${MULTILIB_USEDEP}] adns? ( >=net-dns/c-ares-1.16.0:=[${MULTILIB_USEDEP}] ) @@ -112,10 +104,9 @@ RDEPEND=" ldap? ( >=net-nds/openldap-2.0.0:=[static-libs?,${MULTILIB_USEDEP}] ) psl? ( net-libs/libpsl[${MULTILIB_USEDEP}] ) quic? ( - curl_quic_openssl? ( >=dev-libs/openssl-3.3.0:=[quic,${MULTILIB_USEDEP}] ) - curl_quic_ngtcp2? ( >=net-libs/ngtcp2-1.2.0[gnutls,ssl,-openssl,${MULTILIB_USEDEP}] ) + gnutls? ( >=net-libs/ngtcp2-1.20.0-r1[gnutls,ssl,${MULTILIB_USEDEP}] ) + openssl? ( >=net-libs/ngtcp2-1.20.0-r1[openssl,ssl,${MULTILIB_USEDEP}] ) ) - rtmp? ( media-video/rtmpdump[${MULTILIB_USEDEP}] ) ssh? ( >=net-libs/libssh2-1.2.8[${MULTILIB_USEDEP}] ) sasl-scram? ( >=net-misc/gsasl-2.2.0[static-libs?,${MULTILIB_USEDEP}] ) ssl? ( @@ -129,7 +120,8 @@ RDEPEND=" net-libs/mbedtls:3=[${MULTILIB_USEDEP}] ) openssl? ( - >=dev-libs/openssl-1.0.2:=[static-libs?,${MULTILIB_USEDEP}] + ech? ( >=dev-libs/openssl-4.0.0_beta1:=[static-libs?,${MULTILIB_USEDEP}] ) + >=dev-libs/openssl-3.0.0:=[static-libs?,${MULTILIB_USEDEP}] ) rustls? ( >=net-libs/rustls-ffi-0.15.0:=[${MULTILIB_USEDEP}] @@ -178,7 +170,6 @@ QA_CONFIG_IMPL_DECL_SKIP=( PATCHES=( "${FILESDIR}/${PN}-prefix-6.patch" "${FILESDIR}/${PN}-respect-cflags-3.patch" - "${FILESDIR}/${P}-restore-heimdal.patch" ) src_prepare() { @@ -249,17 +240,10 @@ multilib_src_configure() { if use ssl; then local -a tls_backend_opts readarray -t tls_backend_opts < <(_get_curl_tls_configure_opts) - myconf+=("${tls_backend_opts[@]}") - if use quic; then - myconf+=( - $(use_with curl_quic_ngtcp2 ngtcp2) - $(use_with curl_quic_openssl openssl-quic) - ) - else - # Without a REQUIRED_USE to ensure that QUIC was requested when at least one default backend is - # enabled we need ensure that we don't try to build QUIC support - myconf+=( --without-ngtcp2 --without-openssl-quic ) - fi + myconf+=( + "${tls_backend_opts[@]}" + $(use_with quic ngtcp2) + ) else myconf+=( --without-ssl ) einfo "SSL disabled" @@ -279,9 +263,8 @@ multilib_src_configure() { $(use_enable ldap ldaps) $(use_enable ldap) $(use_enable pop3) - $(use_enable samba smb) + --disable-smb # Removed upstream in late 2026 $(use_with ssh libssh2) # enables scp/sftp - $(use_with rtmp librtmp) --enable-rtsp $(use_enable smtp) $(use_enable telnet) @@ -296,6 +279,8 @@ multilib_src_configure() { $(use_enable httpsrr) $(use_with http2 nghttp2) $(use_with http3 nghttp3) + # TODO: --enable-proxy-http3? + --disable-proxy-http3 ) # --enable/disable options @@ -320,7 +305,7 @@ multilib_src_configure() { --enable-mime --enable-negotiate-auth --enable-netrc - --enable-ntlm + --disable-ntlm # To be removed late 2026 --enable-progress-meter --enable-proxy --enable-rt @@ -354,6 +339,7 @@ multilib_src_configure() { --without-test-caddy --without-test-httpd --without-test-nghttpx + --without-test-h2o ) if use debug; then @@ -407,9 +393,9 @@ multilib_src_test() { # -n: no valgrind (unreliable in sandbox and doesn't work correctly on all arches) # -v: verbose # -a: keep going on failure (so we see everything that breaks, not just 1st test) - # -k: keep test files after completion # -am: automake style TAP output # -p: print logs if test fails + # --retry: retry any failing tests up to 3 times; this is a band-aid for timing-dependent flakiness. # Note: if needed, we can skip specific tests. See e.g. Fedora's packaging # or just read https://github.com/curl/curl/tree/master/tests#run. # Note: we don't run the testsuite for cross-compilation. @@ -417,7 +403,8 @@ multilib_src_test() { # this ends up breaking when nproc is huge (like -j80). # The network sandbox causes tests 241 and 1083 to fail; these are typically skipped # as most gentoo users don't have an 'ip6-localhost' - multilib_is_native_abi && emake test TFLAGS="-n -v -a -k -am -p -j$((2*$(get_makeopts_jobs))) !241 !1083" + multilib_is_native_abi && emake test TFLAGS="-n -v -a -am -p -j$((2*$(get_makeopts_jobs))) --retry=3 !241 !1083" + # TODO: enable python tests (make pytest). } multilib_src_install() { diff --git a/sdk_container/src/third_party/portage-stable/net-misc/curl/curl-9999.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/curl/curl-9999.ebuild index 02a08edae34..efbd86bb755 100644 --- a/sdk_container/src/third_party/portage-stable/net-misc/curl/curl-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-misc/curl/curl-9999.ebuild @@ -279,6 +279,8 @@ multilib_src_configure() { $(use_enable httpsrr) $(use_with http2 nghttp2) $(use_with http3 nghttp3) + # TODO: --enable-proxy-http3? + --disable-proxy-http3 ) # --enable/disable options @@ -337,6 +339,7 @@ multilib_src_configure() { --without-test-caddy --without-test-httpd --without-test-nghttpx + --without-test-h2o ) if use debug; then @@ -390,7 +393,6 @@ multilib_src_test() { # -n: no valgrind (unreliable in sandbox and doesn't work correctly on all arches) # -v: verbose # -a: keep going on failure (so we see everything that breaks, not just 1st test) - # -k: keep test files after completion # -am: automake style TAP output # -p: print logs if test fails # --retry: retry any failing tests up to 3 times; this is a band-aid for timing-dependent flakiness. @@ -401,7 +403,7 @@ multilib_src_test() { # this ends up breaking when nproc is huge (like -j80). # The network sandbox causes tests 241 and 1083 to fail; these are typically skipped # as most gentoo users don't have an 'ip6-localhost' - multilib_is_native_abi && emake test TFLAGS="-n -v -a -k -am -p -j$((2*$(get_makeopts_jobs))) --retry=3 !241 !1083" + multilib_is_native_abi && emake test TFLAGS="-n -v -a -am -p -j$((2*$(get_makeopts_jobs))) --retry=3 !241 !1083" # TODO: enable python tests (make pytest). } diff --git a/sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-8.20.0-cpu-use.patch b/sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-8.20.0-cpu-use.patch new file mode 100644 index 00000000000..e548ce47ca2 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-misc/curl/files/curl-8.20.0-cpu-use.patch @@ -0,0 +1,37 @@ +https://bugs.debian.org/1136264 +https://curl.se/mail/distros-2026-05/0000.html +https://github.com/curl/curl/commit/2a2104f3cff44bb28bb570a093be52bbeeed8f23 + +From 2a2104f3cff44bb28bb570a093be52bbeeed8f23 Mon Sep 17 00:00:00 2001 +From: Stefan Eissing +Date: Mon, 11 May 2026 14:56:04 +0200 +Subject: [PATCH] event: fix wakeup consumption + +The events on a multi wakeup socketpair were only consumed via +curl_multi_poll()/curl_multi_wait() but not in event based processing on +a curl_multi_socket() call. That led to busy loops as reported in + +Fixes #21547 +Reported-by: Earnestly on github +Closes #21549 +--- + lib/multi.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/lib/multi.c b/lib/multi.c +index be32740a7097..5e84133f13fd 100644 +--- a/lib/multi.c ++++ b/lib/multi.c +@@ -2703,6 +2703,11 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, + Curl_uint32_bset_remove(&multi->dirty, data->mid); + + if(data == multi->admin) { ++#ifdef ENABLE_WAKEUP ++ /* Consume any pending wakeup signals before processing. ++ * This is necessary for event based processing. See #21547 */ ++ (void)Curl_wakeup_consume(multi->wakeup_pair, TRUE); ++#endif + #ifdef USE_RESOLV_THREADED + Curl_async_thrdd_multi_process(multi); + #endif + From f83cf7382686301c1fd9da635755dac3aa111c4f Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:24 +0000 Subject: [PATCH 157/243] net-misc/iperf: Sync with Gentoo It's from Gentoo commit 72becb5f8adb39a98f0e28b64d5777a2ee310a9f. Signed-off-by: Flatcar Buildbot --- .../third_party/portage-stable/net-misc/iperf/iperf-3.21.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.21.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.21.ebuild index de0cd2d83fb..cfe43128d15 100644 --- a/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.21.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-misc/iperf/iperf-3.21.ebuild @@ -20,7 +20,7 @@ RDEPEND=" sctp? ( net-misc/lksctp-tools ) " DEPEND=" - ${DEPEND} + ${RDEPEND} virtual/os-headers " BDEPEND="virtual/pkgconfig" From d43532415ae3baa7e855f18902233bd54d8219e2 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:24 +0000 Subject: [PATCH 158/243] net-misc/iputils: Sync with Gentoo It's from Gentoo commit e983945f5ba0fba7e879e116f9b7667357668f3c. Signed-off-by: Flatcar Buildbot --- .../files/iputils-20250605-sparc.patch | 50 ++++++ .../iputils/iputils-20250605-r4.ebuild | 165 ++++++++++++++++++ 2 files changed, 215 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iputils/files/iputils-20250605-sparc.patch create mode 100644 sdk_container/src/third_party/portage-stable/net-misc/iputils/iputils-20250605-r4.ebuild diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iputils/files/iputils-20250605-sparc.patch b/sdk_container/src/third_party/portage-stable/net-misc/iputils/files/iputils-20250605-sparc.patch new file mode 100644 index 00000000000..8a40d1f5505 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-misc/iputils/files/iputils-20250605-sparc.patch @@ -0,0 +1,50 @@ +https://bugs.gentoo.org/962747 +https://github.com/iputils/iputils/issues/598 +https://github.com/iputils/iputils/pull/611 + +From 1c4e790b17d351c7e84f14c3d0d6735183319de4 Mon Sep 17 00:00:00 2001 +From: Cyril Hrubis +Date: Tue, 14 Oct 2025 12:02:46 +0200 +Subject: [PATCH] ping: Fix unaligned access in struct ping_rts + +The outbuf in struct ping_rts is used as a buffer for composing outgoing +packets, the problem was that it was accessed in larger chunks than a +byte but at the same time the buffer is defined as an array of bytes, +hence the memory alignment was not guaranteed. + +This was found on SPARC where ping crashed with SIGBUS when attempting +to call gettimeofday() with a pointer inside of the outbuf buffer. There +are many more cases in the code where we access the array by a larger +than byte quantities that were working fine only by a chance as most of +the time the outpack buffer was accidentally aligned to four byte +boundary (since the start of the structure has to be aligned for 64bit +on 64bit machine and the array is preceeded by 32bit integer). + +The proper solution is to add the aligned attribute to the array, which +forces the start of the outpack array to be aligned to the largest data +type used on the targed machine. + +Fixes: https://github.com/iputils/iputils/issues/598 +Closes: https://github.com/iputils/iputils/pull/600 +Signed-off-by: Cyril Hrubis +Reported-by: Stian Halseth +Tested-by: Stian Halseth +Reviewed-by: Petr Vorel +--- + ping/ping.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ping/ping.h b/ping/ping.h +index c4916af4..84d1e8bb 100644 +--- a/ping/ping.h ++++ b/ping/ping.h +@@ -167,7 +167,7 @@ struct ping_ni { + /*ping runtime state */ + struct ping_rts { + unsigned int mark; +- unsigned char outpack[MAXPACKET]; ++ unsigned char outpack[MAXPACKET] __attribute__ ((aligned)); + + struct rcvd_table rcvd_tbl; + + diff --git a/sdk_container/src/third_party/portage-stable/net-misc/iputils/iputils-20250605-r4.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/iputils/iputils-20250605-r4.ebuild new file mode 100644 index 00000000000..5e5e287bd4b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-misc/iputils/iputils-20250605-r4.ebuild @@ -0,0 +1,165 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PLOCALES="de fr ja pt_BR tr uk zh_CN" + +inherit fcaps meson plocale systemd toolchain-funcs + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/iputils/iputils.git" + inherit git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/pevik.asc + inherit verify-sig + + SRC_URI=" + https://github.com/iputils/iputils/releases/download/${PV}/${P}.tar.xz + verify-sig? ( https://github.com/iputils/iputils/releases/download/${PV}/${P}.tar.xz.asc ) + " + + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-pevik )" +fi + +DESCRIPTION="Network monitoring tools including ping and ping6" +HOMEPAGE="https://wiki.linuxfoundation.org/networking/iputils" + +# We install ping unconditionally so BSD is listed by itself +# See LICENSE on each release, it summaries per-component +LICENSE=" + BSD + arping? ( GPL-2+ ) + clockdiff? ( BSD ) + tracepath? ( GPL-2+ ) +" +SLOT="0" +IUSE="+arping +caps clockdiff doc idn nls +suid test tracepath" +REQUIRED_USE="filecaps? ( caps )" +RESTRICT="!test? ( test )" + +RDEPEND=" + caps? ( sys-libs/libcap ) + idn? ( net-dns/libidn2:= ) + nls? ( virtual/libintl ) +" +DEPEND=" + ${RDEPEND} + virtual/os-headers +" +BDEPEND+=" + virtual/pkgconfig + test? ( sys-apps/iproute2 ) + nls? ( sys-devel/gettext ) +" + +if [[ ${PV} == 9999 ]] ; then + BDEPEND+=" + app-text/docbook-xml-dtd:4.2 + app-text/docbook-xml-dtd:4.5 + app-text/docbook-xsl-ns-stylesheets + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + " +fi + +PATCHES=( + "${FILESDIR}/meson-build-strict-check-for-error-function.patch" + "${FILESDIR}/${P}-sparc.patch" +) + +src_prepare() { + default + + plocale_get_locales > po/LINGUAS || die +} + +src_configure() { + local emesonargs=( + -DUSE_CAP=$(usex caps true false) + -DUSE_IDN=$(usex idn true false) + -DBUILD_ARPING=$(usex arping true false) + -DBUILD_CLOCKDIFF=$(usex clockdiff true false) + -DBUILD_PING=true + -DBUILD_TRACEPATH=$(usex tracepath true false) + -DNO_SETCAP_OR_SUID=true + -Dsystemdunitdir=$(systemd_get_systemunitdir) + -DUSE_GETTEXT=$(usex nls true false) + $(meson_use !test SKIP_TESTS) + ) + + if use doc || [[ ${PV} == 9999 ]] ; then + emesonargs+=( + -DBUILD_HTML_MANS=true + -DBUILD_MANS=true + ) + fi + + meson_src_configure +} + +src_compile() { + tc-export CC + + meson_src_compile +} + +src_test() { + if [[ ${EUID} != 0 ]] ; then + einfo "Tests require root privileges. Skipping ..." + return + fi + + meson_src_test +} + +src_install() { + meson_src_install + + # See build-aux/setcap-setuid.sh + # For suidctl compat: enable suid in src_install and remove it if fcaps is successful + use suid && fperms u+s /usr/bin/ping + FILECAPS=( -M u-s cap_net_admin,cap_net_raw+p usr/bin/ping ) + if use arping; then + use suid && fperms u+s /usr/bin/arping + FILECAPS+=( -- -M u-s cap_net_raw+p usr/bin/arping ) + fi + if use clockdiff; then + use suid && fperms u+s /usr/bin/clockdiff + FILECAPS+=( -- -M u-s cap_net_raw,cap_sys_nice+ep usr/bin/clockdiff ) + fi + + dosym ping /usr/bin/ping4 + dosym ping /usr/bin/ping6 + + if use tracepath ; then + dosym tracepath /usr/bin/tracepath4 + dosym tracepath /usr/bin/tracepath6 + dosym tracepath.8 /usr/share/man/man8/tracepath4.8 + dosym tracepath.8 /usr/share/man/man8/tracepath6.8 + fi + + if use doc ; then + mv "${ED}"/usr/share/${PN} "${ED}"/usr/share/doc/${PF}/html || die + fi +} + +pkg_preinst() { + local version_with_tftpd="<${CATEGORY}/${PN}-20211215" + if has_version "${version_with_tftpd}[traceroute6]" || has_version "${version_with_tftpd}[tftpd]" ; then + HAD_TFTPD_VERSION=1 + fi +} + +pkg_postinst() { + fcaps_pkg_postinst + + if [[ ${HAD_TFTPD_VERSION} -eq 1 ]] ; then + ewarn "This upstream version (>= 20211215) drops two tools:" + ewarn "1. tftpd (alternatives: net-ftp/tftp-hpa, net-dns/dnsmasq)" + ewarn "2. traceroute6 (alternatives: net-analyzer/mtr, net-analyzer/traceroute)" + ewarn "Please install one of the listed alternatives if needed!" + fi +} From 7e55f90f454f2f54ebc3a6369eb93376c4e751f7 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:26 +0000 Subject: [PATCH 159/243] net-misc/passt: Sync with Gentoo It's from Gentoo commit c5a4cb9e44d4cacc00ddbd3532106bf9c7fd06a9. Signed-off-by: Flatcar Buildbot --- .../portage-stable/net-misc/passt/Manifest | 1 + .../net-misc/passt/passt-2026.05.26.ebuild | 39 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/net-misc/passt/passt-2026.05.26.ebuild diff --git a/sdk_container/src/third_party/portage-stable/net-misc/passt/Manifest b/sdk_container/src/third_party/portage-stable/net-misc/passt/Manifest index 4223d738c84..561998a376a 100644 --- a/sdk_container/src/third_party/portage-stable/net-misc/passt/Manifest +++ b/sdk_container/src/third_party/portage-stable/net-misc/passt/Manifest @@ -1,3 +1,4 @@ DIST passt-2025.04.15.tar.xz 260720 BLAKE2B 1c67a40f0633663118cafd5988e11594e54d815aeb7c2bc75b744b51666efc6ff8e8190ff3e0fac92f281b26832031d5dcba4aa8d52bc1cc915f80bec2ca70bb SHA512 3aebc7ebdc267c2c86c91703a7f07aea6248ed6a4ab43bf2589e24e5e4fdabcbfb9519f8afcd901a9183d4f2c577d8c1ea50076d0dc5dbb104c0f2793009c516 DIST passt-2025.06.11.tar.xz 262312 BLAKE2B 76b834c0d1f7aedb5bc166e61ff9de8536f787b6447fb5ae0461ff5479d807e80a9da8fb9302771ca96aaa8799b09b60f88f6816d1aee0604678de9cff5c88ab SHA512 d8cd5668ded94d506a973f4e1e988d29b3eca0ffc26766de86d9dae7d37ace75d84606d1386b18b215371de4b6655b24d0b796433d2827f3f5997a65b0b08cdf DIST passt-2025.12.15.tar.xz 278312 BLAKE2B d681deb9107190b80e697ce813ad2c97c99c39d721e1f459f8687f5c024599bfb0b49d46b261cf8868c43a62f721638a219c236ef7d4c4debedb7728f4a389d6 SHA512 be34c6f88b7bbe1b051cd49b7577e1b9718913600061e01f9d3f623d19044707ece1c72800897dd1e07fbad21d970c2a89496ef99565f2a973a8aa5f75fb9711 +DIST passt-2026.05.26.tar.xz 295340 BLAKE2B e35fa2eaec4e2419f957447fda86327987187a741720c606ebad69b3982d82c84144c32efee143bb022719d8e62b3656d30d6078737ce8561f306aabd348b0e1 SHA512 7600fb95eb4227ef86e873c9ae45769e4c0fdeda8553b4e29edb5cd65d8a826bce875118e025b4a27c5d12eb5b82a267ac5dd1ea73e651fbb0c8c0adfecca02f diff --git a/sdk_container/src/third_party/portage-stable/net-misc/passt/passt-2026.05.26.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/passt/passt-2026.05.26.ebuild new file mode 100644 index 00000000000..23a60c5f0cc --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-misc/passt/passt-2026.05.26.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="User-mode networking daemons for VMs and namespaces, replacement for Slirp" +HOMEPAGE="https://passt.top/" + +RELEASE_COMMIT="038c51e" +MY_PV=${P//./_}.${RELEASE_COMMIT} + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://passt.top/passt" +else + SRC_URI="https://passt.top/passt/snapshot/${MY_PV}.tar.xz -> ${P}.tar.xz" + S=${WORKDIR}/${MY_PV} + KEYWORDS="~amd64 ~arm64 ~loong ~riscv" +fi + +LICENSE="BSD GPL-2+" +SLOT="0" +IUSE="static" + +src_prepare() { + default + tc-export CC + # Do not install doc/demo.sh + sed -i -e "/demo/d" Makefile || die +} + +src_compile() { + [[ ${PV} != 9999* ]] && export VERSION="${PV}" + export prefix="${EPREFIX}/usr" docdir="${EPREFIX}/usr/share/doc/${P}" + + emake $(usev static) +} From f751b2ef23799b01f92e6491fda3b9f1480e9b80 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:26 +0000 Subject: [PATCH 160/243] net-misc/rsync: Sync with Gentoo It's from Gentoo commit d2c0a45ac6b1f3d0b1211512f257ac59771f85d5. Signed-off-by: Flatcar Buildbot --- .../portage-stable/net-misc/rsync/Manifest | 2 + .../net-misc/rsync/rsync-3.4.4.ebuild | 207 ++++++++++++++++++ .../net-misc/rsync/rsync-9999.ebuild | 33 ++- 3 files changed, 225 insertions(+), 17 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/net-misc/rsync/rsync-3.4.4.ebuild diff --git a/sdk_container/src/third_party/portage-stable/net-misc/rsync/Manifest b/sdk_container/src/third_party/portage-stable/net-misc/rsync/Manifest index 901a5b1e864..3f73b277484 100644 --- a/sdk_container/src/third_party/portage-stable/net-misc/rsync/Manifest +++ b/sdk_container/src/third_party/portage-stable/net-misc/rsync/Manifest @@ -4,3 +4,5 @@ DIST rsync-3.4.2.tar.gz 1190383 BLAKE2B bfc8aa3dc3b75de5e81519eab6d505ebd4d05ebc DIST rsync-3.4.2.tar.gz.asc 862 BLAKE2B b6cc8bbb94fae5111143c9b0fe7aeca07b29494011060b7b00d98d2e6058f1d0474cc87f8db8d2d2812f1b039a4eb6ec386e4d706ee99bc4396ba995da14acae SHA512 c89f24640438566387aeee553c133859667c3e225439c3f113346241e3802c0652ebf6ab6005cc0f412a0f6e4bc055d76dd422691c3f024f347813183f66076e DIST rsync-3.4.3.tar.gz 1216482 BLAKE2B 0bafded6a76a2cedcc6b1f37610c785fa05e62955a43ecb85b8522183a902be3b86157eccbf502116177be0efe19f3051d93cdca5e5734f4a3fbc8bca9878a4f SHA512 1bf2d7cea7a42c9cd070ffaa5e9e029fbce2c18973d8e946f2a6a91c781d2f3ff2449a8ff2431206396caf1f7d9901865f10772c09019d93318e26196160644f DIST rsync-3.4.3.tar.gz.asc 862 BLAKE2B dd5ac2de65a02742fb52ff2d7188e0ac5f04d336ba2439b2b05464141f14db805c8074869bd946266d42093aa105ef8c0606edf1348b75cbfd1cac626a100576 SHA512 66686d6bcb365a4a75aaffde3d8675d13a22243f70f55c56c4ca6b805fe3d2d24ebd093a29027cc27fcde87bd2319ba3835f8c76cb35fa6de41d3dfa1c694a14 +DIST rsync-3.4.4.tar.gz 1223040 BLAKE2B f4eec8d1077e1cc7eec8cd39dcac4643f7608231f5aa6390cb53104efa1602873a333d9e6cba5d1bb2aeff6c3bf9bccd80370a2105a9cc982b49aae9f39f3bde SHA512 cf9a838b1f019b70fd67fa2c293f267be3f24e579c2ea33177ec7afc502c97ce0b613ff0854088c0eb28acd14ee0a75706ae8445115cef4669bd586c505d8453 +DIST rsync-3.4.4.tar.gz.asc 862 BLAKE2B 309fd306467658aad511fe18477af7133fafe7d15a291ba4a837eeaf9312ebd5bbbb41a1aca0a09d37183d3b3e42331d70ba91d7cd1bedbf4c33599a64a1086f SHA512 e65262cb8360cf5c1d81601127367290afbf2fedad3b667299ea7c1c2e850a3f2475e3849ccc3dfe289f86445ebdb657c45619036b3e049faba00582d1af52bc diff --git a/sdk_container/src/third_party/portage-stable/net-misc/rsync/rsync-3.4.4.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/rsync/rsync-3.4.4.ebuild new file mode 100644 index 00000000000..0706e27a4fd --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-misc/rsync/rsync-3.4.4.ebuild @@ -0,0 +1,207 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Uncomment when introducing a patch which touches configure +RSYNC_NEEDS_AUTOCONF=1 +PYTHON_COMPAT=( python3_{12..15} ) +inherit flag-o-matic prefix python-single-r1 systemd + +DESCRIPTION="File transfer program to keep remote files into sync" +HOMEPAGE="https://rsync.samba.org/" +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/RsyncProject/rsync.git" + inherit autotools git-r3 + + REQUIRED_USE="${PYTHON_REQUIRED_USE}" +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/andrewtridgell.asc + inherit verify-sig + + if [[ -n ${RSYNC_NEEDS_AUTOCONF} ]] ; then + inherit autotools + fi + + if [[ ${PV} == *_pre* ]] ; then + SRC_DIR="src-previews" + else + SRC_DIR="src" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" + fi + + SRC_URI="https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz + verify-sig? ( https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz.asc )" + S="${WORKDIR}"/${P/_/} +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="acl examples iconv lz4 rrsync ssl stunnel system-zlib test xattr +xxhash zstd" +RESTRICT="!test? ( test )" +REQUIRED_USE+=" + examples? ( ${PYTHON_REQUIRED_USE} ) + rrsync? ( ${PYTHON_REQUIRED_USE} ) + test? ( ${PYTHON_REQUIRED_USE} ) +" + +RDEPEND=" + >=dev-libs/popt-1.19 + acl? ( virtual/acl ) + examples? ( + ${PYTHON_DEPS} + dev-lang/perl + ) + lz4? ( app-arch/lz4:= ) + rrsync? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/bracex[${PYTHON_USEDEP}] + ') + ) + ssl? ( dev-libs/openssl:= ) + system-zlib? ( virtual/zlib:= ) + xxhash? ( >=dev-libs/xxhash-0.8 ) + zstd? ( >=app-arch/zstd-1.4:= ) + iconv? ( virtual/libiconv )" +DEPEND="${RDEPEND}" +BDEPEND=" + examples? ( ${PYTHON_DEPS} ) + rrsync? ( ${PYTHON_DEPS} ) + test? ( ${PYTHON_DEPS} ) +" + +if [[ ${PV} == *9999 ]] ; then + BDEPEND+=" + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/commonmark[${PYTHON_USEDEP}] + ') + " +else + BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-andrewtridgell )" +fi + +pkg_setup() { + # - USE=examples needs Python itself at runtime, but nothing else + # - 9999 needs commonmark at build time + if [[ ${PV} == *9999 ]] || use examples || use rrsync || use test ; then + python-single-r1_pkg_setup + fi +} + +src_prepare() { + default + + sed -i -e 's/AC_HEADER_MAJOR_FIXED/AC_HEADER_MAJOR/' configure.ac + + if [[ ${PV} == *9999 || -n ${RSYNC_NEEDS_AUTOCONF} ]] ; then + eaclocal -I m4 + eautoconf -o configure.sh + eautoheader && touch config.h.in + fi + + if use examples || use rrsync; then + python_fix_shebang support/ + fi + + if [[ -f rrsync.1 ]]; then + # If the pre-build rrsync.1 man page exists, then link to it + # from support/rrsync.1 to avoid rsync's build system attempting + # re-creating the man page (bug #883049). + ln -s ../rrsync.1 support/rrsync.1 || die + fi +} + +src_configure() { + local myeconfargs=( + --with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf + --without-included-popt + --enable-ipv6 + $(use_enable acl acl-support) + $(use_enable iconv) + $(use_enable lz4) + $(use_with rrsync) + $(use_enable ssl openssl) + $(use_with !system-zlib included-zlib) + $(use_enable xattr xattr-support) + $(use_enable xxhash) + $(use_enable zstd) + ) + + # https://github.com/RsyncProject/rsync/pull/428 + if is-flagq -fsanitize=undefined ; then + sed -E -i \ + -e 's:#define CAREFUL_ALIGNMENT (0|1):#define CAREFUL_ALIGNMENT 1:' \ + byteorder.h || die + append-flags -DCAREFUL_ALIGNMENT + fi + + econf "${myeconfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + + newconfd "${FILESDIR}"/rsyncd.conf.d rsyncd + newinitd "${FILESDIR}"/rsyncd.init.d-r1 rsyncd + + dodoc NEWS.md README.md TODO tech_report.tex + + insinto /etc + newins "${FILESDIR}"/rsyncd.conf-3.2.7-r5 rsyncd.conf + + insinto /etc/logrotate.d + newins "${FILESDIR}"/rsyncd.logrotate rsyncd + + insinto /etc/xinetd.d + newins "${FILESDIR}"/rsyncd.xinetd-3.0.9-r1 rsyncd + + # Install stunnel helpers + if use stunnel ; then + emake DESTDIR="${D}" install-ssl-daemon + fi + + # Install the useful contrib scripts + if use examples ; then + # The 'rrsync' script is installed conditionally via the 'rrysnc' + # USE flag, and not via the 'examples' USE flag. + rm support/rrsync* || die + + exeinto /usr/share/rsync + doexe support/* + + rm -f "${ED}"/usr/share/rsync/{Makefile*,*.c} + fi + + eprefixify "${ED}"/etc/{,xinetd.d}/rsyncd* + + systemd_newunit packaging/systemd/rsync.service rsyncd.service +} + +pkg_postinst() { + if grep -Eqis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \ + "${EROOT}"/etc/rsyncd.conf "${EROOT}"/etc/rsync/rsyncd.conf ; then + ewarn "You have disabled chroot support in your rsyncd.conf. This" + ewarn "is a security risk which you should fix. Please check your" + ewarn "/etc/rsyncd.conf file and fix the setting 'use chroot'." + fi + + if use stunnel ; then + einfo "Please install \">=net-misc/stunnel-4\" in order to use stunnel feature." + einfo + einfo "You maybe have to update the certificates configured in" + einfo "${EROOT}/etc/stunnel/rsync.conf" + fi + + if use system-zlib ; then + ewarn "Using system-zlib is incompatible with =rsync-3.1.1 built with bundled zlib," + ewarn "and the --compress option, add --new-compress (-zz)." + ewarn + ewarn "For syncing the portage tree, add:" + ewarn "PORTAGE_RSYNC_EXTRA_OPTS=\"--new-compress\" to make.conf" + fi +} diff --git a/sdk_container/src/third_party/portage-stable/net-misc/rsync/rsync-9999.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/rsync/rsync-9999.ebuild index 6c68357a2a5..7a8d16c4d1e 100644 --- a/sdk_container/src/third_party/portage-stable/net-misc/rsync/rsync-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-misc/rsync/rsync-9999.ebuild @@ -5,13 +5,13 @@ EAPI=8 # Uncomment when introducing a patch which touches configure RSYNC_NEEDS_AUTOCONF=1 -PYTHON_COMPAT=( python3_{11..14} ) -inherit flag-o-matic prefix python-single-r1 systemd +PYTHON_COMPAT=( python3_{12..15} ) +inherit prefix python-single-r1 systemd DESCRIPTION="File transfer program to keep remote files into sync" HOMEPAGE="https://rsync.samba.org/" if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/WayneD/rsync.git" + EGIT_REPO_URI="https://github.com/RsyncProject/rsync.git" inherit autotools git-r3 REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -37,9 +37,13 @@ fi LICENSE="GPL-3" SLOT="0" -IUSE="acl examples iconv lz4 rrsync ssl stunnel system-zlib xattr +xxhash zstd" -REQUIRED_USE+=" examples? ( ${PYTHON_REQUIRED_USE} )" -REQUIRED_USE+=" rrsync? ( ${PYTHON_REQUIRED_USE} )" +IUSE="acl examples iconv lz4 rrsync ssl stunnel system-zlib test xattr +xxhash zstd" +RESTRICT="!test? ( test )" +REQUIRED_USE+=" + examples? ( ${PYTHON_REQUIRED_USE} ) + rrsync? ( ${PYTHON_REQUIRED_USE} ) + test? ( ${PYTHON_REQUIRED_USE} ) +" RDEPEND=" >=dev-libs/popt-1.19 @@ -64,13 +68,16 @@ DEPEND="${RDEPEND}" BDEPEND=" examples? ( ${PYTHON_DEPS} ) rrsync? ( ${PYTHON_DEPS} ) + test? ( ${PYTHON_DEPS} ) " if [[ ${PV} == *9999 ]] ; then - BDEPEND+=" ${PYTHON_DEPS} + BDEPEND+=" + ${PYTHON_DEPS} $(python_gen_cond_dep ' dev-python/commonmark[${PYTHON_USEDEP}] - ')" + ') + " else BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-andrewtridgell )" fi @@ -78,7 +85,7 @@ fi pkg_setup() { # - USE=examples needs Python itself at runtime, but nothing else # - 9999 needs commonmark at build time - if [[ ${PV} == *9999 ]] || use examples || use rrsync; then + if [[ ${PV} == *9999 ]] || use examples || use rrsync || use test ; then python-single-r1_pkg_setup fi } @@ -122,14 +129,6 @@ src_configure() { $(use_enable zstd) ) - # https://github.com/WayneD/rsync/pull/428 - if is-flagq -fsanitize=undefined ; then - sed -E -i \ - -e 's:#define CAREFUL_ALIGNMENT (0|1):#define CAREFUL_ALIGNMENT 1:' \ - byteorder.h || die - append-flags -DCAREFUL_ALIGNMENT - fi - econf "${myeconfargs[@]}" } From e0056e3ecc5d027ef3a817231f37bf1876c7e2ed Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:26 +0000 Subject: [PATCH 161/243] net-misc/socat: Sync with Gentoo It's from Gentoo commit ff619464ca9b389950c95d0c3abf4711ee6507df. Signed-off-by: Flatcar Buildbot --- .../portage-stable/net-misc/socat/Manifest | 1 + .../net-misc/socat/socat-1.8.1.3.ebuild | 63 +++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/net-misc/socat/socat-1.8.1.3.ebuild diff --git a/sdk_container/src/third_party/portage-stable/net-misc/socat/Manifest b/sdk_container/src/third_party/portage-stable/net-misc/socat/Manifest index ad64f137329..e43ddd3d326 100644 --- a/sdk_container/src/third_party/portage-stable/net-misc/socat/Manifest +++ b/sdk_container/src/third_party/portage-stable/net-misc/socat/Manifest @@ -1 +1,2 @@ DIST socat-1.8.1.1.tar.bz2 606348 BLAKE2B 877231c973e55e401637aee78edd637e0f66097eb472033d65be8f2ec07e26f6e7f8416e867ff2fa55be6c4dc52764bf3c340f14120322e5cdd04dead1e795ac SHA512 2e87225454365c1396da704a546566681076585a921847a2808d58c9ae8e5d7ad3ac28c321d2d0223b5711762a375dd84893dc67902c355fcce0e4a080909940 +DIST socat-1.8.1.3.tar.bz2 605749 BLAKE2B 4fa98884ec27b807aa20d8cf073236b136051d4b7e1f6d842e9b10d6d94d9f99f50cc073e253766465d39cf5b638921dac33be811143b8045188afafed258ba1 SHA512 7e17ce1c5adeb8f1f7ac2386fcef43de5353a616feca8d8c567cc4dcc191aba02631ad587bf3e11f3b00af2012b8f475a5b3c1bc4c980b522a70afa26dff6941 diff --git a/sdk_container/src/third_party/portage-stable/net-misc/socat/socat-1.8.1.3.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/socat/socat-1.8.1.3.ebuild new file mode 100644 index 00000000000..9d2e42d82cb --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/net-misc/socat/socat-1.8.1.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo flag-o-matic toolchain-funcs + +MY_P=${P/_beta/-b} +DESCRIPTION="Multipurpose relay (SOcket CAT)" +HOMEPAGE="http://www.dest-unreach.org/socat/ https://repo.or.cz/socat.git" +SRC_URI="http://www.dest-unreach.org/socat/download/${MY_P}.tar.bz2" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" +IUSE="ipv6 readline ssl tcpd" +# bug #946404 (and many others), whack-a-mole with timeouts and friends +# Try again in the future. +RESTRICT="test" + +DEPEND=" + ssl? ( >=dev-libs/openssl-3:= ) + readline? ( sys-libs/readline:= ) + tcpd? ( sys-apps/tcp-wrappers ) +" +RDEPEND="${DEPEND}" + +DOCS=( BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ FILES PORTING README SECURITY ) + +src_configure() { + # bug #293324 + filter-flags '-Wno-error*' + + tc-export AR + + local myeconfargs=( + $(use_enable ssl openssl) + $(use_enable readline) + $(use_enable ipv6 ip6) + $(use_enable tcpd libwrap) + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + # Most tests are skipped because they need network access or a TTY + # Some are for /dev permissions probing (bug #940740) + # 518 519 need extra permissions + edo ./test.sh -v --expect-fail 13,15,87,217,311,313,370,388,410,466,478,518,519,528 +} + +src_install() { + default + + docinto html + dodoc doc/*.html doc/*.css + + if use elibc_musl; then + QA_CONFIG_IMPL_DECL_SKIP=( getprotobynumber_r ) + fi +} From 9d2f2d6f96f0509aea07e0290dd9bab724c70ff9 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:27 +0000 Subject: [PATCH 162/243] net-misc/wget: Sync with Gentoo It's from Gentoo commit 18cd87a7798e0647fd4c02ba4753b7f5185018da. Signed-off-by: Flatcar Buildbot --- .../portage-stable/net-misc/wget/wget-1.25.0-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/net-misc/wget/wget-1.25.0-r2.ebuild b/sdk_container/src/third_party/portage-stable/net-misc/wget/wget-1.25.0-r2.ebuild index 66c01bcec79..966ab818048 100644 --- a/sdk_container/src/third_party/portage-stable/net-misc/wget/wget-1.25.0-r2.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-misc/wget/wget-1.25.0-r2.ebuild @@ -14,7 +14,7 @@ SRC_URI+=" verify-sig? ( mirror://gnu/wget/${P}.tar.lz.sig )" LICENSE="GPL-3+" 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="cookie-check debug gnutls idn libproxy metalink nls ntlm pcre +ssl static test uuid zlib" REQUIRED_USE=" ntlm? ( !gnutls ssl ) From cf7b89395c45298a23bf5d9af8254b9894c2b7ca Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:27 +0000 Subject: [PATCH 163/243] net-nds/openldap: Sync with Gentoo It's from Gentoo commit f4b6acd1c9cdcf765cbec9f2b4fd3048f4228775. Signed-off-by: Flatcar Buildbot --- .../net-nds/openldap/openldap-2.5.20.ebuild | 2 +- .../net-nds/openldap/openldap-2.6.13.ebuild | 15 ++++++--------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.5.20.ebuild b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.5.20.ebuild index c91b2b42351..dfda4e0daa1 100644 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.5.20.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.5.20.ebuild @@ -22,7 +22,7 @@ VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/openldap.asc LICENSE="OPENLDAP GPL-2" # Subslot added for bug #835654 SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE_DAEMON="argon2 +cleartext crypt experimental minimal samba tcpd" IUSE_OVERLAY="overlays perl autoca" diff --git a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.6.13.ebuild b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.6.13.ebuild index 9886e5e610f..c98b1c67860 100644 --- a/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.6.13.ebuild +++ b/sdk_container/src/third_party/portage-stable/net-nds/openldap/openldap-2.6.13.ebuild @@ -22,7 +22,7 @@ VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/openldap.asc LICENSE="OPENLDAP GPL-2" # Subslot added for bug #835654 SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE_DAEMON="argon2 +cleartext crypt experimental minimal samba tcpd" IUSE_OVERLAY="overlays perl autoca" @@ -82,20 +82,17 @@ DEPEND=" ${COMMON_DEPEND} sys-apps/groff " -RDEPEND=" - ${COMMON_DEPEND} - selinux? ( sec-policy/selinux-ldap ) -" - # The user/group are only used for running daemons which are # disabled in minimal builds, so elide the accounts too. -BDEPEND=" +RDEPEND=" + ${COMMON_DEPEND} !minimal? ( acct-group/ldap acct-user/ldap ) - verify-sig? ( >=sec-keys/openpgp-keys-openldap-20201216 ) + selinux? ( sec-policy/selinux-ldap ) " +BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-openldap-20201216 )" # for tracking versions OPENLDAP_VERSIONTAG=".version-tag" @@ -474,7 +471,7 @@ multilib_src_configure() { myconf+=( --enable-sql=mod ) if use iodbc ; then myconf+=( --with-odbc="iodbc" ) - append-cflags -I"${EPREFIX}"/usr/include/iodbc + append-cflags -I"${ESYSROOT}"/usr/include/iodbc else myconf+=( --with-odbc="unixodbc" ) fi From 3882bdd57f285ddccad491069a0497fecf4f2655 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:31 +0000 Subject: [PATCH 164/243] profiles: Sync with Gentoo It's from Gentoo commit 448ce9849c6874f5ac454667abf796717d409119. Signed-off-by: Flatcar Buildbot --- .../profiles/arch/alpha/package.use.mask | 18 +- .../profiles/arch/amd64/package.use.mask | 7 +- .../arch/amd64/package.use.stable.mask | 13 +- .../profiles/arch/amd64/use.mask | 7 +- .../profiles/arch/amd64/use.stable.mask | 7 +- .../profiles/arch/amd64/x32/package.mask | 5 +- .../arch/arm/23.0-armv6j_hf/package.use.mask | 6 + .../arch/arm/23.0-armv6j_sf/package.use.mask | 6 + .../profiles/arch/arm/armv4t/package.use.mask | 6 +- .../arch/arm/armv5te/package.use.mask | 6 +- .../profiles/arch/arm/armv6j/package.use.mask | 6 + .../profiles/arch/arm/package.use.mask | 4 + .../profiles/arch/arm64/package.use.mask | 8 + .../arch/arm64/package.use.stable.mask | 5 - .../profiles/arch/arm64/use.mask | 7 +- .../profiles/arch/arm64/use.stable.mask | 7 +- .../profiles/arch/base/package.use.mask | 2 +- .../profiles/arch/base/use.mask | 8 +- .../profiles/arch/hppa/package.use.mask | 10 +- .../profiles/arch/loong/package.use.mask | 14 +- .../profiles/arch/m68k/package.use.mask | 2 +- .../profiles/arch/mips/package.use.mask | 13 +- .../arch/powerpc/package.use.stable.mask | 1 + .../arch/powerpc/ppc32/package.use.mask | 17 +- .../arch/powerpc/ppc64/64le/package.mask | 1 + .../arch/powerpc/ppc64/64le/package.use.mask | 7 +- .../profiles/arch/powerpc/ppc64/64le/use.mask | 7 +- .../arch/powerpc/ppc64/64le/use.stable.mask | 7 +- .../arch/powerpc/ppc64/64ul/package.mask | 6 +- .../arch/powerpc/ppc64/64ul/package.use.mask | 7 +- .../profiles/arch/powerpc/ppc64/64ul/use.mask | 7 +- .../arch/powerpc/ppc64/64ul/use.stable.mask | 7 +- .../profiles/arch/powerpc/ppc64/package.mask | 1 + .../arch/powerpc/ppc64/package.use.mask | 5 - .../profiles/arch/powerpc/ppc64/use.mask | 7 +- .../arch/powerpc/ppc64/use.stable.mask | 7 +- .../profiles/arch/ppc/package.use.mask | 4 + .../arch/riscv/rv64gc/lp64/package.mask | 6 + .../arch/riscv/rv64gc/lp64/package.use.mask | 6 + .../profiles/arch/riscv/use.mask | 2 +- .../profiles/arch/s390/package.use.force | 6 +- .../profiles/arch/s390/package.use.mask | 6 +- .../profiles/arch/s390/s390/package.use.mask | 7 + .../profiles/arch/sparc/package.use.mask | 11 +- .../profiles/arch/x86/package.use.mask | 4 + .../profiles/arch/x86/package.use.stable.mask | 7 +- .../portage-stable/profiles/arch/x86/use.mask | 7 +- .../profiles/arch/x86/use.stable.mask | 7 +- .../profiles/base/make.defaults | 9 +- .../portage-stable/profiles/base/package.mask | 6 + .../portage-stable/profiles/base/package.use | 4 +- .../profiles/base/package.use.force | 14 +- .../profiles/base/package.use.mask | 52 ++- .../profiles/base/package.use.stable.mask | 9 +- .../profiles/base/use.stable.mask | 9 +- .../profiles/default/hurd/package.use.mask | 4 - .../profiles/default/linux/package.use.mask | 10 +- .../default/linux/ppc/17.0/musl/package.mask | 10 + .../default/linux/ppc/17.0/musl/use.mask | 11 + .../default/linux/ppc/23.0/musl/package.mask | 10 + .../default/linux/ppc/23.0/musl/use.mask | 11 + .../ppc/23.0/split-usr/musl/package.mask | 10 + .../linux/ppc/23.0/split-usr/musl/use.mask | 11 + .../riscv/23.0/rv64/lp64d/musl/package.mask | 5 +- .../rv64/split-usr/lp64d/musl/package.mask | 6 +- .../default/linux/s390/23.0/deprecated | 18 + .../linux/s390/23.0/split-usr/deprecated | 18 + .../linux/s390/23.0/systemd/deprecated | 18 + .../default/linux/s390/23.0/time64/deprecated | 18 + .../s390/23.0/time64/split-usr/deprecated | 18 + .../linux/s390/23.0/time64/systemd/deprecated | 18 + .../profiles/desc/python_single_target.desc | 3 - .../profiles/desc/python_targets.desc | 3 - .../profiles/features/musl/package.mask | 8 +- .../profiles/features/musl/package.use.force | 4 +- .../profiles/features/musl/package.use.mask | 6 +- .../profiles/features/selinux/make.defaults | 3 +- .../features/selinux/package.use.mask | 11 - .../profiles/features/wd40/package.mask | 32 +- .../profiles/features/wd40/package.use.mask | 6 + .../profiles/package.deprecated | 13 +- .../portage-stable/profiles/package.mask | 373 +++++++----------- .../portage-stable/profiles/profiles.desc | 12 +- .../profiles/targets/desktop/package.use | 5 + .../portage-stable/profiles/updates/2Q-2022 | 1 - .../portage-stable/profiles/updates/2Q-2026 | 5 + .../portage-stable/profiles/updates/4Q-2024 | 2 +- .../portage-stable/profiles/use.desc | 1 - 88 files changed, 640 insertions(+), 474 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/profiles/arch/arm/23.0-armv6j_hf/package.use.mask create mode 100644 sdk_container/src/third_party/portage-stable/profiles/arch/arm/23.0-armv6j_sf/package.use.mask create mode 100644 sdk_container/src/third_party/portage-stable/profiles/arch/arm/armv6j/package.use.mask create mode 100644 sdk_container/src/third_party/portage-stable/profiles/arch/riscv/rv64gc/lp64/package.mask create mode 100644 sdk_container/src/third_party/portage-stable/profiles/arch/riscv/rv64gc/lp64/package.use.mask create mode 100644 sdk_container/src/third_party/portage-stable/profiles/arch/s390/s390/package.use.mask create mode 100644 sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/17.0/musl/package.mask create mode 100644 sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/17.0/musl/use.mask create mode 100644 sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/23.0/musl/package.mask create mode 100644 sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/23.0/musl/use.mask create mode 100644 sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/23.0/split-usr/musl/package.mask create mode 100644 sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/23.0/split-usr/musl/use.mask create mode 100644 sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/deprecated create mode 100644 sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/split-usr/deprecated create mode 100644 sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/systemd/deprecated create mode 100644 sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/time64/deprecated create mode 100644 sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/time64/split-usr/deprecated create mode 100644 sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/time64/systemd/deprecated delete mode 100644 sdk_container/src/third_party/portage-stable/profiles/features/selinux/package.use.mask create mode 100644 sdk_container/src/third_party/portage-stable/profiles/updates/2Q-2026 diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/alpha/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/alpha/package.use.mask index 4ae0f2ebe35..6270b49fc9a 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/alpha/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/alpha/package.use.mask @@ -1,9 +1,19 @@ # Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Pacho Ramos (2026-07-05) +# QT6 is not keyworded here, bug #977775 +dev-libs/appstream test + +# Ionen Wolkens (2026-06-10) +# llvm-core/clang is not available here, and neither is nvidia +media-video/ffmpeg cuda-clang +media-video/ffmpeg-compat cuda-clang + # Pacho Ramos (2026-05-09) -# appstream not keyworded +# dev-libs/appstream not keyworded, bug #977775 app-misc/media-player-info test +dev-util/meld test # Alfred Wingate (2026-05-03) # dev-libs/libthai not keyworded here @@ -81,10 +91,6 @@ media-libs/openal gui # media-libs/libyuv is not keyworded media-libs/imlib2 y4m -# Cristian Othón Martínez Vera (2025-04-09) -# dev-db/tinycdb is not keyworded here -mail-mta/sendmail tinycdb - # NRK (2025-03-17) # media-libs/libyuv is not keyworded media-libs/libavif libyuv @@ -201,7 +207,7 @@ dev-perl/DBD-mysql mysql app-text/doxygen gui dev-build/cmake gui -# Violet Purcell (2023-10-12) +# Violet Purcell (2023-10-12) # dev-build/samurai is not keyworded here. app-alternatives/ninja samurai diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/package.use.mask index 76c5c0295ef..a7ccd850a3a 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/package.use.mask @@ -23,12 +23,11 @@ media-video/obs-studio -mpegts # Michał Górny (2026-03-14) # SPIRV target requires dev-libs/level-zero. -llvm-runtimes/offload -llvm_targets_SPIRV llvm-runtimes/openmp -level-zero # Michał Górny (2026-03-03) -# OpenMP offloading GPU runtimes are not keyworded everywhre. -llvm-runtimes/clang-runtime -llvm_targets_AMDGPU -llvm_targets_NVPTX +# OpenMP offloading GPU runtimes are not keyworded everywhere. +llvm-runtimes/clang-runtime -llvm_targets_AMDGPU -llvm_targets_NVPTX -llvm_targets_SPIRV # Ionen Wolkens (2026-02-11) # net-libs/librist is available here @@ -77,6 +76,7 @@ sci-libs/flexiblas -blis -mkl -openblas # Christopher Byrne (2025-09-01) # net-emulation/libvirt is only keyworded on amd64 at this time +dev-util/diffoscope -libguestfs sys-block/nbdkit -libguestfs # Alfred Wingate (2025-05-22) @@ -580,7 +580,6 @@ gnustep-base/gnustep-make -libobjc2 # The QML (V4) and JSC JITs are supported only on amd64/arm/x86, # so the flag is masked in the base profile and unmasked here. dev-qt/qtdeclarative -jit -dev-qt/qtscript -jit # Robin H. Johnson (2011-07-10), updated 2019-12-06 # PPS should work on all arches, but only keyworded on some arches diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/package.use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/package.use.stable.mask index 49e0c7e109f..3e61bee5552 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/package.use.stable.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/package.use.stable.mask @@ -17,6 +17,14 @@ #--- END OF EXAMPLES --- +# Paul Zander (2026-04-28) +# SPIRV target requires dev-libs/level-zero. +llvm-runtimes/openmp level-zero + +# Paul Zander (2026-04-28) +# OpenMP offloading GPU runtimes are not keyworded everywhere. +llvm-runtimes/clang-runtime llvm_targets_AMDGPU llvm_targets_NVPTX llvm_targets_SPIRV + # Matt Jolly (2026-03-10) # mrustc is not yet stable on amd64, but we want bootstrap for Rust ~dev-lang/rust-1.90.0 mrustc-bootstrap @@ -135,8 +143,3 @@ dev-db/mariadb mroonga # Requires more testing # and additional unstable dependencies gnustep-base/gnustep-make libobjc2 - -# Michał Górny (2014-03-30) -# Don't apply stable masks to python-exec since we're forcing every -# impl there anyway. Please keep this in sync with use.stable.mask. -dev-lang/python-exec -python_targets_pypy3_11 diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/use.mask index 74106898b34..1e63e85e0d7 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/use.mask @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Unmask the flag which corresponds to ARCH. @@ -96,11 +96,6 @@ # sys-apps/apparmor-utils -apparmor -# Michał Górny (2014-03-30) -# PyPy is keyworded on this arch. --python_targets_pypy3_11 --python_single_target_pypy3_11 - # Andrey Grozin (2014-06-25) # keyworded on amd64 -clisp diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/use.stable.mask index a254300eb29..2a2a9026e0e 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/use.stable.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/use.stable.mask @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # New entries go on top. @@ -16,8 +16,3 @@ mkl # Michał Górny (2017-05-20) # The modern versions of CUDA SDK are not suitable for stabilization. cuda - -# Michał Górny (2014-03-30) -# PyPy is unstable on this arch. -python_targets_pypy3_11 -python_single_target_pypy3_11 diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/x32/package.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/x32/package.mask index d303a073725..c0316716278 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/x32/package.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/amd64/x32/package.mask @@ -12,7 +12,6 @@ media-radio/qlog # Jay Faulkner (2025-06-01) # Requires >=net-libs/nodejs-18[npm] dev-util/claude-code -dev-util/cursor-agent # Paul Zander (2025-04-04) # Requires dev-qt/qtwebengine @@ -97,7 +96,6 @@ dev-qt/qtwebengine dev-qt/qtwebview dev-python/pyqt6-webengine dev-python/qpageview - (2026-06-09) +# Needs v7 for asm +dev-libs/leancrypto asm diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/arm/23.0-armv6j_sf/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/arm/23.0-armv6j_sf/package.use.mask new file mode 100644 index 00000000000..ed8fe7aeb33 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/arm/23.0-armv6j_sf/package.use.mask @@ -0,0 +1,6 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Andreas K. Hüttel (2026-06-09) +# Needs v7 for asm +dev-libs/leancrypto asm diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/arm/armv4t/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/arm/armv4t/package.use.mask index c4e00e26a33..457091ee73e 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/arm/armv4t/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/arm/armv4t/package.use.mask @@ -1,6 +1,10 @@ -# Copyright 2024-2025 Gentoo Authors +# Copyright 2024-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Andreas K. Hüttel (2026-06-09) +# Needs v7 for asm +dev-libs/leancrypto asm + # Sam James (2024-02-17) # dev-libs/libpcre2 doesn't support JIT here dev-libs/libpcre2 jit diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/arm/armv5te/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/arm/armv5te/package.use.mask index c4e00e26a33..457091ee73e 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/arm/armv5te/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/arm/armv5te/package.use.mask @@ -1,6 +1,10 @@ -# Copyright 2024-2025 Gentoo Authors +# Copyright 2024-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Andreas K. Hüttel (2026-06-09) +# Needs v7 for asm +dev-libs/leancrypto asm + # Sam James (2024-02-17) # dev-libs/libpcre2 doesn't support JIT here dev-libs/libpcre2 jit diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/arm/armv6j/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/arm/armv6j/package.use.mask new file mode 100644 index 00000000000..ed8fe7aeb33 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/arm/armv6j/package.use.mask @@ -0,0 +1,6 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Andreas K. Hüttel (2026-06-09) +# Needs v7 for asm +dev-libs/leancrypto asm diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/arm/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/arm/package.use.mask index 8c5f5052ae8..e63a6361661 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/arm/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/arm/package.use.mask @@ -1,6 +1,10 @@ # Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Rick Farina (2026-06-13) +# net-wireless/rtl_433 and deps are not keyworded here +net-wireless/kismet rtlsdr + # Alfred Wingate (2026-05-13) # dev-qt/qtgraphs:6 is not keyworded here dev-python/pyside graphs diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/package.use.mask index 1ee618fc750..f2b8fdde554 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/package.use.mask @@ -1,6 +1,14 @@ # Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Andreas K. Hüttel (2026-07-06) +# Dependencies still need keywording and are ISA-sensitive +mail-filter/rspamd hyperscan + +# Rick Farina (2026-06-13) +# net-wireless/rtl_433 and deps are not keyworded here +net-wireless/kismet rtlsdr + # Alfred Wingate (2026-05-13) # dev-qt/qtgraphs:6 is not keyworded here dev-python/pyside graphs diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/package.use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/package.use.stable.mask index 62f104812c0..ba4039da085 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/package.use.stable.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/package.use.stable.mask @@ -46,11 +46,6 @@ sci-mathematics/octave sundials # sys-cluster/torque not marked stable on arm64 sys-cluster/openmpi openmpi_rm_pbs -# Michał Górny (2021-12-31) -# Don't apply stable masks to python-exec since we're forcing every -# impl there anyway. Please keep this in sync with use.stable.mask. -dev-lang/python-exec -python_targets_pypy3_11 - # Sam James (2021-10-25) # Has unstable dependencies we don't want to drag in yet # bug #816981 diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/use.mask index 7636800a185..df0183b987f 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/use.mask @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Unmask the flag which corresponds to ARCH. @@ -51,11 +51,6 @@ # Prebuilt kernels are supported here. -dist-kernel -# Sam James (2020-10-08) -# PyPy3 works on arm64 --python_targets_pypy3_11 --python_single_target_pypy3_11 - # David Seifert (2020-05-17) # Mono is hopelessly broken on arm64 mono diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/use.stable.mask index 93a80ee0d83..245ccbfd503 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/use.stable.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/arm64/use.stable.mask @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @@ -18,11 +18,6 @@ sysprof video_cards_nvidia nvenc -# Sam James (2020-10-08) -# Not enough packages stable w/ PyPy3 support -python_targets_pypy3_11 -python_single_target_pypy3_11 - # Sam James (2020-10-07) # app-misc/lirc not stable yet # dev-db/tokyocabinet not stable yet diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/base/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/base/package.use.mask index 34555da9026..7f930349575 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/base/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/base/package.use.mask @@ -62,6 +62,7 @@ sci-libs/flexiblas blis mkl openblas # Christopher Byrne (2025-09-01) # net-emulation/libvirt is only keyworded on amd64 at this time +dev-util/diffoscope libguestfs sys-block/nbdkit libguestfs # Michał Górny (2025-05-08) @@ -508,7 +509,6 @@ media-sound/pulseaudio-daemon webrtc-aec # The QML (V4) and JSC JITs are supported only on amd64/arm/x86, so # mask the flag here and unmask it in the appropriate arch profiles. dev-qt/qtdeclarative jit -dev-qt/qtscript jit # Samuli Suominen (2011-11-25) # Expose USE="suid" for USE="svga" only for x86 users, diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/base/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/base/use.mask index 605ec97e87e..bbb7997bc16 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/base/use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/base/use.mask @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Alfred Wingate (2025-09-20) @@ -253,12 +253,6 @@ ipmi # dev-lang/orc is useful only for some specific arches (amd64/x86/arm/...) orc -# Mike Gilbert (2013-01-02) -# PyPy is unkeyworded on most arches. If you are running amd64 or x86, -# please switch to one of the testing 13.0 profiles to get it. -python_targets_pypy3_11 -python_single_target_pypy3_11 - # Michał Górny (2013-01-26) # Mask the multilib flags globally. Unmasked in specific arches. abi_x86_32 diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/hppa/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/hppa/package.use.mask index d9bf1a8a167..f3df1e2437f 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/hppa/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/hppa/package.use.mask @@ -4,8 +4,13 @@ # NOTE: When masking a USE flag due to missing keywords, please file a keyword # request bug for the hppa arch. +# Ionen Wolkens (2026-06-10) +# llvm-core/clang is not available here, and neither is nvidia +media-video/ffmpeg cuda-clang +media-video/ffmpeg-compat cuda-clang + # Pacho Ramos (2026-05-09) -# appstream not keyworded +# dev-libs/appstream not keyworded, bug #977775 app-misc/media-player-info test # Alfred Wingate (2026-05-03) @@ -184,9 +189,6 @@ media-libs/libv4l bpf media-video/ffmpeg libplacebo shaderc media-video/ffmpeg-compat libplacebo shaderc -# Andreas Sturmlechner (2023-10-08) -# Vulkan is not available on hppa. ->=dev-qt/qtwayland-5.15.11:5 compositor # Patrick McLean (2023-10-03) # sys-apps/s6-linux-init has not been tested on this arch sys-apps/openrc s6 diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/loong/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/loong/package.use.mask index e8cf38cabda..85d28c1c673 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/loong/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/loong/package.use.mask @@ -1,6 +1,18 @@ # Copyright 2022-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Michał Górny (2026-06-20) +# dev-python/notebook is being dekeyworded. +dev-python/ipython notebook +dev-python/matplotlib-inline test +dev-python/nbclient test +dev-python/nbconvert test + +# Andreas Sturmlechner (2026-06-17) +# kde-frameworks/kdnssd and sys-auth/nss-mdns not keyworded here. +# Bugs #970037, #969360 +kde-apps/kio-extras samba + # Alfred Wingate (2026-05-13) # dev-qt/qtgraphs:6 is not keyworded here dev-python/pyside graphs @@ -217,7 +229,7 @@ sys-kernel/installkernel -grub # app-crypt/rpm-sequoia is keyworded here. app-arch/rpm -sequoia -# Violet Purcell (2023-10-12) +# Violet Purcell (2023-10-12) # dev-build/samurai is not keyworded here. app-alternatives/ninja samurai diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/m68k/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/m68k/package.use.mask index 58963e7376a..d2779537439 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/m68k/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/m68k/package.use.mask @@ -38,7 +38,7 @@ dev-lang/python jit # USE=bpf depends on llvm-core/clang which is not keyworded on m68k media-libs/libv4l bpf -# Violet Purcell (2023-10-12) +# Violet Purcell (2023-10-12) # dev-build/samurai is not keyworded here. app-alternatives/ninja samurai diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/mips/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/mips/package.use.mask index cdb83e7b248..241094833e8 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/mips/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/mips/package.use.mask @@ -1,8 +1,17 @@ # Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Pacho Ramos (2026-07-05) +# QT6 is not keyworded here, bug #977775 +dev-libs/appstream test + +# Michał Górny (2026-06-19) +# CLI requires dev-python/black that is being dekeyworded. +dev-python/hypothesis cli +dev-python/isort test + # Pacho Ramos (2026-05-09) -# appstream not keyworded +# dev-libs/appstream not keyworded, bug #977775 app-misc/media-player-info test # Alfred Wingate (2026-05-03) @@ -355,7 +364,7 @@ x11-misc/xscreensaver new-login # gui-libs/gtk:4 casualties app-i18n/ibus gtk4 -# Violet Purcell (2023-10-12) +# Violet Purcell (2023-10-12) # dev-build/samurai is not keyworded here. app-alternatives/ninja samurai diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/package.use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/package.use.stable.mask index 7a25f9c4f6f..343b3248896 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/package.use.stable.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/package.use.stable.mask @@ -46,6 +46,7 @@ media-sound/jack2 ieee1394 # Sam James (2020-07-30) # vulkan-loader and glslang are not yet stable on ppc media-libs/mesa video_cards_zink vulkan vulkan-overlay +>=gui-libs/gtk-4.20 vulkan # Sergei Trofimovich (2019-12-12) # Needs stable net-libs/webkit-gtk, bug #684702 diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc32/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc32/package.use.mask index cb5f037bc6c..008db5e2bd3 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc32/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc32/package.use.mask @@ -1,6 +1,22 @@ # Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Ionen Wolkens (2026-05-31) +# dev-qt/qtmultimedia:6 was dekeyworded due to notable test failures +# which stalled stabilizations (bug #973096) and there is low interest +# in getting it fixed. +app-office/texstudio video +dev-python/pyqt6 multimedia speech +games-roguelike/nethack qt6 +media-plugins/audacious-plugins qtmedia +media-video/mkvtoolnix dbus gui + +# Ionen Wolkens (2026-05-28) +# Old media-video/ffmpeg-compat:4 was dekeyworded on ppc due to build +# issues which are not going to be looked into (ffmpeg-4 may be removed +# entirely in a near future). +media-sound/moc ffmpeg + # Sam James (2026-04-28) # dev-cpp/cpp-httplib doesn't support 32-bit arches dev-util/ccache http @@ -73,7 +89,6 @@ x11-misc/xdg-utils plasma # Needs dev-qt/qtquick3d:6 which itself needs media-libs/assimp that # is no longer keyworded here and currently fails tests (bug #935313). dev-python/pyqt6 quick3d -dev-qt/qtmultimedia:6 qml # Sam James (2024-05-19) # media-libs/jasper not yet keyworded here: https://bugs.gentoo.org/921559 diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/package.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/package.mask index baff8a83c64..b8505ecb3ab 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/package.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/package.mask @@ -68,6 +68,7 @@ # little-endian power8 ppc64 configs are provided -sys-kernel/gentoo-kernel -sys-kernel/gentoo-kernel-bin +-sys-kernel/gentoo-kernel-modprep -sys-kernel/vanilla-kernel -virtual/dist-kernel diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/package.use.mask index d0171379986..4c156bd55b7 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/package.use.mask @@ -1,4 +1,4 @@ -# Copyright 2019-2025 Gentoo Authors +# Copyright 2019-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Ionen Wolkens (2026-03-16) @@ -13,11 +13,6 @@ media-video/ffmpeg -opencolorio # Doesn't work on ppc64, #871921 sci-mathematics/gmp-ecm custom-tune -# Michał Górny (2021-12-31) -# Don't apply stable masks to python-exec since we're forcing every -# impl there anyway. Please keep this in sync with use.stable.mask. -dev-lang/python-exec -python_targets_pypy3_11 - # Georgy Yakovlev (2021-06-02) # altivec code is big-endian only, #773100 media-libs/libdvbcsa cpu_flags_ppc_altivec diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/use.mask index 2b94493dde3..5199ed2b972 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/use.mask @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Paul Zander (2024-03-29) @@ -8,11 +8,6 @@ -openimageio -osl -# Michał Górny (2021-12-31) -# PyPy3 is keyworded here. --python_targets_pypy3_11 --python_single_target_pypy3_11 - # Sam James (2021-10-16) # media-libs/openexr doesn't work on BE, but should on LE. # ...and openscenegraph needs openexr. diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/use.stable.mask index 80c74af5629..fd05b87fb18 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/use.stable.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64le/use.stable.mask @@ -1,11 +1,6 @@ -# Copyright 2019-2025 Gentoo Authors +# Copyright 2019-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# Michał Górny (2021-12-31) -# PyPy3 target is not ready for stable. -python_targets_pypy3_11 -python_single_target_pypy3_11 - # Sam James (2021-11-14) # media-libs/openexr is not marked stable on ppc64 # (it's broken on BE and it's more convenient to keep it at ~arch here for now) diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64ul/package.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64ul/package.mask index 0686d825e2a..9c1c38827cc 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64ul/package.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64ul/package.mask @@ -1,6 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Alfredo Tupone (2026-06-01) +# depends on sympy +sci-ml/pytorch + # matoro (2024-06-10) # Requires ieee-long-double, i.e. ppc64le with 23.0 # profiles and up, #892183 diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64ul/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64ul/package.use.mask index 3d7620ef256..da465285276 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64ul/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64ul/package.use.mask @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Joonas Niilola (2023-08-24) @@ -10,11 +10,6 @@ www-client/firefox hwaccel # dev-python/networkx is keyworded here app-portage/nattka -depgraph-order -# Michał Górny (2021-12-31) -# Don't apply stable masks to python-exec since we're forcing every -# impl there anyway. Please keep this in sync with use.stable.mask. -dev-lang/python-exec -python_targets_pypy3_11 - # Georgy Yakovlev (2021-07-27) # deps not keyworded media-gfx/gnome-photos upnp-av diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64ul/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64ul/use.mask index b405a2be3be..0ce4dc7432b 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64ul/use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64ul/use.mask @@ -1,11 +1,6 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# Michał Górny (2021-12-31) -# PyPy3 is keyworded here. --python_targets_pypy3_11 --python_single_target_pypy3_11 - # Georgy Yakovlev (2020-06-03) # clang is keyworded and works on ppc64 -clang diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64ul/use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64ul/use.stable.mask index eb000ce9a1f..b94ace14de8 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64ul/use.stable.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/64ul/use.stable.mask @@ -1,11 +1,6 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# Michał Górny (2021-12-31) -# PyPy3 target is not ready for stable. -python_targets_pypy3_11 -python_single_target_pypy3_11 - # Georgy Yakovlev (2020-01-26) # media-plugins/frei0r-plugins not stable yet frei0r diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/package.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/package.mask index f4e39599e1b..8ba6c9aba9d 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/package.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/package.mask @@ -53,6 +53,7 @@ dev-java/openjfx:11 # however users can unmask and use savedconfig feature sys-kernel/gentoo-kernel sys-kernel/gentoo-kernel-bin +sys-kernel/gentoo-kernel-modprep sys-kernel/vanilla-kernel virtual/dist-kernel diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/package.use.mask index bf62386fe5e..e80b3cf5922 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/package.use.mask @@ -126,11 +126,6 @@ sci-libs/symengine tcmalloc # https://github.com/rustsec/rustsec/issues/707 dev-util/cargo-audit fix -# Michał Górny (2021-12-31) -# Don't apply stable masks to python-exec since we're forcing every -# impl there anyway. Please keep this in sync with use.stable.mask. -dev-lang/python-exec -python_targets_pypy3_11 - # Marek Szuba (2021-07-18) # media-plugins/zam-plugins not keyworded here media-sound/easyeffects zamaudio diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/use.mask index 8aff9be942b..c349f77b94d 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/use.mask @@ -1,4 +1,4 @@ -# Copyright 2008-2025 Gentoo Authors +# Copyright 2008-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 ### THIS FILE IS ONLY FOR PACKAGES MASKED ON BOTH 64-BIT AND 32-BIT USERLAND!!! @@ -11,11 +11,6 @@ embree openimageio osl -# Michał Górny (2021-12-31) -# PyPy3 is keyworded here. --python_targets_pypy3_11 --python_single_target_pypy3_11 - # Sam James (2021-10-16) # media-libs/openexr doesn't work on BE (bug #818424) # ...and openscenegraph needs openexr. diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/use.stable.mask index 1e7699edcda..d505fbefd46 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/use.stable.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/powerpc/ppc64/use.stable.mask @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # New entries go on top. @@ -8,11 +8,6 @@ # dev-lang/php:8.2 is not marked stable here yet (bug #920701) php_targets_php8-2 -# Michał Górny (2021-12-31) -# PyPy3 target is not ready for stable. -python_targets_pypy3_11 -python_single_target_pypy3_11 - # Sam James (2021-11-14) # media-libs/openexr is not marked stable on ppc64 # (it's broken on BE and it's more convenient to keep it at ~arch here for now) diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/ppc/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/ppc/package.use.mask index 4ee5232efc4..da965664597 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/ppc/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/ppc/package.use.mask @@ -1,6 +1,10 @@ # Copyright 2023-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Rick Farina (2026-06-13) +# net-wireless/rtl_433 and deps are not keyworded here +net-wireless/kismet rtlsdr + # Brett A C Sheffield (2026-04-22) # virtual/pandoc is not keyworded here >=dev-libs/xmlsec-1.3.11 doc diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/rv64gc/lp64/package.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/rv64gc/lp64/package.mask new file mode 100644 index 00000000000..e029df88b0c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/rv64gc/lp64/package.mask @@ -0,0 +1,6 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# rust-bin isn't available for soft-float. it installs as hardfloat +# and can't run afterwards... +dev-lang/rust-bin diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/rv64gc/lp64/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/rv64gc/lp64/package.use.mask new file mode 100644 index 00000000000..f62aaa8d0c1 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/rv64gc/lp64/package.use.mask @@ -0,0 +1,6 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Andreas K. Hüttel (2026-06-11) +# Needs hf for asm +dev-libs/leancrypto asm diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/use.mask index d36ed99060b..9f54cddbdb8 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/riscv/use.mask @@ -1,4 +1,4 @@ -# Copyright 2019-2025 Gentoo Authors +# Copyright 2019-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Unmask the flag which corresponds to ARCH. diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/s390/package.use.force b/sdk_container/src/third_party/portage-stable/profiles/arch/s390/package.use.force index 7b02f885948..a7d1e38de5e 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/s390/package.use.force +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/s390/package.use.force @@ -1,6 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Emi (2026-06-14) +# Force aspell since that is the only valid option for now. +app-text/enchant aspell + # Andreas K. Hüttel (2022-04-20) # s390-tools (in @system) needs this for building some bootloader code sys-devel/binutils multitarget diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/s390/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/s390/package.use.mask index da4327f8854..d9420c406ce 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/s390/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/s390/package.use.mask @@ -69,10 +69,6 @@ net-mail/dovecot cdb # media-libs/libyuv is not keyworded media-libs/imlib2 y4m -# Cristian Othón Martínez Vera (2025-04-09) -# dev-db/tinycdb is not keyworded here -mail-mta/sendmail tinycdb - # NRK (2025-03-17) # media-libs/libavif is not keyworded media-libs/imlib2 avif @@ -172,7 +168,7 @@ dev-python/matplotlib-inline test dev-python/nbclient test dev-python/nbconvert test -# Violet Purcell (2023-10-12) +# Violet Purcell (2023-10-12) # dev-build/samurai is not keyworded here. app-alternatives/ninja samurai diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/s390/s390/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/s390/s390/package.use.mask new file mode 100644 index 00000000000..d553883dc0b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/s390/s390/package.use.mask @@ -0,0 +1,7 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Andreas K. Hüttel (2026-06-16) +# Leads to build failures, and since this is very very much +# legacy arch only here ... +sys-apps/file seccomp diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/sparc/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/sparc/package.use.mask index a007acad7d4..3826649d0d2 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/sparc/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/sparc/package.use.mask @@ -1,13 +1,18 @@ # Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Pacho Ramos (2026-07-05) +# QT6 is not keyworded here, bug #977775 +dev-libs/appstream test + # Viorel Munteanu (2026-05-14) # dev-libs/efl not keyworded here app-misc/fastfetch efl # Pacho Ramos (2026-05-09) -# appstream not keyworded +# dev-libs/appstream not keyworded, bug #977775 app-misc/media-player-info test +dev-util/meld test # Jaco Kroon (2026-05-04) # media-libs/libyuv is not keyworded @@ -104,10 +109,6 @@ media-libs/imlib2 y4m app-editors/emacs jit sys-devel/gcc jit -# Cristian Othón Martínez Vera (2025-04-09) -# dev-db/tinycdb is not keyworded here -mail-mta/sendmail tinycdb - # NRK (2025-03-17) # media-libs/libyuv is not keyworded media-libs/libavif libyuv diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.use.mask index 4f7584f0c24..73e1ee3104b 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.use.mask @@ -1,6 +1,10 @@ # Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Brett A C Sheffield (2026-06-23) +# virtual/pandoc deps are not keyworded here +>=dev-libs/xmlsec-1.3.11 doc + # Alfred Wingate (2026-05-13) # dev-qt/qtgraphs:6 is not keyworded here dev-python/pyside graphs diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.use.stable.mask index 2f0608ca844..ccf0d8a983c 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.use.stable.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/x86/package.use.stable.mask @@ -79,7 +79,7 @@ virtual/notification-daemon kde # Matt Turner (2024-07-14) # spirv-llvm-translator < 17 is not stable on x86. - (2024-04-30) # sys-block/nbdkit is not yet marked stable here @@ -170,8 +170,3 @@ gnustep-base/gnustep-make libobjc2 # Michael Palimaka (2016-05-26) # Dependencies not yet stable dev-cpp/eigen test - -# Michał Górny (2014-03-30) -# Don't apply stable masks to python-exec since we're forcing every -# impl there anyway. Please keep this in sync with use.stable.mask. -dev-lang/python-exec -python_targets_pypy3_11 diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/x86/use.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/x86/use.mask index f7684006292..1fdfe1d1365 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/x86/use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/x86/use.mask @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Unmask the flag which corresponds to ARCH. @@ -65,11 +65,6 @@ webengine # libvirt is supported on x86 -libvirt -# Michał Górny (2014-03-30) -# PyPy is keyworded on this arch. --python_targets_pypy3_11 --python_single_target_pypy3_11 - # Andrey Grozin (2014-06-25) # keyworded on x86 -clisp diff --git a/sdk_container/src/third_party/portage-stable/profiles/arch/x86/use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/arch/x86/use.stable.mask index e0a387ce241..422c808e6bf 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/arch/x86/use.stable.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/arch/x86/use.stable.mask @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # New entries go on top. @@ -22,8 +22,3 @@ jasper # ... and has failing tests right now anyway # bug #753566 openvdb - -# Michał Górny (2014-03-30) -# PyPy is unstable on this arch. -python_targets_pypy3_11 -python_single_target_pypy3_11 diff --git a/sdk_container/src/third_party/portage-stable/profiles/base/make.defaults b/sdk_container/src/third_party/portage-stable/profiles/base/make.defaults index 6bf3181456b..716424f8e7b 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/base/make.defaults +++ b/sdk_container/src/third_party/portage-stable/profiles/base/make.defaults @@ -33,7 +33,6 @@ CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf" # # XDG_* since the values coming from user environment can collide with # ebuild-set ${HOME} (e.g. by referring to user's home directory). -# We exclude XDG_DATA_DIRS & XDG_CONFIG_DIRS as those are set in env.d. # # PERL_MM_OPT PERL5LIB PERL5OPT PERL_MB_OPT PERL_CORE PERLPREFIX: # These are guaranteed to confuse perl module installation. Pre-EAPI7 @@ -42,7 +41,7 @@ CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf" # GOBIN needs to be cleaned as random values in GOBIN can affect the # building of some packages: # https://archives.gentoo.org/gentoo-dev/message/163010f83ae7819d80c0cfdf797cbfe0 -ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY CARGO_HOME GDK_PIXBUF_MODULE_FILE XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_STATE_HOME XDG_RUNTIME_DIR PERL_MM_OPT PERL5LIB PERL5OPT PERL_MB_OPT PERL_CORE PERLPREFIX GOBIN GOPATH" +ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY CARGO_HOME GDK_PIXBUF_MODULE_FILE XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_DIRS XDG_CONFIG_HOME XDG_DATA_DIRS XDG_DATA_HOME XDG_STATE_HOME XDG_RUNTIME_DIR PERL_MM_OPT PERL5LIB PERL5OPT PERL_MB_OPT PERL_CORE PERLPREFIX GOBIN GOPATH" # Variables that are set exclusively by the profile # and not by user configuration files. @@ -124,12 +123,12 @@ PYTHONDONTWRITEBYTECODE="1" # This MUST be kept in sync with the PYTHON_TARGETS below # Mike Gilbert (2018-05-23) # sys-apps/baselayout-2.5 needs split-usr enabled. -BOOTSTRAP_USE="unicode pkg-config split-usr xml python_targets_python3_13 python_single_target_python3_13" +BOOTSTRAP_USE="unicode pkg-config split-usr xml python_targets_python3_14 python_single_target_python3_14" # Mike Gilbert (2012-05-15) # Default target(s) for python-r1.eclass -PYTHON_TARGETS="python3_13" -PYTHON_SINGLE_TARGET="python3_13" +PYTHON_TARGETS="python3_14" +PYTHON_SINGLE_TARGET="python3_14" # Michał Górny (2013-08-10) # Moved from portage's make.globals. diff --git a/sdk_container/src/third_party/portage-stable/profiles/base/package.mask b/sdk_container/src/third_party/portage-stable/profiles/base/package.mask index a9760e8f4e1..f38827f2fa1 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/base/package.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/base/package.mask @@ -1,6 +1,12 @@ # Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Conrad Kostecki (2026-06-27) +# CAPS/ISDN has been dropped from kernel, so we need to remove it. +# Masked and removal on 2026-07-12. +# See bug #977907 +net-libs/libcapi + # Sam James (2026-03-17) # Hurd-only packages dev-util/mig diff --git a/sdk_container/src/third_party/portage-stable/profiles/base/package.use b/sdk_container/src/third_party/portage-stable/profiles/base/package.use index d1ae84235ad..63fa8c1b425 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/base/package.use +++ b/sdk_container/src/third_party/portage-stable/profiles/base/package.use @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Michał Górny (2025-10-25) @@ -18,10 +18,8 @@ virtual/lapacke flexiblas # Michał Górny (2024-09-15) # Each flag is used by exactly one version, so let's default-enable # them all to make tattoo not fail on almost everything. -dev-python/python-tests:3.11 python_targets_python3_11 dev-python/python-tests:3.12 python_targets_python3_12 dev-python/python-tests:3.13 python_targets_python3_13 -dev-python/python-tests:3.13t python_targets_python3_13t dev-python/python-tests:3.14 python_targets_python3_14 dev-python/python-tests:3.14t python_targets_python3_14t diff --git a/sdk_container/src/third_party/portage-stable/profiles/base/package.use.force b/sdk_container/src/third_party/portage-stable/profiles/base/package.use.force index aef5b7dd353..8ff0553032d 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/base/package.use.force +++ b/sdk_container/src/third_party/portage-stable/profiles/base/package.use.force @@ -1,6 +1,12 @@ # Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Conrad Kostecki (2026-06-27) +# We need to force GCC for older releases, which is needed +# for dev-util/intel-graphics-compiler in the end, as long +# they do not support newer clang versions (bug #974434). + (2026-04-15) # The non-jumbo build failures are back in 2.52.x. =net-libs/webkit-gtk-2.52.3-r410 jumbo-build @@ -11,8 +17,9 @@ =sci-libs/opencascade-7.8* opengl # Andreas Sturmlechner (2025-06-22) -# This is currently more footgun than real option. Bugs #958638, #968227 - (2025-06-17) # Build system currently does not allow static libs to be optional, and @@ -443,15 +450,12 @@ app-shells/bash:0 readline # Michał Górny (2012-10-14) # Force-enable all PYTHON_TARGETS for python-exec to avoid using private # API. Please remember to keep it in sync with python_targets.desc. -dev-lang/python-exec python_targets_python3_11 dev-lang/python-exec python_targets_python3_12 dev-lang/python-exec python_targets_python3_13 -dev-lang/python-exec python_targets_python3_13t dev-lang/python-exec python_targets_python3_14 dev-lang/python-exec python_targets_python3_14t dev-lang/python-exec python_targets_python3_15 dev-lang/python-exec python_targets_python3_15t -dev-lang/python-exec python_targets_pypy3_11 # Zac Medico (2010-10-20) # Force ipc USE flag since it should remain enabled unless diff --git a/sdk_container/src/third_party/portage-stable/profiles/base/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/base/package.use.mask index 4a08cdc47c4..7a82cab69f1 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/base/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/base/package.use.mask @@ -6,6 +6,40 @@ # New entries go on top. +# Michał Górny (2026-07-02) +# Unsurpringly upstream doesn't support custom slotted Gentoo install. +dev-libs/libevent mbedtls + +# Conrad Kostecki (2026-06-27) +# We need to force GCC for older releases, which is needed +# for dev-util/intel-graphics-compiler in the end, as long +# they do not support newer clang versions (bug #974434). +# See bug #974434 + (2026-06-08) +# dev-libs/openssl-4.0.0/0.4 is currently masked +net-misc/curl ech +net-proxy/haproxy ech + +# Sam James (2026-06-01) +# Broken with new dev-python/pathspec (bug #973108) + (2026-05-04) +# opengl is broken +# pastix is broken, metis requires pastix +# blas and lapack are poorly maintained +# tests are finicky for 3/3.4 +dev-cpp/eigen blas lapack +dev-cpp/eigen opengl +dev-cpp/eigen metis pastix +dev-cpp/eigen:3/3.4 test + +# Paul Zander (2026-05-04) +# uses MeDiPack +~sci-libs/adolc-9999 -mpi + # Andreas Sturmlechner (2026-05-15) # Various integration packages. Preparing Qt5 last-rites. # Removal some time after 2026-05-30. @@ -13,8 +47,6 @@ app-i18n/fcitx-qt qt5 app-i18n/uim qt5 x11-themes/QGnomePlatform qt5 x11-themes/adwaita-qt qt5 -x11-themes/kvantum qt5 -x11-themes/qtcurve qt5 # Michał Górny (2026-05-07) # Force-enable all PYTHON_TARGETS for python-exec to avoid using private @@ -91,10 +123,6 @@ media-libs/subrandr debug # repository was archived. gui-wm/hyprland qtutils -# Michał Górny (2025-12-20) -# Needs last-rited dev-lang/julia. - (2025-09-20) # Require dev-libs/libtsm, only keyworded on amd64 and x86 @@ -159,7 +188,8 @@ games-simulation/flightgear gdal # Joonas Niilola (2025-05-14) # Experimental, no official upstream support. -www-client/firefox jpegxl +# 2026-06-15 update: after 152.0 upstream officially supports it. + (2025-05-01) # Requires llvm-15 @@ -220,10 +250,6 @@ llvm-core/llvm debuginfod # Missing dependencies not packaged currently dev-python/pyside doc -# Andreas Sturmlechner (2025-01-29) -# Prepare cleanup of kde-frameworks/syndication:5 -kde-frameworks/knewstuff:5 opds - # Eli Schwartz (2025-01-27) # Dependencies e.g. bindgen/netcdf/pypy not keyworded or stable in # most places. @@ -263,10 +289,6 @@ www-client/firefox wasm-sandbox # while Google fixes the issue. www-client/chromium system-icu -# Joonas Niilola (2024-11-07) -# Dependency for generating docs not packaged in Gentoo. #942992 -dev-util/repolite doc - # Sam James (2024-10-29) # Currently needs patched dev-util/sysprof. dev-libs/elfutils stacktrace diff --git a/sdk_container/src/third_party/portage-stable/profiles/base/package.use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/base/package.use.stable.mask index d292b61a9e7..b385fc8160d 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/base/package.use.stable.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/base/package.use.stable.mask @@ -4,6 +4,11 @@ # New entries go on top. # Please use the same syntax as in package.use.mask. +# Paul Zander (2026-05-04) +# Not intended for general use. +# The tests are wired up so we can test compilers. +dev-cpp/eigen test + # Sam James (2026-05-03) # Needs not-yet-stable GCC 16. dev-lang/python tail-call-interp @@ -161,10 +166,6 @@ app-backup/backup-manager s3 # The go flag requires stable masked dev-lang/go[gccgo]. www-servers/uwsgi go uwsgi_plugins_alarm_xmpp -# Michael Palimaka (2017-08-11) -# Unstable dependencies. -dev-util/rpmdevtools emacs - # Andreas Sturmlechner (2017-03-23) # Requires dev-lang/julia stabilisation, bug #613576 kde-apps/cantor julia diff --git a/sdk_container/src/third_party/portage-stable/profiles/base/use.stable.mask b/sdk_container/src/third_party/portage-stable/profiles/base/use.stable.mask index a36800a4e70..56de92ad369 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/base/use.stable.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/base/use.stable.mask @@ -4,10 +4,6 @@ # New entries go on top. # Please use the same syntax as in use.mask. -# Michał Górny (2024-12-31) -# LLVM slots with no stable releases yet. -llvm_slot_22 - # Hans de Graaff (2024-12-26) # Currently in testing and not ready to go stable yet. ruby_targets_ruby34 @@ -21,11 +17,8 @@ python_targets_python3_15t python_single_target_python3_15t python_targets_python3_14t python_single_target_python3_14t -python_targets_python3_13t -python_single_target_python3_13t -python_targets_pypy3_11 -python_single_target_pypy3_11 # Michael Orlitzky (2023-12-05) # New unstable PHP slots. php_targets_php8-4 +php_targets_php8-5 diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/hurd/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/default/hurd/package.use.mask index 7aa7565c604..cc66e0f881a 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/default/hurd/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/default/hurd/package.use.mask @@ -46,10 +46,6 @@ net-fs/samba fam # One example: https://tracker.ceph.com/issues/41523 >=sys-cluster/ceph-14.2 dpdk -# Michael Palimaka (2015-09-03) -# Native inotify support is preferred on linux. -kde-frameworks/kcoreaddons fam - # Diego Elio Pettenò (2012-08-27) # The libpci access is only used for linux. net-analyzer/net-snmp -pci diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/default/linux/package.use.mask index 5d049f52e9c..2fd0d30e1ad 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/default/linux/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/package.use.mask @@ -1,6 +1,10 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Ben Kohler (2025-11-11) # The depended on packages will need to be keyworded for various arches # to which I don't have access. @@ -38,10 +42,6 @@ net-fs/samba fam # One example: https://tracker.ceph.com/issues/41523 >=sys-cluster/ceph-14.2 dpdk -# Michael Palimaka (2015-09-03) -# Native inotify support is preferred on linux. -kde-frameworks/kcoreaddons fam - # Diego Elio Pettenò (2012-08-27) # The libpci access is only used for linux. net-analyzer/net-snmp -pci diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/17.0/musl/package.mask b/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/17.0/musl/package.mask new file mode 100644 index 00000000000..d649b4e6fec --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/17.0/musl/package.mask @@ -0,0 +1,10 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Holger Hoffstätte (2026-06-10) +# Crashes due to ABI incompatibility specifically on ppc/musl: +# https://bugs.gentoo.org/928297 +# https://github.com/LuaJIT/LuaJIT/issues/481 +# which will never be fixed. Still seems to work on ppc/glibc, +# so mask for ppc/musl only (until it gets fully removed). +dev-lang/luajit diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/17.0/musl/use.mask b/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/17.0/musl/use.mask new file mode 100644 index 00000000000..0bc0bdb4965 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/17.0/musl/use.mask @@ -0,0 +1,11 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Holger Hoffstätte (2026-06-10) +# Crashes due to ABI incompatibility specifically on ppc/musl: +# https://bugs.gentoo.org/928297 +# https://github.com/LuaJIT/LuaJIT/issues/481 +# which will never be fixed. Still seems to work on ppc/glibc, +# so mask for ppc/musl only (until it gets fully removed). +lua_single_target_luajit +lua_targets_luajit diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/23.0/musl/package.mask b/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/23.0/musl/package.mask new file mode 100644 index 00000000000..d649b4e6fec --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/23.0/musl/package.mask @@ -0,0 +1,10 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Holger Hoffstätte (2026-06-10) +# Crashes due to ABI incompatibility specifically on ppc/musl: +# https://bugs.gentoo.org/928297 +# https://github.com/LuaJIT/LuaJIT/issues/481 +# which will never be fixed. Still seems to work on ppc/glibc, +# so mask for ppc/musl only (until it gets fully removed). +dev-lang/luajit diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/23.0/musl/use.mask b/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/23.0/musl/use.mask new file mode 100644 index 00000000000..0bc0bdb4965 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/23.0/musl/use.mask @@ -0,0 +1,11 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Holger Hoffstätte (2026-06-10) +# Crashes due to ABI incompatibility specifically on ppc/musl: +# https://bugs.gentoo.org/928297 +# https://github.com/LuaJIT/LuaJIT/issues/481 +# which will never be fixed. Still seems to work on ppc/glibc, +# so mask for ppc/musl only (until it gets fully removed). +lua_single_target_luajit +lua_targets_luajit diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/23.0/split-usr/musl/package.mask b/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/23.0/split-usr/musl/package.mask new file mode 100644 index 00000000000..d649b4e6fec --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/23.0/split-usr/musl/package.mask @@ -0,0 +1,10 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Holger Hoffstätte (2026-06-10) +# Crashes due to ABI incompatibility specifically on ppc/musl: +# https://bugs.gentoo.org/928297 +# https://github.com/LuaJIT/LuaJIT/issues/481 +# which will never be fixed. Still seems to work on ppc/glibc, +# so mask for ppc/musl only (until it gets fully removed). +dev-lang/luajit diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/23.0/split-usr/musl/use.mask b/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/23.0/split-usr/musl/use.mask new file mode 100644 index 00000000000..0bc0bdb4965 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/ppc/23.0/split-usr/musl/use.mask @@ -0,0 +1,11 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Holger Hoffstätte (2026-06-10) +# Crashes due to ABI incompatibility specifically on ppc/musl: +# https://bugs.gentoo.org/928297 +# https://github.com/LuaJIT/LuaJIT/issues/481 +# which will never be fixed. Still seems to work on ppc/glibc, +# so mask for ppc/musl only (until it gets fully removed). +lua_single_target_luajit +lua_targets_luajit diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/riscv/23.0/rv64/lp64d/musl/package.mask b/sdk_container/src/third_party/portage-stable/profiles/default/linux/riscv/23.0/rv64/lp64d/musl/package.mask index b0aa7035d29..25fc29d0af1 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/default/linux/riscv/23.0/rv64/lp64d/musl/package.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/riscv/23.0/rv64/lp64d/musl/package.mask @@ -1,6 +1,3 @@ -# Copyright 2024 Gentoo Authors +# Copyright 2024-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# Arthur Zamarin (2024-06-12) -# rust-bin is available on riscv musl --dev-lang/rust-bin diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/riscv/23.0/rv64/split-usr/lp64d/musl/package.mask b/sdk_container/src/third_party/portage-stable/profiles/default/linux/riscv/23.0/rv64/split-usr/lp64d/musl/package.mask index b0aa7035d29..4a96280d4f6 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/default/linux/riscv/23.0/rv64/split-usr/lp64d/musl/package.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/riscv/23.0/rv64/split-usr/lp64d/musl/package.mask @@ -1,6 +1,2 @@ -# Copyright 2024 Gentoo Authors +# Copyright 2024-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 - -# Arthur Zamarin (2024-06-12) -# rust-bin is available on riscv musl --dev-lang/rust-bin diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/deprecated b/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/deprecated new file mode 100644 index 00000000000..355f9e8676e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/deprecated @@ -0,0 +1,18 @@ + + +The legacy 32bit ABI support for IBM S390 mainframes is on the way out just +about everywhere: + +* Pure 32bit hardware is by now nonexistent (64bit support exists since 2002). +* Full 32bit kernel support is gone since 2014. +* The 32bit ABI userspace emulation layer has been dropped in the kernel since + version 6.19. +* glibc will drop 32bit ABI support in version 2.44. +* gcc will drop 32bit ABI support in version 17. + +As a consequence, Gentoo will also drop support for it, effective immediately. +There will be no stage builds anymore. The 32bit profiles will be marked +deprecated and experimental, no longer receive any testing, and be removed +in the next profile version. Corresponding bug reports may get ignored or +closed immediately. If you are still using this configuration, we urge you to +find an alternative. diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/split-usr/deprecated b/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/split-usr/deprecated new file mode 100644 index 00000000000..355f9e8676e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/split-usr/deprecated @@ -0,0 +1,18 @@ + + +The legacy 32bit ABI support for IBM S390 mainframes is on the way out just +about everywhere: + +* Pure 32bit hardware is by now nonexistent (64bit support exists since 2002). +* Full 32bit kernel support is gone since 2014. +* The 32bit ABI userspace emulation layer has been dropped in the kernel since + version 6.19. +* glibc will drop 32bit ABI support in version 2.44. +* gcc will drop 32bit ABI support in version 17. + +As a consequence, Gentoo will also drop support for it, effective immediately. +There will be no stage builds anymore. The 32bit profiles will be marked +deprecated and experimental, no longer receive any testing, and be removed +in the next profile version. Corresponding bug reports may get ignored or +closed immediately. If you are still using this configuration, we urge you to +find an alternative. diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/systemd/deprecated b/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/systemd/deprecated new file mode 100644 index 00000000000..355f9e8676e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/systemd/deprecated @@ -0,0 +1,18 @@ + + +The legacy 32bit ABI support for IBM S390 mainframes is on the way out just +about everywhere: + +* Pure 32bit hardware is by now nonexistent (64bit support exists since 2002). +* Full 32bit kernel support is gone since 2014. +* The 32bit ABI userspace emulation layer has been dropped in the kernel since + version 6.19. +* glibc will drop 32bit ABI support in version 2.44. +* gcc will drop 32bit ABI support in version 17. + +As a consequence, Gentoo will also drop support for it, effective immediately. +There will be no stage builds anymore. The 32bit profiles will be marked +deprecated and experimental, no longer receive any testing, and be removed +in the next profile version. Corresponding bug reports may get ignored or +closed immediately. If you are still using this configuration, we urge you to +find an alternative. diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/time64/deprecated b/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/time64/deprecated new file mode 100644 index 00000000000..355f9e8676e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/time64/deprecated @@ -0,0 +1,18 @@ + + +The legacy 32bit ABI support for IBM S390 mainframes is on the way out just +about everywhere: + +* Pure 32bit hardware is by now nonexistent (64bit support exists since 2002). +* Full 32bit kernel support is gone since 2014. +* The 32bit ABI userspace emulation layer has been dropped in the kernel since + version 6.19. +* glibc will drop 32bit ABI support in version 2.44. +* gcc will drop 32bit ABI support in version 17. + +As a consequence, Gentoo will also drop support for it, effective immediately. +There will be no stage builds anymore. The 32bit profiles will be marked +deprecated and experimental, no longer receive any testing, and be removed +in the next profile version. Corresponding bug reports may get ignored or +closed immediately. If you are still using this configuration, we urge you to +find an alternative. diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/time64/split-usr/deprecated b/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/time64/split-usr/deprecated new file mode 100644 index 00000000000..355f9e8676e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/time64/split-usr/deprecated @@ -0,0 +1,18 @@ + + +The legacy 32bit ABI support for IBM S390 mainframes is on the way out just +about everywhere: + +* Pure 32bit hardware is by now nonexistent (64bit support exists since 2002). +* Full 32bit kernel support is gone since 2014. +* The 32bit ABI userspace emulation layer has been dropped in the kernel since + version 6.19. +* glibc will drop 32bit ABI support in version 2.44. +* gcc will drop 32bit ABI support in version 17. + +As a consequence, Gentoo will also drop support for it, effective immediately. +There will be no stage builds anymore. The 32bit profiles will be marked +deprecated and experimental, no longer receive any testing, and be removed +in the next profile version. Corresponding bug reports may get ignored or +closed immediately. If you are still using this configuration, we urge you to +find an alternative. diff --git a/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/time64/systemd/deprecated b/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/time64/systemd/deprecated new file mode 100644 index 00000000000..355f9e8676e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/default/linux/s390/23.0/time64/systemd/deprecated @@ -0,0 +1,18 @@ + + +The legacy 32bit ABI support for IBM S390 mainframes is on the way out just +about everywhere: + +* Pure 32bit hardware is by now nonexistent (64bit support exists since 2002). +* Full 32bit kernel support is gone since 2014. +* The 32bit ABI userspace emulation layer has been dropped in the kernel since + version 6.19. +* glibc will drop 32bit ABI support in version 2.44. +* gcc will drop 32bit ABI support in version 17. + +As a consequence, Gentoo will also drop support for it, effective immediately. +There will be no stage builds anymore. The 32bit profiles will be marked +deprecated and experimental, no longer receive any testing, and be removed +in the next profile version. Corresponding bug reports may get ignored or +closed immediately. If you are still using this configuration, we urge you to +find an alternative. diff --git a/sdk_container/src/third_party/portage-stable/profiles/desc/python_single_target.desc b/sdk_container/src/third_party/portage-stable/profiles/desc/python_single_target.desc index 128ac346e76..33cb3c47f7c 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/desc/python_single_target.desc +++ b/sdk_container/src/third_party/portage-stable/profiles/desc/python_single_target.desc @@ -3,12 +3,9 @@ # This file contains descriptions of PYTHON_SINGLE_TARGET USE_EXPAND flags. -python3_11 - Build for Python 3.11 only python3_12 - Build for Python 3.12 only python3_13 - Build for Python 3.13 only -python3_13t - Build for Python 3.13 freethreading only python3_14 - Build for Python 3.14 only python3_14t - Build for Python 3.14 freethreading only python3_15 - Build for Python 3.15 only python3_15t - Build for Python 3.15 freethreading only -pypy3_11 - Build for PyPy3.11 only diff --git a/sdk_container/src/third_party/portage-stable/profiles/desc/python_targets.desc b/sdk_container/src/third_party/portage-stable/profiles/desc/python_targets.desc index f3a008e1703..8e351ad78db 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/desc/python_targets.desc +++ b/sdk_container/src/third_party/portage-stable/profiles/desc/python_targets.desc @@ -3,12 +3,9 @@ # This file contains descriptions of PYTHON_TARGETS USE_EXPAND flags. -python3_11 - Build with Python 3.11 python3_12 - Build with Python 3.12 python3_13 - Build with Python 3.13 -python3_13t - Build with Python 3.13 freethreading python3_14 - Build with Python 3.14 python3_14t - Build with Python 3.14 freethreading python3_15 - Build with Python 3.15 python3_15t - Build with Python 3.15 freethreading -pypy3_11 - Build with PyPy3.11 diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.mask b/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.mask index a980e3c9fe0..49e5e29ae96 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.mask @@ -1,6 +1,10 @@ # Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Maciej Barć (2026-06-22) +# Binary compiled against glibc +dev-lang/unison-lang-bin + # Sam James (2026-02-11) # Fails to build on musl (bug #968134, https://sourceware.org/PR33747) ~dev-debug/gdb-17.1 @@ -82,10 +86,6 @@ sys-auth/libnss-mysql sys-auth/nss_ldap net-nds/nsscache -# Sam James (2024-09-30) -# Needs porting to musl (bug #940130) -~sys-auth/elogind-255.17 - # Sam James (2024-08-31) # sys-devel/binutils[gprofng] is masked on musl dev-debug/gprofng-gui diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.force b/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.force index 0bd825872f8..c84e8bbe1d8 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.force +++ b/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.force @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Sam James (2024-06-03) @@ -6,7 +6,7 @@ # work on musl. kde-plasma/kwin -filecaps -# Violet Purcell (2023-04-25) +# Violet Purcell (2023-04-25) # SBCL Upstream does not provide musl binaries for bootstrap, use CLisp. dev-lisp/sbcl system-bootstrap diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.mask index e252d48ffff..2093e0c9eb7 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/features/musl/package.use.mask @@ -52,7 +52,7 @@ gui-apps/wayvnc tracing kde-plasma/kwin filecaps kde-plasma/powerdevil filecaps -# Violet Purcell (2024-05-15) +# Violet Purcell (2024-05-15) # Python does not support JIT on musl, see # https://peps.python.org/pep-0744/#support. dev-lang/python jit @@ -101,7 +101,7 @@ sys-libs/glibc cet # bug 912284 sys-devel/binutils gprofng -# Violet Purcell (2024-01-25) +# Violet Purcell (2024-01-25) # f16c support in gtk4 requires the ifunc attribute, which # is not available on musl. There is a configure check for # this, however it seems to be unreliable, see bug #922897. @@ -115,7 +115,7 @@ dev-lang/ispc gpu # execinfo.h required for server. games-board/cockatrice server -# Violet Purcell (2023-09-18) +# Violet Purcell (2023-09-18) # Fails to compile on musl, bug 829544. media-sound/supercollider ableton-link diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/selinux/make.defaults b/sdk_container/src/third_party/portage-stable/profiles/features/selinux/make.defaults index d7e8ef2aaf7..3e5aca1f499 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/features/selinux/make.defaults +++ b/sdk_container/src/third_party/portage-stable/profiles/features/selinux/make.defaults @@ -1,10 +1,11 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # curl_ssl_openssl & ssl flags are required to satisfy pycurl deps for stage1 # jpeg for dev-python/pillow to satisfy matplotlib # unconfined for sec-policy/selinux-base-policy BOOTSTRAP_USE="${BOOTSTRAP_USE} curl_ssl_openssl jpeg ssl unconfined" +BOOTSTRAP_USE="${BOOTSTRAP_USE} selinux_policy_types_strict selinux_policy_types_targeted selinux_policy_types_mcs selinux_policy_types_mls" # selinux - Enable SELinux support USE="selinux" diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/selinux/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/features/selinux/package.use.mask deleted file mode 100644 index aa49b38fbba..00000000000 --- a/sdk_container/src/third_party/portage-stable/profiles/features/selinux/package.use.mask +++ /dev/null @@ -1,11 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Brian Dolbec (2014-09-17) -# mask pypy for several utilities due to incompatibility with libselinux -sys-apps/portage python_targets_pypy3_11 -app-portage/elicense python_targets_pypy3_11 -app-portage/elogv python_targets_pypy3_11 -app-portage/gentoolkit python_targets_pypy3_11 -app-portage/smart-live-rebuild python_targets_pypy3_11 -app-portage/gentoopm python_targets_pypy3_11 diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/wd40/package.mask b/sdk_container/src/third_party/portage-stable/profiles/features/wd40/package.mask index 481c6e9dc8a..99364b9f791 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/features/wd40/package.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/features/wd40/package.mask @@ -1,6 +1,19 @@ # Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Michał Górny (2025-07-04) +# Hypothesis has now been RIIR-ed. +>=dev-python/hypothesis-6.156 + +# Michał Górny (2025-07-01) +# Requires dev-python/rpds-py. +dev-python/octave-kernel + +# Michał Górny (2025-06-02) +# Require dev-python/pydantic. +dev-python/syrupy +dev-python/translate-toolkit + # Michał Górny (2025-05-07) # dev-python/mypy now started requiring NIH Rust packages. dev-ada/ada_language_server @@ -52,6 +65,8 @@ dev-python/unicode-segmentation-rs >=app-i18n/ibus-chewing-2.1.7 >=app-i18n/libchewing-0.10.3 dev-build/corrosion +dev-libs/cxx-rust-cssparser +kde-plasma/union # Patrick McLean (2025-09-16) # New version is rewritten in rust @@ -64,6 +79,8 @@ app-portage/emlop # Michał Górny (2024-05-08) # Pure Python packages using dev-python/uv-build, and therefore # requiring Rust to install, and their reverse dependencies. +app-text/paperwork +app-text/paperwork-backend dev-python/aiosmtpd dev-python/atpublic dev-python/behave @@ -82,20 +99,31 @@ dev-python/djangorestframework dev-python/easy-thumbnails dev-python/flufl-lock dev-python/gherkin-official +dev-python/guessit +dev-python/knowit dev-python/logfury +dev-python/narwhals +dev-python/progressbar2 dev-python/pykwalify dev-python/pytest-bdd dev-python/pytest-describe dev-python/pytest-django dev-python/pytest-golden dev-python/pytest-socket +dev-python/python-utils +dev-python/rebulk +dev-python/scikit-learn dev-python/sphinxcontrib-doxylink >=dev-python/sphinxcontrib-httpdomain-2.0 dev-python/sybil dev-python/testfixtures dev-python/toml-fmt-common +dev-python/trakit dev-python/uv-build +dev-python/vcsgraph dev-python/zmq-anyio +dev-util/elf_diff +media-video/subliminal net-analyzer/fail2ban sci-libs/cartopy sci-libs/pcl @@ -214,8 +242,6 @@ gnome-extra/gnome-characters gnome-extra/cjs gnome-extra/cinnamon gnome-extra/gnome-shell-extension-dash-to-panel -gnome-extra/gnome-shell-extension-weather-in-the-clock -gnome-extra/gnome-shell-extension-bluetooth-quick-connect gnome-extra/gnome-shell-extension-gsconnect gnome-extra/gnome-shell-extension-desktop-icons-ng gnome-extra/gnome-shell-extension-appindicator @@ -410,7 +436,6 @@ dev-python/paramiko dev-python/patiencediff dev-python/pooch dev-python/pydantic -dev-python/pydantic-core dev-python/pydantic-settings dev-python/pyfuse3 >=dev-python/pyopenssl-22 @@ -441,7 +466,6 @@ dev-python/service-identity dev-python/setuptools-rust dev-python/sshpubkeys dev-python/sshtunnel -dev-python/tempest dev-python/tibs dev-python/trustme dev-python/trio diff --git a/sdk_container/src/third_party/portage-stable/profiles/features/wd40/package.use.mask b/sdk_container/src/third_party/portage-stable/profiles/features/wd40/package.use.mask index d7ae9bd26cc..400ff160e2c 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/features/wd40/package.use.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/features/wd40/package.use.mask @@ -1,6 +1,11 @@ # Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Andreas Sturmlechner (2026-06-08) +# Requires dev-build/corrosion, iow rust/cargo. +kde-plasma/kdeplasma-addons led +kde-plasma/plasma-integration union + # Michał Górny (2025-05-23) # dev-python/pytest-socket now requires dev-python/uv-build. dev-ada/e3-core test @@ -267,6 +272,7 @@ www-apps/roundup ssl dev-python/anyio test dev-python/httpcore test dev-python/httpx test +dev-python/httpx2 test dev-python/aiohttp-socks test dev-python/truststore test diff --git a/sdk_container/src/third_party/portage-stable/profiles/package.deprecated b/sdk_container/src/third_party/portage-stable/profiles/package.deprecated index 66e1ec29461..bc4a45c0452 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/package.deprecated +++ b/sdk_container/src/third_party/portage-stable/profiles/package.deprecated @@ -17,6 +17,15 @@ #--- END OF EXAMPLES --- +# Michał Górny (2026-06-10) +# Part of stdlib since Python 3.11 (as tomllib). +dev-python/tomli + +# Michał Górny (2026-06-06) +# Discontinued upstream, with explicit note that they will not be fixing +# any further security issues. +dev-python/bleach + # Michał Górny (2026-05-08) # The package was archived upstream as pytest-9 features built-in # subtest support. Gotta check if we need any code changes, or can just @@ -69,10 +78,10 @@ dev-python/httpretty dev-python/berkeleydb # Michał Górny (2025-10-01) -# dev-python/passlib is unmaintained upstream (last release in 2020), +# dev-python/libpass is unmaintained upstream (last release in 2020), # and we keep having to patch breakage out. Packages really need # to migrate out of it. -dev-python/passlib +dev-python/libpass # Michał Górny (2025-07-29) # dev-python/flaky and dev-python/pytest-rerunfailurse have conflicting diff --git a/sdk_container/src/third_party/portage-stable/profiles/package.mask b/sdk_container/src/third_party/portage-stable/profiles/package.mask index 930706773ff..e7dc1a0ef4e 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/package.mask +++ b/sdk_container/src/third_party/portage-stable/profiles/package.mask @@ -36,18 +36,162 @@ #--- END OF EXAMPLES --- +# Eray Aslan (2026-07-06) +# Introduces backwards breaking change. Mask until downstreams adjust +>=dev-db/lmdb-1.0.0 + +# Michał Górny (2026-07-04) +# Renamed to dev-python/jsonschema-path. No revdeps left. +# Removal on 2026-08-03. +dev-python/jsonschema-spec + +# Michał Górny (2026-06-30) +# Backwards compatibility wrapper. No revdeps left. +# Removal on 2026-07-30. +dev-python/roman-numerals-py + +# Conrad Kostecki (2026-06-29) +# ICR (Intel Compute Runtime) is currently not compatible. +# Will be unmasked, once a new version is available. +>=dev-libs/level-zero-1.32.0 + +# Michał Górny (2026-06-29) +# Unmaintained. Requires patching since py3.12. No revdeps. +# Removal on 2026-07-29. Bug #978274. +dev-python/commentjson + +# Andreas K. Hüttel (2026-06-23) +# Work in progress +=dev-lang/perl-5.44* +~virtual/perl-Archive-Tar-3.120.0 +~virtual/perl-Compress-Raw-Bzip2-2.218.0 +~virtual/perl-CPAN-Meta-2.150.13 +~virtual/perl-CPAN-Meta-Requirements-2.145.0 +~virtual/perl-DB_File-1.860.0 +~virtual/perl-Encode-3.240.0 +~virtual/perl-ExtUtils-CBuilder-0.280.243 +~virtual/perl-ExtUtils-MakeMaker-7.780.0 +~virtual/perl-ExtUtils-ParseXS-3.630.0 +~virtual/perl-File-Spec-3.950.0 +~virtual/perl-IO-1.560.0 +~virtual/perl-IO-Compress-2.220.0 +~virtual/perl-IO-Socket-IP-0.440.0 +~virtual/perl-Math-BigInt-2.5.3 +~virtual/perl-Module-CoreList-5.202.606.10 +~virtual/perl-Module-Metadata-1.0.39 +~virtual/perl-Pod-Simple-3.480.0 +~virtual/perl-Scalar-List-Utils-1.700.0 +~virtual/perl-Socket-2.41.0 +~virtual/perl-Storable-3.410.0 +~virtual/perl-Term-Table-0.28.0 +~virtual/perl-Test2-Suite-1.302.219 +~virtual/perl-Test-Harness-3.520.0 +~virtual/perl-Test-Simple-1.302.219 +~virtual/perl-Text-Balanced-2.70.0 +~virtual/perl-threads-2.450.0 +~virtual/perl-Time-HiRes-1.978.0 +~virtual/perl-version-0.993.400 + +# Michał Górny (2026-06-20) +# No py3.14 in compat, tests lost on bump, no revdeps. +# Removal on 2026-07-20. Bug #973904. +dev-python/pyx +dev-python/sphinx-selective-exclude + +# Michał Górny (2026-06-20) +# Both packages are completely broken and do not install correctly. +# Removal on 2026-07-20. Bug #977003. +sci-chemistry/GromacsWrapper +sci-libs/numkit + +# Michał Górny (2026-06-20) +# No maintainer, no py3.14 compat, broken tests, no revdeps. +# Removal on 2026-07-20. Bug #973876. +dev-python/pdoc3 + +# Michał Górny (2026-06-20) +# No py3.14 compat, broken tests, no revdeps. +# Removal on 2026-07-20. Bug #973847. +dev-python/django-cacheops + +# Michał Górny (2026-06-20) +# NIH package with little activity. Last revdeps were removed +# in Sep 2025. +# Removal on 2026-07-20. Bug #977772. +dev-python/pyotherside + +# Michał Górny (2026-06-19) +# dev-python/pytrie is broken on Python 3.14 and has not been touched +# since 2020. dev-python/autobahn and dev-python/txaio have become +# complete broken slop, and still depend on it. Remove these packages, +# their reverse dependencies and their dependencies without revdeps. +# Removal on 2026-07-19. Bug #967367. +dev-python/autobahn +dev-python/magic-wormhole +dev-python/magic-wormhole-mailbox-server +dev-python/magic-wormhole-transit-relay +dev-python/py-ubjson +dev-python/pytrie +dev-python/txaio +dev-python/vpython +dev-python/wsaccel + +# Ionen Wolkens (2026-06-11) +# Not used by maintainer anymore and, upon consideration, would rather +# not handle the new rust rewrite using GTK4 and /dev/uinput (notably +# needs permissions for uinput but we do not have global rules to handle +# that yet and having this package arbitrarily set this up is +# questionable and could break current usage). Seems better to last-rite +# rather than leave it outdated as maintainer-needed with this old +# version that is known to occasionally segfault. +# Removal on 2026-07-11. +x11-misc/mygestures + +# Ulrich Müller (2026-06-05) +# Pretest versions, masked for testing. + (2026-06-03) +# Mike Pagano (2026-06-03) +# Support for 5.10.x and 5.15.x kernels in Gentoo is being discontinued. +# +# These kernel branches differ so much from the mainline kernel that +# security patches are frequently delayed or never backported upstream +# at all. The need for proactive downstream backporting creates a lot +# of maintenance effort for us, and we neither feel confident with +# correctness, nor with completeness of our backports. +# +# Users can still download kernel sources from upstream repositories +# if necessary. +# +# Bug #976694. Removal on 2026-07-03. + (2026-06-02) +# Fails to start (bug #976623) +=sys-auth/elogind-255.26 +=sys-auth/elogind-257.15 + +# David Seifert (2026-05-30) +# Last update 25 years ago, stuck on linux-mod.eclass, lots of QA issues, +# doesn't build on recent kernels. Removal on 2026-06-29. Bug #908712. +media-libs/svgalib + +# Paul Zander (2025-10-17) +# to many breakages +dev-cpp/eigen:3/5.0 + # Matt Turner (2026-05-22) # Deprecated upstream. Relies on removed XA support in Mesa. Use the built-in # modesetting driver instead. Bug #957955. # Removal on 2026-06-21. x11-drivers/xf86-video-vmware -# Andreas Sturmlechner (2026-05-18) -# Almost no one else is packaging net-libs/zmqpp, no more revdeps. -# Bugs #667060, 951835. Removal on 2026-06-17. -net-libs/zmqpp -=sci-mathematics/yacas-1.9.1-r2 - # Sam James (2026-05-17) # Tries to delete many files (bug #975236) =dev-util/jenkins-bin-2.561 @@ -81,11 +225,6 @@ dev-qt/qttranslations:5 dev-qt/qtwayland:5 dev-qt/qtx11extras:5 -# Andreas Sturmlechner (2026-05-15) -# Obsolete 3rd party Qt5 integration package. -# Removal on 2026-06-14. -x11-misc/qt5ct - # Andreas Sturmlechner (2026-05-15) # USE=gui in this version depends on Qt5 and can no longer be supported. # VLC-4 snapshots are provided with a Qt6-based USE=gui. @@ -94,85 +233,6 @@ x11-misc/qt5ct # Bug #954006. Removal some time after 2026-05-30. =media-video/vlc-3.0.23 -# Andreas Sturmlechner (2026-05-15) -# Depends on Qt5 and does not appear to be ported to Qt6 upstream soon. -# With net-irc/quassel-0.14.50_pre20260513, we provide an ~arch keyworded -# snapshot, cut from the so far most promising PR pending upstream. -# Bug #953029. Removal on or some time after 2026-05-30. -<=net-irc/quassel-0.14.49 - -# David Seifert (2026-05-12) -# dev-util/claude-code and dev-util/codex (guru) provide vastly more tokens -# than relying on cursor as a broker. I don't see a future for cursor-agent. -# Removal on 2026-06-11. -dev-util/cursor-agent - -# David Seifert (2026-05-12) -# I don't see a future in a slightly better tab-completion editor. -# Removal on 2026-06-11. -app-editors/cursor - -# Louis Sautier (2026-05-10) -# Unmaintained since 2017, no revdeps. -# Removal on 2026-06-10. Bug #974496. -dev-python/flask-debug -dev-python/flask-nav - -# Louis Sautier (2026-05-10) -# Unmaintained since 2018, no revdeps. -# Only consumer is www-misc/urlwatch which suggests it. -# Removal on 2026-06-10. Bug #953050. -dev-python/chump - -# Pacho Ramos (2026-05-09) -# Obsolete version not compatible with current gnome-shell versions. -# Upstream changed completely the way to package it. If still interested, -# feel free to take it and update it. Removal in one month. Bug #974452 -gnome-extra/gnome-shell-extension-bluetooth-quick-connect - -# Pacho Ramos (2026-05-09) -# No longer developed by upstream, does not work with current gnome-shell -# versions. Removal in one month. Bug #974453 -gnome-extra/gnome-shell-extension-bluetooth-quick-connect - -# Pacho Ramos (2026-05-09) -# No longer developed by upstream, does not work with current gnome-shell -# versions. Use gnome-shell-extension-weather-oclock instead. -# Removal in one month. Bug #974454 -gnome-extra/gnome-shell-extension-weather-in-the-clock - -# Michał Górny (2026-05-09) -# Unmaintained upstream and broken with Python 3.13. -# Removal on 2026-06-08. Bug #952342. -dev-python/ipdb - -# Michał Górny (2026-05-09) -# Discontinued upstream, broken with Python 3.14 and have no reverse -# dependencies outside the cycle. -# Removal on 2026-06-08. Bug #973008. -dev-python/dockerpty -dev-python/doublex-expects -dev-python/expects -dev-python/mamba - -# Michał Górny (2026-05-09) -# Unmaintained, bad quality packages. No support for Python 3.13. -# No reverse dependencies. -# Removal on 2026-06-08. Bug #952373. -dev-python/js2py -dev-python/pyjsparser - -# Michał Górny (2026-05-09) -# Discontinued upstream, no support for Python 3.14, no revdeps left. -# Removal on 2026-06-08. Bug #974029. -net-im/telepathy-logger - -# Michał Górny (2026-05-09) -# Discontinued split compression library from app-arch/upx. It was -# replaced by a vendored version, and has no reverse dependencies. -# Removal on 2026-06-08. Bug #921202. -dev-libs/ucl - # Michał Górny (2026-05-09) # The buildbot packages aren't actively maintained in ::gentoo. They # are stuck on Python 3.12 and obsolete dependencies. Bug reports @@ -194,17 +254,6 @@ dev-util/buildbot-wsgi-dashboards dev-util/buildbot-www dev-util/buildbot-www-react -# Michał Górny (2026-05-08) -# Django 4.2 LTS reached EOL in April 2026, and is now vulnerable. -# Removal on 2026-06-07. - (2026-05-06) -# Merged into dev-python/pydantic, since it is tightly pinned -# and involves a tightly pinned cyclic test dependency. -# Removal on 2026-06-05. -dev-python/pydantic-core - # Sam James (2026-05-05) # dev-debug/pwndbg itself needs >=dev-util/unicorn-2.1.4, while # pwndbg also depends on dev-util/pwntools which needs =dev-util/pwntools-4.15.0 -# Sebastian Pipping (2026-05-01) -# Dead for five years upstream, use Golang successor :2 instead please -# Removal on 2026-06-01, bug #973547 -app-containers/docker-compose:0 - # Daniel Pielmeier (2026-04-21) # Mask last version with USE qt5 which is about to be last rited. # Bugs #950282, #961920. Remove with other Qt5 masks. (2026-04-21) -# PyPy 7.3.21 contains a few major bugs, notably it segfaults when -# trying to translate itself, making it impossible to build any new PyPy -# version. Please note that the downgrade may require using binary -# packages or dev-python/pypy-exe-bin. -=dev-lang/pypy-2.7.7.3.21 -=dev-lang/pypy-3.11.7.3.21 -=dev-lang/pypy3-exe-3.11.7.3.21 -=dev-lang/pypy3-exe-bin-3.11.7.3.21 -=dev-python/pypy-exe-7.3.21 -=dev-python/pypy-exe-bin-7.3.21 - -# Sam James (2026-04-20) -# m2crypto is deprecated upstream and in maintenance mode. They recommend -# using dev-python/cryptography instead. No reverse dependencies left. -# Often broke with new OpenSSL as well. -# Removal on 2026-05-20. Bug #973014. -dev-python/m2crypto - -# Michał Górny (2026-04-20) -# Upstream added new 'encutils' dep that uses the nightmarish -# coherent.build and depends on chardet. While both are solvable, -# the last revdep of cssutils was removed in 2020, and has been inactive -# since 2017. -# Removal on 2026-05-20. Bug #972983. -dev-python/cssutils - # Sam James (2026-04-19) # Major new release with lots of broken packages expected. Notably, even # dev-lang/python isn't yet. Please use with caution and file bugs for @@ -257,68 +274,14 @@ dev-python/cssutils =dev-libs/openssl-4* =dev-libs/openssl-compat-3* -# Michał Górny (2026-04-18) -# Packages with no maintainer that have not been ported to Python 3.13, -# and that have no reverse dependencies. -# Removal on 2026-05-18. See tracker bug #941893. -dev-python/matterhook -dev-python/pytest-markdown -dev-python/stomp-py -dev-util/repolite -dev-util/rpmdevtools -net-misc/chrome-remote-desktop -net-misc/you-get -sys-apps/kcheck -sys-auth/solo1 -sys-kernel/bliss-initramfs -sys-kernel/kergen -www-apache/mod_gnutls - # Sam James (2026-04-17) # app-misc/tmux fails to open with newer ncurses (bug #972804) >=sys-libs/ncurses-6.6_p20260411 -# Michał Górny (2026-04-15) -# Unmaintained, with failing tests after urllib changes. The only -# revdep bundles a fallback anyway. -# Removal on 2026-05-15. Bug #972713. -dev-python/fs - -# Michał Górny (2026-04-13) -# dev-python/tempest is needed only for OpenStack integration tests. -# Incompatible with py3.14. All the revdeps were mistaken. Includes -# dependencies without other revdeps. -# Removal on 2026-05-13. Bug #972619. -dev-python/oslo-concurrency -dev-python/stestr -dev-python/tempest - -# Andreas Sturmlechner (2026-04-12) -# Perpetually stuck on Qt5. A Qt6-based snapshot is provided for testing, -# currently as app-admin/keepassxc-2.8.0_pre20260504, but it is unclear when -# (or even if) it will be stabilised. Alternatives are app-admin/keepass, -# app-admin/pass which can import kbdx files via app-admin/pass-import, -# app-admin/vaultwarden, app-admin/bitwarden-desktop-bin, -# app-admin/passwordsafe, and probably many more. AppImage or Flatpak versions -# also available as last resort. See bug #949231. -# Removal on 2026-05-11. -<=app-admin/keepassxc-2.7.9999 - -# Andreas Sturmlechner (2026-04-12) -# Depends on Qt5 and does not appear to be ported to Qt6. A possible alternative -# is net-misc/remmina's x2go plugin, but it requires interested parties to look -# into it. Bugs #538458, #917570, #955192 -# Removal on 2026-05-30. -net-misc/x2goclient - # Sam James (2026-03-30) # >=1.7.0 is an LLM-driven revamp of the project. >=sys-fs/quotatool-1.7.0 -# Conrad Kostecki (2026-03-28) -# Version 1.18.x breaks API and needs more testing ->=net-libs/libupnp-1.18.4 - # Sam James (2026-03-22) # Commits since the last release of Crypt-OpenSSL-RSA (0.370) are heavily # driven by LLM automation. Avoid exposing users to this (bug #971488). @@ -426,25 +389,6 @@ net-misc/x2goclient =sys-kernel/linux-firmware-20250917 =sys-kernel/linux-firmware-20251011 -# Andreas K. Hüttel (2025-07-04) -# Obsolete Perl virtuals that will be removed (the list is work in progress). -# If you have any of these installed, just remove them; they should not be -# required anymore. -virtual/perl-bignum -virtual/perl-HTTP-Tiny -virtual/perl-IO-Zlib -virtual/perl-Locale-Maketext -virtual/perl-Math-BigInt-FastCalc -virtual/perl-Math-BigRat -virtual/perl-Math-Complex -virtual/perl-Module-Load-Conditional -virtual/perl-Parse-CPAN-Meta -virtual/perl-Params-Check -perl-core/Params-Check -virtual/perl-Term-ReadLine -virtual/perl-Unicode-Collate -virtual/perl-Unicode-Normalize - # Michał Górny (2025-06-29) # File collision against gnome-base/gnome-keyring[pam], which is # required via pambase. Masked until the maintainer determines a good @@ -556,23 +500,6 @@ app-emulation/virtualbox-kvm # The symbol versioning "fix" breaks anything built with 3.0.0. >=dev-libs/libassuan-3.0.1 -# Michał Górny (2023-06-21) -# suitesparseconfig-7.0.0 fails to build with multilib enabled -# because of dependencies that cannot be satisfied. All the other -# packages require it. Bug #908851. -=sci-libs/amd-3.0.3 -=sci-libs/btf-2.0.3 -=sci-libs/camd-3.0.3 -=sci-libs/ccolamd-3.0.3 -=sci-libs/cholmod-4.0.3 -=sci-libs/colamd-3.0.3 -=sci-libs/cxsparse-4.0.3 -=sci-libs/klu-2.0.3 -=sci-libs/ldl-3.0.3 -=sci-libs/spqr-3.0.3 -=sci-libs/suitesparseconfig-7.0.0 -=sci-libs/umfpack-6.1.0 - # Ionen Wolkens (2023-03-30) # NVIDIA dropped support for the 390.xx branch in December 2022[1]. # diff --git a/sdk_container/src/third_party/portage-stable/profiles/profiles.desc b/sdk_container/src/third_party/portage-stable/profiles/profiles.desc index f24a523bad7..c6542ce23b0 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/profiles.desc +++ b/sdk_container/src/third_party/portage-stable/profiles/profiles.desc @@ -373,15 +373,15 @@ riscv default/linux/riscv/23.0/rv32/split-usr/ilp32 exp # S390 Profiles # @MAINTAINER: s390@gentoo.org -s390 default/linux/s390/23.0 stable -s390 default/linux/s390/23.0/systemd stable -s390 default/linux/s390/23.0/split-usr dev +s390 default/linux/s390/23.0 exp +s390 default/linux/s390/23.0/systemd exp +s390 default/linux/s390/23.0/split-usr exp s390 default/linux/s390/23.0/split-usr/s390x stable s390 default/linux/s390/23.0/s390x stable s390 default/linux/s390/23.0/s390x/systemd stable -s390 default/linux/s390/23.0/time64 stable -s390 default/linux/s390/23.0/time64/systemd stable -s390 default/linux/s390/23.0/time64/split-usr dev +s390 default/linux/s390/23.0/time64 exp +s390 default/linux/s390/23.0/time64/systemd exp +s390 default/linux/s390/23.0/time64/split-usr exp # SPARC Profiles diff --git a/sdk_container/src/third_party/portage-stable/profiles/targets/desktop/package.use b/sdk_container/src/third_party/portage-stable/profiles/targets/desktop/package.use index 02421f5d038..1c3d7f73b5f 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/targets/desktop/package.use +++ b/sdk_container/src/third_party/portage-stable/profiles/targets/desktop/package.use @@ -1,6 +1,11 @@ # Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Ian Jordan (2026-06-15) +# Circular depend on webp and tiff #972473 +# Helps users going from a basic to desktop profile. +media-libs/libwebp -tiff + # Ian Jordan (2026-01-14) # Use PipeWire sound server. It also acts as PulseAudio implementation for # packages using media-libs/libpulse (e.g. via USE="pulseaudio"). diff --git a/sdk_container/src/third_party/portage-stable/profiles/updates/2Q-2022 b/sdk_container/src/third_party/portage-stable/profiles/updates/2Q-2022 index 0fbedadc1ff..24312e2e2ab 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/updates/2Q-2022 +++ b/sdk_container/src/third_party/portage-stable/profiles/updates/2Q-2022 @@ -1,6 +1,5 @@ move app-text/kramdown-rfc2629 app-text/kramdown-rfc move dev-python/PyECLib dev-python/pyeclib -move sys-auth/solo-python sys-auth/solo1 move dev-python/setuptools_rust dev-python/setuptools-rust move dev-python/lark-parser dev-python/lark move dev-python/suds dev-python/suds-community diff --git a/sdk_container/src/third_party/portage-stable/profiles/updates/2Q-2026 b/sdk_container/src/third_party/portage-stable/profiles/updates/2Q-2026 new file mode 100644 index 00000000000..4b5886c35ba --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/profiles/updates/2Q-2026 @@ -0,0 +1,5 @@ +move llvm-core/libclc llvm-runtimes/libclc +move dev-python/passlib dev-python/libpass +slotmove www-servers/nginx mainline 0 +slotmove www-servers/nginx stable 0 +slotmove www-servers/nginx live 0 diff --git a/sdk_container/src/third_party/portage-stable/profiles/updates/4Q-2024 b/sdk_container/src/third_party/portage-stable/profiles/updates/4Q-2024 index b34d19d9c53..e2bf671c93c 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/updates/4Q-2024 +++ b/sdk_container/src/third_party/portage-stable/profiles/updates/4Q-2024 @@ -56,7 +56,7 @@ move dev-python/PyQt6-WebEngine dev-python/pyqt6-webengine move dev-python/PyQt6-sip dev-python/pyqt6-sip move dev-python/PyQt6 dev-python/pyqt6 move sys-libs/llvm-offload llvm-runtimes/offload -move dev-libs/libclc llvm-core/libclc +move dev-libs/libclc llvm-runtimes/libclc move sys-libs/llvm-libunwind llvm-runtimes/libunwind move sys-libs/libomp llvm-runtimes/openmp move sys-libs/libcxxabi llvm-runtimes/libcxxabi diff --git a/sdk_container/src/third_party/portage-stable/profiles/use.desc b/sdk_container/src/third_party/portage-stable/profiles/use.desc index d148fb52a45..e7f25d86a94 100644 --- a/sdk_container/src/third_party/portage-stable/profiles/use.desc +++ b/sdk_container/src/third_party/portage-stable/profiles/use.desc @@ -327,7 +327,6 @@ strip - Allow symbol stripping to be performed by the ebuild for special files subversion - Enable subversion (version control system) support suid - Enable setuid root program(s) svg - Add support for SVG (Scalable Vector Graphics) -svga - Add support for SVGAlib (graphics library) symlink - Force kernel ebuilds to automatically update the /usr/src/linux symlink syslog - Enable support for syslog systemd - Enable use of systemd-specific libraries and features like socket activation or session tracking From aba4f05b9a4bfe15ed5b2689bdda6303dedabc37 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:34 +0000 Subject: [PATCH 165/243] sec-policy/selinux-base: Sync with Gentoo It's from Gentoo commit b5567e7c355bf752ce0efc16996626824fd0904f. Signed-off-by: Flatcar Buildbot --- .../sec-policy/selinux-base/Manifest | 2 - .../selinux-base-2.20250213_p1.ebuild | 162 ------------------ .../selinux-base-2.20260312_p1.ebuild | 2 +- 3 files changed, 1 insertion(+), 165 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/sec-policy/selinux-base/selinux-base-2.20250213_p1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base/Manifest b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base/Manifest index 51321628b60..80babad0fc4 100644 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base/Manifest +++ b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base/Manifest @@ -1,6 +1,4 @@ -DIST patchbundle-selinux-base-policy-2.20250213-r1.tar.bz2 276621 BLAKE2B 5a4b0c5fe017fd6c59c3f5d3a1af97e31485bd4325b10a2769883091e5ea6fd205ad42f346c06e6d443aeed9e46bf962febc177f58241c4633058918db6b7fb6 SHA512 1098cfb396d56dfc4f0c2b3ff90dcb9de3bf0b081f1d0c21d793fccc78e48d35a93883bb7fd54a0acd5fa2b06edc8965cbfe72e2b8f3ea325bbee18a8c8e7163 DIST patchbundle-selinux-base-policy-2.20250618-r1.tar.bz2 306720 BLAKE2B b90de06fd143293d67f244013b9a6d775864e7fdfa54c3b5852e31c7594338dfb927b1ef105f4dd688e68932d1d20f91ad7d5cfb909a93f962a427a0a8708c0c SHA512 124424dc8c8eb0f82735d30b000568a8c4c9969363d55cf4f15a5b82a2ca7619e93e5f908cafa9f1a2c4d35d2dcf76869cac85cff909e3fccf47c8666ec15616 DIST patchbundle-selinux-base-policy-2.20260312_p1.tar.bz2 9408379 BLAKE2B d5cb2ff2de4cf0e00dd1e84046729a69c255627d083a9dad4c750d87222001696043f58ed94e3ab0562314645cb38e41339e36dcf5cec0765749751b42389cc3 SHA512 7b0f87bb0084258a931cbace7c7b6828ed6e592cf348f1c695ec6f6b49030920eeb78cd558b14420951cc5ca6a1c1afa9e74023a7b7dae046eb13561256cd4e1 -DIST refpolicy-2.20250213.tar.bz2 627837 BLAKE2B 64d64549bf1fcfc33107e8f4c842af4e3279a856c3a140d05749bae687ffadfe25e4b7383bef3618b13bbd553046d162fcd48b713500d3fd59073b5bece91008 SHA512 cbaf65dfe6d7cc886674bb37160170dac060265d5cf241bfac0c0e5ef45744f057107d81c933f01411c5cd538c95755b7a92331197e2b97b995efc4d6f266895 DIST refpolicy-2.20250618.tar.bz2 632711 BLAKE2B f522c16552fbbf66d4549bf082ece4be740018822b9b7da318c12aa3f3108a905b5f71fc6bb5e894468126123d81aa4e309912ec04c2a2e27feda00689a5ecd8 SHA512 3bfd32be63d0928c5be47707ce6d53bc3bb7b3d922fda2441d455b913eb79d33b16ba31320394aa1d9ec7afb6d9c853c3cd4c025962c6f355dbb7194bdb1c1a8 DIST refpolicy-2.20260312.tar.bz2 649774 BLAKE2B 11f6150010a57f9dba6284021cd4c6521cec8e907f1f08fad45191fe9966846265d3c03d00aec9f3210659e864b4d40cac6cb8e4793a686a00f754191bc41079 SHA512 a34b5b08f9cd969fd6c3a2ed07ccdfea359054d0071e25e99b3978fd678e2314975eaf67c3f0931a68a407e675a73a16bb021106dde1dd20c1fff115dd8d3b29 diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base/selinux-base-2.20250213_p1.ebuild b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base/selinux-base-2.20250213_p1.ebuild deleted file mode 100644 index 549705fab3f..00000000000 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base/selinux-base-2.20250213_p1.ebuild +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..14} ) -PYTHON_REQ_USE="xml(+)" - -inherit python-any-r1 - -DESCRIPTION="Gentoo base policy for SELinux" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:SELinux" - -if [[ "${PV}" = 9999* ]]; then - EGIT_REPO_URI="${SELINUX_GIT_REPO:-https://anongit.gentoo.org/git/proj/hardened-refpolicy.git}" - EGIT_BRANCH="${SELINUX_GIT_BRANCH:-master}" - EGIT_CHECKOUT_DIR="${WORKDIR}/refpolicy" - - inherit git-r3 -else - MY_PV=$(ver_cut 1-2) - SRC_URI="https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_${MY_PV/./_}/refpolicy-${MY_PV}.tar.bz2 - https://dev.gentoo.org/~perfinion/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PV/_p/-r}.tar.bz2" - KEYWORDS="amd64 arm arm64 ~riscv x86" -fi - -S="${WORKDIR}" - -LICENSE="GPL-2" -SLOT="0" -IUSE=" - doc +unknown-perms systemd +ubac +unconfined - +selinux_policy_types_targeted +selinux_policy_types_strict +selinux_policy_types_mcs +selinux_policy_types_mls -" -REQUIRED_USE=" - || ( selinux_policy_types_targeted selinux_policy_types_strict selinux_policy_types_mcs selinux_policy_types_mls ) -" - -RDEPEND=">=sys-apps/policycoreutils-2.8" -DEPEND="${RDEPEND}" -BDEPEND=" - ${PYTHON_DEPS} - >=sys-apps/checkpolicy-2.8 - sys-devel/m4 -" - -src_prepare() { - if [[ "${PV}" != 9999* ]]; then - einfo "Applying SELinux policy updates... " - eapply -p0 "${WORKDIR}/0001-full-patch-against-stable-release.patch" - fi - - eapply_user - - cd "${S}/refpolicy" || die - emake bare -} - -src_configure() { - # Update the SELinux refpolicy capabilities based on the users' USE flags. - if use unknown-perms; then - sed -i -e '/^UNK_PERMS/s/deny/allow/' "${S}/refpolicy/build.conf" \ - || die "Failed to allow Unknown Permissions Handling" - sed -i -e '/^UNK_PERMS/s/deny/allow/' "${S}/refpolicy/Makefile" \ - || die "Failed to allow Unknown Permissions Handling" - fi - - if ! use ubac; then - sed -i -e '/^UBAC/s/y/n/' "${S}/refpolicy/build.conf" \ - || die "Failed to disable User Based Access Control" - fi - - if use systemd; then - sed -i -e '/^SYSTEMD/s/n/y/' "${S}/refpolicy/build.conf" \ - || die "Failed to enable SystemD" - fi - - echo "DISTRO = gentoo" >> "${S}/refpolicy/build.conf" || die - - # Prepare initial configuration - cd "${S}/refpolicy" || die - emake conf - - # Setup the policies based on the types delivered by the end user. - # These types can be "targeted", "strict", "mcs" and "mls". - for type in targeted strict mcs mls; do - if use "selinux_policy_types_${type}"; then - cp -a "${S}/refpolicy" "${S}/${type}" || die - cd "${S}/${type}" || die - - sed -i -e "/= module/d" "${S}/${type}/policy/modules.conf" || die - - sed -i -e '/^QUIET/s/n/y/' -e "/^NAME/s/refpolicy/${type}/" \ - "${S}/${type}/build.conf" || die "build.conf setup failed." - - if [[ "${type}" = "mls" || "${type}" = "mcs" ]]; then - # MCS/MLS require additional settings - sed -i -e "/^TYPE/s/standard/${type}/" "${S}/${type}/build.conf" \ - || die "failed to set type to mls" - fi - - if [[ "${type}" = "targeted" ]]; then - sed -i -e '/root/d' -e 's/user_u/unconfined_u/' \ - "${S}/${type}/config/appconfig-standard/seusers" \ - || die "targeted seusers setup failed." - fi - - if [[ "${type}" != "targeted" && "${type}" != "strict" ]] && use unconfined; then - sed -i -e '/root/d' -e 's/user_u/unconfined_u/' \ - "${S}/${type}/config/appconfig-${type}/seusers" \ - || die "policy seusers setup failed." - fi - fi - done -} - -src_compile() { - for type in targeted strict mcs mls; do - if use "selinux_policy_types_${type}"; then - cd "${S}/${type}" || die - emake base - use doc && emake html - fi - done -} - -src_install() { - for type in targeted strict mcs mls; do - if use "selinux_policy_types_${type}"; then - cd "${S}/${type}" || die - - emake DESTDIR="${D}" install - emake DESTDIR="${D}" install-headers - - echo "run_init_t" > "${D}/etc/selinux/${type}/contexts/run_init_type" || die - - echo "textrel_shlib_t" >> "${D}/etc/selinux/${type}/contexts/customizable_types" || die - - # libsemanage won't make this on its own - keepdir "/etc/selinux/${type}/policy" - - if use doc; then - docinto "${type}/html" - dodoc -r doc/html/*; - fi - - insinto /usr/share/selinux/devel; - doins doc/policy.xml; - fi - done - - docinto / - dodoc doc/Makefile.example doc/example.{te,fc,if} - - doman man/man8/*.8; - - insinto /etc/selinux - doins "${FILESDIR}/config" - - insinto /usr/share/portage/config/sets - doins "${FILESDIR}/selinux.conf" -} diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base/selinux-base-2.20260312_p1.ebuild b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base/selinux-base-2.20260312_p1.ebuild index e6002b3b903..c4947dc0bf6 100644 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base/selinux-base-2.20260312_p1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base/selinux-base-2.20260312_p1.ebuild @@ -21,7 +21,7 @@ else MY_PV=$(ver_cut 1-2) SRC_URI="https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_${MY_PV/./_}/refpolicy-${MY_PV}.tar.bz2 https://dev.gentoo.org/~perfinion/patches/selinux-base-policy/patchbundle-selinux-base-policy-${PV}.tar.bz2" - KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + KEYWORDS="amd64 arm arm64 ~riscv x86" fi S="${WORKDIR}/refpolicy" From b1534aa1874ca3db814e3bfd795915952b0f2770 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:34 +0000 Subject: [PATCH 166/243] sec-policy/selinux-base-policy: Sync with Gentoo It's from Gentoo commit b5567e7c355bf752ce0efc16996626824fd0904f. Signed-off-by: Flatcar Buildbot --- .../sec-policy/selinux-base-policy/Manifest | 2 - ...elinux-base-policy-2.20250213_p1-r1.ebuild | 238 ------------------ .../selinux-base-policy-2.20260312_p1.ebuild | 2 +- 3 files changed, 1 insertion(+), 241 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/sec-policy/selinux-base-policy/selinux-base-policy-2.20250213_p1-r1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base-policy/Manifest b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base-policy/Manifest index 51321628b60..80babad0fc4 100644 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base-policy/Manifest +++ b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base-policy/Manifest @@ -1,6 +1,4 @@ -DIST patchbundle-selinux-base-policy-2.20250213-r1.tar.bz2 276621 BLAKE2B 5a4b0c5fe017fd6c59c3f5d3a1af97e31485bd4325b10a2769883091e5ea6fd205ad42f346c06e6d443aeed9e46bf962febc177f58241c4633058918db6b7fb6 SHA512 1098cfb396d56dfc4f0c2b3ff90dcb9de3bf0b081f1d0c21d793fccc78e48d35a93883bb7fd54a0acd5fa2b06edc8965cbfe72e2b8f3ea325bbee18a8c8e7163 DIST patchbundle-selinux-base-policy-2.20250618-r1.tar.bz2 306720 BLAKE2B b90de06fd143293d67f244013b9a6d775864e7fdfa54c3b5852e31c7594338dfb927b1ef105f4dd688e68932d1d20f91ad7d5cfb909a93f962a427a0a8708c0c SHA512 124424dc8c8eb0f82735d30b000568a8c4c9969363d55cf4f15a5b82a2ca7619e93e5f908cafa9f1a2c4d35d2dcf76869cac85cff909e3fccf47c8666ec15616 DIST patchbundle-selinux-base-policy-2.20260312_p1.tar.bz2 9408379 BLAKE2B d5cb2ff2de4cf0e00dd1e84046729a69c255627d083a9dad4c750d87222001696043f58ed94e3ab0562314645cb38e41339e36dcf5cec0765749751b42389cc3 SHA512 7b0f87bb0084258a931cbace7c7b6828ed6e592cf348f1c695ec6f6b49030920eeb78cd558b14420951cc5ca6a1c1afa9e74023a7b7dae046eb13561256cd4e1 -DIST refpolicy-2.20250213.tar.bz2 627837 BLAKE2B 64d64549bf1fcfc33107e8f4c842af4e3279a856c3a140d05749bae687ffadfe25e4b7383bef3618b13bbd553046d162fcd48b713500d3fd59073b5bece91008 SHA512 cbaf65dfe6d7cc886674bb37160170dac060265d5cf241bfac0c0e5ef45744f057107d81c933f01411c5cd538c95755b7a92331197e2b97b995efc4d6f266895 DIST refpolicy-2.20250618.tar.bz2 632711 BLAKE2B f522c16552fbbf66d4549bf082ece4be740018822b9b7da318c12aa3f3108a905b5f71fc6bb5e894468126123d81aa4e309912ec04c2a2e27feda00689a5ecd8 SHA512 3bfd32be63d0928c5be47707ce6d53bc3bb7b3d922fda2441d455b913eb79d33b16ba31320394aa1d9ec7afb6d9c853c3cd4c025962c6f355dbb7194bdb1c1a8 DIST refpolicy-2.20260312.tar.bz2 649774 BLAKE2B 11f6150010a57f9dba6284021cd4c6521cec8e907f1f08fad45191fe9966846265d3c03d00aec9f3210659e864b4d40cac6cb8e4793a686a00f754191bc41079 SHA512 a34b5b08f9cd969fd6c3a2ed07ccdfea359054d0071e25e99b3978fd678e2314975eaf67c3f0931a68a407e675a73a16bb021106dde1dd20c1fff115dd8d3b29 diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base-policy/selinux-base-policy-2.20250213_p1-r1.ebuild b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base-policy/selinux-base-policy-2.20250213_p1-r1.ebuild deleted file mode 100644 index c6558d64e75..00000000000 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base-policy/selinux-base-policy-2.20250213_p1-r1.ebuild +++ /dev/null @@ -1,238 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="SELinux policy for core modules" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:SELinux" - -if [[ "${PV}" = 9999* ]]; then - EGIT_REPO_URI="${SELINUX_GIT_REPO:-https://anongit.gentoo.org/git/proj/hardened-refpolicy.git}" - EGIT_BRANCH="${SELINUX_GIT_BRANCH:-master}" - EGIT_CHECKOUT_DIR="${WORKDIR}/refpolicy" - - inherit git-r3 -else - MY_PV=$(ver_cut 1-2) - SRC_URI="https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_${MY_PV/./_}/refpolicy-${MY_PV}.tar.bz2 - https://dev.gentoo.org/~perfinion/patches/${PN}/patchbundle-${PN}-${PV/_p/-r}.tar.bz2" - KEYWORDS="amd64 arm arm64 ~riscv x86" -fi - -S="${WORKDIR}" - -LICENSE="GPL-2" -SLOT="0" -IUSE=" - systemd +unconfined - +selinux_policy_types_targeted +selinux_policy_types_strict +selinux_policy_types_mcs +selinux_policy_types_mls -" -REQUIRED_USE=" - || ( selinux_policy_types_targeted selinux_policy_types_strict selinux_policy_types_mcs selinux_policy_types_mls ) - selinux_policy_types_targeted? ( unconfined ) -" - -PDEPEND="unconfined? ( sec-policy/selinux-unconfined )" -DEPEND=" - ~sec-policy/selinux-base-${PV}[selinux_policy_types_targeted?,selinux_policy_types_strict?,selinux_policy_types_mcs?,selinux_policy_types_mls?,systemd?] -" -RDEPEND="${DEPEND}" -BDEPEND=" - sys-apps/checkpolicy - sys-devel/m4 -" - -PATCHES=( - "${FILESDIR}/0001-newrole_t-run_init_t-call-auth_run_pam.patch" -) - -MODS="application authlogin bootloader clock consoletype cron dmesg fstools getty hostname init iptables libraries locallogin logging lvm miscfiles modutils mount mta netutils nscd portage raid rsync selinuxutil setrans ssh staff storage su sysadm sysnetwork systemd tmpfiles udev userdomain usermanage unprivuser xdg" -# A previous, old release of refpolicy had the hotplug policy module. However, -# it has since been removed[1]. As such, remove it if we see it installed. -# [1] https://github.com/gentoo/hardened-refpolicy/commit/5618680a2e148db02ae5614a13cc878f1616d8a2 -DEL_MODS="hotplug" - -# Code entirely copied from selinux-eclass (cannot inherit due to dependency on -# itself), when reworked reinclude it. Only postinstall (where -b base.pp is -# added) needs to remain then. - -src_prepare() { - local modfiles - - if [[ "${PV}" != 9999* ]]; then - einfo "Applying SELinux policy updates ... " - eapply -p0 "${WORKDIR}/0001-full-patch-against-stable-release.patch" - fi - - default - - # Collect only those files needed for this particular module - for mod in ${MODS}; do - modfiles="$(find "${S}/refpolicy/policy/modules" -iname "${mod}.te") $modfiles" - modfiles="$(find "${S}/refpolicy/policy/modules" -iname "${mod}.fc") $modfiles" - modfiles="$(find "${S}/refpolicy/policy/modules" -iname "${mod}.cil") $modfiles" - done - - # TODO: should probably be done earlier? - for i in ${DEL_MODS}; do - [[ "${MODS}" != *${i}* ]] || die "Duplicate module in MODS and DEL_MODS: ${i}" - done - - for type in targeted strict mcs mls; do - if use "selinux_policy_types_${type}"; then - mkdir "${S}/${type}" || die "Failed to create directory ${S}/${type}" - cp "${S}/refpolicy/doc/Makefile.example" "${S}/${type}/Makefile" \ - || die "Failed to copy Makefile.example to ${S}/${type}/Makefile" - - cp ${modfiles} "${S}/${type}" \ - || die "Failed to copy the module files to ${S}/${type}" - fi - done -} - -src_compile() { - local makeuse="" - # We use IUSE instead of USE so that other variables set in the ebuild - # environment, such as architecture ones, are not included. - for useflag in ${IUSE}; do - # Advance past a possible '+' character: that is NOT part of the USE flag, - # but instead indicates whether it is enabled by default. - useflag="${useflag##+}" - - # Only additional USE flags defined in our consumers should be added to - # build options: SELINUX_POLICY_TYPES should NOT be passed to the policy - # build system. - [[ "${useflag}" = selinux_policy_types_* ]] && continue - - use ${useflag} && makeuse="${makeuse} -D use_${useflag}" - done - - for type in targeted strict mcs mls; do - if use "selinux_policy_types_${type}"; then - # Support USE flags in builds - export M4PARAM="${makeuse}" - emake NAME="${type}" SHAREDIR="${ESYSROOT}/usr/share/selinux" -C "${S}/${type}" - fi - done -} - -src_install() { - local BASEDIR="/usr/share/selinux" - - for type in targeted strict mcs mls; do - if use "selinux_policy_types_${type}"; then - for mod in ${MODS}; do - einfo "Installing ${type} ${mod} policy package" - insinto "${BASEDIR}/${type}" - if [[ -f "${S}/${type}/${mod}.pp" ]]; then - doins "${S}/${type}/${mod}.pp" - elif [[ -f "${S}/${type}/${mod}.cil" ]]; then - doins "${S}/${type}/${mod}.cil" - fi - done - fi - done -} - -pkg_postinst() { - # Set root path and don't load policy into the kernel when cross compiling - local root_opts="" - if [[ -n ${ROOT} ]]; then - root_opts="-p ${ROOT} -n" - fi - - # Override the command from the eclass, we need to load in base as well here - local COMMAND="-i base.pp" - - for type in targeted strict mcs mls; do - if use "selinux_policy_types_${type}"; then - einfo "Inserting the following modules, with base, into the ${type} module store: ${MODS}" - - cd "${ROOT}/usr/share/selinux/${type}" || die "Could not enter /usr/share/selinux/${type}" - for mod in ${MODS}; do - if [[ -f "${mod}.pp" ]]; then - COMMAND="${mod}.pp ${COMMAND}" - elif [[ -f "${mod}.cil" ]]; then - COMMAND="${mod}.cil ${COMMAND}" - fi - done - - semodule ${root_opts} -s ${type} -i ${COMMAND} - if [[ $? -ne 0 ]]; then - ewarn "SELinux module load failed. Trying full reload..." - - semodule ${root_opts} -s ${type} -i ./*.pp - - if [[ $? -ne 0 ]]; then - ewarn "Failed to reload SELinux policies." - ewarn "" - ewarn "If this is *not* the last SELinux module package being installed," - ewarn "then you can safely ignore this as the reloads will be retried" - ewarn "with other, recent modules." - ewarn "" - ewarn "If it is the last SELinux module package being installed however," - ewarn "then it is advised to look at the error above and take appropriate" - ewarn "action since the new SELinux policies are not loaded until the" - ewarn "command finished successfully." - ewarn "" - ewarn "To reload, run the following command:" - ewarn " semodule -i /usr/share/selinux/${type}/*.pp" - else - einfo "SELinux modules reloaded successfully." - fi - else - einfo "SELinux modules loaded successfully." - fi - - # And now, remove any old modules that should no longer be installed. - for mod in ${DEL_MODS}; do - if semodule ${root_opts} -s "${type}" -l | grep -q "\b${mod}\b"; then - einfo "Removing obsolete ${type} ${mod} policy package" - semodule ${root_opts} -s "${type}" -r "${mod}" - if [[ $? -ne 0 ]]; then - ewarn "Failed to remove obsolete ${type} ${mod} policy package" - fi - fi - done - - COMMAND="" - fi - done - - # Don't relabel when cross compiling - if [[ -z ${ROOT} ]]; then - # Relabel depending packages. This entire section is a hack, and a violation of tree policy; - # it relies on PM specific functionality (qdepends and equery, which are portage specific) and - # hence is not PMS compliant. This should be remove and replaced with a more robust, PMS-compliant - # implementation as soon as possible. - local PKGSET=() - local out - local status - local cmd - - if command -v qdepends &>/dev/null; then - out=$(qdepends -CiqqrF '%[CATEGORY]%[PN]%[SLOT]' -Q "${CATEGORY}/${PN}") - status=$? - cmd='qdepends' - elif command -v equery &>/dev/null; then - out=$(equery -Cq depends "${CATEGORY}/${PN}") - status=$? - cmd='equery' - else - ewarn "Unable to calculate reverse dependencies for policy: both qdepends and equery were not found." - ewarn "Skipping package file relabelling..." - return - fi - - if [[ "${status}" -ne 0 ]]; then - ewarn "Failed to calculate reverse dependencies for policy: ${cmd} returned ${status}." - ewarn "Skipping package file relabelling..." - return - fi - - # Policy packages may pull in other policy packages, filter those out. - readarray -t PKGSET <<<"$(echo "${out}" | grep -v 'sec-policy/selinux-')" - - [[ "${#PKGSET[@]}" -ne 0 ]] && rlpkg "${PKGSET[@]}" - fi -} diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base-policy/selinux-base-policy-2.20260312_p1.ebuild b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base-policy/selinux-base-policy-2.20260312_p1.ebuild index 6f573d1783f..1bbada3a3b8 100644 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base-policy/selinux-base-policy-2.20260312_p1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-base-policy/selinux-base-policy-2.20260312_p1.ebuild @@ -16,7 +16,7 @@ else MY_PV=$(ver_cut 1-2) SRC_URI="https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_${MY_PV/./_}/refpolicy-${MY_PV}.tar.bz2 https://dev.gentoo.org/~perfinion/patches/${PN}/patchbundle-${P}.tar.bz2" - KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + KEYWORDS="amd64 arm arm64 ~riscv x86" fi S="${WORKDIR}/refpolicy" From 4f6a39a3c687a19c33861618ce07f580fe450f3a Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:35 +0000 Subject: [PATCH 167/243] sec-policy/selinux-container: Sync with Gentoo It's from Gentoo commit b5567e7c355bf752ce0efc16996626824fd0904f. Signed-off-by: Flatcar Buildbot --- .../sec-policy/selinux-container/Manifest | 2 -- .../selinux-container-2.20250213_p1.ebuild | 14 -------------- .../selinux-container-2.20260312_p1.ebuild | 2 +- 3 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/sec-policy/selinux-container/selinux-container-2.20250213_p1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-container/Manifest b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-container/Manifest index 51321628b60..80babad0fc4 100644 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-container/Manifest +++ b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-container/Manifest @@ -1,6 +1,4 @@ -DIST patchbundle-selinux-base-policy-2.20250213-r1.tar.bz2 276621 BLAKE2B 5a4b0c5fe017fd6c59c3f5d3a1af97e31485bd4325b10a2769883091e5ea6fd205ad42f346c06e6d443aeed9e46bf962febc177f58241c4633058918db6b7fb6 SHA512 1098cfb396d56dfc4f0c2b3ff90dcb9de3bf0b081f1d0c21d793fccc78e48d35a93883bb7fd54a0acd5fa2b06edc8965cbfe72e2b8f3ea325bbee18a8c8e7163 DIST patchbundle-selinux-base-policy-2.20250618-r1.tar.bz2 306720 BLAKE2B b90de06fd143293d67f244013b9a6d775864e7fdfa54c3b5852e31c7594338dfb927b1ef105f4dd688e68932d1d20f91ad7d5cfb909a93f962a427a0a8708c0c SHA512 124424dc8c8eb0f82735d30b000568a8c4c9969363d55cf4f15a5b82a2ca7619e93e5f908cafa9f1a2c4d35d2dcf76869cac85cff909e3fccf47c8666ec15616 DIST patchbundle-selinux-base-policy-2.20260312_p1.tar.bz2 9408379 BLAKE2B d5cb2ff2de4cf0e00dd1e84046729a69c255627d083a9dad4c750d87222001696043f58ed94e3ab0562314645cb38e41339e36dcf5cec0765749751b42389cc3 SHA512 7b0f87bb0084258a931cbace7c7b6828ed6e592cf348f1c695ec6f6b49030920eeb78cd558b14420951cc5ca6a1c1afa9e74023a7b7dae046eb13561256cd4e1 -DIST refpolicy-2.20250213.tar.bz2 627837 BLAKE2B 64d64549bf1fcfc33107e8f4c842af4e3279a856c3a140d05749bae687ffadfe25e4b7383bef3618b13bbd553046d162fcd48b713500d3fd59073b5bece91008 SHA512 cbaf65dfe6d7cc886674bb37160170dac060265d5cf241bfac0c0e5ef45744f057107d81c933f01411c5cd538c95755b7a92331197e2b97b995efc4d6f266895 DIST refpolicy-2.20250618.tar.bz2 632711 BLAKE2B f522c16552fbbf66d4549bf082ece4be740018822b9b7da318c12aa3f3108a905b5f71fc6bb5e894468126123d81aa4e309912ec04c2a2e27feda00689a5ecd8 SHA512 3bfd32be63d0928c5be47707ce6d53bc3bb7b3d922fda2441d455b913eb79d33b16ba31320394aa1d9ec7afb6d9c853c3cd4c025962c6f355dbb7194bdb1c1a8 DIST refpolicy-2.20260312.tar.bz2 649774 BLAKE2B 11f6150010a57f9dba6284021cd4c6521cec8e907f1f08fad45191fe9966846265d3c03d00aec9f3210659e864b4d40cac6cb8e4793a686a00f754191bc41079 SHA512 a34b5b08f9cd969fd6c3a2ed07ccdfea359054d0071e25e99b3978fd678e2314975eaf67c3f0931a68a407e675a73a16bb021106dde1dd20c1fff115dd8d3b29 diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-container/selinux-container-2.20250213_p1.ebuild b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-container/selinux-container-2.20250213_p1.ebuild deleted file mode 100644 index 70a0ae4a4db..00000000000 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-container/selinux-container-2.20250213_p1.ebuild +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MODS="container" - -inherit selinux-policy-2 - -DESCRIPTION="SELinux policy for container" - -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="amd64 arm arm64 ~riscv x86" -fi diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-container/selinux-container-2.20260312_p1.ebuild b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-container/selinux-container-2.20260312_p1.ebuild index 597fe6a587f..70a0ae4a4db 100644 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-container/selinux-container-2.20260312_p1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-container/selinux-container-2.20260312_p1.ebuild @@ -10,5 +10,5 @@ inherit selinux-policy-2 DESCRIPTION="SELinux policy for container" if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + KEYWORDS="amd64 arm arm64 ~riscv x86" fi From b34a0098ce4578058421cb0b017d11a96435bb4b Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:35 +0000 Subject: [PATCH 168/243] sec-policy/selinux-dbus: Sync with Gentoo It's from Gentoo commit b5567e7c355bf752ce0efc16996626824fd0904f. Signed-off-by: Flatcar Buildbot --- .../sec-policy/selinux-dbus/Manifest | 2 -- .../selinux-dbus/selinux-dbus-2.20250213_p1.ebuild | 14 -------------- .../selinux-dbus/selinux-dbus-2.20260312_p1.ebuild | 2 +- 3 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/sec-policy/selinux-dbus/selinux-dbus-2.20250213_p1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-dbus/Manifest b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-dbus/Manifest index 51321628b60..80babad0fc4 100644 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-dbus/Manifest +++ b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-dbus/Manifest @@ -1,6 +1,4 @@ -DIST patchbundle-selinux-base-policy-2.20250213-r1.tar.bz2 276621 BLAKE2B 5a4b0c5fe017fd6c59c3f5d3a1af97e31485bd4325b10a2769883091e5ea6fd205ad42f346c06e6d443aeed9e46bf962febc177f58241c4633058918db6b7fb6 SHA512 1098cfb396d56dfc4f0c2b3ff90dcb9de3bf0b081f1d0c21d793fccc78e48d35a93883bb7fd54a0acd5fa2b06edc8965cbfe72e2b8f3ea325bbee18a8c8e7163 DIST patchbundle-selinux-base-policy-2.20250618-r1.tar.bz2 306720 BLAKE2B b90de06fd143293d67f244013b9a6d775864e7fdfa54c3b5852e31c7594338dfb927b1ef105f4dd688e68932d1d20f91ad7d5cfb909a93f962a427a0a8708c0c SHA512 124424dc8c8eb0f82735d30b000568a8c4c9969363d55cf4f15a5b82a2ca7619e93e5f908cafa9f1a2c4d35d2dcf76869cac85cff909e3fccf47c8666ec15616 DIST patchbundle-selinux-base-policy-2.20260312_p1.tar.bz2 9408379 BLAKE2B d5cb2ff2de4cf0e00dd1e84046729a69c255627d083a9dad4c750d87222001696043f58ed94e3ab0562314645cb38e41339e36dcf5cec0765749751b42389cc3 SHA512 7b0f87bb0084258a931cbace7c7b6828ed6e592cf348f1c695ec6f6b49030920eeb78cd558b14420951cc5ca6a1c1afa9e74023a7b7dae046eb13561256cd4e1 -DIST refpolicy-2.20250213.tar.bz2 627837 BLAKE2B 64d64549bf1fcfc33107e8f4c842af4e3279a856c3a140d05749bae687ffadfe25e4b7383bef3618b13bbd553046d162fcd48b713500d3fd59073b5bece91008 SHA512 cbaf65dfe6d7cc886674bb37160170dac060265d5cf241bfac0c0e5ef45744f057107d81c933f01411c5cd538c95755b7a92331197e2b97b995efc4d6f266895 DIST refpolicy-2.20250618.tar.bz2 632711 BLAKE2B f522c16552fbbf66d4549bf082ece4be740018822b9b7da318c12aa3f3108a905b5f71fc6bb5e894468126123d81aa4e309912ec04c2a2e27feda00689a5ecd8 SHA512 3bfd32be63d0928c5be47707ce6d53bc3bb7b3d922fda2441d455b913eb79d33b16ba31320394aa1d9ec7afb6d9c853c3cd4c025962c6f355dbb7194bdb1c1a8 DIST refpolicy-2.20260312.tar.bz2 649774 BLAKE2B 11f6150010a57f9dba6284021cd4c6521cec8e907f1f08fad45191fe9966846265d3c03d00aec9f3210659e864b4d40cac6cb8e4793a686a00f754191bc41079 SHA512 a34b5b08f9cd969fd6c3a2ed07ccdfea359054d0071e25e99b3978fd678e2314975eaf67c3f0931a68a407e675a73a16bb021106dde1dd20c1fff115dd8d3b29 diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-dbus/selinux-dbus-2.20250213_p1.ebuild b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-dbus/selinux-dbus-2.20250213_p1.ebuild deleted file mode 100644 index ba322b865ac..00000000000 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-dbus/selinux-dbus-2.20250213_p1.ebuild +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MODS="dbus" - -inherit selinux-policy-2 - -DESCRIPTION="SELinux policy for dbus" - -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="amd64 arm arm64 ~riscv x86" -fi diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-dbus/selinux-dbus-2.20260312_p1.ebuild b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-dbus/selinux-dbus-2.20260312_p1.ebuild index 2f021f2fc55..ba322b865ac 100644 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-dbus/selinux-dbus-2.20260312_p1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-dbus/selinux-dbus-2.20260312_p1.ebuild @@ -10,5 +10,5 @@ inherit selinux-policy-2 DESCRIPTION="SELinux policy for dbus" if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + KEYWORDS="amd64 arm arm64 ~riscv x86" fi From 59c0e0e950025f89eb2b45bbe416d508101c5bd1 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:36 +0000 Subject: [PATCH 169/243] sec-policy/selinux-policykit: Sync with Gentoo It's from Gentoo commit b5567e7c355bf752ce0efc16996626824fd0904f. Signed-off-by: Flatcar Buildbot --- .../sec-policy/selinux-policykit/Manifest | 2 -- .../selinux-policykit-2.20250213_p1.ebuild | 14 -------------- .../selinux-policykit-2.20260312_p1.ebuild | 2 +- 3 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/sec-policy/selinux-policykit/selinux-policykit-2.20250213_p1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-policykit/Manifest b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-policykit/Manifest index 51321628b60..80babad0fc4 100644 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-policykit/Manifest +++ b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-policykit/Manifest @@ -1,6 +1,4 @@ -DIST patchbundle-selinux-base-policy-2.20250213-r1.tar.bz2 276621 BLAKE2B 5a4b0c5fe017fd6c59c3f5d3a1af97e31485bd4325b10a2769883091e5ea6fd205ad42f346c06e6d443aeed9e46bf962febc177f58241c4633058918db6b7fb6 SHA512 1098cfb396d56dfc4f0c2b3ff90dcb9de3bf0b081f1d0c21d793fccc78e48d35a93883bb7fd54a0acd5fa2b06edc8965cbfe72e2b8f3ea325bbee18a8c8e7163 DIST patchbundle-selinux-base-policy-2.20250618-r1.tar.bz2 306720 BLAKE2B b90de06fd143293d67f244013b9a6d775864e7fdfa54c3b5852e31c7594338dfb927b1ef105f4dd688e68932d1d20f91ad7d5cfb909a93f962a427a0a8708c0c SHA512 124424dc8c8eb0f82735d30b000568a8c4c9969363d55cf4f15a5b82a2ca7619e93e5f908cafa9f1a2c4d35d2dcf76869cac85cff909e3fccf47c8666ec15616 DIST patchbundle-selinux-base-policy-2.20260312_p1.tar.bz2 9408379 BLAKE2B d5cb2ff2de4cf0e00dd1e84046729a69c255627d083a9dad4c750d87222001696043f58ed94e3ab0562314645cb38e41339e36dcf5cec0765749751b42389cc3 SHA512 7b0f87bb0084258a931cbace7c7b6828ed6e592cf348f1c695ec6f6b49030920eeb78cd558b14420951cc5ca6a1c1afa9e74023a7b7dae046eb13561256cd4e1 -DIST refpolicy-2.20250213.tar.bz2 627837 BLAKE2B 64d64549bf1fcfc33107e8f4c842af4e3279a856c3a140d05749bae687ffadfe25e4b7383bef3618b13bbd553046d162fcd48b713500d3fd59073b5bece91008 SHA512 cbaf65dfe6d7cc886674bb37160170dac060265d5cf241bfac0c0e5ef45744f057107d81c933f01411c5cd538c95755b7a92331197e2b97b995efc4d6f266895 DIST refpolicy-2.20250618.tar.bz2 632711 BLAKE2B f522c16552fbbf66d4549bf082ece4be740018822b9b7da318c12aa3f3108a905b5f71fc6bb5e894468126123d81aa4e309912ec04c2a2e27feda00689a5ecd8 SHA512 3bfd32be63d0928c5be47707ce6d53bc3bb7b3d922fda2441d455b913eb79d33b16ba31320394aa1d9ec7afb6d9c853c3cd4c025962c6f355dbb7194bdb1c1a8 DIST refpolicy-2.20260312.tar.bz2 649774 BLAKE2B 11f6150010a57f9dba6284021cd4c6521cec8e907f1f08fad45191fe9966846265d3c03d00aec9f3210659e864b4d40cac6cb8e4793a686a00f754191bc41079 SHA512 a34b5b08f9cd969fd6c3a2ed07ccdfea359054d0071e25e99b3978fd678e2314975eaf67c3f0931a68a407e675a73a16bb021106dde1dd20c1fff115dd8d3b29 diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-policykit/selinux-policykit-2.20250213_p1.ebuild b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-policykit/selinux-policykit-2.20250213_p1.ebuild deleted file mode 100644 index e31968feb33..00000000000 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-policykit/selinux-policykit-2.20250213_p1.ebuild +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MODS="policykit" - -inherit selinux-policy-2 - -DESCRIPTION="SELinux policy for policykit" - -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="amd64 arm arm64 ~riscv x86" -fi diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-policykit/selinux-policykit-2.20260312_p1.ebuild b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-policykit/selinux-policykit-2.20260312_p1.ebuild index 616b3d55b31..e31968feb33 100644 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-policykit/selinux-policykit-2.20260312_p1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-policykit/selinux-policykit-2.20260312_p1.ebuild @@ -10,5 +10,5 @@ inherit selinux-policy-2 DESCRIPTION="SELinux policy for policykit" if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + KEYWORDS="amd64 arm arm64 ~riscv x86" fi From 8963b333bc0a0cf0fe453a37fee2599da63d439a Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:36 +0000 Subject: [PATCH 170/243] sec-policy/selinux-sssd: Sync with Gentoo It's from Gentoo commit b5567e7c355bf752ce0efc16996626824fd0904f. Signed-off-by: Flatcar Buildbot --- .../sec-policy/selinux-sssd/Manifest | 2 -- .../selinux-sssd/selinux-sssd-2.20250213_p1.ebuild | 14 -------------- .../selinux-sssd/selinux-sssd-2.20260312_p1.ebuild | 2 +- 3 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/sec-policy/selinux-sssd/selinux-sssd-2.20250213_p1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-sssd/Manifest b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-sssd/Manifest index 51321628b60..80babad0fc4 100644 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-sssd/Manifest +++ b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-sssd/Manifest @@ -1,6 +1,4 @@ -DIST patchbundle-selinux-base-policy-2.20250213-r1.tar.bz2 276621 BLAKE2B 5a4b0c5fe017fd6c59c3f5d3a1af97e31485bd4325b10a2769883091e5ea6fd205ad42f346c06e6d443aeed9e46bf962febc177f58241c4633058918db6b7fb6 SHA512 1098cfb396d56dfc4f0c2b3ff90dcb9de3bf0b081f1d0c21d793fccc78e48d35a93883bb7fd54a0acd5fa2b06edc8965cbfe72e2b8f3ea325bbee18a8c8e7163 DIST patchbundle-selinux-base-policy-2.20250618-r1.tar.bz2 306720 BLAKE2B b90de06fd143293d67f244013b9a6d775864e7fdfa54c3b5852e31c7594338dfb927b1ef105f4dd688e68932d1d20f91ad7d5cfb909a93f962a427a0a8708c0c SHA512 124424dc8c8eb0f82735d30b000568a8c4c9969363d55cf4f15a5b82a2ca7619e93e5f908cafa9f1a2c4d35d2dcf76869cac85cff909e3fccf47c8666ec15616 DIST patchbundle-selinux-base-policy-2.20260312_p1.tar.bz2 9408379 BLAKE2B d5cb2ff2de4cf0e00dd1e84046729a69c255627d083a9dad4c750d87222001696043f58ed94e3ab0562314645cb38e41339e36dcf5cec0765749751b42389cc3 SHA512 7b0f87bb0084258a931cbace7c7b6828ed6e592cf348f1c695ec6f6b49030920eeb78cd558b14420951cc5ca6a1c1afa9e74023a7b7dae046eb13561256cd4e1 -DIST refpolicy-2.20250213.tar.bz2 627837 BLAKE2B 64d64549bf1fcfc33107e8f4c842af4e3279a856c3a140d05749bae687ffadfe25e4b7383bef3618b13bbd553046d162fcd48b713500d3fd59073b5bece91008 SHA512 cbaf65dfe6d7cc886674bb37160170dac060265d5cf241bfac0c0e5ef45744f057107d81c933f01411c5cd538c95755b7a92331197e2b97b995efc4d6f266895 DIST refpolicy-2.20250618.tar.bz2 632711 BLAKE2B f522c16552fbbf66d4549bf082ece4be740018822b9b7da318c12aa3f3108a905b5f71fc6bb5e894468126123d81aa4e309912ec04c2a2e27feda00689a5ecd8 SHA512 3bfd32be63d0928c5be47707ce6d53bc3bb7b3d922fda2441d455b913eb79d33b16ba31320394aa1d9ec7afb6d9c853c3cd4c025962c6f355dbb7194bdb1c1a8 DIST refpolicy-2.20260312.tar.bz2 649774 BLAKE2B 11f6150010a57f9dba6284021cd4c6521cec8e907f1f08fad45191fe9966846265d3c03d00aec9f3210659e864b4d40cac6cb8e4793a686a00f754191bc41079 SHA512 a34b5b08f9cd969fd6c3a2ed07ccdfea359054d0071e25e99b3978fd678e2314975eaf67c3f0931a68a407e675a73a16bb021106dde1dd20c1fff115dd8d3b29 diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-sssd/selinux-sssd-2.20250213_p1.ebuild b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-sssd/selinux-sssd-2.20250213_p1.ebuild deleted file mode 100644 index 28958a94426..00000000000 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-sssd/selinux-sssd-2.20250213_p1.ebuild +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MODS="sssd" - -inherit selinux-policy-2 - -DESCRIPTION="SELinux policy for sssd" - -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="amd64 arm arm64 ~riscv x86" -fi diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-sssd/selinux-sssd-2.20260312_p1.ebuild b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-sssd/selinux-sssd-2.20260312_p1.ebuild index 1489826b6aa..28958a94426 100644 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-sssd/selinux-sssd-2.20260312_p1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-sssd/selinux-sssd-2.20260312_p1.ebuild @@ -10,5 +10,5 @@ inherit selinux-policy-2 DESCRIPTION="SELinux policy for sssd" if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + KEYWORDS="amd64 arm arm64 ~riscv x86" fi From 1e033e30c80bdd410b02fc7837aafb7a75d0881f Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:37 +0000 Subject: [PATCH 171/243] sec-policy/selinux-unconfined: Sync with Gentoo It's from Gentoo commit b5567e7c355bf752ce0efc16996626824fd0904f. Signed-off-by: Flatcar Buildbot --- .../sec-policy/selinux-unconfined/Manifest | 2 -- .../selinux-unconfined-2.20250213_p1.ebuild | 14 -------------- .../selinux-unconfined-2.20260312_p1.ebuild | 2 +- 3 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/sec-policy/selinux-unconfined/selinux-unconfined-2.20250213_p1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-unconfined/Manifest b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-unconfined/Manifest index 51321628b60..80babad0fc4 100644 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-unconfined/Manifest +++ b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-unconfined/Manifest @@ -1,6 +1,4 @@ -DIST patchbundle-selinux-base-policy-2.20250213-r1.tar.bz2 276621 BLAKE2B 5a4b0c5fe017fd6c59c3f5d3a1af97e31485bd4325b10a2769883091e5ea6fd205ad42f346c06e6d443aeed9e46bf962febc177f58241c4633058918db6b7fb6 SHA512 1098cfb396d56dfc4f0c2b3ff90dcb9de3bf0b081f1d0c21d793fccc78e48d35a93883bb7fd54a0acd5fa2b06edc8965cbfe72e2b8f3ea325bbee18a8c8e7163 DIST patchbundle-selinux-base-policy-2.20250618-r1.tar.bz2 306720 BLAKE2B b90de06fd143293d67f244013b9a6d775864e7fdfa54c3b5852e31c7594338dfb927b1ef105f4dd688e68932d1d20f91ad7d5cfb909a93f962a427a0a8708c0c SHA512 124424dc8c8eb0f82735d30b000568a8c4c9969363d55cf4f15a5b82a2ca7619e93e5f908cafa9f1a2c4d35d2dcf76869cac85cff909e3fccf47c8666ec15616 DIST patchbundle-selinux-base-policy-2.20260312_p1.tar.bz2 9408379 BLAKE2B d5cb2ff2de4cf0e00dd1e84046729a69c255627d083a9dad4c750d87222001696043f58ed94e3ab0562314645cb38e41339e36dcf5cec0765749751b42389cc3 SHA512 7b0f87bb0084258a931cbace7c7b6828ed6e592cf348f1c695ec6f6b49030920eeb78cd558b14420951cc5ca6a1c1afa9e74023a7b7dae046eb13561256cd4e1 -DIST refpolicy-2.20250213.tar.bz2 627837 BLAKE2B 64d64549bf1fcfc33107e8f4c842af4e3279a856c3a140d05749bae687ffadfe25e4b7383bef3618b13bbd553046d162fcd48b713500d3fd59073b5bece91008 SHA512 cbaf65dfe6d7cc886674bb37160170dac060265d5cf241bfac0c0e5ef45744f057107d81c933f01411c5cd538c95755b7a92331197e2b97b995efc4d6f266895 DIST refpolicy-2.20250618.tar.bz2 632711 BLAKE2B f522c16552fbbf66d4549bf082ece4be740018822b9b7da318c12aa3f3108a905b5f71fc6bb5e894468126123d81aa4e309912ec04c2a2e27feda00689a5ecd8 SHA512 3bfd32be63d0928c5be47707ce6d53bc3bb7b3d922fda2441d455b913eb79d33b16ba31320394aa1d9ec7afb6d9c853c3cd4c025962c6f355dbb7194bdb1c1a8 DIST refpolicy-2.20260312.tar.bz2 649774 BLAKE2B 11f6150010a57f9dba6284021cd4c6521cec8e907f1f08fad45191fe9966846265d3c03d00aec9f3210659e864b4d40cac6cb8e4793a686a00f754191bc41079 SHA512 a34b5b08f9cd969fd6c3a2ed07ccdfea359054d0071e25e99b3978fd678e2314975eaf67c3f0931a68a407e675a73a16bb021106dde1dd20c1fff115dd8d3b29 diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-unconfined/selinux-unconfined-2.20250213_p1.ebuild b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-unconfined/selinux-unconfined-2.20250213_p1.ebuild deleted file mode 100644 index 0957c8cad32..00000000000 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-unconfined/selinux-unconfined-2.20250213_p1.ebuild +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MODS="unconfined" - -inherit selinux-policy-2 - -DESCRIPTION="SELinux policy for unconfined" - -if [[ ${PV} != 9999* ]] ; then - KEYWORDS="amd64 arm arm64 ~riscv x86" -fi diff --git a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-unconfined/selinux-unconfined-2.20260312_p1.ebuild b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-unconfined/selinux-unconfined-2.20260312_p1.ebuild index 581d624a16b..0957c8cad32 100644 --- a/sdk_container/src/third_party/portage-stable/sec-policy/selinux-unconfined/selinux-unconfined-2.20260312_p1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sec-policy/selinux-unconfined/selinux-unconfined-2.20260312_p1.ebuild @@ -10,5 +10,5 @@ inherit selinux-policy-2 DESCRIPTION="SELinux policy for unconfined" if [[ ${PV} != 9999* ]] ; then - KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + KEYWORDS="amd64 arm arm64 ~riscv x86" fi From d80c9cd3f365fed4aeae46c8c69ab7881a161cc0 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:37 +0000 Subject: [PATCH 172/243] sys-apps/acl: Sync with Gentoo It's from Gentoo commit 1db142e806fda246b7015d7bec72ef2018952b82. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-apps/acl/Manifest | 2 + .../sys-apps/acl/acl-2.4.0.ebuild | 73 +++++++++++++++++++ .../sys-apps/acl/acl-9999.ebuild | 73 +++++++++++++++++++ 3 files changed, 148 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/acl/acl-2.4.0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/acl/acl-9999.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/acl/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/acl/Manifest index 8eafcfa3440..fa94ca9490d 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/acl/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/acl/Manifest @@ -1 +1,3 @@ DIST acl-2.3.2.tar.xz 371680 BLAKE2B 9f2abfddcd403df2c716c05f02a1b52453613d10948dc58a65b9ef41b44e37db6de99fb22dcfc4f6f0fb5d0319c939da61bd4e0fba2cdb5643e8087ecd34eeac SHA512 c2d061dbfd28c00cecbc1ae614d67f3138202bf4d39b383f2df4c6a8b10b830f33acec620fb211f268478737dde4037d338a5823af445253cb088c48a135099b +DIST acl-2.4.0.tar.xz 384828 BLAKE2B c7e4cd5dc482b1e9e283ca0ec6740cd1051d23e9cb533917e3d58e8d2381af516bb74d340f195a5e38f9f76466406a7b2e8f31dff5362ae2cc09e9d1f47eeec7 SHA512 d81737abe566310a1a9de207cbf204449bd55ce5b549c6613e5f474a6592e03fac7c80826ddce7543a954d32b99d8b5e25c5e3dcc5fab7b1b381627cc1240de6 +DIST acl-2.4.0.tar.xz.sig 833 BLAKE2B ef1b0cdb370fd8d170db07d2efc9793127fa3a5bd3a2303ca94ae9cda6bd0d2d16f8bfe3749c5cdb656bbd2d4c15523f24ab581f4ea60418c17535e943fb076e SHA512 7275426d8e5f0b060ca0c4c9eaf9c5ac13fbdaf033d91d6baa9aa27b7949afb98df5b23247ef18ee81d0f9b82b57253f84d59dc3097e46075ea868bcaafffaf1 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/acl/acl-2.4.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/acl/acl-2.4.0.ebuild new file mode 100644 index 00000000000..c215e1806aa --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/acl/acl-2.4.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dot-a libtool multilib-minimal + +DESCRIPTION="Access control list utilities, libraries, and headers" +HOMEPAGE="https://savannah.nongnu.org/projects/acl" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git" + inherit autotools git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/acl.asc" + inherit verify-sig + + SRC_URI=" + mirror://nongnu/${PN}/${P}.tar.xz + verify-sig? ( mirror://nongnu/${PN}/${P}.tar.xz.sig ) + " + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-acl )" +fi + +LICENSE="LGPL-2.1+ GPL-2" +SLOT="0" +IUSE="nls static-libs" + +BDEPEND+=" nls? ( sys-devel/gettext )" + +src_prepare() { + default + + if [[ ${PV} == 9999 ]] ; then + po/update-potfiles || die + eautopoint + eautoreconf + else + # bug #580792 + elibtoolize + fi +} + +multilib_src_configure() { + use static-libs && lto-guarantee-fat + + local myeconfargs=( + --bindir="${EPREFIX}"/bin + --libexecdir="${EPREFIX}"/usr/$(get_libdir) + --enable-largefile + $(use_enable static-libs static) + $(use_enable nls) + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_test() { + # Tests call native binaries with an LD_PRELOAD wrapper + # bug #772356 + multilib_is_native_abi && default +} + +multilib_src_install_all() { + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die + fi + + strip-lto-bytecode + einstalldocs +} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/acl/acl-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/acl/acl-9999.ebuild new file mode 100644 index 00000000000..c215e1806aa --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/acl/acl-9999.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dot-a libtool multilib-minimal + +DESCRIPTION="Access control list utilities, libraries, and headers" +HOMEPAGE="https://savannah.nongnu.org/projects/acl" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git" + inherit autotools git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/acl.asc" + inherit verify-sig + + SRC_URI=" + mirror://nongnu/${PN}/${P}.tar.xz + verify-sig? ( mirror://nongnu/${PN}/${P}.tar.xz.sig ) + " + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-acl )" +fi + +LICENSE="LGPL-2.1+ GPL-2" +SLOT="0" +IUSE="nls static-libs" + +BDEPEND+=" nls? ( sys-devel/gettext )" + +src_prepare() { + default + + if [[ ${PV} == 9999 ]] ; then + po/update-potfiles || die + eautopoint + eautoreconf + else + # bug #580792 + elibtoolize + fi +} + +multilib_src_configure() { + use static-libs && lto-guarantee-fat + + local myeconfargs=( + --bindir="${EPREFIX}"/bin + --libexecdir="${EPREFIX}"/usr/$(get_libdir) + --enable-largefile + $(use_enable static-libs static) + $(use_enable nls) + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_test() { + # Tests call native binaries with an LD_PRELOAD wrapper + # bug #772356 + multilib_is_native_abi && default +} + +multilib_src_install_all() { + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die + fi + + strip-lto-bytecode + einstalldocs +} From b8ead94518065c933d3e1c02b3ac05d031b62e9f Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:37 +0000 Subject: [PATCH 173/243] sys-apps/attr: Sync with Gentoo It's from Gentoo commit 4d10c7f11b08584cdabf92cb912fe7c1600b70a5. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-apps/attr/Manifest | 2 + .../sys-apps/attr/attr-2.6.0.ebuild | 77 +++++++++++++++++++ .../sys-apps/attr/attr-9999.ebuild | 18 +++-- 3 files changed, 89 insertions(+), 8 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.6.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/attr/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/attr/Manifest index 868c915b77f..88e8e1fb776 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/attr/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/attr/Manifest @@ -1 +1,3 @@ DIST attr-2.5.2.tar.xz 334180 BLAKE2B cf26348c3a96622e4f62493ac7655e14b6580d36a5784ef4c3750178856eceabd33192fd58516be21c8aa1ad41d56c024ad440ef4bc922bed8f7a4984ea16c63 SHA512 f587ea544effb7cfed63b3027bf14baba2c2dbe3a9b6c0c45fc559f7e8cb477b3e9a4a826eae30f929409468c50d11f3e7dc6d2500f41e1af8662a7e96a30ef3 +DIST attr-2.6.0.tar.xz 343608 BLAKE2B 10e36188a11344e1cc1dd7d0bcc8724a62bfc945799755cff6a54fff6c6d7e306596628fca4f882e84a156cf2ea790a1a8411599819de4e60b0a21dc3b400d64 SHA512 870d0c34fbaa7520aad058ecd6509fe8eddd17430781a16d1e80484d4947307a7c641f0449183cbac1da611a85f82c9bee2d2d7bff76170fc2195b123100d22e +DIST attr-2.6.0.tar.xz.sig 862 BLAKE2B 875fc312463842886b9e1697271cb5c3a62074fe9e3c8305b2c7d915f93d34655a9df289fa52c22cf98d8d798d10e8af1d2310a3cb057acf5457a13cc998ed20 SHA512 4db494f751a1c99d100593b7405e419275e5763cb9af335f3a26a098c7fd87710e36df9055148525c4072be77971f41552d7d9a8de09f01807270ea10d40b513 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.6.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.6.0.ebuild new file mode 100644 index 00000000000..cf2fe595821 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-2.6.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dot-a multilib-minimal + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git" + inherit autotools git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/acl.asc" + inherit libtool verify-sig + + SRC_URI=" + mirror://nongnu/${PN}/${P}.tar.xz + verify-sig? ( mirror://nongnu/${PN}/${P}.tar.xz.sig ) + " + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-acl )" +fi + +DESCRIPTION="Extended attributes tools" +HOMEPAGE="https://savannah.nongnu.org/projects/attr" + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="debug nls static-libs" + +BDEPEND+=" nls? ( sys-devel/gettext )" + +src_prepare() { + default + + if [[ ${PV} == 9999 ]] ; then + po/update-potfiles || die + eautopoint + eautoreconf + else + # bug #580792 + elibtoolize + fi +} + +multilib_src_configure() { + use static-libs && lto-guarantee-fat + + local myeconfargs=( + --bindir="${EPREFIX}"/bin + --libexecdir="${EPREFIX}"/usr/$(get_libdir) + --enable-shared + $(use_enable static-libs static) + $(use_enable nls) + $(use_enable debug) + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + # Add a wrapper until people upgrade. + # TODO: figure out when this was added & when we can drop it! + insinto /usr/include/attr + newins "${FILESDIR}"/xattr-shim.h xattr.h +} + +multilib_src_install_all() { + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die + fi + + strip-lto-bytecode + einstalldocs +} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-9999.ebuild index acea5d8d4c7..cf2fe595821 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/attr/attr-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,10 +9,16 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://git.savannah.gnu.org/git/${PN}.git" inherit autotools git-r3 else - inherit libtool + VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/acl.asc" + inherit libtool verify-sig + + SRC_URI=" + mirror://nongnu/${PN}/${P}.tar.xz + verify-sig? ( mirror://nongnu/${PN}/${P}.tar.xz.sig ) + " - SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-acl )" fi DESCRIPTION="Extended attributes tools" @@ -22,11 +28,7 @@ LICENSE="LGPL-2.1+" SLOT="0" IUSE="debug nls static-libs" -BDEPEND="nls? ( sys-devel/gettext )" - -PATCHES=( - "${FILESDIR}/${PN}-2.5.2-r1-musl-1.2.5.patch" -) +BDEPEND+=" nls? ( sys-devel/gettext )" src_prepare() { default From 39d47efadda71534773b3fda6db8c6e84a2f0773 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:40 +0000 Subject: [PATCH 174/243] sys-apps/bubblewrap: Sync with Gentoo It's from Gentoo commit b735f127c5521f2e02d07128514a0ae00a047dcd. Signed-off-by: Flatcar Buildbot --- .../sys-apps/bubblewrap/Manifest | 1 - .../bubblewrap/bubblewrap-0.11.0-r1.ebuild | 60 ------------------- 2 files changed, 61 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/bubblewrap/bubblewrap-0.11.0-r1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/bubblewrap/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/bubblewrap/Manifest index c7e43e84cfa..456ae47ca05 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/bubblewrap/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/bubblewrap/Manifest @@ -1,2 +1 @@ -DIST bubblewrap-0.11.0.tar.xz 115228 BLAKE2B 753ae172ccceb9de08422f03702922966cb6e6d2da262ffb61e3e207ff616166f4047a1cc47801e091cf9e85d6d179450704b3e99743c81d8f77e9c37094d816 SHA512 4b083ac42410dacfa75ad8764bbb300048ce8f28543ece393b9b7180b152108ee4b337f82539d63196b6f8f5bf194d9e10f49207e3b8417ee2cb4bde88a63eee DIST bubblewrap-0.11.2.tar.xz 116336 BLAKE2B ae47e5672f79ed59cb84fe2ddd2fc1765c242e75659bbd397203b3c499292942633a6a9526f243df14abb3d932b8e0deb2ac239d61f7ec5b246ff68173f685ba SHA512 7c5a8d0670e8b2737328ab24fb3e3982544c716d2527e97f6e9dfa3ee767b0161681b4fd60e94ed17259ba52406a12968769ee1408648ba08239755858437edc diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/bubblewrap/bubblewrap-0.11.0-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/bubblewrap/bubblewrap-0.11.0-r1.ebuild deleted file mode 100644 index dee024de960..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-apps/bubblewrap/bubblewrap-0.11.0-r1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit bash-completion-r1 linux-info meson - -DESCRIPTION="Unprivileged sandboxing tool, namespaces-powered chroot-like solution" -HOMEPAGE="https://github.com/containers/bubblewrap/" -SRC_URI="https://github.com/containers/${PN}/releases/download/v${PV}/${P}.tar.xz" - -LICENSE="LGPL-2+" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86" -IUSE="selinux suid" - -RDEPEND=" - sys-libs/libseccomp - sys-libs/libcap - selinux? ( >=sys-libs/libselinux-2.1.9 ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - app-text/docbook-xml-dtd:4.3 - app-text/docbook-xsl-stylesheets - dev-libs/libxslt - virtual/pkgconfig -" -RDEPEND+=" selinux? ( sec-policy/selinux-bubblewrap )" - -# tests require root privileges -RESTRICT="test" - -pkg_setup() { - if [[ ${MERGE_TYPE} != buildonly ]]; then - CONFIG_CHECK="~UTS_NS ~IPC_NS ~USER_NS ~PID_NS ~NET_NS" - linux-info_pkg_setup - fi -} - -src_configure() { - local emesonargs=( - -Dbash_completion=enabled - -Dbash_completion_dir="$(get_bashcompdir)" - -Dman=enabled - -Dtests=false - -Dzsh_completion=enabled - $(meson_feature selinux) - ) - - meson_src_configure -} - -src_install() { - meson_src_install - - if use suid; then - chmod u+s "${ED}"/usr/bin/bwrap - fi -} From ef593b176269ba9849940b72ac7d72554badf83d Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:40 +0000 Subject: [PATCH 175/243] sys-apps/checkpolicy: Sync with Gentoo It's from Gentoo commit f6fae0a7c004f589e720c42eb953dbf5fddbf425. Signed-off-by: Flatcar Buildbot --- .../sys-apps/checkpolicy/Manifest | 1 + .../checkpolicy/checkpolicy-3.10.ebuild | 2 +- .../checkpolicy/checkpolicy-3.11.ebuild | 53 +++++++++++++++++++ 3 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/checkpolicy/checkpolicy-3.11.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/checkpolicy/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/checkpolicy/Manifest index e5abeed6a27..340b5446e1c 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/checkpolicy/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/checkpolicy/Manifest @@ -1,3 +1,4 @@ DIST checkpolicy-3.10.tar.gz 76932 BLAKE2B b8f2ff784f937961a3aec93e9d21fa9d8a636f87516928f7b22c508c42397dc925e7474c344784b4dc0af8a7d4da47c8431981fdd57d3e132e67bca1f57f5893 SHA512 b5e18d4664ba96d33f2b74b89972e056680e3cc0ede8327599f8b0972ac031eed1ff8e219ad90fb3537e29d711dd51cbdde73db589ca35ec27b7c63bc72c7afd +DIST checkpolicy-3.11.tar.gz 76879 BLAKE2B 08e971257fb9b9e3cf151dc1b51f5f504d997a36dc17917e9cf7234584c84e3e72a986e1bd5a855c478d39f76c0b866ce9758df6f8ced42d97cea76488ba2acf SHA512 1e5a1691aa809e2e73167ac0a9bdabcf5d3d5379799bb499913c379c7a24bc9ef720b4ee12026109f22cb93840bf2d594ec745e3f8fc9edbd402adb941f6cc6c DIST checkpolicy-3.8.1.tar.gz 76246 BLAKE2B 19933bc46dfa9cdca6996ac49da2054aec5a4a565d0f71d69c2f05be725b73c7b355019c083bb7624b574d091cb61a123d55b0a904d561a59336059d0d2216c1 SHA512 279f4ebcaf8a62dca5c09c46989c76c34c83f3925b49e64c4a055f1b60795d7c732fbae272975eef654ec02a352b35a2eb8390d55c99789dffdf982ded7b210f DIST checkpolicy-3.9.tar.gz 77103 BLAKE2B 1f0b1e14e361cb98c13735831914da6d178abdada429892f98e2ef8b3a4c15232874b74b16d3205cb327f13674a15b55c489e127c7596bcd89f1acba9953a130 SHA512 719d3e903488e63d50951adffe42e21dac4f8693246285014d0c9431d5d69a912d9937885b2bd35f9cfd7f0c0ac3252bbef9be196367a573a0a768c98abff89d diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/checkpolicy/checkpolicy-3.10.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/checkpolicy/checkpolicy-3.10.ebuild index 174cd95b283..e26174120f1 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/checkpolicy/checkpolicy-3.10.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/checkpolicy/checkpolicy-3.10.ebuild @@ -17,7 +17,7 @@ if [[ ${PV} == 9999 ]] ; then S="${WORKDIR}/${P}/${PN}" else SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~mips ~riscv ~x86" + KEYWORDS="amd64 arm arm64 ~mips ~riscv x86" S="${WORKDIR}/${MY_P}" fi diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/checkpolicy/checkpolicy-3.11.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/checkpolicy/checkpolicy-3.11.ebuild new file mode 100644 index 00000000000..174cd95b283 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/checkpolicy/checkpolicy-3.11.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit toolchain-funcs + +MY_PV="${PV//_/-}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="SELinux policy compiler" +HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" + +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git" + S="${WORKDIR}/${P}/${PN}" +else + SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~mips ~riscv ~x86" + S="${WORKDIR}/${MY_P}" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="debug" + +RDEPEND=">=sys-libs/libsepol-${PV}:=[static-libs(+)]" +DEPEND="${RDEPEND}" +BDEPEND="sys-devel/flex + sys-devel/bison" + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + YACC="bison -y" \ + LIBDIR="\$(PREFIX)/$(get_libdir)" +} + +src_install() { + default + + if use debug; then + dobin "${S}/test/dismod" + dobin "${S}/test/dispol" + fi +} + +pkg_postinst() { + if ! tc-is-cross-compiler; then + einfo "This checkpolicy can compile version `checkpolicy -V | cut -f 1 -d ' '` policy." + fi +} From 27fcbb1dd70c0700eca4f98ac0e22cf4bdd1829c Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:43 +0000 Subject: [PATCH 176/243] sys-apps/coreutils: Sync with Gentoo It's from Gentoo commit 21a3b62ff0c57c7c2661a947dcb82911f09a93bd. Signed-off-by: Flatcar Buildbot --- .../coreutils/coreutils-9.11-r1.ebuild | 313 ++++++++++++++++++ .../sys-apps/coreutils/coreutils-9999.ebuild | 2 + .../coreutils/files/coreutils-9.11-tee.patch | 128 +++++++ 3 files changed, 443 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/coreutils/coreutils-9.11-r1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/coreutils/files/coreutils-9.11-tee.patch diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/coreutils/coreutils-9.11-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/coreutils/coreutils-9.11-r1.ebuild new file mode 100644 index 00000000000..567c7b4ec66 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/coreutils/coreutils-9.11-r1.ebuild @@ -0,0 +1,313 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Try to keep an eye on Fedora's packaging: https://src.fedoraproject.org/rpms/coreutils +# The upstream coreutils maintainers also maintain the package in Fedora and may +# backport fixes which we want to pick up. +# +# Also recommend subscribing to the coreutils and bug-coreutils MLs. + +PYTHON_COMPAT=( python3_{11..14} ) +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/coreutils.asc +inherit branding flag-o-matic python-any-r1 toolchain-funcs verify-sig + +MY_PATCH="${PN}-9.6-patches" +DESCRIPTION="Standard GNU utilities (chmod, cp, dd, ls, sort, tr, head, wc, who,...)" +HOMEPAGE="https://www.gnu.org/software/coreutils/" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://git.savannah.gnu.org/git/coreutils.git" + inherit git-r3 +elif [[ ${PV} == *_p* ]] ; then + # Note: could put this in devspace, but if it's gone, we don't want + # it in tree anyway. It's just for testing. + MY_SNAPSHOT="$(ver_cut 1-2).299-27a7c" + SRC_URI="https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz -> ${P}.tar.xz" + SRC_URI+=" verify-sig? ( https://www.pixelbeat.org/cu/coreutils-${MY_SNAPSHOT}.tar.xz.sig -> ${P}.tar.xz.sig )" + S="${WORKDIR}"/${PN}-${MY_SNAPSHOT} +else + SRC_URI=" + mirror://gnu/${PN}/${P}.tar.xz + verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig ) + " + + KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +SRC_URI+=" !vanilla? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_PATCH}.tar.xz )" + +LICENSE="GPL-3+" +SLOT="0" +IUSE="acl caps gmp hostname kill multicall nls +openssl selinux +split-usr static test test-full vanilla xattr" +RESTRICT="!test? ( test )" + +LIB_DEPEND=" + acl? ( sys-apps/acl[static-libs] ) + caps? ( sys-libs/libcap ) + gmp? ( dev-libs/gmp:=[static-libs] ) + openssl? ( dev-libs/openssl:=[static-libs] ) + xattr? ( sys-apps/attr[static-libs] ) +" +RDEPEND=" + !static? ( ${LIB_DEPEND//\[static-libs]} ) + selinux? ( sys-libs/libselinux ) + nls? ( virtual/libintl ) +" +DEPEND=" + ${RDEPEND} + static? ( ${LIB_DEPEND} ) +" +BDEPEND=" + app-arch/xz-utils + dev-lang/perl + test? ( + dev-debug/strace + dev-lang/perl + dev-perl/Expect + ${PYTHON_DEPS} + ) + verify-sig? ( sec-keys/openpgp-keys-coreutils ) +" +RDEPEND+=" + hostname? ( !sys-apps/net-tools[hostname] ) + kill? ( + !sys-apps/util-linux[kill] + !sys-process/procps[kill] + ) + !> init.cfg || die + require_valgrind_() + { + skip_ "requires a working valgrind" + } + EOF + + # TODO: in future (>9.4?), we may want to wire up USE=systemd: + # still experimental at the moment, but: + # https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=85edb4afbd119fb69a0d53e1beb71f46c9525dd0 + local myconf=( + --with-packager-version="${PVR} (p${PATCH_VER:-0})" + # kill/uptime - procps + # hostname - net-tools + --enable-install-program="arch,$(usev hostname),$(usev kill)" + --enable-no-install-program="$(usev !hostname),$(usev !kill),su,uptime" + $(usev !caps --disable-libcap) + $(use_enable nls) + $(use_enable acl) + $(use_enable multicall single-binary) + $(use_enable xattr) + $(use_with gmp libgmp) + $(use_with openssl) + $(use_with selinux) + ) + + if use gmp ; then + myconf+=( --with-libgmp-prefix="${ESYSROOT}"/usr ) + fi + + # https://savannah.gnu.org/support/?111394 + # This can be removed when we patch dev-build/autoconf, though + # packages w/o eautoreconf will still need it. + [[ ${enable_year2038} == "no" ]] && myconf+=( --disable-year2038 ) + + if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then + # bug #311569 + export fu_cv_sys_stat_statfs2_bsize=yes + # bug #416629 + export gl_cv_func_realpath_works=yes + fi + + # bug #409919 + export gl_cv_func_mknod_works=yes + + if use static ; then + append-ldflags -static + # bug #321821 + sed -i '/elf_sys=yes/s:yes:no:' configure || die + fi + + econf "${myconf[@]}" +} + +src_test() { + # Non-root tests will fail if the full path isn't + # accessible to non-root users + chmod -R go-w "${WORKDIR}" || die + chmod a+rx "${WORKDIR}" || die + + # coreutils tests like to do `mount` and such with temp dirs, + # so make sure: + # - /etc/mtab is writable (bug #265725) + # - /dev/loop* can be mounted (bug #269758) + mkdir -p "${T}"/mount-wrappers || die + mkwrap() { + local w ww + for w in "${@}" ; do + ww="${T}/mount-wrappers/${w}" + cat <<-EOF > "${ww}" + #!${EPREFIX}/bin/sh + exec env SANDBOX_WRITE="\${SANDBOX_WRITE}:/etc/mtab:/dev/loop" $(type -P ${w}) "\$@" + EOF + chmod a+rx "${ww}" || die + done + } + mkwrap mount umount + + addwrite /dev/full + + local -x RUN_{VERY_,}EXPENSIVE_TESTS=$(usex test-full yes no) + #local -x COREUTILS_GROUPS="portage wheel" + local -x PATH="${T}/mount-wrappers:${PATH}" + local -x gl_public_submodule_commit= + + local xfail_tests=() + + if [[ -n ${SANDBOX_ACTIVE} ]]; then + xfail_tests+=( + # bug #629660 + # Commented out again in 9.6 as it XPASSes on linux-6.12.10 + # with sandbox-2.43 on tmpfs. Let's see if it lasts.. + #tests/dd/no-allocate.sh + + # bug #675802 + tests/env/env-S + tests/env/env-S.pl + + # We have a patch which fixes this (bug #259876) + #tests/touch/not-owner + #tests/touch/not-owner.sh + ) + fi + + [[ ${enable_year2038} == "no" ]] && xfail_tests+=( test-year2038 )+ + + # This test is flaky (bug #910640). + cat > tests/tty/tty-eof.pl <<-EOF || die + #!/usr/bin/perl + exit 77; + EOF + + # We set DISABLE_HARD_ERRORS because some of the tests hard error-out + # because of sandbox. They're skipped above but DISABLE_HARD_ERRORS is needed + # to downgrade them to FAIL. + emake -k check \ + VERBOSE=yes \ + DISABLE_HARD_ERRORS=yes \ + XFAIL_TESTS="${xfail_tests[*]}" +} + +src_install() { + default + + insinto /etc + newins src/dircolors.hin DIR_COLORS + + if use split-usr ; then + cd "${ED}"/usr/bin || die + dodir /bin + + # Move critical binaries into /bin (required by FHS) + local fhs="cat chgrp chmod chown cp date dd df echo false ln ls + mkdir mknod mv pwd rm rmdir stty sync true uname" + mv ${fhs} ../../bin/ || die "Could not move FHS bins!" + + if use hostname ; then + mv hostname ../../bin/ || die + fi + + if use kill ; then + mv kill ../../bin/ || die + fi + + # Move critical binaries into /bin (common scripts) + # (Why are these required for booting?) + local com="basename chroot cut dir dirname du env expr head mkfifo + mktemp readlink seq sleep sort tail touch tr tty vdir wc yes" + mv ${com} ../../bin/ || die "Could not move common bins!" + + # Create a symlink for uname in /usr/bin/ since autotools require it. + # (Other than uname, we need to figure out why we are + # creating symlinks for these in /usr/bin instead of leaving + # the files there in the first place...) + local x + for x in ${com} uname ; do + dosym ../../bin/${x} /usr/bin/${x} + done + fi +} + +pkg_postinst() { + ewarn "Make sure you run 'hash -r' in your active shells." + ewarn "You should also re-source your shell settings for LS_COLORS" + ewarn " changes, such as: source /etc/profile" +} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/coreutils/coreutils-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/coreutils/coreutils-9999.ebuild index d82ffdad9d3..385866b1918 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/coreutils/coreutils-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/coreutils/coreutils-9999.ebuild @@ -248,6 +248,8 @@ src_test() { ) fi + [[ ${enable_year2038} == "no" ]] && xfail_tests+=( test-year2038 ) + # This test is flaky (bug #910640). cat > tests/tty/tty-eof.pl <<-EOF || die #!/usr/bin/perl diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/coreutils/files/coreutils-9.11-tee.patch b/sdk_container/src/third_party/portage-stable/sys-apps/coreutils/files/coreutils-9.11-tee.patch new file mode 100644 index 00000000000..a55efb74d98 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/coreutils/files/coreutils-9.11-tee.patch @@ -0,0 +1,128 @@ +https://cgit.git.savannah.gnu.org/cgit/coreutils.git/commit/?id=0d6fcb99d691d920961938e61c43478566ef626e + +From 0d6fcb99d691d920961938e61c43478566ef626e Mon Sep 17 00:00:00 2001 +From: Collin Funk +Date: Mon, 18 May 2026 20:40:28 -0700 +Subject: tee: fix infinite loop when write returns EAGAIN and short write + errors + +* NEWS: Mention the bug fixes. +* THANKS.in: Add Bernhard M. Wiedemann for reporting the bugs. +* src/iopoll.c (close_wait): Remove function. +(write_wait): Don't call wait_for_nonblocking_write if write is +successful. Handle errors more robustly. +* src/iopoll.h (close_wait): Remove declaration. +* src/tee.c (tee_files): Use close instead of close_wait. +* tests/tee/short-write.sh: New test for the bug. +* tests/tee/write-eagain.sh: Likewise. +* tests/local.mk (all_tests): Add the new tests. +Fixes https://bugs.gnu.org/81060 +--- + src/iopoll.c | 59 +++++++++++++++++++++++++++++------------------ + src/iopoll.h | 1 - + src/tee.c | 2 +- + 8 files changed, 111 insertions(+), 25 deletions(-) + create mode 100755 tests/tee/short-write.sh + create mode 100755 tests/tee/write-eagain.sh + +diff --git a/src/iopoll.c b/src/iopoll.c +index de20bc8d9..0bd2d6bf6 100644 +--- a/src/iopoll.c ++++ b/src/iopoll.c +@@ -194,17 +194,6 @@ wait_for_nonblocking_write (int fd) + return true; + } + +-/* wrapper for close() that also waits for FD if non blocking. */ +- +-extern bool +-close_wait (int fd) +-{ +- while (wait_for_nonblocking_write (fd)) +- ; +- return close (fd) == 0; +-} +- +- + /* wrapper for write() that also waits for FD if non blocking. */ + + extern bool +@@ -212,19 +201,43 @@ write_wait (int fd, void const *buffer, size_t size) + { + unsigned char const *buf = buffer; + +- while (true) ++ do + { +- ssize_t written = write (fd, buf, size); +- if (written < 0) +- written = 0; +- +- size -= written; +- if (size <= 0) /* everything written */ +- return true; +- +- if (! wait_for_nonblocking_write (fd)) +- return false; ++ const ssize_t written = write (fd, buf, size); ++ /* POSIX says that calling write with SIZE of zero may detect and ++ return errors. If no error occurs, or write makes no attempt ++ to detect errors, then write returns zero with no other ++ results. write_fail will return successfully in this case. */ ++ if (written == 0) ++ { ++ if (size == 0) ++ return true; ++ else ++ { ++ /* If SIZE is greater than zero and write returns zero, ++ treat it as an error. Some buggy drivers behave this ++ way. See src/dd.c and Gnulib's lib/full-write.c for ++ more details. */ ++ errno = ENOSPC; ++ return false; ++ } ++ } + +- buf += written; ++ if (written < 0) ++ { ++ /* Return an error if write detected one with a SIZE of zero. ++ Otherwise, if SIZE is greater than zero, fail if it does ++ not become writable. */ ++ if (size == 0 || ! wait_for_nonblocking_write (fd)) ++ return false; ++ } ++ else ++ { ++ buf += written; ++ size -= written; ++ } + } ++ while (0 < size); ++ ++ return true; + } +diff --git a/src/iopoll.h b/src/iopoll.h +index 1711fdab9..a1561b9ff 100644 +--- a/src/iopoll.h ++++ b/src/iopoll.h +@@ -5,5 +5,4 @@ int iopoll (int fdin, int fdout, bool block); + bool iopoll_input_ok (int fdin); + bool iopoll_output_ok (int fdout); + +-bool close_wait (int fd); + bool write_wait (int fd, void const *buffer, size_t size); +diff --git a/src/tee.c b/src/tee.c +index 32a18e340..fba6ae089 100644 +--- a/src/tee.c ++++ b/src/tee.c +@@ -329,7 +329,7 @@ tee_files (int nfiles, char **files, bool pipe_check) + + /* Close the files, but not standard output. */ + for (int i = 1; i <= nfiles; i++) +- if (0 <= descriptors[i] && ! close_wait (descriptors[i])) ++ if (0 <= descriptors[i] && close (descriptors[i]) < 0) + { + error (0, errno, "%s", quotef (files[i])); + ok = false; From 4a3716c2d34565a9906909db2e8217d27c4ed15c Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:46 +0000 Subject: [PATCH 177/243] sys-apps/ethtool: Sync with Gentoo It's from Gentoo commit 20725ed52cbcde9953c189fde225b1c430f9f4ae. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-apps/ethtool/ethtool-7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/ethtool/ethtool-7.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/ethtool/ethtool-7.0.ebuild index 745aa42e271..70e32f022d6 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/ethtool/ethtool-7.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/ethtool/ethtool-7.0.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://www.kernel.org/pub/software/network/ethtool/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86" IUSE="+netlink" RDEPEND="netlink? ( net-libs/libmnl )" From 11c03e0a1500f4bc874314ef7932d58298f41d67 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:46 +0000 Subject: [PATCH 178/243] sys-apps/file: Sync with Gentoo It's from Gentoo commit ea533d639b369304cf4b3214190468447a1fbb3d. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-apps/file/Manifest | 2 + .../sys-apps/file/file-5.48.ebuild | 187 ++++++++++++++++++ 2 files changed, 189 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/file/file-5.48.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/file/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/file/Manifest index b857c849787..aa902d7a22c 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/file/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/file/Manifest @@ -2,3 +2,5 @@ DIST file-5.46.tar.gz 1312892 BLAKE2B 2b1df136f01c253cc490b483c644403da0674692ef DIST file-5.46.tar.gz.asc 195 BLAKE2B 7a2a65f10cbfe921ae633a9bee3a56a98b8e3100b8cbfe4b4871ce3960f28e62bb9e7425f5c1bfe9b126f43d7dd4ddcb36220f07f979072a8ef5fe62c14b5ef8 SHA512 93f99b468bbda29eab6e37fdee1f1806a10b18206a85c68e888e967678cfd128bb9c34bc9835a699e447623ddf0e2ea041039a682f7be1db2ab37935fd4aafa0 DIST file-5.47.tar.gz 2676776 BLAKE2B 52b91ee7868a9b75431e00fca7f7db1362b3d39eb065f52434ea73d9ccd7497f3371f7e0a455644c56df3e6acee247208edc47bf8004fa922dba32786cc3e10c SHA512 a19c1f2b584bcfa70d4a02545667a90ff9e069523a5fc7b84d79b2b32cb7e59b73c555943784a13d56fa6d4618e18a254fd6102187def1a4a7d936b41ae7ce31 DIST file-5.47.tar.gz.asc 163 BLAKE2B 32e6a0dab4e0981d2fbf6eae73e3ddc24b69ddcf316d3ae82045007a208cd28b02b54a705c114d5c9da5bdddc760003b190385c3732bcb7d9862dc359c496c37 SHA512 19dafce2906420855915493b7c20fdefdb6464090f96c8b431aa7b3c15899e2a57cdc96d586c2a3de113f5857c6b22f6ee9bc825275cdd7c26f6eb1eaaad7073 +DIST file-5.48.tar.gz 2693209 BLAKE2B d8ca86ec79db28c59d7c5da9282fb5fa03a0775147856cb4d35528f12d2eb4293aca3336cb0e5108ce56c2f6a255e5b36957ba826b185575531508176f2af06a SHA512 9672504f9473e41ed047bb019f1a003965b3f12e16b77d090e819e094805e42d66d07582402eb9df6be98932161ee6a014a549dbcca9cef10c236b0a3a71a642 +DIST file-5.48.tar.gz.asc 232 BLAKE2B 5ec30faeb485d18bfb63d6bc98eb717bd5daff9586b58f859f7d41efc742b511046ceeb3aa5b028eb901c0e9830f0775307c35698ee09ec464ad2442cd1c91eb SHA512 a4501efcee2ee446f1e5e25d78c864a688ce1d40b5630392be5e286ba3fbe38ebb9b8366b8b48cbfa0de978b5a64ae2c67495e8ae37417a8f0d57c7a23b5cc08 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/file/file-5.48.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/file/file-5.48.ebuild new file mode 100644 index 00000000000..95e3022d87a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/file/file-5.48.ebuild @@ -0,0 +1,187 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_OPTIONAL=1 +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 toolchain-funcs multilib-minimal + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/file/file" + inherit autotools git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/file.asc + inherit libtool verify-sig + SRC_URI="https://astron.com/pub/file/${P}.tar.gz" + SRC_URI+=" verify-sig? ( https://astron.com/pub/file/${P}.tar.gz.asc )" + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-file )" +fi + +DESCRIPTION="Identify a file's format by scanning binary data for patterns" +HOMEPAGE="https://www.darwinsys.com/file/" + +LICENSE="BSD-2" +SLOT="0" +IUSE="bzip2 lzip lzma python seccomp static-libs zlib zstd" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +DEPEND=" + bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] ) + lzip? ( app-arch/lzlib ) + lzma? ( app-arch/xz-utils[${MULTILIB_USEDEP}] ) + seccomp? ( >=sys-libs/libseccomp-2.5.4[${MULTILIB_USEDEP}] ) + zlib? ( >=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] ) + zstd? ( app-arch/zstd:=[${MULTILIB_USEDEP}] ) +" +RDEPEND=" + ${DEPEND} + python? ( + ${PYTHON_DEPS} + !dev-python/python-magic + ) + seccomp? ( >=sys-libs/libseccomp-2.5.4[${MULTILIB_USEDEP}] ) +" +BDEPEND+=" + python? ( + ${PYTHON_DEPS} + ${DISTUTILS_DEPS} + ) +" + +# https://bugs.gentoo.org/898676 +QA_CONFIG_IMPL_DECL_SKIP=( makedev ) + +PATCHES=( + "${FILESDIR}/file-5.43-seccomp-fstatat64-musl.patch" #789336, not upstream yet + "${FILESDIR}/file-5.45-seccomp-sandbox.patch" +) + +src_prepare() { + default + + if [[ ${PV} == 9999 ]] ; then + eautoreconf + else + elibtoolize + fi + + # Don't let python README kill main README, bug #60043 + mv python/README.md python/README.python.md || die + + # bug #662090 + sed -i 's@README.md@README.python.md@' python/setup.py || die +} + +multilib_src_configure() { + local myeconfargs=( + --enable-fsect-man5 + $(use_enable bzip2 bzlib) + $(multilib_native_use_enable lzip lzlib) + $(use_enable lzma xzlib) + $(use_enable seccomp libseccomp) + $(use_enable static-libs static) + $(use_enable zlib) + $(use_enable zstd zstdlib) + ) + + econf "${myeconfargs[@]}" +} + +build_src_configure() { + local myeconfargs=( + --disable-shared + --disable-libseccomp + --disable-bzlib + --disable-xzlib + --disable-zlib + ) + + econf_build "${myeconfargs[@]}" +} + +need_build_file() { + # When cross-compiling, we need to build up our own file + # because people often don't keep matching host/target + # file versions, bug #362941 + tc-is-cross-compiler && ! has_version -b "~${CATEGORY}/${P}" +} + +src_configure() { + local ECONF_SOURCE="${S}" + + if need_build_file ; then + mkdir -p "${WORKDIR}"/build || die + cd "${WORKDIR}"/build || die + build_src_configure + fi + + multilib-minimal_src_configure +} + +multilib_src_compile() { + if multilib_is_native_abi ; then + emake + else + # bug #586444 + emake -C src magic.h + emake -C src libmagic.la + fi +} + +src_compile() { + if need_build_file ; then + # bug #586444 + emake -C "${WORKDIR}"/build/src magic.h + emake -C "${WORKDIR}"/build/src file + local -x PATH="${WORKDIR}/build/src:${PATH}" + fi + + multilib-minimal_src_compile + + if use python ; then + cd python || die + distutils-r1_src_compile + fi +} + +src_test() { + multilib-minimal_src_test + + if use python ; then + cd python || die + distutils-r1_src_test + fi +} + +python_test() { + eunittest +} + +multilib_src_install() { + if multilib_is_native_abi ; then + default + else + emake -C src install-{nodist_includeHEADERS,libLTLIBRARIES} DESTDIR="${D}" + fi +} + +multilib_src_install_all() { + dodoc ChangeLog MAINT # README + + # Required for `file -C` + insinto /usr/share/misc/magic + doins -r magic/Magdir/* + + if use python ; then + cd python || die + distutils-r1_src_install + fi + + find "${ED}" -type f -name "*.la" -delete || die +} From 124ae9cc895730c9a5d2439738042c82908efcf0 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:47 +0000 Subject: [PATCH 179/243] sys-apps/gawk: Sync with Gentoo It's from Gentoo commit 58b5efa32726ce52c465045b4df1ad139480e70e. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-apps/gawk/Manifest | 1 + .../sys-apps/gawk/gawk-5.4.0e.ebuild | 119 ++++++++++++++++++ 2 files changed, 120 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/gawk/gawk-5.4.0e.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/gawk/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/gawk/Manifest index 7d64cf962d5..90bf9f674e8 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/gawk/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/gawk/Manifest @@ -2,3 +2,4 @@ DIST gawk-5.3.2.tar.xz 3749260 BLAKE2B 8536777bb45c63d737ef08b3f1b98285cb29ec544 DIST gawk-5.3.2.tar.xz.sig 488 BLAKE2B ea843fce8ca2b93a8006260e8022f3426daccc18b93bd75ef1fb18e391ce110a10682e75509d771ba9c419d1e22a584f66ff9a436512b76b039a85afed6c7596 SHA512 490f29271d06f374e25e13724f5944215734d0c6da465da5b2a723e83fa31a03c7a16e5c8853465561bc0676139588b1046c598554ccde4ae24563455ee28b65 DIST gawk-5.4.0.tar.xz 3803276 BLAKE2B ce326dc386e62d288c4fe1268ba493f9c3a1e8af7dec90f95b2942588370f5a3538837d71dc4208534ace2aa84fce46ab6d5d681451b560fdf884aaf1b89fb11 SHA512 b212c6ffd235d5e7f98f0cae5a4fbe9a7139c420400710a747dc2c33dcbda445adc2f6f8ebab330c52c432da67b92be1806c628d261db826a72c89011b2d9d77 DIST gawk-5.4.0.tar.xz.sig 488 BLAKE2B 7e2c6e6fadba3fdd758563221c2f45b45512262f5f7ca49b6bf60993fc59825c7be7d526e8f014e0bc0304b74a07182d0701817db6726bafc5106c27f5687d3b SHA512 428a35d7183032fa58eb6edcc8b352c956218086476d42b1f1064cdec58c1e233ec421559e859f4a5df235709c932e88b54303081b549e9ced3a82c4abaaf030 +DIST gawk-5.4.0e.tar.gz 6706796 BLAKE2B 3495a9f41322ba168c21dd46257161cdc339daca761e5cd6be5640cbd25c6541ada610a844e5245ad623943c323293c4ffac92977e1b4c664a6e3b4a38da2946 SHA512 2d1bf41d8b544505e31b0e5878e4d79184d11e21cfd10add731a64aeed697fbf5794cdb63be4132142eee600c0f11066a34bb48c839924c4c766bc90a03aae10 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/gawk/gawk-5.4.0e.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/gawk/gawk-5.4.0e.ebuild new file mode 100644 index 00000000000..e40971abaf6 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/gawk/gawk-5.4.0e.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GAWK_IS_BETA=yes + +DESCRIPTION="GNU awk pattern-matching language" +HOMEPAGE="https://www.gnu.org/software/gawk/gawk.html" + +if [[ ${GAWK_IS_BETA} == yes || ${PV} == *_beta* ]] ; then + if [[ ${PV} == *_beta* ]] ; then + # Beta versioning is sometimes for the release prior, e.g. + # 5.2.1_beta is labelled upstream as 5.2.0b. + MY_PV=${PV/_beta/b} + MY_PV=$(ver_cut 1-2 ${MY_PV}).$(($(ver_cut 3 ${MY_PV}) - 1))$(ver_cut 4- ${MY_PV}) + MY_P=${PN}-${MY_PV} + + S="${WORKDIR}"/${MY_P} + else + MY_P=${P} + fi + + SRC_URI="https://www.skeeve.com/gawk/${MY_P}.tar.gz" +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gawk.asc + inherit verify-sig flag-o-matic + + SRC_URI="mirror://gnu/gawk/${P}.tar.xz" + SRC_URI+=" verify-sig? ( mirror://gnu/gawk/${P}.tar.xz.sig )" + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="GPL-3+ pma? ( AGPL-3+ )" +SLOT="0" +# The gawk docs claim MPFR support is "on parole" and may be removed, +# https://www.gnu.org/software/gawk/manual/html_node/MPFR-On-Parole.html +# however this is somewhat outdated information, see +# https://public-inbox.org/libc-alpha/202412190851.4BJ8psq4404509@freefriends.org/ +IUSE="+mpfr pma nls readline" + +RDEPEND=" + mpfr? ( + dev-libs/gmp:= + dev-libs/mpfr:= + ) + readline? ( sys-libs/readline:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + >=sys-apps/texinfo-7.1 + >=sys-devel/bison-3.5.4 + nls? ( sys-devel/gettext ) +" + +if [[ ${GAWK_IS_BETA} != yes ]] ; then + BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-gawk )" +fi + +src_prepare() { + default + + use elibc_musl && append-cppflags -D__GNU_LIBRARY__ + + # Use symlinks rather than hardlinks, and disable version links + sed -i \ + -e '/^LN =/s:=.*:= $(LN_S):' \ + -e '/install-exec-hook:/s|$|\nfoo:|' \ + Makefile.in doc/Makefile.in || die + + # bug #413327 + sed -i '/^pty1:$/s|$|\n_pty1:|' test/Makefile.in || die + + # Fix standards conflict on Solaris + if [[ ${CHOST} == *-solaris* ]] ; then + sed -i \ + -e '/\<_XOPEN_SOURCE\>/s/1$/600/' \ + -e '/\<_XOPEN_SOURCE_EXTENDED\>/s/1//' \ + extension/inplace.c || die + fi +} + +src_configure() { + # README says gawk may not work properly if built with non-Bison. + # We already BDEPEND on Bison, so just unset YACC rather than + # guessing if we need to do yacc.bison or bison -y. + unset YACC + + local myeconfargs=( + --cache-file="${S}"/config.cache + --libexec='$(libdir)/misc' + $(use_with mpfr) + $(use_enable nls) + $(use_enable pma) + $(use_with readline) + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + # bug #970495 + local -x PAGER=cat + + emake check +} + +src_install() { + # Automatic dodocs barfs + rm -rf README_d || die + + default + + # Install headers + insinto /usr/include/awk + doins *.h + rm "${ED}"/usr/include/awk/config.h || die +} From 6063a034ef6ac867bc54028ddf7aa963b3cb63f1 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:47 +0000 Subject: [PATCH 180/243] sys-apps/gentoo-functions: Sync with Gentoo It's from Gentoo commit 444af831f14255c920356e93baebaa27f0dc3c14. Signed-off-by: Flatcar Buildbot --- .../sys-apps/gentoo-functions/Manifest | 1 + .../gentoo-functions-1.7.7.ebuild | 49 +++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/gentoo-functions/gentoo-functions-1.7.7.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/gentoo-functions/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/gentoo-functions/Manifest index a867ddc01c1..b13bc98ed1c 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/gentoo-functions/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/gentoo-functions/Manifest @@ -2,3 +2,4 @@ DIST gentoo-functions-0.19.tar.bz2 12079 BLAKE2B be0a3a54d4dee1755866047b670a69c DIST gentoo-functions-1.7.4.tar.bz2 29565 BLAKE2B dd05aaee9c078ef6b623950c120b7e9aa7056a1e02248a098a9b33e69109fa5a642221a2209a55570590e8101f4ec82e727602dce543977670dd7d49f789429e SHA512 184809eb684465639bc2d404c421e33153ffcac3fe985123e5f5815863c427c9e4f6155713a2c0b69006a4afbefc114211f4a4216f49e726a198938d43fcd395 DIST gentoo-functions-1.7.5.tar.bz2 30955 BLAKE2B 288a2196790e71e6eb5dcfa3d3d1f745687144e6e878d07e5b7119df21a2bab87ae03803eddd491cfc17ee3e00541adba5a0b31d52c343088ac948384bd3b48d SHA512 fcce38dea4b1441edefd0433109a59f2d868a5c9e66770799c967c95cecc4cb6c07b0011587db08c3b7088c1db541a723739d95aa79c98cde59b318708e2edd2 DIST gentoo-functions-1.7.6.tar.bz2 30674 BLAKE2B 7e8209283a39125aec501c8ab7cb681101f7a67a1383961ee32b7b1f09373c8dc2f6000277cfef537bee52f1d340acfc318657b544ef004a120c0d387beb620c SHA512 fa4b4d3ddfbc49616405e618b15abc6e4305c04f548a772623b335c53f02842fc5d0c413f387ed43429a7dce500ac274a0acbd91406850f215ced01ad5c53a51 +DIST gentoo-functions-1.7.7.tar.bz2 30811 BLAKE2B f12dabba5f03f6dab0e2c96acf84134f8e16f1c000cb5ebc920ec0e66be3f490ea9df83618df2e3e1ae61e401e580d84a393698e449fa859d326f2a4449404c0 SHA512 00ea9798145aaa550a83308e655255fd93d3563aa21cacbe4414ce04ab9c3b3f8fc2e63558b3a563da646d1c5d724522b32b5e3a461d7d46f3fbd6a9eb2685a6 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/gentoo-functions/gentoo-functions-1.7.7.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/gentoo-functions/gentoo-functions-1.7.7.ebuild new file mode 100644 index 00000000000..27cdb78f69c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/gentoo-functions/gentoo-functions-1.7.7.ebuild @@ -0,0 +1,49 @@ +# Copyright 2014-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Base functions required by all Gentoo systems" +HOMEPAGE="https://gitweb.gentoo.org/proj/gentoo-functions.git" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gentoo-functions.git" +else + SRC_URI="https://gitweb.gentoo.org/proj/gentoo-functions.git/snapshot/${P}.tar.bz2" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" +fi + +LICENSE="GPL-2 MIT" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +src_configure() { + local emesonargs=( + # Deliberately avoid /usr as consumers assume we're at /lib/gentoo. + --prefix="${EPREFIX:-/}" + --mandir="${EPREFIX}/usr/share/man" + $(meson_use test tests) + ) + + meson_src_configure +} + +src_install() { + meson_src_install + + if [[ ${EPREFIX} ]]; then + while read -r; do + if [[ ${REPLY} == $'\t'genfun_prefix= ]]; then + printf '\tgenfun_prefix=%q\n' "${EPREFIX}" + else + printf '%s\n' "${REPLY}" + fi || ! break + done < "${ED}/lib/gentoo/functions.sh" > "${T}/functions.sh" \ + && mv -- "${T}/functions.sh" "${ED}/lib/gentoo/functions.sh" \ + || die + fi +} From dfc1a50a135f4f0105f0ea3330c6f2e7b5757b3d Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:53 +0000 Subject: [PATCH 181/243] sys-apps/i2c-tools: Sync with Gentoo It's from Gentoo commit 738939d5a9a95f3b6c3abec3356c5d3b2f5fadbd. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-apps/i2c-tools/i2c-tools-4.4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/i2c-tools/i2c-tools-4.4.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/i2c-tools/i2c-tools-4.4.ebuild index 870365c8925..ec6d6f9cd82 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/i2c-tools/i2c-tools-4.4.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/i2c-tools/i2c-tools-4.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ SRC_URI="https://www.kernel.org/pub/software/utils/${PN}/${P}.tar.xz" LICENSE="LGPL-2.1+ GPL-2+ python? ( GPL-2 )" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" IUSE="python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" From c89e05cea8f834718dfd0084b4f7f4b372204ef3 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:53 +0000 Subject: [PATCH 182/243] sys-apps/iproute2: Sync with Gentoo It's from Gentoo commit ed3c1d98ad079bd9fab9394c53ed4d540f82a671. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-apps/iproute2/iproute2-7.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/iproute2/iproute2-7.0.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/iproute2/iproute2-7.0.0.ebuild index 21de52b7855..945f5e72f07 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/iproute2/iproute2-7.0.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/iproute2/iproute2-7.0.0.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == 9999 ]] ; then inherit git-r3 else SRC_URI="https://www.kernel.org/pub/linux/utils/net/${PN}/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" fi DESCRIPTION="kernel routing and traffic control utilities" From a08f1581c28362d162cb9b4643e3e7da8ab4c747 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:55 +0000 Subject: [PATCH 183/243] sys-apps/kbd: Sync with Gentoo It's from Gentoo commit d57af7229e0af72063fc85d3ed1723c7d3f4ecf6. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-apps/kbd/Manifest | 3 +- .../{kbd-2.9.0.ebuild => kbd-2.10.0.ebuild} | 13 ++- .../sys-apps/kbd/kbd-2.7.1.ebuild | 84 -------------- .../sys-apps/kbd/kbd-2.8.0.ebuild | 104 ------------------ .../sys-apps/kbd/kbd-9999.ebuild | 4 +- .../portage-stable/sys-apps/kbd/metadata.xml | 1 + 6 files changed, 14 insertions(+), 195 deletions(-) rename sdk_container/src/third_party/portage-stable/sys-apps/kbd/{kbd-2.9.0.ebuild => kbd-2.10.0.ebuild} (89%) delete mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-2.7.1.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-2.8.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/kbd/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/kbd/Manifest index fc857f6cf51..e3d150fb2cf 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/kbd/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/kbd/Manifest @@ -1,3 +1,2 @@ -DIST kbd-2.7.1.tar.xz 1471648 BLAKE2B c817f78a0a377df5fcf2a6ba1608504fa875762db5bda1f061493e68ee6f6ef1fa085c0e440d74daeb6ad990ac48956caf7ab7f2a523b0d3b2480e69a9d810f5 SHA512 9c541fdbb77e5b1a757848fb4c6f8bb5a61791220938cbfe899aa16b412a87e98fc97fc06ba39d0f983e4cc808d0dcd983560e12c7f36e4df683a3002c51af09 -DIST kbd-2.8.0.tar.xz 1482152 BLAKE2B 3b1917e37bbb4f2a975cf1f6bbfeba6a6ee486378d770c3b0232c62c40fe758181a15799f9119e3e4eedbb356a0677b3fba4b0afef135d346801693a6ef432cc SHA512 66b532e782b6be3f53521a8d1c96f2ce895201dae48f8797c563be895dfdf4e9c03b9ccf39708d1b7dd1ffb13d526e499874e8e4ba74d22b507c1d32e4b410a3 +DIST kbd-2.10.0.tar.xz 1788500 BLAKE2B 9a704246bbf5ea832a48ca77e98502bbe89e11d823fd49fbc5f190b86d0359bc25bb9ede417a4da5ebaa9e70d56a19681278f43cf9230ec35051a05c5a847af1 SHA512 1b7f55f0a1b34d9b6b4237a1ff3e10eedf4bdebe50e906a7acdea48f85b3c455e72737127491a0c494388b999797aa65411b20b44c3f5612fdeee4d8289f937c DIST kbd-2.9.0.tar.xz 1527388 BLAKE2B 6f54dc139b7b20b5ac0f53129f67a9629c9bda22a09f7bd36dfa59500ac6fb87df18169872ca231645c1be6afb33fada97f096ef497f49547228dd01efa083f4 SHA512 c98298596a9942d39d5ffcba551eca3895104ff4dda5ebf8cfef46c1e3f24ef6154cf6892a9022bc0bfc98b065169103ca1e308cb76706e5b5c0ae0035db0db7 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-2.9.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-2.10.0.ebuild similarity index 89% rename from sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-2.9.0.ebuild rename to sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-2.10.0.ebuild index 803fc298c6c..a854b0d1d38 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-2.9.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-2.10.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,9 +22,9 @@ fi DESCRIPTION="Keyboard and console utilities" HOMEPAGE="https://kbd-project.org/" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" -IUSE="bzip2 lzma nls selinux pam test zlib zstd" +IUSE="bzip2 lzma nls selinux pam test xkb zlib zstd" RESTRICT="!test? ( test )" DEPEND=" @@ -35,12 +35,16 @@ DEPEND=" !app-misc/vlock sys-libs/pam ) + xkb? ( x11-libs/libxkbcommon ) zlib? ( virtual/zlib:= ) zstd? ( app-arch/zstd:= ) " RDEPEND=" ${DEPEND} - selinux? ( sec-policy/selinux-loadkeys ) + selinux? ( + sec-policy/selinux-loadkeys + sec-policy/selinux-vlock + ) " BDEPEND=" sys-devel/flex @@ -77,6 +81,7 @@ src_configure() { $(use_enable nls) $(use_enable pam vlock) $(use_enable test tests) + $(use_enable xkb) $(use_with bzip2) $(use_with lzma) $(use_with zlib) diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-2.7.1.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-2.7.1.ebuild deleted file mode 100644 index d97616afdd0..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-2.7.1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multiprocessing - -if [[ ${PV} == 9999 ]] ; then - inherit autotools git-r3 - EGIT_REPO_URI="https://github.com/legionus/kbd.git https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git" - EGIT_BRANCH="master" -else - if [[ $(ver_cut 3) -lt 90 ]] ; then - SRC_URI="https://www.kernel.org/pub/linux/utils/kbd/${P}.tar.xz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" - else - inherit autotools - SRC_URI="https://github.com/legionus/kbd/archive/v${PV}.tar.gz -> ${P}.tar.gz" - fi -fi - -DESCRIPTION="Keyboard and console utilities" -HOMEPAGE="https://kbd-project.org/" - -LICENSE="GPL-2" -SLOT="0" -IUSE="nls selinux pam test" -RESTRICT="!test? ( test )" - -DEPEND=" - app-alternatives/gzip - pam? ( - !app-misc/vlock - sys-libs/pam - ) -" -RDEPEND=" - ${DEPEND} - selinux? ( sec-policy/selinux-loadkeys ) -" -BDEPEND=" - virtual/pkgconfig - test? ( dev-libs/check ) -" - -src_prepare() { - default - - # Rename conflicting keymaps to have unique names, bug #293228 - # See also https://github.com/legionus/kbd/issues/76. - pushd "${S}"/data/keymaps/i386 &> /dev/null || die - mv fgGIod/trf.map fgGIod/trf-fgGIod.map || die - mv olpc/es.map olpc/es-olpc.map || die - mv olpc/pt.map olpc/pt-olpc.map || die - mv qwerty/cz.map qwerty/cz-qwerty.map || die - popd &> /dev/null || die - - if [[ ${PV} == 9999 ]] || [[ $(ver_cut 3) -ge 90 ]] ; then - eautoreconf - fi -} - -src_configure() { - local myeconfargs=( - --disable-werror - - $(use_enable nls) - $(use_enable pam vlock) - $(use_enable test tests) - ) - - econf "${myeconfargs[@]}" -} - -src_test() { - emake -Onone check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)" -} - -src_install() { - default - - # USE="test" installs .la files - find "${ED}" -type f -name "*.la" -delete || die -} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-2.8.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-2.8.0.ebuild deleted file mode 100644 index 66d872639d9..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-2.8.0.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit multiprocessing - -if [[ ${PV} == 9999 ]] ; then - inherit autotools git-r3 - EGIT_REPO_URI="https://github.com/legionus/kbd.git https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git" - EGIT_BRANCH="master" -else - if [[ $(ver_cut 3) -lt 90 ]] ; then - SRC_URI="https://www.kernel.org/pub/linux/utils/kbd/${P}.tar.xz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" - else - inherit autotools - SRC_URI="https://github.com/legionus/kbd/archive/v${PV}.tar.gz -> ${P}.tar.gz" - fi -fi - -DESCRIPTION="Keyboard and console utilities" -HOMEPAGE="https://kbd-project.org/" - -LICENSE="GPL-2" -SLOT="0" -IUSE="nls selinux pam test" -RESTRICT="!test? ( test )" - -DEPEND=" - app-alternatives/gzip - pam? ( - !app-misc/vlock - sys-libs/pam - ) -" -RDEPEND=" - ${DEPEND} - selinux? ( sec-policy/selinux-loadkeys ) -" -BDEPEND=" - sys-devel/flex - virtual/pkgconfig - test? ( dev-libs/check ) -" - -src_prepare() { - default - - # Rename conflicting keymaps to have unique names, bug #293228 - # See also https://github.com/legionus/kbd/issues/76. - pushd "${S}"/data/keymaps/i386 &> /dev/null || die - mv fgGIod/trf.map fgGIod/trf-fgGIod.map || die - mv olpc/es.map olpc/es-olpc.map || die - mv olpc/pt.map olpc/pt-olpc.map || die - mv qwerty/cz.map qwerty/cz-qwerty.map || die - popd &> /dev/null || die - - if [[ ${PV} == 9999 ]] || [[ $(ver_cut 3) -ge 90 ]] ; then - eautoreconf - fi -} - -src_configure() { - # https://github.com/legionus/kbd/issues/121 - unset LEX - - local myeconfargs=( - --disable-werror - - $(use_enable nls) - $(use_enable pam vlock) - $(use_enable test tests) - ) - - econf "${myeconfargs[@]}" -} - -src_test() { - # These tests want a tty and the check passes when it shouldn't - # when running via the ebuild. - sed -i -e "s:tty 2>/dev/null:false:" tests/testsuite || die - - # Workaround Valgrind being mandatory for tests - # https://github.com/legionus/kbd/issues/133 (bug #956964) - # - # XXX: Drop this on next release (>2.8.0) and replace with - # --disable-memcheck in configure. - cat <<-EOF > tests/valgrind.sh || die - #!/bin/sh - shift - exec "\$@" 1>stdout 2>stderr - EOF - chmod +x tests/valgrind.sh || die - - emake -Onone check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)" -} - -src_install() { - default - - # USE="test" installs .la files - find "${ED}" -type f -name "*.la" -delete || die -} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-9999.ebuild index 74748ce9e63..c17e03fa981 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/kbd/kbd-9999.ebuild @@ -24,7 +24,7 @@ HOMEPAGE="https://kbd-project.org/" LICENSE="GPL-2+" SLOT="0" -IUSE="bzip2 lzma nls selinux pam test zlib zstd" +IUSE="bzip2 lzma nls selinux pam test xkb zlib zstd" RESTRICT="!test? ( test )" DEPEND=" @@ -35,6 +35,7 @@ DEPEND=" !app-misc/vlock sys-libs/pam ) + xkb? ( x11-libs/libxkbcommon ) zlib? ( virtual/zlib:= ) zstd? ( app-arch/zstd:= ) " @@ -80,6 +81,7 @@ src_configure() { $(use_enable nls) $(use_enable pam vlock) $(use_enable test tests) + $(use_enable xkb) $(use_with bzip2) $(use_with lzma) $(use_with zlib) diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/kbd/metadata.xml b/sdk_container/src/third_party/portage-stable/sys-apps/kbd/metadata.xml index fcc8accaf75..9eb281f69b1 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/kbd/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/sys-apps/kbd/metadata.xml @@ -10,5 +10,6 @@ Enable 'vlock' program (requires sys-libs/pam) + Allow to generate kernel keymaps based on xkb database from x11-libs/libxkbcommon From c0a00b7b08ee9618da5583e580635373f51cf712 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:40:58 +0000 Subject: [PATCH 184/243] sys-apps/less: Sync with Gentoo It's from Gentoo commit d8167a19d508d7956239ff2bb76f95949e5be000. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-apps/less/Manifest | 4 + .../sys-apps/less/files/lesspipe-r4.sh | 7 +- .../sys-apps/less/less-702.ebuild | 101 +++++++++++++ .../sys-apps/less/less-704.ebuild | 136 ++++++++++++++++++ 4 files changed, 246 insertions(+), 2 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/less/less-702.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/less/less-704.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/less/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/less/Manifest index 8c7d2b0bb2d..cb2bd948d9c 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/less/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/less/Manifest @@ -7,3 +7,7 @@ DIST less-691.tar.gz 986638 BLAKE2B b74fe33259ac5731cc6230e115c8ab21f34c8a3e67ef DIST less-691.tar.gz.sig 95 BLAKE2B 0b7ec8ef81b3d7d2f768554d9e1a2274300e495ebfc58d787b18115725acfd1a361d4ea9d27ea4d74071319b65b0d9d5efa12579a9df87fc17502c30f09ee176 SHA512 23988f9e914998079364571141f0f11c719139d9e5bf73729b76fe1df5192b83ec3d1a9f154ddc75a66dae111435fef6eaec38e5c8cad3bf6562bc2f2d7fc089 DIST less-692.tar.gz 987633 BLAKE2B 379d7738894f16fed1b429c9e26c2e46fd27c790be2b0b8b6c0f6744913845ea6003d5b50db4186847c4daf430fb5a23d2c9f35780577a0fb1c1a3b603bfbb41 SHA512 57a2d2b8c45c93550ab3f4c8a427f877ccfc4660028880a776d6463fdc155c7c71abc51c842bc3b2107085eb205f9d30edc21b23e21239ef61033762558209e3 DIST less-692.tar.gz.sig 95 BLAKE2B 530d6274ba8045975c26123ed3a239a5272350cf229287dc73fbe5c1e862a81618e14e280d63ed6b30087bb86e15b259a33a5b0e3b4bb945cbd9ffeefa382eed SHA512 738b3ed934f877674cf076a788a9aca5bae33a62db4c26b604bd7e819ca472465417a8d2d0bdedc1126e8eeba7c78e8d5b165f134ecca4426e30a7c3a1e31f4b +DIST less-702.tar.gz 996416 BLAKE2B 89d52e986a4bf62f6bb8fccf80a7e256e91a1a8e8935e6a4e0bf6ca02080008494b31e5f6d91a4ac5fb7eadb8d49d5289f1020b174bfc344534130baf00b0a39 SHA512 6cdb7e4d023aad412453b5c13b89d4025c7dc8641370f066cb5c13ee5dcd645b98f95fc0d8371c6b6446e2f24a07a3eef8d54965460a2bfb693bdf300f44b1eb +DIST less-702.tar.gz.sig 95 BLAKE2B e7f0483b2d0ed3aae3d5947d6e8ff19b1257e9171f7bac33f2486224ef90a198c461ef55adec68ea2ac2cb1a114aef274bc8f00c3ee4fe85a172b9a5ae685a43 SHA512 27542dff2e0b2ee07218c22b0de64cfda589bfa868d19d2d8278ccefe2252e889bd2ce3529bd80c6d66468b930d83719cec473801b59f9a658e5b9353539009c +DIST less-704.tar.gz 996650 BLAKE2B 490b5ea9006cec85b8a44f19bfc47f99da7394664e4dc4ed37fb9610c42d9fbe206a702540aaa04fe9b3320e0672522fb740ad189c835aa5a4580da4175fae71 SHA512 c6a933dd6dc058f912de524fc4e71614deb3873e4d8e3830d7cfc0e45dca8f4e8671d1e63d6099ebc9cd224f52e8dbdb4fe00a89a00d33e937fd9b852ad3609c +DIST less-704.tar.gz.sig 95 BLAKE2B 3a465b3d725a0b25968aff6a76470ab692dcdd3469511e77db3d0a7a6ef8b15322b9f82bdcc86e453687784435cdcf087bcbd0346569b6348f52ca390687b460 SHA512 e2ca6f46c08fe68693391f38e794faa7f42c52fa61404da253d860d7ce56af6a6653cd791c5a770fd2d814a73782c677211356d95fa3b2e445dd672470849f27 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/less/files/lesspipe-r4.sh b/sdk_container/src/third_party/portage-stable/sys-apps/less/files/lesspipe-r4.sh index 02a610d010f..bf620a95662 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/less/files/lesspipe-r4.sh +++ b/sdk_container/src/third_party/portage-stable/sys-apps/less/files/lesspipe-r4.sh @@ -20,6 +20,7 @@ guesscompress() { *.lzo) echo "lzop -dc" ;; *.xz) echo "xzdec" ;; *.zst) echo "zstdcat" ;; + *.br) echo "brcat" ;; *) echo "cat" ;; esac } @@ -127,6 +128,7 @@ lesspipe() { *.[0-9n].lzma|*.man.lzma|\ *.[0-9n].xz|*.man.xz|\ *.[0-9n].zst|*.man.zst|\ + *.[0-9n].br|*.man.br|\ *.[0-9][a-z].gz|*.[0-9][a-z].gz) local out=$(${DECOMPRESSOR} -- "$1" | file -) case ${out} in @@ -168,10 +170,10 @@ lesspipe() { ### Tar files ### *.tar|\ *.tar.bz2|*.tar.bz|*.tar.gz|*.tar.z|*.tar.zst|\ - *.tar.lz|*.tar.tlz|\ + *.tar.lz|*.tar.tlz|*.tar.br|\ *.tar.lzma|*.tar.xz) ${DECOMPRESSOR} -- "$1" | tar tvvf -;; - *.tbz2|*.tbz|*.tgz|*.tlz|*.txz) + *.tbz2|*.tbz|*.tgz|*.tlz|*.txz|*.tbr) lesspipe "$1" "$1.tar.${1##*.t}" ;; ### Misc archives ### @@ -179,6 +181,7 @@ lesspipe() { *.gz|*.z|\ *.zst|\ *.lz|\ + *.br|\ *.lzma|*.xz) ${DECOMPRESSOR} -- "$1" ;; *.rpm) rpm -qpivl --changelog -- "$1" || rpm2tar -O "$1" | tar tvvf -;; *.cpi|*.cpio) cpio -itv < "$1" ;; diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/less/less-702.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/less/less-702.ebuild new file mode 100644 index 00000000000..698a1775159 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/less/less-702.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Releases are usually first a beta then promoted to stable if no +# issues were found. Upstream explicitly ask "to not generally distribute" +# the beta versions. It's okay to keyword beta versions if they fix +# a serious bug, but otherwise try to avoid it. + +WANT_AUTOMAKE=none +WANT_LIBTOOL=none +inherit autotools flag-o-matic optfeature toolchain-funcs + +DESCRIPTION="Excellent text file viewer" +HOMEPAGE="https://www.greenwoodsoftware.com/less/" + +MY_PV=${PV/_beta/-beta} +MY_P=${PN}-${MY_PV} + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/gwsw/less" + inherit git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/less.asc + inherit verify-sig + + SRC_URI=" + https://www.greenwoodsoftware.com/less/${MY_P}.tar.gz + verify-sig? ( + https://www.greenwoodsoftware.com/less/${MY_P}.sig -> ${MY_P}.tar.gz.sig + ) + " + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-less )" + + if [[ ${PV} != *_beta* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + fi +fi + +S="${WORKDIR}"/${MY_P/?beta} + +LICENSE="|| ( GPL-3 BSD-2 )" +SLOT="0" +IUSE="pcre test" +RESTRICT="!test? ( test )" + +DEPEND=" + >=app-misc/editor-wrapper-3 + >=sys-libs/ncurses-5.2:= + pcre? ( dev-libs/libpcre2 ) +" +RDEPEND="${DEPEND}" +BDEPEND+=" test? ( virtual/pkgconfig )" + +src_prepare() { + default + # Per upstream README to prepare live build + [[ ${PV} == 9999 ]] && emake -f Makefile.aut distfiles + # Upstream uses unpatched autoconf-2.69, which breaks with clang-16. + # https://bugs.gentoo.org/870412 + eautoreconf +} + +src_configure() { + append-lfs-flags # bug #896316 + + local myeconfargs=( + --with-regex=$(usex pcre pcre2 posix) + --with-editor="${EPREFIX}"/usr/libexec/editor + ) + econf "${myeconfargs[@]}" +} + +src_test() { + emake check VERBOSE=1 CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + default + + keepdir /usr/lib/lessfilter.d + keepdir /etc/lessfilter.d + + newbin "${FILESDIR}"/lesspipe-r4.sh lesspipe + newenvd "${FILESDIR}"/less.envd 70less +} + +pkg_preinst() { + optfeature "Colorized output support" dev-python/pygments + + if has_version "<${CATEGORY}/${PN}-483-r1" ; then + elog "The lesspipe.sh symlink has been dropped. If you are still setting" + elog "LESSOPEN to that, you will need to update it to '|lesspipe %s'." + fi + + if has_version "<${CATEGORY}/${PN}-643" ; then + elog "less now colorizes by default. To disable this, set LESSCOLOR=no." + fi +} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/less/less-704.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/less/less-704.ebuild new file mode 100644 index 00000000000..cdf5c5aba78 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/less/less-704.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Releases are usually first a beta then promoted to stable if no +# issues were found. Upstream explicitly ask "to not generally distribute" +# the beta versions. It's okay to keyword beta versions if they fix +# a serious bug, but otherwise try to avoid it. + +WANT_AUTOMAKE=none +WANT_LIBTOOL=none +inherit autotools flag-o-matic multibuild optfeature toolchain-funcs + +DESCRIPTION="Excellent text file viewer" +HOMEPAGE="https://www.greenwoodsoftware.com/less/" + +MY_PV=${PV/_beta/-beta} +MY_P=${PN}-${MY_PV} + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/gwsw/less" + inherit git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/less.asc + inherit verify-sig + + SRC_URI=" + https://www.greenwoodsoftware.com/less/${MY_P}.tar.gz + verify-sig? ( + https://www.greenwoodsoftware.com/less/${MY_P}.sig -> ${MY_P}.tar.gz.sig + ) + " + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-less )" + + if [[ ${PV} != *_beta* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + fi +fi + +S="${WORKDIR}"/${MY_P/?beta} + +LICENSE="|| ( GPL-3 BSD-2 )" +SLOT="0" +IUSE="pcre test" +RESTRICT="!test? ( test )" + +DEPEND=" + >=app-misc/editor-wrapper-3 + >=sys-libs/ncurses-5.2:= + pcre? ( dev-libs/libpcre2 ) +" +RDEPEND="${DEPEND}" +BDEPEND+=" test? ( virtual/pkgconfig )" + +src_prepare() { + default + + # Per upstream README to prepare live build + [[ ${PV} == 9999 ]] && emake -f Makefile.aut distfiles + # Upstream uses unpatched autoconf-2.69, which breaks with clang-16. + # https://bugs.gentoo.org/870412 + eautoreconf + + MULTIBUILD_VARIANTS=( + base + $(usev test) + ) + + multibuild_copy_sources +} + +less_configure() { + cd "${BUILD_DIR}" || die + append-lfs-flags # bug #896316 + + local myeconfargs=( + --with-regex=$(usex pcre pcre2 posix) + --with-editor="${EPREFIX}"/usr/libexec/editor + ) + + ECONF_SOURCE=${PWD} econf "${myeconfargs[@]}" +} + +src_configure() { + multibuild_foreach_variant less_configure +} + +less_compile() { + emake -C "${BUILD_DIR}" +} + +src_compile() { + multibuild_foreach_variant less_compile +} + +less_test() { + # https://github.com/gwsw/less/issues/791 + [[ ${MULTIBUILD_VARIANT} == "test" ]] || return + emake -C "${BUILD_DIR}" check VERBOSE=1 CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_test() { + multibuild_foreach_variant less_test +} + +less_install() { + [[ ${MULTIBUILD_VARIANT} == "base" ]] || return + + emake -C "${BUILD_DIR}" DESTDIR="${D}" install + einstalldocs + + keepdir /usr/lib/lessfilter.d + keepdir /etc/lessfilter.d + + newbin "${FILESDIR}"/lesspipe-r4.sh lesspipe + newenvd "${FILESDIR}"/less.envd 70less +} + +src_install() { + multibuild_foreach_variant less_install +} + +pkg_preinst() { + optfeature "Colorized output support" dev-python/pygments + + if has_version "<${CATEGORY}/${PN}-483-r1" ; then + elog "The lesspipe.sh symlink has been dropped. If you are still setting" + elog "LESSOPEN to that, you will need to update it to '|lesspipe %s'." + fi + + if has_version "<${CATEGORY}/${PN}-643" ; then + elog "less now colorizes by default. To disable this, set LESSCOLOR=no." + fi +} From 86a0f7fa84fdca5e08d188855174b9fef947d6d7 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:41:05 +0000 Subject: [PATCH 185/243] sys-apps/net-tools: Sync with Gentoo It's from Gentoo commit 073f8999bb0f2784b3af188566ac20a4c4403bb4. Signed-off-by: Flatcar Buildbot --- .../sys-apps/net-tools/net-tools-2.10.ebuild | 10 ++++++---- .../sys-apps/net-tools/net-tools-9999.ebuild | 12 +++++++----- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/net-tools/net-tools-2.10.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/net-tools/net-tools-2.10.ebuild index 9f2752c51de..305489ec20b 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/net-tools/net-tools-2.10.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/net-tools/net-tools-2.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -49,14 +49,16 @@ src_configure() { set_opt I18N use nls set_opt HAVE_AFINET6 use ipv6 - set_opt HAVE_HWIB has_version '>=sys-kernel/linux-headers-2.6' - set_opt HAVE_HWTR has_version '=sys-kernel/linux-headers-2.6' + set_opt HAVE_HWTR has_version -d '=sys-kernel/linux-headers-2.6' - set_opt HAVE_HWTR has_version '=sys-kernel/linux-headers-2.6' + set_opt HAVE_HWTR has_version -d ' Date: Mon, 6 Jul 2026 08:41:06 +0000 Subject: [PATCH 186/243] sys-apps/nvme-cli: Sync with Gentoo It's from Gentoo commit f03f330004f6e6468278eb1705e8c312c32bf17b. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-apps/nvme-cli/Manifest | 5 -- .../sys-apps/nvme-cli/nvme-cli-2.11.ebuild | 49 ------------------- .../sys-apps/nvme-cli/nvme-cli-2.12.ebuild | 49 ------------------- .../sys-apps/nvme-cli/nvme-cli-2.13.ebuild | 49 ------------------- .../sys-apps/nvme-cli/nvme-cli-2.14.ebuild | 49 ------------------- .../sys-apps/nvme-cli/nvme-cli-2.15.ebuild | 49 ------------------- 6 files changed, 250 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.11.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.12.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.13.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.14.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.15.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/Manifest index 93acbb54746..ca49f4b4aa2 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/Manifest @@ -1,6 +1 @@ -DIST nvme-cli-2.11.gh.tar.gz 1023249 BLAKE2B c60765aaf8343adb29b2b042223accdd1ac4b132eaab77eec777c7aaf8f135d03b227ca915ef49ef9c67bec1dc89d43b782c38683c0d5e8fde8c997d17bd7347 SHA512 33de20ad990a3b87fef46fa486832edde41907223aa6b8a47606e605b360745fd7e2054226bf93a59b2a09c6bc04d0b684e4b3bb27c3fc0e6110c64a558cadc0 -DIST nvme-cli-2.12.gh.tar.gz 1079884 BLAKE2B ad08ce7c477cebdbb68efd707de851e9b7187cc6bd4ce4980f9a6f33a02c65d0ae6702e4f38f135db22acadf10bc26b87064ac2c9e09c820837c47ca32b0f093 SHA512 569a60302e4ce71713906417f34a8922b4788d77220a01f2f11dd12fc787ac6590c00588353cbbba292640688995fcefee4ab28c274bedcc02a2e3439c258938 -DIST nvme-cli-2.13.gh.tar.gz 1122216 BLAKE2B 45b181607f22d332fcf9e8d14c0dfba5c5a49e7e95bcf479efaf8eae3a60222af10c2f6699aab2c53ec91ede6e3e262101bbde81248facf25d40c87c0b07fa22 SHA512 71ade7b97354bf70e4909d85265db157715c1afe52fba6d1e2aa614900a8059830e85029f71680884966476363e8846d6cfbc1dcfe57330c749775acc39df6e7 -DIST nvme-cli-2.14.gh.tar.gz 1142108 BLAKE2B 7d482f065de704d9da8c54ea435c3ca8e81f08f683a9679300d8d02fd9bec6ee2c068d77ddbd2e390bd1d761b8b4b4a70a790cc290127968800df361b7a767a7 SHA512 7f600ee719f06283e136427a0f9eb0b22412f7f4549c774768caff54150207ba87e2a431ea1569e5ed86a554aecd23c00c4e8c351aa0168a81807c86a0cb2edc -DIST nvme-cli-2.15.gh.tar.gz 1182716 BLAKE2B 295ba5f56b8c4aeaafb65132b35e6198127ebad845e48d63f2d4dc185e1e668414880167cd0dc03d20dc47cdb889d20b74b709e0573fe12b609f60a17fd50681 SHA512 6f4c9fe52883df5424ba28d8b66b00e61f4b6f7226d7385f026c1d3b8aeb473bdf637102d9cf7e049349c4f7e61eccbb33f7400cc09056f74be03a80b7d51c0d DIST nvme-cli-2.16.gh.tar.gz 1216739 BLAKE2B 805ac82d3f7aa922e4941ac107c63c82c757311ea5f37482f42bef2467ddf507ead81582c9baa525a60f256cf31f7449f6f74ed82f2a11c8082fc347c2fa44e5 SHA512 507018ff41832574bef5b88ea6a17336b9792c54f8e5c619d041bce23124e1d6d5e5e824407f46d4f1b4d6899125885eb14289f3399e61c7e7a59a603f1635e2 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.11.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.11.ebuild deleted file mode 100644 index 89204c005ae..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.11.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson systemd udev - -DESCRIPTION="NVM-Express user space tooling for Linux" -HOMEPAGE="https://github.com/linux-nvme/nvme-cli" -SRC_URI="https://github.com/linux-nvme/nvme-cli/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="GPL-2 GPL-2+" -SLOT="0" -KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv ~sparc x86" -IUSE="+json pdc" - -RDEPEND=" - >=sys-libs/libnvme-1.11:=[json?] - json? ( dev-libs/json-c:= ) - virtual/zlib:= -" -DEPEND=" - ${RDEPEND} - virtual/os-headers -" -BDEPEND=" - virtual/pkgconfig -" - -src_configure() { - local emesonargs=( - -Dversion-tag="${PV}" - -Ddocs=all - -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html" - -Dsystemddir="$(systemd_get_systemunitdir)" - -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d" - $(meson_feature json json-c) - $(meson_use pdc pdc-enabled) - ) - meson_src_configure -} - -pkg_postinst() { - udev_reload -} - -pkg_postrm() { - udev_reload -} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.12.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.12.ebuild deleted file mode 100644 index b9acfcdb647..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.12.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson systemd udev - -DESCRIPTION="NVM-Express user space tooling for Linux" -HOMEPAGE="https://github.com/linux-nvme/nvme-cli" -SRC_URI="https://github.com/linux-nvme/nvme-cli/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="GPL-2 GPL-2+" -SLOT="0" -KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv ~sparc x86" -IUSE="+json pdc" - -RDEPEND=" - >=sys-libs/libnvme-1.12:=[json?] - json? ( dev-libs/json-c:= ) - virtual/zlib:= -" -DEPEND=" - ${RDEPEND} - virtual/os-headers -" -BDEPEND=" - virtual/pkgconfig -" - -src_configure() { - local emesonargs=( - -Dversion-tag="${PV}" - -Ddocs=all - -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html" - -Dsystemddir="$(systemd_get_systemunitdir)" - -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d" - $(meson_feature json json-c) - $(meson_use pdc pdc-enabled) - ) - meson_src_configure -} - -pkg_postinst() { - udev_reload -} - -pkg_postrm() { - udev_reload -} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.13.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.13.ebuild deleted file mode 100644 index 664b7e74ea7..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.13.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson systemd udev - -DESCRIPTION="NVM-Express user space tooling for Linux" -HOMEPAGE="https://github.com/linux-nvme/nvme-cli" -SRC_URI="https://github.com/linux-nvme/nvme-cli/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="GPL-2 GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86" -IUSE="+json pdc" - -RDEPEND=" - >=sys-libs/libnvme-1.13:=[json?] - json? ( dev-libs/json-c:= ) - virtual/zlib:= -" -DEPEND=" - ${RDEPEND} - virtual/os-headers -" -BDEPEND=" - virtual/pkgconfig -" - -src_configure() { - local emesonargs=( - -Dversion-tag="${PV}" - -Ddocs=all - -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html" - -Dsystemddir="$(systemd_get_systemunitdir)" - -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d" - $(meson_feature json json-c) - $(meson_use pdc pdc-enabled) - ) - meson_src_configure -} - -pkg_postinst() { - udev_reload -} - -pkg_postrm() { - udev_reload -} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.14.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.14.ebuild deleted file mode 100644 index 1b884d5716e..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.14.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson systemd udev - -DESCRIPTION="NVM-Express user space tooling for Linux" -HOMEPAGE="https://github.com/linux-nvme/nvme-cli" -SRC_URI="https://github.com/linux-nvme/nvme-cli/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="GPL-2 GPL-2+" -SLOT="0" -KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv ~sparc x86" -IUSE="+json pdc" - -RDEPEND=" - >=sys-libs/libnvme-1.14:=[json?] - json? ( dev-libs/json-c:= ) - virtual/zlib:= -" -DEPEND=" - ${RDEPEND} - virtual/os-headers -" -BDEPEND=" - virtual/pkgconfig -" - -src_configure() { - local emesonargs=( - -Dversion-tag="${PV}" - -Ddocs=all - -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html" - -Dsystemddir="$(systemd_get_systemunitdir)" - -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d" - $(meson_feature json json-c) - $(meson_use pdc pdc-enabled) - ) - meson_src_configure -} - -pkg_postinst() { - udev_reload -} - -pkg_postrm() { - udev_reload -} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.15.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.15.ebuild deleted file mode 100644 index 2f123dd36f3..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-apps/nvme-cli/nvme-cli-2.15.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson systemd udev - -DESCRIPTION="NVM-Express user space tooling for Linux" -HOMEPAGE="https://github.com/linux-nvme/nvme-cli" -SRC_URI="https://github.com/linux-nvme/nvme-cli/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="GPL-2 GPL-2+" -SLOT="0" -KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv ~sparc x86" -IUSE="+json pdc" - -RDEPEND=" - >=sys-libs/libnvme-1.15:=[json?] - json? ( dev-libs/json-c:= ) - virtual/zlib:= -" -DEPEND=" - ${RDEPEND} - virtual/os-headers -" -BDEPEND=" - virtual/pkgconfig -" - -src_configure() { - local emesonargs=( - -Dversion-tag="${PV}" - -Ddocs=all - -Dhtmldir="${EPREFIX}/usr/share/doc/${PF}/html" - -Dsystemddir="$(systemd_get_systemunitdir)" - -Dudevrulesdir="${EPREFIX}$(get_udevdir)/rules.d" - $(meson_feature json json-c) - $(meson_use pdc pdc-enabled) - ) - meson_src_configure -} - -pkg_postinst() { - udev_reload -} - -pkg_postrm() { - udev_reload -} From 4fa0b24e50f49aa76cf5e9163ec142309281ef59 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:41:07 +0000 Subject: [PATCH 187/243] sys-apps/pkgcore: Sync with Gentoo It's from Gentoo commit 481991f809ffb992e8f0559f1c2df190c69488de. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-apps/pkgcore/Manifest | 2 +- ....12.30-r1.ebuild => pkgcore-0.12.35.ebuild} | 18 ++++++++---------- .../sys-apps/pkgcore/pkgcore-9999.ebuild | 4 ++-- 3 files changed, 11 insertions(+), 13 deletions(-) rename sdk_container/src/third_party/portage-stable/sys-apps/pkgcore/{pkgcore-0.12.30-r1.ebuild => pkgcore-0.12.35.ebuild} (66%) diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/pkgcore/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/pkgcore/Manifest index 5bd7ff803ba..c44cb35bf59 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/pkgcore/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/pkgcore/Manifest @@ -1,2 +1,2 @@ -DIST pkgcore-0.12.30.tar.gz 647478 BLAKE2B 9fb76d0fed926a701326c58e096e039348e43ed3b594365207cb3410a6fcda287630452dfb9699af5230d6cd757dc5a1cdbd0802bef0d23646af19390f039f1a SHA512 09bf25c13835e4afa3f3839a8b1a043ed4284a760f5fb8c2313f618340c45a6992d29415595b4d63e6e3db21afc5fbf9368aadc801091b2ba35bf21c823fa630 DIST pkgcore-0.12.32.tar.gz 585834 BLAKE2B 005864930c21604097ba6b663753e8827fad7d956017d55f41f1861b4bf8b2ea7abae557ae5af69b20af756638924325a91916939d05b49967c8e82544b52296 SHA512 7342790d29652e98efd6bd0925450a5355ba4716489ab6d5452574519586dccc57898313802e7da09e8f914f8e29e1b6e872664185072ef71b96aec884dea71b +DIST pkgcore-0.12.35.tar.gz 597676 BLAKE2B dd28c6a51544b5ddc5de0494e6c70d9d58a19d34904cea3004304dfd32183af97163dd1bed2ec6846015785894e2d55cfec63b5bb69057ff0619add653bb649f SHA512 c0912375c162b136b337808bf1391f6a637919dafac6a31dfcb3c70b4360b150e5c6edd2c85b72870d7809e7560fb9914ca76d9f1224df6acc220a87514f27a3 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/pkgcore/pkgcore-0.12.30-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/pkgcore/pkgcore-0.12.35.ebuild similarity index 66% rename from sdk_container/src/third_party/portage-stable/sys-apps/pkgcore/pkgcore-0.12.30-r1.ebuild rename to sdk_container/src/third_party/portage-stable/sys-apps/pkgcore/pkgcore-0.12.35.ebuild index eb767c44b2b..623f872aea6 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/pkgcore/pkgcore-0.12.30-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/pkgcore/pkgcore-0.12.35.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 if [[ ${PV} == *9999 ]] ; then @@ -12,7 +12,7 @@ if [[ ${PV} == *9999 ]] ; then https://github.com/pkgcore/pkgcore.git" inherit git-r3 else - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" inherit pypi fi @@ -23,25 +23,23 @@ LICENSE="BSD MIT" SLOT="0" if [[ ${PV} == *9999 ]]; then - COMMON_DEPEND="~dev-python/snakeoil-9999[${PYTHON_USEDEP}]" + RDEPEND="~dev-python/snakeoil-9999[${PYTHON_USEDEP}]" else - COMMON_DEPEND=">=dev-python/snakeoil-0.10.11[${PYTHON_USEDEP}] - =app-shells/bash-5.3[readline] dev-python/lxml[${PYTHON_USEDEP}] " -BDEPEND=" - ${COMMON_DEPEND} +BDEPEND="${RDEPEND} >=dev-python/flit-core-3.8[${PYTHON_USEDEP}] test? ( dev-vcs/git ) " +EPYTEST_PLUGINS=() distutils_enable_tests pytest python_install_all() { diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/pkgcore/pkgcore-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/pkgcore/pkgcore-9999.ebuild index b166d488946..8eea3b6984e 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/pkgcore/pkgcore-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/pkgcore/pkgcore-9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=standalone -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 if [[ ${PV} == *9999 ]] ; then @@ -25,7 +25,7 @@ SLOT="0" if [[ ${PV} == *9999 ]]; then RDEPEND="~dev-python/snakeoil-9999[${PYTHON_USEDEP}]" else - RDEPEND=">=dev-python/snakeoil-0.11.0[${PYTHON_USEDEP}]" + RDEPEND=">=dev-python/snakeoil-0.11.1[${PYTHON_USEDEP}]" fi RDEPEND+=" From ecf328bca831282bf36521b6f23bc5d9a6b4e5d2 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:41:07 +0000 Subject: [PATCH 188/243] sys-apps/portage: Sync with Gentoo It's from Gentoo commit f389231b10f85b834c85b7f78d14ccad5cef8b91. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-apps/portage/Manifest | 1 + .../sys-apps/portage/portage-3.0.81.1.ebuild | 234 ++++++++++++++++++ .../sys-apps/portage/portage-3.0.81.ebuild | 2 +- .../sys-apps/portage/portage-9999.ebuild | 2 +- 4 files changed, 237 insertions(+), 2 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/portage/portage-3.0.81.1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/portage/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/portage/Manifest index 81c83b1c157..553494ce2a3 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/portage/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/portage/Manifest @@ -1,3 +1,4 @@ DIST portage-3.0.79.tar.bz2 1235108 BLAKE2B 279b874be40f3ba610d8dc439683a388dc926cabe236dc4426a64fcd1267484312e84b15fb44c80ecb0ddce50cace4c9fc3f29886b6911d4199ed611fbecf28d SHA512 63df73d0fb2fd5ff7e6f0cacd8999aca0c99b91fbe2a2be0204a597e8230ecc1e60dcad0f24d9200b5948dec2c7e1e417853805d19beaf748c1f16490e64036c DIST portage-3.0.80.tar.bz2 1237591 BLAKE2B 58b5a54629f9be4f768a94e16acf73e07c47622fa488450e22e36be8e0b006e05c1ed22aab2ba5787c88f8ddbaadcec6b3dde02bb9e2967994723fcb3b97f6dc SHA512 91a98ab1e8ff75a4207f0b2ec664c023928278e99f5c758704dd6ce06073d4544d7785584adeb80ab7853218373ea1f16af1c11fcb5bdde659f730dbfa632cae +DIST portage-3.0.81.1.tar.bz2 1239127 BLAKE2B 1331a396e888f904d1b68dc9bc76dc6930bd31fd3d956a3543069f162ffd144603c5aac76876882adb3a46aafbfb8d6840bb4a6462f2d61f6617fbb2646ee4e0 SHA512 41e4897d76e25dd754d130ffcd978797d83cc1212432401f89c9b0a6e1830993663a6ee6fbbf5e3ee293e6add1669c719ef8c3f845637d63027652a038f47232 DIST portage-3.0.81.tar.bz2 1239236 BLAKE2B 8f94a276ba5e2602701dbf876ab46408a644831862cd040b589d7568cef1b3ed4e7735eab82076bcb5113c022ae6e2858b9279c8b9c3b76ff8b0bce6cef8c597 SHA512 59a0fe9d6cfb4cf3cf03ac87d6da0e63c776004c805f1fe8834ff7aedda75efafa608cdbc0458a70b9e4d039c290352e7c47d925e773f68e1934d1b77b0920b6 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/portage/portage-3.0.81.1.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/portage/portage-3.0.81.1.ebuild new file mode 100644 index 00000000000..0ce98dc18bc --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/portage/portage-3.0.81.1.ebuild @@ -0,0 +1,234 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..15} ) +PYTHON_REQ_USE='bzip2(+),threads(+)' +TMPFILES_OPTIONAL=1 + +inherit meson linux-info python-r1 tmpfiles + +DESCRIPTION="The package management and distribution system for Gentoo" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/portage.git + https://github.com/gentoo/portage.git + " + inherit git-r3 +else + SRC_URI="https://gitweb.gentoo.org/proj/portage.git/snapshot/${P}.tar.bz2" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="apidoc build doc gentoo-dev +ipc +native-extensions +rsync-verify selinux test xattr" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +BDEPEND=" + ${PYTHON_DEPS} + >=app-arch/tar-1.27 + >=dev-build/meson-1.3.0-r1 + >=sys-apps/sed-4.0.5 + sys-devel/patch + !build? ( $(python_gen_impl_dep 'ssl(+)') ) + apidoc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-epytext[${PYTHON_USEDEP}] + ) + doc? ( + ~app-text/docbook-xml-dtd-4.4 + app-text/xmlto + ) + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-vcs/git + ) +" +# Require sandbox-2.2 for bug #288863. +# For whirlpool hash, require python[ssl] (bug #425046). +RDEPEND=" + ${PYTHON_DEPS} + >=acct-user/portage-0-r4 + >=app-arch/tar-1.27 + app-arch/zstd + >=app-misc/pax-utils-0.1.17 + dev-lang/python-exec:2 + >=sys-apps/baselayout-2.9 + >=sys-apps/findutils-4.9 + !build? ( + >=app-admin/eselect-1.2 + app-portage/getuto + >=app-shells/bash-5.3:0 + dev-util/debugedit + >=sec-keys/openpgp-keys-gentoo-release-20240703 + >=sys-apps/sed-4.0.5 + rsync-verify? ( + app-alternatives/gpg[ssl(-)] + >=app-portage/gemato-14.5[${PYTHON_USEDEP}] + ) + ) + kernel_linux? ( + sys-apps/util-linux + elibc_glibc? ( >=sys-apps/sandbox-2.2 ) + elibc_musl? ( >=sys-apps/sandbox-2.2 ) + ) + selinux? ( >=sys-libs/libselinux-2.0.94[python,${PYTHON_USEDEP}] ) + xattr? ( kernel_linux? ( + >=sys-apps/install-xattr-0.3 + ) ) +" +# coreutils-6.4 rdep is for date format in emerge-webrsync #164532 +# NOTE: FEATURES=installsources requires debugedit and rsync +PDEPEND=" + !build? ( + >=net-misc/rsync-2.6.4 + >=sys-apps/coreutils-6.4 + >=sys-apps/file-5.44-r3 + ) +" + +pkg_pretend() { + local CONFIG_CHECK="~IPC_NS ~PID_NS ~NET_NS ~UTS_NS" + + check_extra_config +} + +src_prepare() { + default + + if use prefix-guest; then + sed -e "s|^\(main-repo = \).*|\\1gentoo_prefix|" \ + -e "s|^\\[gentoo\\]|[gentoo_prefix]|" \ + -e "s|^\(sync-uri = \).*|\\1rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix|" \ + -i cnf/repos.conf || die "sed failed" + fi +} + +src_configure() { + local code_only=false + python_foreach_impl my_src_configure +} + +my_src_configure() { + local emesonargs=( + -Dcode-only=${code_only} + -Deprefix="${EPREFIX}" + -Dportage-bindir="${EPREFIX}/usr/lib/portage/${EPYTHON}" + -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" + $(meson_use doc) + $(meson_use apidoc) + $(meson_use gentoo-dev) + $(meson_use ipc) + $(meson_use xattr) + ) + + if use native-extensions && [[ "${EPYTHON}" != pypy3* ]] ; then + emesonargs+=( -Dnative-extensions=true ) + else + emesonargs+=( -Dnative-extensions=false ) + fi + + if use build; then + emesonargs+=( -Drsync-verify=false ) + else + emesonargs+=( $(meson_use rsync-verify) ) + fi + + meson_src_configure + code_only=true +} + +src_compile() { + python_foreach_impl meson_src_compile +} + +src_test() { + local EPYTEST_XDIST=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + python_foreach_impl epytest +} + +src_install() { + python_foreach_impl my_src_install + dotmpfiles "${FILESDIR}"/portage-{ccache,tmpdir}.conf + + local scripts + mapfile -t scripts < <(awk '/^#!.*python/ {print FILENAME} {nextfile}' "${ED}"/usr/{bin,sbin}/* || die) + python_replicate_script "${scripts[@]}" +} + +my_src_install() { + local pydirs=( + "${D}$(python_get_sitedir)" + "${ED}/usr/lib/portage/${EPYTHON}" + ) + + meson_src_install + python_fix_shebang "${pydirs[@]}" + python_optimize "${pydirs[@]}" +} + +pkg_preinst() { + if ! use build && [[ -z ${ROOT} ]]; then + python_setup + local sitedir=$(python_get_sitedir) + [[ -d ${D}${sitedir} ]] || die "${D}${sitedir}: No such directory" + env -u DISTDIR \ + -u PORTAGE_OVERRIDE_EPREFIX \ + -u PORTAGE_REPOSITORIES \ + -u PORTDIR \ + -u PORTDIR_OVERLAY \ + PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \ + ED="${ED}" \ + "${PYTHON}" -m portage._compat_upgrade.default_locations || die + + env -u BINPKG_COMPRESS -u PORTAGE_REPOSITORIES \ + PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \ + ED="${ED}" \ + "${PYTHON}" -m portage._compat_upgrade.binpkg_compression || die + + env -u FEATURES -u PORTAGE_REPOSITORIES \ + PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \ + ED="${ED}" \ + "${PYTHON}" -m portage._compat_upgrade.binpkg_multi_instance || die + + env -u BINPKG_FORMAT \ + PYTHONPATH="${D}${sitedir}${PYTHONPATH:+:${PYTHONPATH}}" \ + ED="${ED}" \ + "${PYTHON}" -m portage._compat_upgrade.binpkg_format || die + fi + + # elog dir must exist to avoid logrotate error for bug #415911. + # This code runs in preinst in order to bypass the mapping of + # portage:portage to root:root which happens after src_install. + keepdir /var/log/portage/elog + # This is allowed to fail if the user/group are invalid for prefix users. + if chown portage:portage "${ED}"/var/log/portage{,/elog} 2>/dev/null ; then + chmod g+s,ug+rwx "${ED}"/var/log/portage{,/elog} + fi + + if has_version "<${CATEGORY}/${PN}-2.3.77"; then + elog "The emerge --autounmask option is now disabled by default, except for" + elog "portions of behavior which are controlled by the --autounmask-use and" + elog "--autounmask-license options. For backward compatibility, previous" + elog "behavior of --autounmask=y and --autounmask=n is entirely preserved." + elog "Users can get the old behavior simply by adding --autounmask to the" + elog "make.conf EMERGE_DEFAULT_OPTS variable. For the rationale for this" + elog "change, see https://bugs.gentoo.org/658648." + fi +} + +pkg_postinst() { + # Warn about obsolete "enotice" script, bug #867010 + local bashrc=${EROOT}/etc/portage/profile/profile.bashrc + if [[ -e ${bashrc} ]] && grep -q enotice "${bashrc}"; then + eerror "Obsolete 'enotice' script detected!" + eerror "Please remove this from ${bashrc} to avoid problems." + eerror "See bug 867010 for more details." + fi +} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/portage/portage-3.0.81.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/portage/portage-3.0.81.ebuild index 62f87f2f1b9..638ac9ec853 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/portage/portage-3.0.81.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/portage/portage-3.0.81.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{12..14} ) +PYTHON_COMPAT=( python3_{12..15} ) PYTHON_REQ_USE='bzip2(+),threads(+)' TMPFILES_OPTIONAL=1 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/portage/portage-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/portage/portage-9999.ebuild index 62f87f2f1b9..638ac9ec853 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/portage/portage-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/portage/portage-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{12..14} ) +PYTHON_COMPAT=( python3_{12..15} ) PYTHON_REQ_USE='bzip2(+),threads(+)' TMPFILES_OPTIONAL=1 From aac3d688b52a1e6234dc10a367fd9f2a0193b510 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:41:09 +0000 Subject: [PATCH 189/243] sys-apps/sed: Sync with Gentoo It's from Gentoo commit 4787b1915e1c9885b97bb062a9f4a9319b0ccdd1. Signed-off-by: Flatcar Buildbot --- .../src/third_party/portage-stable/sys-apps/sed/sed-4.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/sed/sed-4.10.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/sed/sed-4.10.ebuild index 1b271cc60d8..0f8ba3d69ff 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/sed/sed-4.10.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/sed/sed-4.10.ebuild @@ -24,7 +24,7 @@ else SRC_URI="mirror://gnu/sed/${P}.tar.xz" SRC_URI+=" verify-sig? ( mirror://gnu/sed/${P}.tar.xz.sig )" - 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 LICENSE="GPL-3+" From 242cd8969d0980e7bfb5d6a6e890ee30c793ccf4 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:41:09 +0000 Subject: [PATCH 190/243] sys-apps/semodule-utils: Sync with Gentoo It's from Gentoo commit e83e8603e81ef273175d435184bb2b8d907c0cb0. Signed-off-by: Flatcar Buildbot --- .../sys-apps/semodule-utils/Manifest | 1 + .../semodule-utils/semodule-utils-3.10.ebuild | 2 +- .../semodule-utils/semodule-utils-3.11.ebuild | 42 +++++++++++++++++++ .../semodule-utils/semodule-utils-9999.ebuild | 4 +- 4 files changed, 46 insertions(+), 3 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.11.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/Manifest index 7911c6f45fd..09e252fafe7 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/Manifest @@ -1,4 +1,5 @@ DIST semodule-utils-3.10.tar.gz 12814 BLAKE2B a5ff8a0ace4d9052b59124a1f03c85d31c8143936c884ffa0d1d01fc05adf74d397311dc4eefe57267a9d812c990ba49d1393fefcb4d0d08a7b4aeebbe921199 SHA512 e1b8e5ef566bd5d7d346447788e40066403e8943dd4ad4638707b2d85155e57596a79b6777dfcdc39b49cac569020b1dc48663de821c67fb48846f9000df20a3 +DIST semodule-utils-3.11.tar.gz 12885 BLAKE2B 0deca603f3ce7f814f8e233b7416cde3c31046b634bf0daee6cd2ed8a14bf9ede75d0176c98caecf6ed9769b0bb6bb806358a65514f226877b1d81e7afd34b49 SHA512 aafa17a03b5087e70df77f03860c86699e9cb727796dedf760de1bb10bd6e794221f8b4435a25c8e722f2d255010d8a9ef3766ffe998f2138c4e2f947faa05f6 DIST semodule-utils-3.6.tar.gz 12844 BLAKE2B e5e7501c412649f471e89cc89569d6c51421e0b46f172f243ce778bbe3a2c658ef9a92e3f3e1e07fb3358e25f63e004b6bd4b56619472fbcae8cb5b916d54170 SHA512 16b58bbafcaef9a2e8e34a20d0e1e4024a9044024de8fa3137c5ba1b9af600afac51c15ccb648dd6bff77747c047f4c9feafeea07c19b1eb14955acc92697a48 DIST semodule-utils-3.7.tar.gz 12896 BLAKE2B 7487c74585e281f6c44e9977efb85e89bf01d93285c6cc6593dd876e948cc385ec9f11b52f3fc182b2bac3621bcc89c53fc217c41b1a01d586274139b0a40fa6 SHA512 133f76ddff0cc4121e59560f4167e15288cc7f6172a39b49ea631803f6e3365fef95166a55498fa2e036de85466e37bb6ec164ef60855eef8c888c9b384b0120 DIST semodule-utils-3.8.1.tar.gz 12892 BLAKE2B b134dcd6bec0c543c22aba091c25568bca4fee1567538bac719103c7a2d825cbba8540d58cf1891d82f77b0b981e6e6448e9fc270f39c2afa9d9df83c1660b13 SHA512 e2d379192daf660aabe97d6565b8c6575d7ec6daf59505e1546c0a78a289c0bc533ed81494652503e003cdd61cec6dc72155b3077ed092a6b428a9fc2cd564fa diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.10.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.10.ebuild index 6226ee61a66..deba00b7ff9 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.10.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.10.ebuild @@ -17,7 +17,7 @@ if [[ ${PV} == *9999 ]] ; then S="${WORKDIR}/${P}/${PN}" else SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" + KEYWORDS="amd64 arm arm64 ~mips x86" S="${WORKDIR}/${MY_P}" fi diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.11.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.11.ebuild new file mode 100644 index 00000000000..253ddbc9e11 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-3.11.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit toolchain-funcs + +MY_PV="${PV//_/-}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="SELinux policy module utilities" +HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" + +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git" + S="${WORKDIR}/${P}/${PN}" +else + SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~mips ~riscv ~x86" + S="${WORKDIR}/${MY_P}" +fi + +LICENSE="GPL-2" +SLOT="0" + +DEPEND=">=sys-libs/libsepol-${PV}:=" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + sed -i 's/-Werror//g' "${S}"/*/Makefile || die "Failed to remove Werror" +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${D}" install +} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-9999.ebuild index 088b9f48cc7..253ddbc9e11 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/semodule-utils/semodule-utils-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" @@ -17,7 +17,7 @@ if [[ ${PV} == *9999 ]] ; then S="${WORKDIR}/${P}/${PN}" else SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~mips ~riscv ~x86" S="${WORKDIR}/${MY_P}" fi From 360e6f577e540cc113e03182848f5fca62abcea8 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:41:09 +0000 Subject: [PATCH 191/243] sys-apps/shadow: Sync with Gentoo It's from Gentoo commit 8320faf630a28ab3bb7f104ec1be2b20564cfe51. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-apps/shadow/Manifest | 2 - .../sys-apps/shadow/shadow-4.19.3.ebuild | 267 ------------------ .../sys-apps/shadow/shadow-4.19.4.ebuild | 3 +- 3 files changed, 1 insertion(+), 271 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/shadow/shadow-4.19.3.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/shadow/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/shadow/Manifest index ccd85158f0a..1e620f80fbb 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/shadow/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/shadow/Manifest @@ -1,4 +1,2 @@ -DIST shadow-4.19.3.tar.xz 2347720 BLAKE2B 8c9f6faa37bba130364086635c91562bfc786740a0276366d9771aaa289dcbba5cd7550437596e43f91348ab29bab77e9894232feffc8498c4cc1bbd48bec3d3 SHA512 f2b41f8186681eb98dae0da87ed1a1f03327c5005c9d4bf9500801352e318de6f5954dc5b8f30ab9aece728b1efb74b4ff8fb2720acc4c2aaef701331a4a5a05 -DIST shadow-4.19.3.tar.xz.asc 833 BLAKE2B 936a9103b65c3564b1d5f00259965921e7aa1615714b04e783441f2fa79e78c386cf9056758cba4f8c36f740490dedb8acd68d88979cc153bb78d2a800d01156 SHA512 295a6bffefd333a9ea84fa59b368f5c48d0ac5224199624b768087098110b0f0c19bef37f5c474c45277980758dcb6728e8bb17eb7ab1a57603cad41f1dd00ab DIST shadow-4.19.4.tar.xz 2332684 BLAKE2B 4acebcf93be2b6700b33f466e8ada8799ae479a9db0892c2c3d9279acda539ecbce7d0f0c940fc22ae44f6ae9ee9aa91a3bf6e5f22ce2132a464fb13f3c61987 SHA512 6be382087e85566c5c14023decd6edd3b9f0c768a6b00c8389b31cb73fecaaa1b8b9b105374d582c8054e60e158fa3e34acf616a64dca04613bdf06cb08ab664 DIST shadow-4.19.4.tar.xz.asc 833 BLAKE2B 4daf863f4187819adb9bb9c7c6c6939451c0a341c9aa4d63161d8090120b58d3a094939be7788c1c362a2b74ec411b1cc7dd2a208cf9cb49e0dbea529f2ddd84 SHA512 accd3755d15f8b37f0140b6c09a06368570ec88bd1bf590c9a01bd7e9497c52af4d71ff93717208aedb24229667d72cf65a5ba4f924e1b1fd65783904601fbdb diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/shadow/shadow-4.19.3.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/shadow/shadow-4.19.3.ebuild deleted file mode 100644 index 0783a8679cb..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-apps/shadow/shadow-4.19.3.ebuild +++ /dev/null @@ -1,267 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Upstream sometimes pushes releases as pre-releases before marking them -# official. Don't keyword the pre-releases! -# Check https://github.com/shadow-maint/shadow/releases. - -inherit libtool pam user-info verify-sig - -DESCRIPTION="Utilities to deal with user accounts" -HOMEPAGE="https://github.com/shadow-maint/shadow" -MY_PV="${PV/_/-}" -MY_P="${PN}-${MY_PV}" -SRC_URI="https://github.com/shadow-maint/shadow/releases/download/${MY_PV}/${MY_P}.tar.xz" -SRC_URI+=" verify-sig? ( https://github.com/shadow-maint/shadow/releases/download/${MY_PV}/${MY_P}.tar.xz.asc )" -S="${WORKDIR}/${MY_P}" - -LICENSE="BSD GPL-2" -# Subslot is for libsubid's SONAME. -SLOT="0/5" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="acl audit nls pam selinux skey split-usr su systemd test xattr" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - virtual/libcrypt:= - acl? ( sys-apps/acl:= ) - audit? ( >=sys-process/audit-2.6:= ) - nls? ( virtual/libintl ) - pam? ( sys-libs/pam:= ) - skey? ( sys-auth/skey:= ) - selinux? ( - >=sys-libs/libselinux-1.28:= - sys-libs/libsemanage:= - ) - systemd? ( sys-apps/systemd:= ) - xattr? ( sys-apps/attr:= ) - !/s:^:#:" \ - etc/login.defs || die - else - sed -i -r \ - -e "/^#?${opt}\>/s:.*:${opt} ${val}:" \ - etc/login.defs || die - fi - local res=$(grep "^${comment}${opt}\>" etc/login.defs) - einfo "${res:-Unable to find ${opt} in etc/login.defs}" -} - -src_configure() { - local myeconfargs=( - # Negate new upstream default of disabling for now - --enable-lastlog - --disable-account-tools-setuid - --disable-static - $(use_with kernel_linux btrfs) - # Use bundled replacements for readpassphrase and freezero - --without-libbsd - --without-group-name-max-length - --without-tcb - --with-bcrypt - --with-yescrypt - $(use_enable nls) - # TODO: wire up upstream for elogind too (bug #931119) - $(use_enable systemd logind) - $(use_with acl) - $(use_with audit) - $(use_with elibc_glibc nscd) - $(use_with pam libpam) - $(use_with selinux) - $(use_with skey) - $(use_with su) - $(use_with xattr attr) - ) - - econf "${myeconfargs[@]}" - - set_login_opt CREATE_HOME yes - if use pam; then - # Comment out login.defs options that pam hates - local opts=( - CHFN_AUTH - CONSOLE - ENV_HZ - ENVIRON_FILE - FAILLOG_ENAB - FTMP_FILE - LASTLOG_ENAB - MAIL_CHECK_ENAB - MOTD_FILE - NOLOGINS_FILE - OBSCURE_CHECKS_ENAB - PASS_ALWAYS_WARN - PASS_CHANGE_TRIES - PASS_MIN_LEN - PORTTIME_CHECKS_ENAB - QUOTAS_ENAB - SU_WHEEL_ONLY - ) - local opt sed_args=() - for opt in "${opts[@]}"; do - set_login_opt ${opt} - sed_args+=( -e "/^#${opt}\>/b pamnote" ) - done - sed_args+=( - -e 'b exit' - -e ': pamnote; i# NOTE: This setting should be configured via /etc/pam.d/ and not in this file.' - -e ': exit' - ) - sed -i "${sed_args[@]}" etc/login.defs || die - else - set_login_opt MAIL_CHECK_ENAB no - set_login_opt SU_WHEEL_ONLY yes - set_login_opt LOGIN_RETRIES 3 - set_login_opt ENCRYPT_METHOD YESCRYPT - set_login_opt CONSOLE - fi -} - -src_install() { - emake DESTDIR="${D}" suidperms=4755 install - - fowners :shadow /usr/bin/{chage,expiry} - fperms u-s,g+s /usr/bin/{chage,expiry} - - # 4.9 regression: https://github.com/shadow-maint/shadow/issues/389 - emake DESTDIR="${D}" -C man install - - find "${ED}" -name '*.la' -type f -delete || die - - insinto /etc - doins etc/login.defs - - # needed for 'useradd -D' - insopts -m0600 - insinto /etc/default - doins "${FILESDIR}"/default/useradd - - if ! use pam ; then - doins etc/login.access etc/limits - fi - - if use split-usr ; then - # move passwd to / to help recover broke systems #64441 - # We cannot simply remove this or else net-misc/scponly - # and other tools will break because of hardcoded passwd - # location - dodir /bin - mv "${ED}"/usr/bin/passwd "${ED}"/bin/ || die - dosym ../../bin/passwd /usr/bin/passwd - fi - - if use pam; then - dopamd "${FILESDIR}"/pam.d-include/shadow - - for x in chsh chfn ; do - newpamd "${FILESDIR}"/pam.d-include/passwd ${x} - done - - for x in chpasswd newusers ; do - newpamd "${FILESDIR}"/pam.d-include/chpasswd ${x} - done - - newpamd "${FILESDIR}"/pam.d-include/shadow-r1 groupmems - - # Remove manpages that pam will install for us - # and/or don't apply when using pam - find "${ED}"/usr/share/man -type f \ - '(' -name 'limits.5*' -o -name 'suauth.5*' ')' \ - -delete - - # Remove pam.d files provided by pambase. - rm "${ED}"/etc/pam.d/{login,passwd} || die - if use su ; then - rm "${ED}"/etc/pam.d/su || die - fi - fi - - # Remove manpages that are handled by other packages - find "${ED}"/usr/share/man -type f -name getspnam.3 -delete || die - - if ! use su ; then - find "${ED}"/usr/share/man -type f -name su.1 -delete || die - fi - - dodoc README doc/HOWTO doc/README.limits - - if use elibc_musl; then - QA_CONFIG_IMPL_DECL_SKIP+=( sgetsgent ) - fi - - if use kernel_Hurd ; then - # sys-kernel/hurd provides this instead - rm "${ED}"/bin/login || die - fi -} - -pkg_postinst() { - # Missing entries from /etc/passwd can cause odd system blips. - # See bug #829872. - if ! pwck -r -q -R "${EROOT:-/}" &>/dev/null ; then - ewarn "Running 'pwck' returned errors. Please run it manually to fix any errors." - fi - - local group=shadow - - if [[ -n ${ROOT} ]]; then - # Resolve to a group id using ${ROOT}/etc/passwd - group=$(egetent group shadow | cut -d: -f3) - if [[ -n ${group} ]]; then - chgrp "${group}" "${EROOT}"/usr/bin/{chage,expiry} && - chmod g+s "${EROOT}"/usr/bin/{chage,expiry} - fi - fi - - # Enable shadow groups. - if [[ ! -f "${EROOT}"/etc/gshadow ]] ; then - if grpck -r -R "${EROOT:-/}" 2>/dev/null ; then - grpconv -R "${EROOT:-/}" - if [[ -n ${group} ]]; then - chgrp "${group}" "${EROOT}"/etc/gshadow && - chmod g+r "${EROOT}"/etc/gshadow - fi - else - ewarn "Running 'grpck' returned errors. Please run it by hand, and then" - ewarn "run 'grpconv' afterwards!" - fi - fi - - [[ ! -f "${EROOT}"/etc/subgid ]] && - touch "${EROOT}"/etc/subgid - [[ ! -f "${EROOT}"/etc/subuid ]] && - touch "${EROOT}"/etc/subuid -} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/shadow/shadow-4.19.4.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/shadow/shadow-4.19.4.ebuild index 05dc4a2390b..2c4510e5c6f 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/shadow/shadow-4.19.4.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/shadow/shadow-4.19.4.ebuild @@ -25,6 +25,7 @@ IUSE="acl audit nls pam selinux skey split-usr su systemd test xattr" RESTRICT="!test? ( test )" COMMON_DEPEND=" + acct-group/shadow virtual/libcrypt:= acl? ( sys-apps/acl:= ) audit? ( >=sys-process/audit-2.6:= ) @@ -45,12 +46,10 @@ DEPEND=" " RDEPEND=" ${COMMON_DEPEND} - acct-group/shadow pam? ( >=sys-auth/pambase-20150213 ) su? ( !sys-apps/util-linux[su(-)] ) " BDEPEND=" - acct-group/shadow app-arch/xz-utils sys-devel/gettext test? ( dev-util/cmocka ) From f2687d97f070c9b3d192a1ca81c6c3fa9d7903e2 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:41:11 +0000 Subject: [PATCH 192/243] sys-apps/systemd: Sync with Gentoo It's from Gentoo commit 578e39040336dce70389820ec9287ee08f3269cb. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-apps/systemd/Manifest | 3 + .../sys-apps/systemd/files/261-gcc-bpf.patch | 124 ++++ .../systemd-260.2-networkd-resolve-hook.patch | 37 ++ .../sys-apps/systemd/metadata.xml | 4 +- ...59.4-r1.ebuild => systemd-259.4-r2.ebuild} | 8 +- ...60.1-r1.ebuild => systemd-260.1-r2.ebuild} | 11 +- .../sys-apps/systemd/systemd-260.2-r1.ebuild | 610 +++++++++++++++++ .../sys-apps/systemd/systemd-261-r1.ebuild | 615 ++++++++++++++++++ .../sys-apps/systemd/systemd-261.1.ebuild | 615 ++++++++++++++++++ .../sys-apps/systemd/systemd-9999.ebuild | 32 +- 10 files changed, 2040 insertions(+), 19 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/systemd/files/261-gcc-bpf.patch create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/systemd/files/systemd-260.2-networkd-resolve-hook.patch rename sdk_container/src/third_party/portage-stable/sys-apps/systemd/{systemd-259.4-r1.ebuild => systemd-259.4-r2.ebuild} (98%) rename sdk_container/src/third_party/portage-stable/sys-apps/systemd/{systemd-260.1-r1.ebuild => systemd-260.1-r2.ebuild} (97%) create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-260.2-r1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-261-r1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-261.1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/systemd/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/Manifest index 061d92169a2..d094260a2f0 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/systemd/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/Manifest @@ -1,2 +1,5 @@ DIST systemd-259.4.tar.gz 17336661 BLAKE2B 5e90410698e21e8fc8f5f22e3e26858f51d2cdfc362870f09ecccf8ed882602cdcef2614843738b14601349b05cfd3a8358a1771fc1fcd8e75d831940a8683c8 SHA512 bf572f92b0b01ecaf08f36ea5e13a2c05a79e6c0c2d9ef191855d1b83ae791a2977841ca85541ace1d30945d5f879d703d390767f708294986b29aeda1449b1f DIST systemd-260.1.tar.gz 17581096 BLAKE2B 072424e7288f8796be1e6952fadc5452c2ab54633b356796a29872609a03b4cc2edbc0cac0df7542bc969b06d265d2cbf52f9174742c5a570a5a3d7a7664cfa8 SHA512 9f975dce6861853a817a7ceab18a24449a85d1bda6939b3a5173430c02a4d8a9a2b34ebb8cce1c51db9b0ff9078fcc65da7b0f44e3bdcbbe013b9e04bb6f0ff9 +DIST systemd-260.2.tar.gz 17663337 BLAKE2B 6f19c9ab444d9bcd8d585a4c2ef5bf8763dcfcd69bbcc02659d8ebdbdebb97b25941fe38e6b7a5cc3046b7b724b14e3e94c1c95919314a30818c9f81143cb9e7 SHA512 63d15da49e7580952a48a0b50df20c1b398e4b77edf259510b0cdb9022e919387baadf2190194a50f1f582b83e0768c13997a4189cf0fb6a61b65015496d9c80 +DIST systemd-261.1.tar.gz 18405830 BLAKE2B ab345d6ae27d361aa56d3b021263e2b2e3af76cdc37ee9015932557f1b904f2e5e5a6d5911b4a442057d12d5eedf8a702a30aa13f9b68294ccc14833f397a0ea SHA512 5dbf8b902fbed6e719367266da658b46ed55e76c93b7aa48ebaf9daca36cb19261ebd45cb97139c51227022a8ca3d07da360953bd9b0aebb429dce6d111f7e5c +DIST systemd-261.tar.gz 18390754 BLAKE2B 3e307fa237911ee18e9dca2e3e26eac4859fe19bd856c970d9c557ed2a3420944a20affad60bf10dc4cada657778bac38a1a529fc0081ba255550bfd4c1a1f06 SHA512 6a21c2a9bd83d962db4e6c095078ec79259d8109583b59094d17e76c0826e96a6183778f46b64352b0fe62cb8890736e9331f35e9a4c8b65f9b574fa915f9fd8 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/systemd/files/261-gcc-bpf.patch b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/files/261-gcc-bpf.patch new file mode 100644 index 00000000000..a2377e51d27 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/files/261-gcc-bpf.patch @@ -0,0 +1,124 @@ +https://bugs.gentoo.org/977839 +https://github.com/systemd/systemd/issues/42689 +https://github.com/systemd/systemd/pull/42705 + +From f12879e13f002b9b7a62d9ddba8b258a05b945ef Mon Sep 17 00:00:00 2001 +From: tunaichao +Date: Tue, 23 Jun 2026 15:45:49 +0800 +Subject: [PATCH] core: derive restrict-fsaccess initramfs_s_dev offset from + skeleton + +Building with -Dbpf=enabled -Dbpf_compiler=gcc (GCC's BPF backend) fails on +the static assertions in bpf-restrict-fsaccess.c, introduced in 68fe7fa4d6: + + error: static assertion failed: + "offsetof(struct restrict_fsaccess_bss, initramfs_s_dev) == + offsetof(typeof_field(struct restrict_fsaccess_bpf, bss[0]), initramfs_s_dev)" + +The hand-written struct restrict_fsaccess_bss lists the BPF .bss globals in +source declaration order and asserts that its layout matches the skeleton's +generated bss struct. bpftool gen skeleton emits that struct from the BTF +.bss DATASEC, whose member order reflects the physical order the compiler +placed the variables, not the source order. clang preserves declaration +order, so the asserts pass; gcc reorders .bss globals, so initramfs_s_dev no +longer sits at offset 0 and the asserts fail. + +This is more than a build break: restrict_fsaccess_clear_initramfs_trust() +clears initramfs_s_dev by mmap()ing the .bss map and storing 0 at a hardcoded +offset 0. Under the gcc layout that store would clobber the wrong global, +silently leaving the initramfs trust window open after switch_root instead of +closing it. The asserts were correctly catching this. + +Fix it by deriving the offset from the generated skeleton instead of a mirror +struct: drop struct restrict_fsaccess_bss and the four field-order +assert_cc()s, take INITRAMFS_S_DEV_OFF from the skeleton's bss struct +(offsetof(typeof_field(struct restrict_fsaccess_bpf, bss[0]), +initramfs_s_dev)), and store at p + INITRAMFS_S_DEV_OFF. The offset is a +compile-time constant, so clang (offset 0) is unchanged while gcc tracks the +real layout. A retained assert_cc() documents the 4-byte alignment the +single-store atomicity relies on. + +Fixes: #42689 +--- + src/core/bpf-restrict-fsaccess.c | 33 +++++++++++++++----------------- + src/core/bpf-restrict-fsaccess.h | 10 ---------- + 2 files changed, 15 insertions(+), 28 deletions(-) + +diff --git a/src/core/bpf-restrict-fsaccess.c b/src/core/bpf-restrict-fsaccess.c +index 4e0af5596af29..f0e49199f46df 100644 +--- a/src/core/bpf-restrict-fsaccess.c ++++ b/src/core/bpf-restrict-fsaccess.c +@@ -48,19 +48,17 @@ static struct restrict_fsaccess_bpf *restrict_fsaccess_bpf_free(struct restrict_ + + DEFINE_TRIVIAL_CLEANUP_FUNC(struct restrict_fsaccess_bpf *, restrict_fsaccess_bpf_free); + +-/* Verify that restrict_fsaccess_bss matches the skeleton's .bss layout. The sizeof +- * check catches field additions/removals; the offsetof checks catch field +- * reordering. Field order in restrict_fsaccess_bss must match the BPF global +- * declaration order in restrict-fsaccess.bpf.c — this is what bpftool uses for the +- * generated struct. The read-modify-write in restrict_fsaccess_clear_initramfs_trust() +- * depends on this layout. */ +-assert_cc(sizeof(struct restrict_fsaccess_bss) == sizeof_field(struct restrict_fsaccess_bpf, bss[0])); +-assert_cc(offsetof(struct restrict_fsaccess_bss, initramfs_s_dev) == +- offsetof(typeof_field(struct restrict_fsaccess_bpf, bss[0]), initramfs_s_dev)); +-assert_cc(offsetof(struct restrict_fsaccess_bss, protected_map_id_verity) == +- offsetof(typeof_field(struct restrict_fsaccess_bpf, bss[0]), protected_map_id_verity)); +-assert_cc(offsetof(struct restrict_fsaccess_bss, protected_map_id_bss) == +- offsetof(typeof_field(struct restrict_fsaccess_bpf, bss[0]), protected_map_id_bss)); ++/* Offset of initramfs_s_dev within the BPF program's .bss section, taken from ++ * the generated skeleton so it matches whichever BPF compiler (clang or gcc) ++ * emitted the object. clang and gcc do not necessarily place .bss globals in ++ * source declaration order, so the offset must come from the skeleton rather ++ * than a hand-maintained mirror struct. restrict_fsaccess_clear_initramfs_trust() ++ * mmaps the .bss map and clears this field via a single store. */ ++#define INITRAMFS_S_DEV_OFF \ ++ offsetof(typeof_field(struct restrict_fsaccess_bpf, bss[0]), initramfs_s_dev) ++/* The single aligned 32-bit store in restrict_fsaccess_clear_initramfs_trust() ++ * is only atomic if the field is 4-byte aligned. */ ++assert_cc(INITRAMFS_S_DEV_OFF % sizeof(uint32_t) == 0); + + /* Build the skeleton links array indexed by the link enum. + * For BDEV_SETINTEGRITY, use whichever variant was loaded (full or compat). +@@ -226,16 +224,15 @@ static int restrict_fsaccess_clear_initramfs_trust(int bss_map_fd) { + void *p; + + assert(bss_map_fd >= 0); +- assert_cc(offsetof(struct restrict_fsaccess_bss, initramfs_s_dev) == 0); + + p = mmap(NULL, page_size(), PROT_READ | PROT_WRITE, MAP_SHARED, bss_map_fd, 0); + if (p == MAP_FAILED) + return log_error_errno(errno, "bpf-restrict-fsaccess: Failed to mmap .bss map: %m"); + +- /* initramfs_s_dev is at offset 0 in the .bss layout. Single aligned +- * 32-bit store is atomic — BPF programs see either the old or new value, +- * no torn reads possible. Guard globals are untouched. */ +- *(uint32_t *) p = 0; ++ /* Single aligned 32-bit store at INITRAMFS_S_DEV_OFF is atomic — BPF ++ * programs see either the old or new value, no torn reads possible. ++ * Guard globals are untouched. */ ++ *(uint32_t *) ((uint8_t *) p + INITRAMFS_S_DEV_OFF) = 0; + + /* munmap failure here is harmless: the clear above already landed in + * the kernel, and the mapping is discarded by exec anyway. */ +diff --git a/src/core/bpf-restrict-fsaccess.h b/src/core/bpf-restrict-fsaccess.h +index a39f602539af3..c6b4892695ef9 100644 +--- a/src/core/bpf-restrict-fsaccess.h ++++ b/src/core/bpf-restrict-fsaccess.h +@@ -39,16 +39,6 @@ enum { + #define STAT_DEV_TO_KERNEL(dev) \ + ((uint32_t)major(dev) << 20 | (uint32_t)minor(dev)) + +-/* Mirrors the BPF program's .bss section layout for read-modify-write via +- * bpf_map_lookup_elem/bpf_map_update_elem on the serialized .bss map FD. */ +-struct restrict_fsaccess_bss { +- uint32_t initramfs_s_dev; /* kernel dev_t encoding: (major << 20) | minor */ +- uint32_t protected_map_id_verity; +- uint32_t protected_map_id_bss; +- uint32_t protected_prog_ids[_RESTRICT_FILESYSTEM_ACCESS_LINK_MAX]; +- uint32_t protected_link_ids[_RESTRICT_FILESYSTEM_ACCESS_LINK_MAX]; +-}; +- + extern const char* const restrict_fsaccess_link_names[_RESTRICT_FILESYSTEM_ACCESS_LINK_MAX]; + + bool dm_verity_require_signatures(void); + diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/systemd/files/systemd-260.2-networkd-resolve-hook.patch b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/files/systemd-260.2-networkd-resolve-hook.patch new file mode 100644 index 00000000000..eac9644cc24 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/files/systemd-260.2-networkd-resolve-hook.patch @@ -0,0 +1,37 @@ +https://bugs.gentoo.org/977121 +https://github.com/systemd/systemd/pull/42370 + +From 63ecdb3e09f7dfb79410156a5e46fbbfafb6ce1c Mon Sep 17 00:00:00 2001 +From: Yu Watanabe +Date: Fri, 29 May 2026 01:12:29 +0900 +Subject: [PATCH] units: drop Before=sockets.target from networkd resolve hook + +Otherwise, it introduces cyclic dependencies: +``` +systemd[1]: sockets.target: Found ordering cycle: + systemd-networkd-resolve-hook.socket/start after network-pre.target/start after + iptables.service/start after basic.target/start after sockets.target/start - + after systemd-networkd-resolve-hook.socket +systemd[1]: sockets.target: Job systemd-networkd-resolve-hook.socket/start deleted + to break ordering cycle starting with sockets.target/start +``` + +Follow-up for 37adb410a2b62716b666dbf8359edf8a6546ff94. +Fixes #42353. +--- + units/systemd-networkd-resolve-hook.socket | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/units/systemd-networkd-resolve-hook.socket b/units/systemd-networkd-resolve-hook.socket +index 8a724bbc0c0d4..07b596319b4b5 100644 +--- a/units/systemd-networkd-resolve-hook.socket ++++ b/units/systemd-networkd-resolve-hook.socket +@@ -13,7 +13,7 @@ Documentation=man:systemd-networkd.service(8) + ConditionCapability=CAP_NET_ADMIN + DefaultDependencies=no + After=network-pre.target +-Before=sockets.target shutdown.target ++Before=shutdown.target + Conflicts=shutdown.target + + [Socket] diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/systemd/metadata.xml b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/metadata.xml index cbee979b47d..5c14e82df3b 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/systemd/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/metadata.xml @@ -13,7 +13,7 @@ Enable EFI boot manager and stub loader Enable BPF support for sandboxing and firewalling. Default to hybrid (legacy) cgroup hierarchy instead of unified (modern). - Enable support for uploading journals + Enable libcurl (required by several features) Enable cryptsetup tools (includes unit generator for crypttab) Enable DNS-over-TLS support Enable coredump stacktraces in the journal @@ -21,9 +21,11 @@ Enable use of dev-libs/libgcrypt for various features Enable portable home directories Enable embedded HTTP server in journald + Enable IMDS (Instance Metadata Service) Enable import daemon Enable kernel-install Enable kernel module loading via sys-apps/kmod + Enable libarchive support Enable lz4 compression for the journal Enable use of dev-libs/openssl for various features Use sys-auth/passwdqc for password checking in homed diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-259.4-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-259.4-r2.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-259.4-r1.ebuild rename to sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-259.4-r2.ebuild index 84055e8f1da..bd2992ae2a8 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-259.4-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-259.4-r2.ebuild @@ -34,7 +34,7 @@ LICENSE="GPL-2 LGPL-2.1 MIT public-domain" SLOT="0/2" IUSE=" acl apparmor audit boot bpf cgroup-hybrid cryptsetup curl +dns-over-tls elfutils - fido2 +gcrypt gnutls homed http idn importd +kernel-install +kmod + fido2 +gcrypt gnutls homed http idn importd +kernel-install +kmod +libarchive +lz4 lzma +openssl pam passwdqc pcre pkcs11 policykit pwquality qrcode +resolvconf +seccomp selinux split-usr sysv-utils test tpm ukify vanilla xkb +zstd " @@ -43,7 +43,7 @@ REQUIRED_USE=" dns-over-tls? ( openssl ) fido2? ( cryptsetup openssl ) homed? ( cryptsetup pam openssl ) - importd? ( curl lzma openssl ) + importd? ( curl libarchive lzma openssl ) ?? ( passwdqc pwquality ) passwdqc? ( homed ) pwquality? ( homed ) @@ -77,6 +77,7 @@ COMMON_DEPEND=" virtual/zlib:= ) kmod? ( >=sys-apps/kmod-15:0= ) + libarchive? ( >=app-arch/libarchive-3.0:0= ) lz4? ( >=app-arch/lz4-0_p131:0=[${MULTILIB_USEDEP}] ) lzma? ( >=app-arch/xz-utils-5.0.5-r1:0=[${MULTILIB_USEDEP}] ) openssl? ( >=dev-libs/openssl-1.1.0:0= ) @@ -306,7 +307,7 @@ src_configure() { # We can't unconditionally do this b/c we fortify needs # some level of optimisation. filter-flags -D_FORTIFY_SOURCE=3 - append-cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 + append-cppflags -U_FORTIFY_SOURCE -D_GENTOO_NO_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 fi python_setup @@ -356,6 +357,7 @@ multilib_src_configure() { $(meson_native_use_feature importd bzip2) $(meson_native_use_feature importd zlib) $(meson_native_use_bool kernel-install) + $(meson_native_use_feature libarchive) $(meson_native_use_feature kmod) $(meson_feature lz4) $(meson_feature lzma xz) diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-260.1-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-260.1-r2.ebuild similarity index 97% rename from sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-260.1-r1.ebuild rename to sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-260.1-r2.ebuild index 8324e869ac9..bfda5374490 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-260.1-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-260.1-r2.ebuild @@ -44,7 +44,7 @@ REQUIRED_USE=" dns-over-tls? ( openssl ) fido2? ( cryptsetup openssl ) homed? ( cryptsetup pam openssl ) - importd? ( curl lzma openssl ) + importd? ( curl libarchive lzma openssl ) ?? ( passwdqc pwquality ) passwdqc? ( homed ) pwquality? ( homed ) @@ -286,7 +286,7 @@ src_configure() { # We can't unconditionally do this b/c we fortify needs # some level of optimisation. filter-flags -D_FORTIFY_SOURCE=3 - append-cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 + append-cppflags -U_FORTIFY_SOURCE -D_GENTOO_NO_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 fi python_setup @@ -559,8 +559,11 @@ pkg_postinst() { # between OpenRC & systemd migrate_locale - # Bug 971385 - systemd_reenable getty@.service + # Bug 971385, 974688 + local autovt=${EROOT}/etc/systemd/system/autovt@.service + if [[ ! -e ${autovt} && ! -L ${autovt} ]]; then + ln -s "${EPREFIX}/usr/lib/systemd/system/getty@.service" "${autovt}" || FAIL=1 + fi if [[ -z ${REPLACING_VERSIONS} ]]; then if type systemctl &>/dev/null; then diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-260.2-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-260.2-r1.ebuild new file mode 100644 index 00000000000..9398c545035 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-260.2-r1.ebuild @@ -0,0 +1,610 @@ +# Copyright 2011-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{12..14} ) + +# Avoid QA warnings +TMPFILES_OPTIONAL=1 +UDEV_OPTIONAL=1 + +QA_PKGCONFIG_VERSION=$(ver_cut 1) + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/systemd/systemd.git" + inherit git-r3 +else + MY_PV=${PV/_/-} + MY_P=${PN}-${MY_PV} + S=${WORKDIR}/${MY_P} + SRC_URI="https://github.com/systemd/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz" + + if [[ ${PV} != *rc* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + fi +fi + +inherit branding flag-o-matic linux-info meson-multilib optfeature pam python-single-r1 +inherit secureboot shell-completion systemd toolchain-funcs udev + +DESCRIPTION="System and service manager for Linux" +HOMEPAGE="https://systemd.io/" + +LICENSE="GPL-2 LGPL-2.1 MIT public-domain" +SLOT="0/2" +IUSE=" + acl apparmor audit boot bpf cryptsetup curl +dns-over-tls elfutils + fido2 +gcrypt gnutls homed idn importd +kernel-install +kmod +libarchive +lz4 lzma + +openssl pam passwdqc pcre pkcs11 policykit pwquality qrcode remote + +resolvconf +seccomp selinux sysv-utils test tpm ukify vanilla xkb +zstd +" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + boot? ( kernel-install ) + dns-over-tls? ( openssl ) + fido2? ( cryptsetup openssl ) + homed? ( cryptsetup pam openssl ) + importd? ( curl libarchive lzma openssl ) + ?? ( passwdqc pwquality ) + passwdqc? ( homed ) + pwquality? ( homed ) + remote? ( curl ) + ukify? ( boot ) +" +RESTRICT="!test? ( test )" + +MINKV="5.10" + +COMMON_DEPEND=" + >=sys-apps/util-linux-2.37 + acl? ( sys-apps/acl ) + apparmor? ( >=sys-libs/libapparmor-2.13 ) + audit? ( >=sys-process/audit-2 ) + bpf? ( >=dev-libs/libbpf-1.4.0 ) + cryptsetup? ( >=sys-fs/cryptsetup-2.4.0:= ) + curl? ( >=net-misc/curl-7.32.0:0= ) + elfutils? ( >=dev-libs/elfutils-0.177 ) + elibc_glibc? ( + >=sys-libs/glibc-2.34 + >=sys-libs/libxcrypt-4.4.0 + ) + elibc_musl? ( + >=sys-libs/musl-1.2.5-r8 + virtual/libcrypt + ) + fido2? ( + dev-libs/libfido2 + ) + gcrypt? ( >=dev-libs/libgcrypt-1.4.5 ) + gnutls? ( >=net-libs/gnutls-3.6.0:0= ) + remote? ( >=net-libs/libmicrohttpd-0.9.33:0=[epoll(+)] ) + idn? ( net-dns/libidn2 ) + importd? ( + app-arch/bzip2:0= + virtual/zlib:= + ) + kmod? ( >=sys-apps/kmod-15:0= ) + libarchive? ( >=app-arch/libarchive-3.0:0= ) + lz4? ( >=app-arch/lz4-0_p131:0= ) + lzma? ( >=app-arch/xz-utils-5.0.5-r1:0= ) + openssl? ( >=dev-libs/openssl-3.0.0:0= ) + pam? ( sys-libs/pam:=[${MULTILIB_USEDEP}] ) + passwdqc? ( sys-auth/passwdqc ) + pkcs11? ( >=app-crypt/p11-kit-0.23.3 ) + pcre? ( dev-libs/libpcre2 ) + pwquality? ( >=dev-libs/libpwquality-1.4.1 ) + qrcode? ( >=media-gfx/qrencode-3:0= ) + seccomp? ( >=sys-libs/libseccomp-2.4.0 ) + selinux? ( >=sys-libs/libselinux-2.1.9 ) + tpm? ( app-crypt/tpm2-tss ) + xkb? ( >=x11-libs/libxkbcommon-0.4.1 ) + zstd? ( >=app-arch/zstd-1.4.0:0= ) +" + +# Newer linux-headers needed by ia64, bug #480218 +DEPEND="${COMMON_DEPEND} + >=sys-kernel/linux-headers-${MINKV} +" + +PEFILE_DEPEND='dev-python/pefile[${PYTHON_USEDEP}]' + +# baselayout-2.2 has /run +RDEPEND="${COMMON_DEPEND} + >=acct-group/adm-0-r1 + >=acct-group/wheel-0-r1 + >=acct-group/kmem-0-r1 + >=acct-group/tty-0-r1 + >=acct-group/utmp-0-r1 + >=acct-group/audio-0-r1 + >=acct-group/cdrom-0-r1 + acct-group/clock + >=acct-group/dialout-0-r1 + >=acct-group/disk-0-r1 + >=acct-group/input-0-r1 + >=acct-group/kvm-0-r1 + >=acct-group/lp-0-r1 + >=acct-group/render-0-r1 + acct-group/sgx + >=acct-group/tape-0-r1 + acct-group/users + >=acct-group/video-0-r1 + >=acct-group/systemd-journal-0-r1 + >=acct-user/root-0-r1 + acct-user/nobody + >=acct-user/systemd-journal-remote-0-r1 + >=acct-user/systemd-coredump-0-r1 + >=acct-user/systemd-network-0-r1 + acct-user/systemd-oom + >=acct-user/systemd-resolve-0-r1 + >=acct-user/systemd-timesync-0-r1 + >=sys-apps/baselayout-2.2 + ukify? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep "${PEFILE_DEPEND}") + ) + selinux? ( + sec-policy/selinux-base-policy[systemd] + sec-policy/selinux-ntp + ) + sysv-utils? ( + !sys-apps/openrc[sysv-utils(-)] + !sys-apps/sysvinit + ) + !sysv-utils? ( sys-apps/sysvinit ) + resolvconf? ( !net-dns/openresolv ) + !sys-auth/nss-myhostname + !sys-fs/eudev + !sys-fs/udev +" + +# sys-apps/dbus: the daemon only (+ build-time lib dep for tests) +PDEPEND=" + >=sys-apps/dbus-1.9.8[systemd] + >=sys-fs/udev-init-scripts-34 + policykit? ( sys-auth/polkit ) + !sysv-utils? ( sys-apps/systemd-initctl ) + !vanilla? ( sys-apps/gentoo-systemd-integration ) +" + +BDEPEND=" + app-arch/xz-utils:0 + dev-util/gperf + >=dev-build/meson-0.46 + >=sys-apps/coreutils-8.16 + sys-devel/gettext + virtual/pkgconfig + bpf? ( + >=dev-util/bpftool-7.0.0 + sys-devel/bpf-toolchain + ) + test? ( + app-text/tree + dev-lang/perl + >=dev-libs/glib-2.22.0:2 + sys-apps/dbus + ) + app-text/docbook-xml-dtd:4.2 + app-text/docbook-xml-dtd:4.5 + app-text/docbook-xsl-stylesheets + dev-libs/libxslt:0 + ${PYTHON_DEPS} + $(python_gen_cond_dep " + dev-python/jinja2[\${PYTHON_USEDEP}] + dev-python/lxml[\${PYTHON_USEDEP}] + boot? ( + >=dev-python/pyelftools-0.30[\${PYTHON_USEDEP}] + test? ( ${PEFILE_DEPEND} ) + ) + ") +" + +QA_FLAGS_IGNORED="usr/lib/systemd/boot/efi/.*" +QA_EXECSTACK="usr/lib/systemd/boot/efi/*" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != buildonly ]]; then + local CONFIG_CHECK="~BLK_DEV_BSG ~CGROUPS + ~CGROUP_BPF ~DEVTMPFS ~EPOLL ~FANOTIFY ~FHANDLE + ~INOTIFY_USER ~IPV6 ~NET ~NET_NS ~PROC_FS ~SIGNALFD ~SYSFS + ~TIMERFD ~TMPFS_XATTR ~UNIX ~USER_NS + ~!GRKERNSEC_PROC ~!IDE ~!SYSFS_DEPRECATED + ~!SYSFS_DEPRECATED_V2" + + use acl && CONFIG_CHECK+=" ~TMPFS_POSIX_ACL" + use bpf && CONFIG_CHECK+=" ~BPF ~BPF_SYSCALL ~BPF_LSM ~DEBUG_INFO_BTF" + use seccomp && CONFIG_CHECK+=" ~SECCOMP ~SECCOMP_FILTER" + + if kernel_is -ge 5 10 20; then + CONFIG_CHECK+=" ~KCMP" + else + CONFIG_CHECK+=" ~CHECKPOINT_RESTORE" + fi + + if kernel_is -ge 4 18; then + CONFIG_CHECK+=" ~AUTOFS_FS" + else + CONFIG_CHECK+=" ~AUTOFS4_FS" + fi + + if linux_config_exists; then + local uevent_helper_path=$(linux_chkconfig_string UEVENT_HELPER_PATH) + if [[ -n ${uevent_helper_path} ]] && [[ ${uevent_helper_path} != '""' ]]; then + ewarn "It's recommended to set an empty value to the following kernel config option:" + ewarn "CONFIG_UEVENT_HELPER_PATH=${uevent_helper_path}" + fi + if linux_chkconfig_present X86; then + CONFIG_CHECK+=" ~DMIID" + fi + fi + + if kernel_is -lt ${MINKV//./ }; then + ewarn "Kernel version at least ${MINKV} required" + fi + + check_extra_config + fi +} + +pkg_setup() { + use boot && secureboot_pkg_setup +} + +src_unpack() { + default + [[ ${PV} != 9999 ]] || git-r3_src_unpack +} + +src_prepare() { + local PATCHES=( + "${FILESDIR}/systemd-260.2-networkd-resolve-hook.patch" + ) + + if ! use vanilla; then + PATCHES+=( + "${FILESDIR}/gentoo-journald-audit-r4.patch" + ) + fi + + default +} + +src_configure() { + # Prevent conflicts with i686 cross toolchain, bug 559726 + tc-export AR CC NM OBJCOPY RANLIB + + # Our toolchain sets F_S=2 by default w/ >= -O2, so we need + # to unset F_S first, then explicitly set 2, to negate any default + # and anything set by the user if they're choosing 3 (or if they've + # modified GCC to set 3). + # + # malloc_usable_size doesn't play well with _F_S=3: + # https://github.com/systemd/systemd/issues/41459 (bug #971773) + if tc-is-clang && tc-enables-fortify-source ; then + # We can't unconditionally do this b/c we fortify needs + # some level of optimisation. + filter-flags -D_FORTIFY_SOURCE=3 + append-cppflags -U_FORTIFY_SOURCE -D_GENTOO_NO_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 + fi + + python_setup + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myconf=( + --localstatedir="${EPREFIX}/var" + -Ddocdir="share/doc/${PF}" + -Dmode=release # default is developer, bug 918671 + -Dlibc=$(usex elibc_musl musl glibc) + -Dsupport-url="${BRANDING_OS_SUPPORT_URL}" + -Dpamlibdir="$(getpam_mod_dir)" + -Dbashcompletiondir="$(get_bashcompdir)" + -Dzshcompletiondir="$(get_zshcompdir)" + -Dsplit-bin=false + -Dima=true # no deps + -Ddebug-shell="${EPREFIX}/bin/sh" # Match /etc/shells, bug 919749 + -Ddefault-user-shell="${EPREFIX}/bin/bash" + -Dbpf-compiler=gcc + -Dntp-servers="0.gentoo.pool.ntp.org 1.gentoo.pool.ntp.org 2.gentoo.pool.ntp.org 3.gentoo.pool.ntp.org" + # Breaks screen, tmux, etc. + -Ddefault-kill-user-processes=false + -Dcreate-log-dirs=false + -Dlibcrypt=enabled + -Dcompat-mutable-uid-boundaries=true + + # options affecting multilib + $(meson_use !elibc_musl nss-myhostname) + $(meson_feature !elibc_musl nss-mymachines) + $(meson_feature !elibc_musl nss-resolve) + $(meson_use !elibc_musl nss-systemd) + $(meson_feature pam) + ) + + # workaround for bug 969103 + if [[ ${CHOST} == riscv32* ]] ; then + myconf+=( -Dtests=true ) + else + myconf+=( $(meson_use test tests) ) + fi + + if multilib_is_native_abi; then + myconf+=( + --auto-features=enabled + -Dman=enabled + -Dxenctrl=disabled + + # Optional components/dependencies + $(meson_feature acl) + $(meson_feature apparmor) + $(meson_feature audit) + $(meson_feature boot bootloader) + $(meson_feature bpf bpf-framework) + $(meson_feature cryptsetup libcryptsetup) + $(meson_feature cryptsetup libcryptsetup-plugins) + $(meson_feature curl libcurl) + $(meson_use dns-over-tls dns-over-tls) + $(meson_feature elfutils) + $(meson_feature fido2 libfido2) + $(meson_feature gcrypt) + $(meson_feature gnutls) + $(meson_feature homed) + $(meson_use idn) + $(meson_feature importd) + $(meson_feature importd bzip2) + $(meson_feature importd sysupdate) + $(meson_feature importd zlib) + $(meson_use kernel-install) + $(meson_feature kmod) + $(meson_feature libarchive) + $(meson_feature lz4) + $(meson_feature lzma xz) + $(meson_feature zstd) + $(meson_feature openssl) + $(meson_feature passwdqc) + $(meson_feature pkcs11 p11kit) + $(meson_feature pcre pcre2) + $(meson_feature policykit polkit) + $(meson_feature pwquality) + $(meson_feature qrcode qrencode) + $(meson_feature remote) + $(meson_feature remote microhttpd) + $(meson_feature seccomp) + $(meson_feature selinux) + $(meson_feature tpm tpm2) + $(meson_feature test dbus) + $(meson_feature test glib) + $(meson_feature ukify) + $(meson_feature xkb xkbcommon) + ) + + case $(tc-arch) in + amd64|arm|arm64|loong|ppc|ppc64|riscv|s390|x86) + # src/vmspawn/vmspawn-util.h: QEMU_MACHINE_TYPE + myconf+=( $(meson_native_enabled vmspawn) ) ;; + *) + myconf+=( -Dvmspawn=disabled ) ;; + esac + else + myconf+=( + --auto-features=disabled + ) + fi + + meson_src_configure "${myconf[@]}" +} + +multilib_src_compile() { + local args=() + if ! multilib_is_native_abi; then + args+=( + devel libsystemd libudev + $(usex elibc_musl '' nss) + $(usev pam) + ) + fi + meson_src_compile "${args[@]}" +} + +multilib_src_test() { + local args=( --timeout-multiplier=10 ) + if ! multilib_is_native_abi; then + args+=( + --suite libsystemd --suite libudev + $(usex elibc_musl '' '--suite nss') + $(usex pam '--suite pam' '') + ) + fi + ( + unset DBUS_SESSION_BUS_ADDRESS XDG_RUNTIME_DIR + export COLUMNS=80 + addpredict /dev + addpredict /proc + addpredict /run + addpredict /sys/fs/cgroup + meson_src_test "${args[@]}" + ) || die +} + +multilib_src_install() { + local args=() + if ! multilib_is_native_abi; then + local tags=devel,libsystemd,libudev + use !elibc_musl && tags+=,nss + use pam && tags+=,pam + args+=( --tags "${tags}" ) + fi + meson_src_install "${args[@]}" +} + +multilib_src_install_all() { + einstalldocs + dodoc "${FILESDIR}"/nsswitch.conf + + insinto /usr/lib/tmpfiles.d + doins "${FILESDIR}"/legacy.conf + + if ! use resolvconf; then + rm -f "${ED}"/usr/bin/resolvconf || die + fi + + if ! use sysv-utils; then + rm "${ED}"/usr/bin/{halt,init,poweroff,reboot,shutdown} || die + rm "${ED}"/usr/share/man/man1/init.1 || die + rm "${ED}"/usr/share/man/man8/{halt,poweroff,reboot,shutdown}.8 || die + fi + + # https://bugs.gentoo.org/761763 + rm -r "${ED}"/usr/lib/sysusers.d || die + + # Preserve empty dirs in /etc & /var, bug #437008 + keepdir /etc/{binfmt.d,modules-load.d,tmpfiles.d} + keepdir /etc/kernel/install.d + keepdir /etc/systemd/{network,system,user} + keepdir /etc/udev/rules.d + + keepdir /etc/udev/hwdb.d + + keepdir /usr/lib/systemd/{system-sleep,system-shutdown} + keepdir /usr/lib/{binfmt.d,modules-load.d} + keepdir /usr/lib/systemd/user-generators + keepdir /var/lib/systemd + keepdir /var/log/journal + + if use pam; then + if use selinux; then + newpamd "${FILESDIR}"/systemd-user-selinux.pam systemd-user + else + newpamd "${FILESDIR}"/systemd-user.pam systemd-user + fi + fi + + if use kernel-install; then + # Dummy config, remove to make room for sys-kernel/installkernel + rm "${ED}/usr/lib/kernel/install.conf" || die + fi + + use ukify && python_fix_shebang "${ED}" + use boot && secureboot_auto_sign +} + +migrate_locale() { + local envd_locale_def="${EROOT}/etc/env.d/02locale" + local envd_locale=( "${EROOT}"/etc/env.d/??locale ) + local locale_conf="${EROOT}/etc/locale.conf" + + if [[ ! -L ${locale_conf} && ! -e ${locale_conf} ]]; then + # If locale.conf does not exist... + if [[ -e ${envd_locale} ]]; then + # ...either copy env.d/??locale if there's one + ebegin "Moving ${envd_locale} to ${locale_conf}" + mv "${envd_locale}" "${locale_conf}" + eend ${?} || FAIL=1 + else + # ...or create a dummy default + ebegin "Creating ${locale_conf}" + cat > "${locale_conf}" <<-EOF + # This file has been created by the sys-apps/systemd ebuild. + # See locale.conf(5) and localectl(1). + + # LANG=${LANG} + EOF + eend ${?} || FAIL=1 + fi + fi + + if [[ ! -L ${envd_locale} ]]; then + # now, if env.d/??locale is not a symlink (to locale.conf)... + if [[ -e ${envd_locale} ]]; then + # ...warn the user that he has duplicate locale settings + ewarn + ewarn "To ensure consistent behavior, you should replace ${envd_locale}" + ewarn "with a symlink to ${locale_conf}. Please migrate your settings" + ewarn "and create the symlink with the following command:" + ewarn "ln -s -n -f ../locale.conf ${envd_locale}" + ewarn + else + # ...or just create the symlink if there's nothing here + ebegin "Creating ${envd_locale_def} -> ../locale.conf symlink" + ln -n -s ../locale.conf "${envd_locale_def}" + eend ${?} || FAIL=1 + fi + fi +} + +pkg_preinst() { + if [[ -e ${EROOT}/etc/sysctl.conf ]]; then + # Symlink /etc/sysctl.conf for easy migration. + dosym ../../../etc/sysctl.conf /usr/lib/sysctl.d/99-sysctl.conf + fi + + if ! use boot && has_version "sys-apps/systemd[gnuefi(-)]"; then + ewarn "The 'gnuefi' USE flag has been renamed to 'boot'." + ewarn "Make sure to enable the 'boot' USE flag if you use systemd-boot." + fi +} + +pkg_postinst() { + systemd_update_catalog + + # Keep this here in case the database format changes so it gets updated + # when required. + udev_hwdb_update || FAIL=1 + udev_reload || FAIL=1 + + # Bug 465468, make sure locales are respected, and ensure consistency + # between OpenRC & systemd + migrate_locale + + # Bug 971385, 974688 + local autovt=${EROOT}/etc/systemd/system/autovt@.service + if [[ ! -e ${autovt} && ! -L ${autovt} ]]; then + ln -s "${EPREFIX}/usr/lib/systemd/system/getty@.service" "${autovt}" || FAIL=1 + fi + + if [[ -z ${REPLACING_VERSIONS} ]]; then + if type systemctl &>/dev/null; then + systemctl --root="${ROOT:-/}" enable getty@.service remote-fs.target || FAIL=1 + fi + elog "To enable a useful set of services, run the following:" + elog " systemctl preset-all --preset-mode=enable-only" + fi + + if [[ -L ${EROOT}/var/lib/systemd/timesync ]]; then + rm "${EROOT}/var/lib/systemd/timesync" + fi + + if [[ -z ${ROOT} && -d /run/systemd/system ]]; then + ebegin "Reexecuting system manager (systemd)" + systemctl daemon-reexec + eend $? || FAIL=1 + + # https://lists.freedesktop.org/archives/systemd-devel/2024-June/050466.html + ebegin "Signaling user managers to reexec" + systemctl kill --kill-whom='main' --signal='SIGRTMIN+25' 'user@*.service' + eend $? + fi + + if [[ ${FAIL} ]]; then + eerror "One of the postinst commands failed. Please check the postinst output" + eerror "for errors. You may need to clean up your system and/or try installing" + eerror "systemd again." + eerror + fi + + if use boot; then + optfeature "installing kernels in systemd-boot's native layout and update loader entries" \ + "sys-kernel/installkernel[systemd-boot]" + fi + if use ukify; then + optfeature "generating unified kernel image on each kernel installation" \ + "sys-kernel/installkernel[ukify]" + fi +} + +pkg_prerm() { + # If removing systemd completely, remove the catalog database. + if [[ ! ${REPLACED_BY_VERSION} ]]; then + rm -f -v "${EROOT}"/var/lib/systemd/catalog/database + fi +} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-261-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-261-r1.ebuild new file mode 100644 index 00000000000..eb5f6e463da --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-261-r1.ebuild @@ -0,0 +1,615 @@ +# Copyright 2011-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{12..14} ) + +# Avoid QA warnings +TMPFILES_OPTIONAL=1 +UDEV_OPTIONAL=1 + +QA_PKGCONFIG_VERSION=$(ver_cut 1) + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/systemd/systemd.git" + inherit git-r3 +else + MY_PV=${PV/_/-} + MY_P=${PN}-${MY_PV} + S=${WORKDIR}/${MY_P} + SRC_URI="https://github.com/systemd/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz" + + if [[ ${PV} != *rc* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + fi +fi + +inherit branding flag-o-matic linux-info meson-multilib optfeature pam python-single-r1 +inherit secureboot shell-completion systemd toolchain-funcs udev + +DESCRIPTION="System and service manager for Linux" +HOMEPAGE="https://systemd.io/" + +LICENSE="GPL-2 LGPL-2.1 MIT public-domain" +SLOT="0/2" +IUSE=" + acl apparmor audit boot bpf cryptsetup curl +dns-over-tls elfutils fido2 + +gcrypt gnutls homed idn imds importd +kernel-install +kmod +libarchive + +lz4 lzma +openssl pam passwdqc pcre pkcs11 policykit pwquality qrcode + remote +resolvconf +seccomp selinux sysv-utils test tpm ukify vanilla xkb + +zstd +" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + boot? ( kernel-install ) + dns-over-tls? ( openssl ) + fido2? ( cryptsetup openssl ) + homed? ( cryptsetup pam openssl ) + imds? ( curl ) + importd? ( curl libarchive lzma openssl ) + ?? ( passwdqc pwquality ) + passwdqc? ( homed ) + pwquality? ( homed ) + remote? ( curl ) + ukify? ( boot ) +" +RESTRICT="!test? ( test )" + +MINKV="5.10" + +COMMON_DEPEND=" + >=sys-apps/util-linux-2.37 + acl? ( sys-apps/acl ) + apparmor? ( >=sys-libs/libapparmor-2.13 ) + audit? ( >=sys-process/audit-2 ) + bpf? ( >=dev-libs/libbpf-1.4.0 ) + cryptsetup? ( >=sys-fs/cryptsetup-2.4.0:= ) + curl? ( >=net-misc/curl-7.32.0:0= ) + elfutils? ( >=dev-libs/elfutils-0.177 ) + elibc_glibc? ( + >=sys-libs/glibc-2.34 + >=sys-libs/libxcrypt-4.4.0 + ) + elibc_musl? ( + >=sys-libs/musl-1.2.6 + sys-libs/libucontext + virtual/libcrypt + ) + fido2? ( + dev-libs/libfido2 + ) + gcrypt? ( >=dev-libs/libgcrypt-1.4.5 ) + gnutls? ( >=net-libs/gnutls-3.6.0:0= ) + remote? ( >=net-libs/libmicrohttpd-0.9.33:0=[epoll(+)] ) + idn? ( net-dns/libidn2 ) + importd? ( + app-arch/bzip2:0= + virtual/zlib:= + ) + kmod? ( >=sys-apps/kmod-15:0= ) + libarchive? ( >=app-arch/libarchive-3.0:0= ) + lz4? ( >=app-arch/lz4-0_p131:0= ) + lzma? ( >=app-arch/xz-utils-5.0.5-r1:0= ) + openssl? ( >=dev-libs/openssl-3.0.0:0= ) + pam? ( sys-libs/pam:=[${MULTILIB_USEDEP}] ) + passwdqc? ( sys-auth/passwdqc ) + pkcs11? ( >=app-crypt/p11-kit-0.23.3 ) + pcre? ( dev-libs/libpcre2 ) + pwquality? ( >=dev-libs/libpwquality-1.4.1 ) + qrcode? ( >=media-gfx/qrencode-3:0= ) + seccomp? ( >=sys-libs/libseccomp-2.4.0 ) + selinux? ( >=sys-libs/libselinux-2.1.9 ) + tpm? ( app-crypt/tpm2-tss ) + xkb? ( >=x11-libs/libxkbcommon-0.4.1 ) + zstd? ( >=app-arch/zstd-1.4.0:0= ) +" + +# Newer linux-headers needed by ia64, bug #480218 +DEPEND="${COMMON_DEPEND} + >=sys-kernel/linux-headers-${MINKV} +" + +PEFILE_DEPEND='dev-python/pefile[${PYTHON_USEDEP}]' + +# baselayout-2.2 has /run +RDEPEND="${COMMON_DEPEND} + >=acct-group/adm-0-r1 + >=acct-group/wheel-0-r1 + >=acct-group/kmem-0-r1 + >=acct-group/tty-0-r1 + >=acct-group/utmp-0-r1 + >=acct-group/audio-0-r1 + >=acct-group/cdrom-0-r1 + acct-group/clock + >=acct-group/dialout-0-r1 + >=acct-group/disk-0-r1 + >=acct-group/input-0-r1 + >=acct-group/kvm-0-r1 + >=acct-group/lp-0-r1 + >=acct-group/render-0-r1 + acct-group/sgx + >=acct-group/tape-0-r1 + acct-group/users + >=acct-group/video-0-r1 + >=acct-group/systemd-journal-0-r1 + >=acct-user/root-0-r1 + acct-user/nobody + >=acct-user/systemd-journal-remote-0-r1 + >=acct-user/systemd-coredump-0-r1 + >=acct-user/systemd-network-0-r1 + acct-user/systemd-oom + >=acct-user/systemd-resolve-0-r1 + >=acct-user/systemd-timesync-0-r1 + >=sys-apps/baselayout-2.2 + imds? ( acct-user/systemd-imds ) + ukify? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep "${PEFILE_DEPEND}") + ) + selinux? ( + sec-policy/selinux-base-policy[systemd] + sec-policy/selinux-ntp + ) + sysv-utils? ( + !sys-apps/openrc[sysv-utils(-)] + !sys-apps/sysvinit + ) + !sysv-utils? ( sys-apps/sysvinit ) + resolvconf? ( !net-dns/openresolv ) + !sys-auth/nss-myhostname + !sys-fs/eudev + !sys-fs/udev +" + +# sys-apps/dbus: the daemon only (+ build-time lib dep for tests) +PDEPEND=" + >=sys-apps/dbus-1.9.8[systemd] + >=sys-fs/udev-init-scripts-34 + policykit? ( sys-auth/polkit ) + !sysv-utils? ( sys-apps/systemd-initctl ) + !vanilla? ( sys-apps/gentoo-systemd-integration ) +" + +BDEPEND=" + app-arch/xz-utils:0 + dev-util/gperf + >=dev-build/meson-0.46 + >=sys-apps/coreutils-8.16 + sys-devel/gettext + virtual/pkgconfig + bpf? ( + >=dev-util/bpftool-7.0.0 + sys-devel/bpf-toolchain + ) + test? ( + app-text/tree + dev-lang/perl + >=dev-libs/glib-2.22.0:2 + sys-apps/dbus + ) + app-text/docbook-xml-dtd:4.2 + app-text/docbook-xml-dtd:4.5 + app-text/docbook-xsl-stylesheets + dev-libs/libxslt:0 + ${PYTHON_DEPS} + $(python_gen_cond_dep " + dev-python/jinja2[\${PYTHON_USEDEP}] + dev-python/lxml[\${PYTHON_USEDEP}] + boot? ( + >=dev-python/pyelftools-0.30[\${PYTHON_USEDEP}] + test? ( ${PEFILE_DEPEND} ) + ) + ") +" + +QA_FLAGS_IGNORED="usr/lib/systemd/boot/efi/.*" +QA_EXECSTACK="usr/lib/systemd/boot/efi/*" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != buildonly ]]; then + local CONFIG_CHECK="~BLK_DEV_BSG ~CGROUPS + ~CGROUP_BPF ~DEVTMPFS ~EPOLL ~FANOTIFY ~FHANDLE + ~INOTIFY_USER ~IPV6 ~NET ~NET_NS ~PROC_FS ~SIGNALFD ~SYSFS + ~TIMERFD ~TMPFS_XATTR ~UNIX ~USER_NS + ~!GRKERNSEC_PROC ~!IDE ~!SYSFS_DEPRECATED + ~!SYSFS_DEPRECATED_V2" + + use acl && CONFIG_CHECK+=" ~TMPFS_POSIX_ACL" + use bpf && CONFIG_CHECK+=" ~BPF ~BPF_SYSCALL ~BPF_LSM ~DEBUG_INFO_BTF" + use seccomp && CONFIG_CHECK+=" ~SECCOMP ~SECCOMP_FILTER" + + if kernel_is -ge 5 10 20; then + CONFIG_CHECK+=" ~KCMP" + else + CONFIG_CHECK+=" ~CHECKPOINT_RESTORE" + fi + + if kernel_is -ge 4 18; then + CONFIG_CHECK+=" ~AUTOFS_FS" + else + CONFIG_CHECK+=" ~AUTOFS4_FS" + fi + + if linux_config_exists; then + local uevent_helper_path=$(linux_chkconfig_string UEVENT_HELPER_PATH) + if [[ -n ${uevent_helper_path} ]] && [[ ${uevent_helper_path} != '""' ]]; then + ewarn "It's recommended to set an empty value to the following kernel config option:" + ewarn "CONFIG_UEVENT_HELPER_PATH=${uevent_helper_path}" + fi + if linux_chkconfig_present X86; then + CONFIG_CHECK+=" ~DMIID" + fi + fi + + if kernel_is -lt ${MINKV//./ }; then + ewarn "Kernel version at least ${MINKV} required" + fi + + check_extra_config + fi +} + +pkg_setup() { + use boot && secureboot_pkg_setup +} + +src_unpack() { + default + [[ ${PV} != 9999 ]] || git-r3_src_unpack +} + +src_prepare() { + local PATCHES=( + "${FILESDIR}/261-gcc-bpf.patch" + ) + + if ! use vanilla; then + PATCHES+=( + "${FILESDIR}/gentoo-journald-audit-r4.patch" + ) + fi + + default +} + +src_configure() { + # Prevent conflicts with i686 cross toolchain, bug 559726 + tc-export AR CC NM OBJCOPY RANLIB + + # Our toolchain sets F_S=2 by default w/ >= -O2, so we need + # to unset F_S first, then explicitly set 2, to negate any default + # and anything set by the user if they're choosing 3 (or if they've + # modified GCC to set 3). + # + # malloc_usable_size doesn't play well with _F_S=3: + # https://github.com/systemd/systemd/issues/41459 (bug #971773) + if tc-is-clang && tc-enables-fortify-source ; then + # We can't unconditionally do this b/c we fortify needs + # some level of optimisation. + filter-flags -D_FORTIFY_SOURCE=3 + append-cppflags -U_FORTIFY_SOURCE -D_GENTOO_NO_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 + fi + + python_setup + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myconf=( + --localstatedir="${EPREFIX}/var" + -Ddocdir="share/doc/${PF}" + -Dmode=release # default is developer, bug 918671 + -Dlibc=$(usex elibc_musl musl glibc) + -Dsupport-url="${BRANDING_OS_SUPPORT_URL}" + -Dpamlibdir="$(getpam_mod_dir)" + -Dbashcompletiondir="$(get_bashcompdir)" + -Dzshcompletiondir="$(get_zshcompdir)" + -Dsplit-bin=false + -Dima=true # no deps + -Ddebug-shell="${EPREFIX}/bin/sh" # Match /etc/shells, bug 919749 + -Ddefault-user-shell="${EPREFIX}/bin/bash" + -Dbpf-compiler=gcc + -Dntp-servers="0.gentoo.pool.ntp.org 1.gentoo.pool.ntp.org 2.gentoo.pool.ntp.org 3.gentoo.pool.ntp.org" + # Breaks screen, tmux, etc. + -Ddefault-kill-user-processes=false + -Dcreate-log-dirs=false + -Dlibcrypt=enabled + -Dcompat-mutable-uid-boundaries=true + + # options affecting multilib + $(meson_use !elibc_musl nss-myhostname) + $(meson_feature !elibc_musl nss-mymachines) + $(meson_feature !elibc_musl nss-resolve) + $(meson_use !elibc_musl nss-systemd) + $(meson_feature pam) + ) + + # workaround for bug 969103 + if [[ ${CHOST} == riscv32* ]] ; then + myconf+=( -Dtests=true ) + else + myconf+=( $(meson_use test tests) ) + fi + + if multilib_is_native_abi; then + myconf+=( + --auto-features=enabled + -Dman=enabled + -Dxenctrl=disabled + + # Optional components/dependencies + $(meson_feature acl) + $(meson_feature apparmor) + $(meson_feature audit) + $(meson_feature boot bootloader) + $(meson_feature bpf bpf-framework) + $(meson_feature cryptsetup libcryptsetup) + $(meson_feature cryptsetup libcryptsetup-plugins) + $(meson_feature curl libcurl) + $(meson_use dns-over-tls dns-over-tls) + $(meson_feature elfutils) + $(meson_feature fido2 libfido2) + $(meson_feature gcrypt) + $(meson_feature gnutls) + $(meson_feature homed) + $(meson_use idn) + $(meson_feature imds) + $(meson_feature importd) + $(meson_feature importd bzip2) + $(meson_feature importd sysupdate) + $(meson_feature importd zlib) + $(meson_use kernel-install) + $(meson_feature kmod) + $(meson_feature libarchive) + $(meson_feature lz4) + $(meson_feature lzma xz) + $(meson_feature zstd) + $(meson_feature openssl) + $(meson_feature passwdqc) + $(meson_feature pkcs11 p11kit) + $(meson_feature pcre pcre2) + $(meson_feature policykit polkit) + $(meson_feature pwquality) + $(meson_feature qrcode qrencode) + $(meson_feature remote) + $(meson_feature remote microhttpd) + $(meson_feature seccomp) + $(meson_feature selinux) + $(meson_feature tpm tpm2) + $(meson_feature test dbus) + $(meson_feature test glib) + $(meson_feature ukify) + $(meson_feature xkb xkbcommon) + ) + + case $(tc-arch) in + amd64|arm|arm64|loong|ppc|ppc64|riscv|s390|x86) + # src/vmspawn/vmspawn-util.h: QEMU_MACHINE_TYPE + myconf+=( -Dvmspawn=enabled ) ;; + *) + myconf+=( -Dvmspawn=disabled ) ;; + esac + else + myconf+=( + --auto-features=disabled + ) + fi + + meson_src_configure "${myconf[@]}" +} + +multilib_src_compile() { + local args=() + if ! multilib_is_native_abi; then + args+=( + devel libsystemd libudev + $(usex elibc_musl '' nss) + $(usev pam) + ) + fi + meson_src_compile "${args[@]}" +} + +multilib_src_test() { + local args=( --timeout-multiplier=10 ) + if ! multilib_is_native_abi; then + args+=( + --suite libsystemd --suite libudev + $(usex elibc_musl '' '--suite nss') + $(usex pam '--suite pam' '') + ) + fi + ( + unset DBUS_SESSION_BUS_ADDRESS XDG_RUNTIME_DIR + export COLUMNS=80 + addpredict /dev + addpredict /proc + addpredict /run + addpredict /sys/fs/cgroup + meson_src_test "${args[@]}" + ) || die +} + +multilib_src_install() { + local args=() + if ! multilib_is_native_abi; then + local tags=devel,libsystemd,libudev + use !elibc_musl && tags+=,nss + use pam && tags+=,pam + args+=( --tags "${tags}" ) + fi + meson_src_install "${args[@]}" +} + +multilib_src_install_all() { + einstalldocs + dodoc "${FILESDIR}"/nsswitch.conf + + insinto /usr/lib/tmpfiles.d + doins "${FILESDIR}"/legacy.conf + + if ! use resolvconf; then + rm -f "${ED}"/usr/bin/resolvconf || die + fi + + if ! use sysv-utils; then + rm "${ED}"/usr/bin/{halt,init,poweroff,reboot,shutdown} || die + rm "${ED}"/usr/share/man/man1/init.1 || die + rm "${ED}"/usr/share/man/man8/{halt,poweroff,reboot,shutdown}.8 || die + fi + + # https://bugs.gentoo.org/761763 + rm -r "${ED}"/usr/lib/sysusers.d || die + + # Preserve empty dirs in /etc & /var, bug #437008 + keepdir /etc/{binfmt.d,modules-load.d,tmpfiles.d} + keepdir /etc/kernel/install.d + keepdir /etc/systemd/{network,system,user} + keepdir /etc/udev/rules.d + + keepdir /etc/udev/hwdb.d + + keepdir /usr/lib/systemd/{system-sleep,system-shutdown} + keepdir /usr/lib/{binfmt.d,modules-load.d} + keepdir /usr/lib/systemd/user-generators + keepdir /var/lib/systemd + keepdir /var/log/journal + + if use pam; then + if use selinux; then + newpamd "${FILESDIR}"/systemd-user-selinux.pam systemd-user + else + newpamd "${FILESDIR}"/systemd-user.pam systemd-user + fi + fi + + if use kernel-install; then + # Dummy config, remove to make room for sys-kernel/installkernel + rm "${ED}/usr/lib/kernel/install.conf" || die + fi + + use ukify && python_fix_shebang "${ED}" + use boot && secureboot_auto_sign +} + +migrate_locale() { + local envd_locale_def="${EROOT}/etc/env.d/02locale" + local envd_locale=( "${EROOT}"/etc/env.d/??locale ) + local locale_conf="${EROOT}/etc/locale.conf" + + if [[ ! -L ${locale_conf} && ! -e ${locale_conf} ]]; then + # If locale.conf does not exist... + if [[ -e ${envd_locale} ]]; then + # ...either copy env.d/??locale if there's one + ebegin "Moving ${envd_locale} to ${locale_conf}" + mv "${envd_locale}" "${locale_conf}" + eend ${?} || FAIL=1 + else + # ...or create a dummy default + ebegin "Creating ${locale_conf}" + cat > "${locale_conf}" <<-EOF + # This file has been created by the sys-apps/systemd ebuild. + # See locale.conf(5) and localectl(1). + + # LANG=${LANG} + EOF + eend ${?} || FAIL=1 + fi + fi + + if [[ ! -L ${envd_locale} ]]; then + # now, if env.d/??locale is not a symlink (to locale.conf)... + if [[ -e ${envd_locale} ]]; then + # ...warn the user that he has duplicate locale settings + ewarn + ewarn "To ensure consistent behavior, you should replace ${envd_locale}" + ewarn "with a symlink to ${locale_conf}. Please migrate your settings" + ewarn "and create the symlink with the following command:" + ewarn "ln -s -n -f ../locale.conf ${envd_locale}" + ewarn + else + # ...or just create the symlink if there's nothing here + ebegin "Creating ${envd_locale_def} -> ../locale.conf symlink" + ln -n -s ../locale.conf "${envd_locale_def}" + eend ${?} || FAIL=1 + fi + fi +} + +pkg_preinst() { + if [[ -e ${EROOT}/etc/sysctl.conf ]]; then + # Symlink /etc/sysctl.conf for easy migration. + dosym ../../../etc/sysctl.conf /usr/lib/sysctl.d/99-sysctl.conf + fi + + if ! use boot && has_version "sys-apps/systemd[gnuefi(-)]"; then + ewarn "The 'gnuefi' USE flag has been renamed to 'boot'." + ewarn "Make sure to enable the 'boot' USE flag if you use systemd-boot." + fi +} + +pkg_postinst() { + systemd_update_catalog + + # Keep this here in case the database format changes so it gets updated + # when required. + udev_hwdb_update || FAIL=1 + udev_reload || FAIL=1 + + # Bug 465468, make sure locales are respected, and ensure consistency + # between OpenRC & systemd + migrate_locale + + # Bug 971385, 974688 + local autovt=${EROOT}/etc/systemd/system/autovt@.service + if [[ ! -e ${autovt} && ! -L ${autovt} ]]; then + ln -s "${EPREFIX}/usr/lib/systemd/system/getty@.service" "${autovt}" || FAIL=1 + fi + + if [[ -z ${REPLACING_VERSIONS} ]]; then + if type systemctl &>/dev/null; then + systemctl --root="${ROOT:-/}" enable getty@.service remote-fs.target || FAIL=1 + fi + elog "To enable a useful set of services, run the following:" + elog " systemctl preset-all --preset-mode=enable-only" + fi + + if [[ -L ${EROOT}/var/lib/systemd/timesync ]]; then + rm "${EROOT}/var/lib/systemd/timesync" + fi + + if [[ -z ${ROOT} && -d /run/systemd/system ]]; then + ebegin "Reexecuting system manager (systemd)" + systemctl daemon-reexec + eend $? || FAIL=1 + + # https://lists.freedesktop.org/archives/systemd-devel/2024-June/050466.html + ebegin "Signaling user managers to reexec" + systemctl kill --kill-whom='main' --signal='SIGRTMIN+25' 'user@*.service' + eend $? + fi + + if [[ ${FAIL} ]]; then + eerror "One of the postinst commands failed. Please check the postinst output" + eerror "for errors. You may need to clean up your system and/or try installing" + eerror "systemd again." + eerror + fi + + if use boot; then + optfeature "installing kernels in systemd-boot's native layout and update loader entries" \ + "sys-kernel/installkernel[systemd-boot]" + fi + if use ukify; then + optfeature "generating unified kernel image on each kernel installation" \ + "sys-kernel/installkernel[ukify]" + fi +} + +pkg_prerm() { + # If removing systemd completely, remove the catalog database. + if [[ ! ${REPLACED_BY_VERSION} ]]; then + rm -f -v "${EROOT}"/var/lib/systemd/catalog/database + fi +} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-261.1.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-261.1.ebuild new file mode 100644 index 00000000000..eb5f6e463da --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-261.1.ebuild @@ -0,0 +1,615 @@ +# Copyright 2011-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{12..14} ) + +# Avoid QA warnings +TMPFILES_OPTIONAL=1 +UDEV_OPTIONAL=1 + +QA_PKGCONFIG_VERSION=$(ver_cut 1) + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/systemd/systemd.git" + inherit git-r3 +else + MY_PV=${PV/_/-} + MY_P=${PN}-${MY_PV} + S=${WORKDIR}/${MY_P} + SRC_URI="https://github.com/systemd/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz" + + if [[ ${PV} != *rc* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + fi +fi + +inherit branding flag-o-matic linux-info meson-multilib optfeature pam python-single-r1 +inherit secureboot shell-completion systemd toolchain-funcs udev + +DESCRIPTION="System and service manager for Linux" +HOMEPAGE="https://systemd.io/" + +LICENSE="GPL-2 LGPL-2.1 MIT public-domain" +SLOT="0/2" +IUSE=" + acl apparmor audit boot bpf cryptsetup curl +dns-over-tls elfutils fido2 + +gcrypt gnutls homed idn imds importd +kernel-install +kmod +libarchive + +lz4 lzma +openssl pam passwdqc pcre pkcs11 policykit pwquality qrcode + remote +resolvconf +seccomp selinux sysv-utils test tpm ukify vanilla xkb + +zstd +" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + boot? ( kernel-install ) + dns-over-tls? ( openssl ) + fido2? ( cryptsetup openssl ) + homed? ( cryptsetup pam openssl ) + imds? ( curl ) + importd? ( curl libarchive lzma openssl ) + ?? ( passwdqc pwquality ) + passwdqc? ( homed ) + pwquality? ( homed ) + remote? ( curl ) + ukify? ( boot ) +" +RESTRICT="!test? ( test )" + +MINKV="5.10" + +COMMON_DEPEND=" + >=sys-apps/util-linux-2.37 + acl? ( sys-apps/acl ) + apparmor? ( >=sys-libs/libapparmor-2.13 ) + audit? ( >=sys-process/audit-2 ) + bpf? ( >=dev-libs/libbpf-1.4.0 ) + cryptsetup? ( >=sys-fs/cryptsetup-2.4.0:= ) + curl? ( >=net-misc/curl-7.32.0:0= ) + elfutils? ( >=dev-libs/elfutils-0.177 ) + elibc_glibc? ( + >=sys-libs/glibc-2.34 + >=sys-libs/libxcrypt-4.4.0 + ) + elibc_musl? ( + >=sys-libs/musl-1.2.6 + sys-libs/libucontext + virtual/libcrypt + ) + fido2? ( + dev-libs/libfido2 + ) + gcrypt? ( >=dev-libs/libgcrypt-1.4.5 ) + gnutls? ( >=net-libs/gnutls-3.6.0:0= ) + remote? ( >=net-libs/libmicrohttpd-0.9.33:0=[epoll(+)] ) + idn? ( net-dns/libidn2 ) + importd? ( + app-arch/bzip2:0= + virtual/zlib:= + ) + kmod? ( >=sys-apps/kmod-15:0= ) + libarchive? ( >=app-arch/libarchive-3.0:0= ) + lz4? ( >=app-arch/lz4-0_p131:0= ) + lzma? ( >=app-arch/xz-utils-5.0.5-r1:0= ) + openssl? ( >=dev-libs/openssl-3.0.0:0= ) + pam? ( sys-libs/pam:=[${MULTILIB_USEDEP}] ) + passwdqc? ( sys-auth/passwdqc ) + pkcs11? ( >=app-crypt/p11-kit-0.23.3 ) + pcre? ( dev-libs/libpcre2 ) + pwquality? ( >=dev-libs/libpwquality-1.4.1 ) + qrcode? ( >=media-gfx/qrencode-3:0= ) + seccomp? ( >=sys-libs/libseccomp-2.4.0 ) + selinux? ( >=sys-libs/libselinux-2.1.9 ) + tpm? ( app-crypt/tpm2-tss ) + xkb? ( >=x11-libs/libxkbcommon-0.4.1 ) + zstd? ( >=app-arch/zstd-1.4.0:0= ) +" + +# Newer linux-headers needed by ia64, bug #480218 +DEPEND="${COMMON_DEPEND} + >=sys-kernel/linux-headers-${MINKV} +" + +PEFILE_DEPEND='dev-python/pefile[${PYTHON_USEDEP}]' + +# baselayout-2.2 has /run +RDEPEND="${COMMON_DEPEND} + >=acct-group/adm-0-r1 + >=acct-group/wheel-0-r1 + >=acct-group/kmem-0-r1 + >=acct-group/tty-0-r1 + >=acct-group/utmp-0-r1 + >=acct-group/audio-0-r1 + >=acct-group/cdrom-0-r1 + acct-group/clock + >=acct-group/dialout-0-r1 + >=acct-group/disk-0-r1 + >=acct-group/input-0-r1 + >=acct-group/kvm-0-r1 + >=acct-group/lp-0-r1 + >=acct-group/render-0-r1 + acct-group/sgx + >=acct-group/tape-0-r1 + acct-group/users + >=acct-group/video-0-r1 + >=acct-group/systemd-journal-0-r1 + >=acct-user/root-0-r1 + acct-user/nobody + >=acct-user/systemd-journal-remote-0-r1 + >=acct-user/systemd-coredump-0-r1 + >=acct-user/systemd-network-0-r1 + acct-user/systemd-oom + >=acct-user/systemd-resolve-0-r1 + >=acct-user/systemd-timesync-0-r1 + >=sys-apps/baselayout-2.2 + imds? ( acct-user/systemd-imds ) + ukify? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep "${PEFILE_DEPEND}") + ) + selinux? ( + sec-policy/selinux-base-policy[systemd] + sec-policy/selinux-ntp + ) + sysv-utils? ( + !sys-apps/openrc[sysv-utils(-)] + !sys-apps/sysvinit + ) + !sysv-utils? ( sys-apps/sysvinit ) + resolvconf? ( !net-dns/openresolv ) + !sys-auth/nss-myhostname + !sys-fs/eudev + !sys-fs/udev +" + +# sys-apps/dbus: the daemon only (+ build-time lib dep for tests) +PDEPEND=" + >=sys-apps/dbus-1.9.8[systemd] + >=sys-fs/udev-init-scripts-34 + policykit? ( sys-auth/polkit ) + !sysv-utils? ( sys-apps/systemd-initctl ) + !vanilla? ( sys-apps/gentoo-systemd-integration ) +" + +BDEPEND=" + app-arch/xz-utils:0 + dev-util/gperf + >=dev-build/meson-0.46 + >=sys-apps/coreutils-8.16 + sys-devel/gettext + virtual/pkgconfig + bpf? ( + >=dev-util/bpftool-7.0.0 + sys-devel/bpf-toolchain + ) + test? ( + app-text/tree + dev-lang/perl + >=dev-libs/glib-2.22.0:2 + sys-apps/dbus + ) + app-text/docbook-xml-dtd:4.2 + app-text/docbook-xml-dtd:4.5 + app-text/docbook-xsl-stylesheets + dev-libs/libxslt:0 + ${PYTHON_DEPS} + $(python_gen_cond_dep " + dev-python/jinja2[\${PYTHON_USEDEP}] + dev-python/lxml[\${PYTHON_USEDEP}] + boot? ( + >=dev-python/pyelftools-0.30[\${PYTHON_USEDEP}] + test? ( ${PEFILE_DEPEND} ) + ) + ") +" + +QA_FLAGS_IGNORED="usr/lib/systemd/boot/efi/.*" +QA_EXECSTACK="usr/lib/systemd/boot/efi/*" + +pkg_pretend() { + if [[ ${MERGE_TYPE} != buildonly ]]; then + local CONFIG_CHECK="~BLK_DEV_BSG ~CGROUPS + ~CGROUP_BPF ~DEVTMPFS ~EPOLL ~FANOTIFY ~FHANDLE + ~INOTIFY_USER ~IPV6 ~NET ~NET_NS ~PROC_FS ~SIGNALFD ~SYSFS + ~TIMERFD ~TMPFS_XATTR ~UNIX ~USER_NS + ~!GRKERNSEC_PROC ~!IDE ~!SYSFS_DEPRECATED + ~!SYSFS_DEPRECATED_V2" + + use acl && CONFIG_CHECK+=" ~TMPFS_POSIX_ACL" + use bpf && CONFIG_CHECK+=" ~BPF ~BPF_SYSCALL ~BPF_LSM ~DEBUG_INFO_BTF" + use seccomp && CONFIG_CHECK+=" ~SECCOMP ~SECCOMP_FILTER" + + if kernel_is -ge 5 10 20; then + CONFIG_CHECK+=" ~KCMP" + else + CONFIG_CHECK+=" ~CHECKPOINT_RESTORE" + fi + + if kernel_is -ge 4 18; then + CONFIG_CHECK+=" ~AUTOFS_FS" + else + CONFIG_CHECK+=" ~AUTOFS4_FS" + fi + + if linux_config_exists; then + local uevent_helper_path=$(linux_chkconfig_string UEVENT_HELPER_PATH) + if [[ -n ${uevent_helper_path} ]] && [[ ${uevent_helper_path} != '""' ]]; then + ewarn "It's recommended to set an empty value to the following kernel config option:" + ewarn "CONFIG_UEVENT_HELPER_PATH=${uevent_helper_path}" + fi + if linux_chkconfig_present X86; then + CONFIG_CHECK+=" ~DMIID" + fi + fi + + if kernel_is -lt ${MINKV//./ }; then + ewarn "Kernel version at least ${MINKV} required" + fi + + check_extra_config + fi +} + +pkg_setup() { + use boot && secureboot_pkg_setup +} + +src_unpack() { + default + [[ ${PV} != 9999 ]] || git-r3_src_unpack +} + +src_prepare() { + local PATCHES=( + "${FILESDIR}/261-gcc-bpf.patch" + ) + + if ! use vanilla; then + PATCHES+=( + "${FILESDIR}/gentoo-journald-audit-r4.patch" + ) + fi + + default +} + +src_configure() { + # Prevent conflicts with i686 cross toolchain, bug 559726 + tc-export AR CC NM OBJCOPY RANLIB + + # Our toolchain sets F_S=2 by default w/ >= -O2, so we need + # to unset F_S first, then explicitly set 2, to negate any default + # and anything set by the user if they're choosing 3 (or if they've + # modified GCC to set 3). + # + # malloc_usable_size doesn't play well with _F_S=3: + # https://github.com/systemd/systemd/issues/41459 (bug #971773) + if tc-is-clang && tc-enables-fortify-source ; then + # We can't unconditionally do this b/c we fortify needs + # some level of optimisation. + filter-flags -D_FORTIFY_SOURCE=3 + append-cppflags -U_FORTIFY_SOURCE -D_GENTOO_NO_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 + fi + + python_setup + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myconf=( + --localstatedir="${EPREFIX}/var" + -Ddocdir="share/doc/${PF}" + -Dmode=release # default is developer, bug 918671 + -Dlibc=$(usex elibc_musl musl glibc) + -Dsupport-url="${BRANDING_OS_SUPPORT_URL}" + -Dpamlibdir="$(getpam_mod_dir)" + -Dbashcompletiondir="$(get_bashcompdir)" + -Dzshcompletiondir="$(get_zshcompdir)" + -Dsplit-bin=false + -Dima=true # no deps + -Ddebug-shell="${EPREFIX}/bin/sh" # Match /etc/shells, bug 919749 + -Ddefault-user-shell="${EPREFIX}/bin/bash" + -Dbpf-compiler=gcc + -Dntp-servers="0.gentoo.pool.ntp.org 1.gentoo.pool.ntp.org 2.gentoo.pool.ntp.org 3.gentoo.pool.ntp.org" + # Breaks screen, tmux, etc. + -Ddefault-kill-user-processes=false + -Dcreate-log-dirs=false + -Dlibcrypt=enabled + -Dcompat-mutable-uid-boundaries=true + + # options affecting multilib + $(meson_use !elibc_musl nss-myhostname) + $(meson_feature !elibc_musl nss-mymachines) + $(meson_feature !elibc_musl nss-resolve) + $(meson_use !elibc_musl nss-systemd) + $(meson_feature pam) + ) + + # workaround for bug 969103 + if [[ ${CHOST} == riscv32* ]] ; then + myconf+=( -Dtests=true ) + else + myconf+=( $(meson_use test tests) ) + fi + + if multilib_is_native_abi; then + myconf+=( + --auto-features=enabled + -Dman=enabled + -Dxenctrl=disabled + + # Optional components/dependencies + $(meson_feature acl) + $(meson_feature apparmor) + $(meson_feature audit) + $(meson_feature boot bootloader) + $(meson_feature bpf bpf-framework) + $(meson_feature cryptsetup libcryptsetup) + $(meson_feature cryptsetup libcryptsetup-plugins) + $(meson_feature curl libcurl) + $(meson_use dns-over-tls dns-over-tls) + $(meson_feature elfutils) + $(meson_feature fido2 libfido2) + $(meson_feature gcrypt) + $(meson_feature gnutls) + $(meson_feature homed) + $(meson_use idn) + $(meson_feature imds) + $(meson_feature importd) + $(meson_feature importd bzip2) + $(meson_feature importd sysupdate) + $(meson_feature importd zlib) + $(meson_use kernel-install) + $(meson_feature kmod) + $(meson_feature libarchive) + $(meson_feature lz4) + $(meson_feature lzma xz) + $(meson_feature zstd) + $(meson_feature openssl) + $(meson_feature passwdqc) + $(meson_feature pkcs11 p11kit) + $(meson_feature pcre pcre2) + $(meson_feature policykit polkit) + $(meson_feature pwquality) + $(meson_feature qrcode qrencode) + $(meson_feature remote) + $(meson_feature remote microhttpd) + $(meson_feature seccomp) + $(meson_feature selinux) + $(meson_feature tpm tpm2) + $(meson_feature test dbus) + $(meson_feature test glib) + $(meson_feature ukify) + $(meson_feature xkb xkbcommon) + ) + + case $(tc-arch) in + amd64|arm|arm64|loong|ppc|ppc64|riscv|s390|x86) + # src/vmspawn/vmspawn-util.h: QEMU_MACHINE_TYPE + myconf+=( -Dvmspawn=enabled ) ;; + *) + myconf+=( -Dvmspawn=disabled ) ;; + esac + else + myconf+=( + --auto-features=disabled + ) + fi + + meson_src_configure "${myconf[@]}" +} + +multilib_src_compile() { + local args=() + if ! multilib_is_native_abi; then + args+=( + devel libsystemd libudev + $(usex elibc_musl '' nss) + $(usev pam) + ) + fi + meson_src_compile "${args[@]}" +} + +multilib_src_test() { + local args=( --timeout-multiplier=10 ) + if ! multilib_is_native_abi; then + args+=( + --suite libsystemd --suite libudev + $(usex elibc_musl '' '--suite nss') + $(usex pam '--suite pam' '') + ) + fi + ( + unset DBUS_SESSION_BUS_ADDRESS XDG_RUNTIME_DIR + export COLUMNS=80 + addpredict /dev + addpredict /proc + addpredict /run + addpredict /sys/fs/cgroup + meson_src_test "${args[@]}" + ) || die +} + +multilib_src_install() { + local args=() + if ! multilib_is_native_abi; then + local tags=devel,libsystemd,libudev + use !elibc_musl && tags+=,nss + use pam && tags+=,pam + args+=( --tags "${tags}" ) + fi + meson_src_install "${args[@]}" +} + +multilib_src_install_all() { + einstalldocs + dodoc "${FILESDIR}"/nsswitch.conf + + insinto /usr/lib/tmpfiles.d + doins "${FILESDIR}"/legacy.conf + + if ! use resolvconf; then + rm -f "${ED}"/usr/bin/resolvconf || die + fi + + if ! use sysv-utils; then + rm "${ED}"/usr/bin/{halt,init,poweroff,reboot,shutdown} || die + rm "${ED}"/usr/share/man/man1/init.1 || die + rm "${ED}"/usr/share/man/man8/{halt,poweroff,reboot,shutdown}.8 || die + fi + + # https://bugs.gentoo.org/761763 + rm -r "${ED}"/usr/lib/sysusers.d || die + + # Preserve empty dirs in /etc & /var, bug #437008 + keepdir /etc/{binfmt.d,modules-load.d,tmpfiles.d} + keepdir /etc/kernel/install.d + keepdir /etc/systemd/{network,system,user} + keepdir /etc/udev/rules.d + + keepdir /etc/udev/hwdb.d + + keepdir /usr/lib/systemd/{system-sleep,system-shutdown} + keepdir /usr/lib/{binfmt.d,modules-load.d} + keepdir /usr/lib/systemd/user-generators + keepdir /var/lib/systemd + keepdir /var/log/journal + + if use pam; then + if use selinux; then + newpamd "${FILESDIR}"/systemd-user-selinux.pam systemd-user + else + newpamd "${FILESDIR}"/systemd-user.pam systemd-user + fi + fi + + if use kernel-install; then + # Dummy config, remove to make room for sys-kernel/installkernel + rm "${ED}/usr/lib/kernel/install.conf" || die + fi + + use ukify && python_fix_shebang "${ED}" + use boot && secureboot_auto_sign +} + +migrate_locale() { + local envd_locale_def="${EROOT}/etc/env.d/02locale" + local envd_locale=( "${EROOT}"/etc/env.d/??locale ) + local locale_conf="${EROOT}/etc/locale.conf" + + if [[ ! -L ${locale_conf} && ! -e ${locale_conf} ]]; then + # If locale.conf does not exist... + if [[ -e ${envd_locale} ]]; then + # ...either copy env.d/??locale if there's one + ebegin "Moving ${envd_locale} to ${locale_conf}" + mv "${envd_locale}" "${locale_conf}" + eend ${?} || FAIL=1 + else + # ...or create a dummy default + ebegin "Creating ${locale_conf}" + cat > "${locale_conf}" <<-EOF + # This file has been created by the sys-apps/systemd ebuild. + # See locale.conf(5) and localectl(1). + + # LANG=${LANG} + EOF + eend ${?} || FAIL=1 + fi + fi + + if [[ ! -L ${envd_locale} ]]; then + # now, if env.d/??locale is not a symlink (to locale.conf)... + if [[ -e ${envd_locale} ]]; then + # ...warn the user that he has duplicate locale settings + ewarn + ewarn "To ensure consistent behavior, you should replace ${envd_locale}" + ewarn "with a symlink to ${locale_conf}. Please migrate your settings" + ewarn "and create the symlink with the following command:" + ewarn "ln -s -n -f ../locale.conf ${envd_locale}" + ewarn + else + # ...or just create the symlink if there's nothing here + ebegin "Creating ${envd_locale_def} -> ../locale.conf symlink" + ln -n -s ../locale.conf "${envd_locale_def}" + eend ${?} || FAIL=1 + fi + fi +} + +pkg_preinst() { + if [[ -e ${EROOT}/etc/sysctl.conf ]]; then + # Symlink /etc/sysctl.conf for easy migration. + dosym ../../../etc/sysctl.conf /usr/lib/sysctl.d/99-sysctl.conf + fi + + if ! use boot && has_version "sys-apps/systemd[gnuefi(-)]"; then + ewarn "The 'gnuefi' USE flag has been renamed to 'boot'." + ewarn "Make sure to enable the 'boot' USE flag if you use systemd-boot." + fi +} + +pkg_postinst() { + systemd_update_catalog + + # Keep this here in case the database format changes so it gets updated + # when required. + udev_hwdb_update || FAIL=1 + udev_reload || FAIL=1 + + # Bug 465468, make sure locales are respected, and ensure consistency + # between OpenRC & systemd + migrate_locale + + # Bug 971385, 974688 + local autovt=${EROOT}/etc/systemd/system/autovt@.service + if [[ ! -e ${autovt} && ! -L ${autovt} ]]; then + ln -s "${EPREFIX}/usr/lib/systemd/system/getty@.service" "${autovt}" || FAIL=1 + fi + + if [[ -z ${REPLACING_VERSIONS} ]]; then + if type systemctl &>/dev/null; then + systemctl --root="${ROOT:-/}" enable getty@.service remote-fs.target || FAIL=1 + fi + elog "To enable a useful set of services, run the following:" + elog " systemctl preset-all --preset-mode=enable-only" + fi + + if [[ -L ${EROOT}/var/lib/systemd/timesync ]]; then + rm "${EROOT}/var/lib/systemd/timesync" + fi + + if [[ -z ${ROOT} && -d /run/systemd/system ]]; then + ebegin "Reexecuting system manager (systemd)" + systemctl daemon-reexec + eend $? || FAIL=1 + + # https://lists.freedesktop.org/archives/systemd-devel/2024-June/050466.html + ebegin "Signaling user managers to reexec" + systemctl kill --kill-whom='main' --signal='SIGRTMIN+25' 'user@*.service' + eend $? + fi + + if [[ ${FAIL} ]]; then + eerror "One of the postinst commands failed. Please check the postinst output" + eerror "for errors. You may need to clean up your system and/or try installing" + eerror "systemd again." + eerror + fi + + if use boot; then + optfeature "installing kernels in systemd-boot's native layout and update loader entries" \ + "sys-kernel/installkernel[systemd-boot]" + fi + if use ukify; then + optfeature "generating unified kernel image on each kernel installation" \ + "sys-kernel/installkernel[ukify]" + fi +} + +pkg_prerm() { + # If removing systemd completely, remove the catalog database. + if [[ ! ${REPLACED_BY_VERSION} ]]; then + rm -f -v "${EROOT}"/var/lib/systemd/catalog/database + fi +} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-9999.ebuild index f77cd773639..5a30c2a4dee 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/systemd/systemd-9999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{12..14} ) # Avoid QA warnings TMPFILES_OPTIONAL=1 @@ -33,10 +33,11 @@ HOMEPAGE="https://systemd.io/" LICENSE="GPL-2 LGPL-2.1 MIT public-domain" SLOT="0/2" IUSE=" - acl apparmor audit boot bpf cryptsetup curl +dns-over-tls elfutils - fido2 +gcrypt gnutls homed idn importd +kernel-install +kmod +lz4 lzma - +openssl pam passwdqc pcre pkcs11 policykit pwquality qrcode remote - +resolvconf +seccomp selinux sysv-utils test tpm ukify vanilla xkb +zstd + acl apparmor audit boot bpf cryptsetup curl +dns-over-tls elfutils fido2 + +gcrypt gnutls homed idn imds importd +kernel-install +kmod +libarchive + +lz4 lzma +openssl pam passwdqc pcre pkcs11 policykit pwquality qrcode + remote +resolvconf +seccomp selinux sysv-utils test tpm ukify vanilla xkb + +zstd " REQUIRED_USE=" ${PYTHON_REQUIRED_USE} @@ -44,7 +45,8 @@ REQUIRED_USE=" dns-over-tls? ( openssl ) fido2? ( cryptsetup openssl ) homed? ( cryptsetup pam openssl ) - importd? ( curl lzma openssl ) + imds? ( curl ) + importd? ( curl libarchive lzma openssl ) ?? ( passwdqc pwquality ) passwdqc? ( homed ) pwquality? ( homed ) @@ -69,7 +71,8 @@ COMMON_DEPEND=" >=sys-libs/libxcrypt-4.4.0 ) elibc_musl? ( - >=sys-libs/musl-1.2.5-r8 + >=sys-libs/musl-1.2.6 + sys-libs/libucontext virtual/libcrypt ) fido2? ( @@ -84,6 +87,7 @@ COMMON_DEPEND=" virtual/zlib:= ) kmod? ( >=sys-apps/kmod-15:0= ) + libarchive? ( >=app-arch/libarchive-3.0:0= ) lz4? ( >=app-arch/lz4-0_p131:0= ) lzma? ( >=app-arch/xz-utils-5.0.5-r1:0= ) openssl? ( >=dev-libs/openssl-3.0.0:0= ) @@ -137,6 +141,7 @@ RDEPEND="${COMMON_DEPEND} >=acct-user/systemd-resolve-0-r1 >=acct-user/systemd-timesync-0-r1 >=sys-apps/baselayout-2.2 + imds? ( acct-user/systemd-imds ) ukify? ( ${PYTHON_DEPS} $(python_gen_cond_dep "${PEFILE_DEPEND}") @@ -281,7 +286,7 @@ src_configure() { # We can't unconditionally do this b/c we fortify needs # some level of optimisation. filter-flags -D_FORTIFY_SOURCE=3 - append-cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 + append-cppflags -U_FORTIFY_SOURCE -D_GENTOO_NO_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 fi python_setup @@ -348,12 +353,14 @@ multilib_src_configure() { $(meson_feature gnutls) $(meson_feature homed) $(meson_use idn) + $(meson_feature imds) $(meson_feature importd) $(meson_feature importd bzip2) $(meson_feature importd sysupdate) $(meson_feature importd zlib) $(meson_use kernel-install) $(meson_feature kmod) + $(meson_feature libarchive) $(meson_feature lz4) $(meson_feature lzma xz) $(meson_feature zstd) @@ -378,7 +385,7 @@ multilib_src_configure() { case $(tc-arch) in amd64|arm|arm64|loong|ppc|ppc64|riscv|s390|x86) # src/vmspawn/vmspawn-util.h: QEMU_MACHINE_TYPE - myconf+=( $(meson_native_enabled vmspawn) ) ;; + myconf+=( -Dvmspawn=enabled ) ;; *) myconf+=( -Dvmspawn=disabled ) ;; esac @@ -553,8 +560,11 @@ pkg_postinst() { # between OpenRC & systemd migrate_locale - # Bug 971385 - systemd_reenable getty@.service + # Bug 971385, 974688 + local autovt=${EROOT}/etc/systemd/system/autovt@.service + if [[ ! -e ${autovt} && ! -L ${autovt} ]]; then + ln -s "${EPREFIX}/usr/lib/systemd/system/getty@.service" "${autovt}" || FAIL=1 + fi if [[ -z ${REPLACING_VERSIONS} ]]; then if type systemctl &>/dev/null; then From e37b14bd2a7707b5cb331b269b67f031d5ea4b08 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:41:12 +0000 Subject: [PATCH 193/243] sys-apps/util-linux: Sync with Gentoo It's from Gentoo commit d18fdb6ea42f46a3987c0708bad073373cd1a6dd. Signed-off-by: Flatcar Buildbot --- .../sys-apps/util-linux/Manifest | 8 +- .../util-linux/util-linux-2.41.4-r1.ebuild | 5 +- ...2.41.4.ebuild => util-linux-2.41.5.ebuild} | 12 +- ...2.41.2.ebuild => util-linux-2.42.1.ebuild} | 49 +- .../util-linux/util-linux-2.42.2.ebuild | 500 ++++++++++++++++++ .../util-linux/util-linux-9999.ebuild | 5 +- 6 files changed, 566 insertions(+), 13 deletions(-) rename sdk_container/src/third_party/portage-stable/sys-apps/util-linux/{util-linux-2.41.4.ebuild => util-linux-2.41.5.ebuild} (97%) rename sdk_container/src/third_party/portage-stable/sys-apps/util-linux/{util-linux-2.41.2.ebuild => util-linux-2.42.1.ebuild} (90%) create mode 100644 sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.42.2.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/Manifest b/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/Manifest index 699687a8e5a..d3169d574a2 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/Manifest @@ -1,6 +1,10 @@ -DIST util-linux-2.41.2.tar.sign 833 BLAKE2B b2fbccf627769f6d49ada61176be28d3badad6834a5c4d0e90d4838372b6072bdfdfcfb6f144221e59ced68ac9281720f40b20795b878bc29cff1de14ccfb9e7 SHA512 05ecccd24fbeea38a8579907629264550a309cfdfa63fa6eab756c0fc3cd182e9764101731424c1421d1ed950c2c1e41cf210abcd9c2837323c657292cdc9a0d -DIST util-linux-2.41.2.tar.xz 9612488 BLAKE2B 96cf8022a2d727df373f717fcca750e4f3ffd365f50af35cb805fecb7fa39962dea134fab7efdb9dfdc5aa6ac721e758e2ea40254e21d3fd9e9e5e4b2d25aa91 SHA512 696c87e7cf185acc9b4b969ddade6155ea2945ae494eaecfd7b1f35d9607166cb09be79878fb793dd31b4d4dcac8c9be4be76af3886185db7ae8b58c303fb0cf DIST util-linux-2.41.3.tar.sign 833 BLAKE2B 1b982a71fb7ab5f9d0d0cd0811abd48fc884578bf6528fcd590fcacf8eea8b0dcf20c3395b353b9cdbded2f5a91a38fa9b78b4d88d57fcdf961b28689036da10 SHA512 5aa90af75595867c534dc2853c16e742e0139f4c9bfb5a9dfc3e54bb27d8516d26bd074e7c24477910bb8ee63be8c1eb289bbdf56356cb60db991998d6793ef4 DIST util-linux-2.41.3.tar.xz 9467224 BLAKE2B 1e3902b1e121431d956fa51bfa88394f15ed84497eaa08c311bffd906bf49f6df9480892fee99523ac3b9f8a70f4311352d6310049827398ea99e195acbfdb5c SHA512 3d299f0e05a4c982a04dbcbaaeff1222152feedf51c56c5dbdeb75999c68269d652a994f5cdf4c1ee42bb7b28475dd0792192c299fd9bc3b45198c5b153dad00 DIST util-linux-2.41.4.tar.sign 833 BLAKE2B fb63bced7ce0ad9b6c54855abb0dabd5cee7f9d668497bcae57fd4cfc7dfeccb167774338dc24c8491314be558286e487d4153a84d62ee636be4f6d4303301df SHA512 1d4673277e59a2409e414ee8cdc0f3d52cb40f626538f251c74820085128cc572a98bc27a784b10e3b87ed1babe344bbed32fb6a42f4aae67c5f533b24440eb8 DIST util-linux-2.41.4.tar.xz 9468684 BLAKE2B 84a6d93c091c1fb8860f8a3e98e55447f6dba4e040066fbea12a67e9a165479e04527122525a7af0d6cd36e0d96a1c1b1e4b4064e51d35bf50b4b1186d2cf388 SHA512 c21ad77b787ab5892169c80cbec1ba46ed6bba36c1db278f2d1cd8712ae237f5cd25bfd20f2dc638334d1c47c5ff6102703147147d42f71c995bd397e735691a +DIST util-linux-2.41.5.tar.sign 833 BLAKE2B 40c382defcbea78bbf137b1bdd5228cb745461f56978787bacb596c3b3c63f169ec2585269f4a7e44bf2d625115c9f16bfeba283f9ac6a171900b77a419cb419 SHA512 d358b8fd699874580fb9b741b14ceacd9f24f66de6efe55a30c25a3dc3ba888bcb99dd4a9803d68ce693e74c380cfd2d619c14c96f323223c89b117041baa9b1 +DIST util-linux-2.41.5.tar.xz 9474992 BLAKE2B b42744ddd878cb27a0cb75ef69240c9eaf2b4ff2583eebff15af7ccd852a25e6dc150f03a181dccd3c4fec6cff6acb12aff099d8414f6f689e71ee04e223f0d3 SHA512 25e7e79e0f0a4711a15c16db05357755536cf4dc9c0ee28447d95f9bfc135f23075d434e107269a65148a8c16b37755e913aacbaec03a3bdce171a9e0a46bfe8 +DIST util-linux-2.42.1.tar.sign 833 BLAKE2B ed37583c740796cfa98909eb5ba317427fbc729c59ae08bf387fa930bc1ead62cb1be942eb761706d0651914ab6f1b5a6098cb6a90efd0ad3293c08e464500ef SHA512 d08957a2ecbc2cbed09496130b3b80da5930f22bbd1364198ff8a0243b18de76db13e6432ffb50964f61fd8315f4c28815a80e62b2a830e506be3cd451cec6e7 +DIST util-linux-2.42.1.tar.xz 10639396 BLAKE2B ef1a9cc6a5a3e9ea126beb90fc09421b27cfd4ddbb59c885bae33f7ce9d2e105852a00b22da2e0769371383c8e5f8100fe04eab1bdc925b06c4cdd13bf6b73b9 SHA512 18dd2cfc353e389e4eeb37375473e7b3d0ab7fcd059a881d7cd0815ddcaa7b5795db92fcf56e531089267c8e69936c4fd3abd97786aa111b115996203aadbca2 +DIST util-linux-2.42.2.tar.sign 833 BLAKE2B 091e4b9874290320ae985f0abe0044e22860c6922ddd6114fa3e5a0a3eed9ae229fe45b49591ecc8d575b2e2a4f22662bfe770a4e210f34d03758e062902e2b9 SHA512 3922974fa8384be5628938705f01aa3ac433512e24a3943fc5e0b2ae4cb4d9b952966727039d2fd74f58c51cd349228fd53f82ac8cd4d5ad7f61580abd4da229 +DIST util-linux-2.42.2.tar.xz 10658220 BLAKE2B 49ca2426dd6a48638ee41f43477ddec23add87be6a561d3b654e13d21fc048f00e64d9247432a3436b07f8a3f34434ab2c837a5b82757a8d27096f6764d895dd SHA512 7415add0be2930654e322830808dde03ff6d511bd357f0679e6b6287a13ca79fe58ce4ac05edef86b76fb381b3a36ca2da9d3c31b5dc0a1d889c203156a57277 diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.41.4-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.41.4-r1.ebuild index d7c5885cd7a..988a95023af 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.41.4-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.41.4-r1.ebuild @@ -32,7 +32,9 @@ fi S="${WORKDIR}/${MY_P}" -LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain" +# GPL-2+ first per README.licensing ("default license"), then the rest +# are in order as listed in that file. +LICENSE="GPL-2+ GPL-1+ GPL-2 GPL-2+ GPL-3+ LGPL-2.1+ MIT BSD-2 BSD BSD-4 EUPL-1.2 public-domain" SLOT="0" IUSE="audit build caps +cramfs cryptsetup fdformat +hardlink kill +logger magic ncurses nls pam python +readline rtas selinux slang static-libs +su +suid systemd test tty-helpers udev unicode uuidd" @@ -87,6 +89,7 @@ RDEPEND+=" ) uuidd? ( acct-user/uuidd + selinux? ( sec-policy/selinux-uuidd ) systemd? ( virtual/tmpfiles ) ) !net-wireless/rfkill diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.41.4.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.41.5.ebuild similarity index 97% rename from sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.41.4.ebuild rename to sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.41.5.ebuild index 7e0583217a0..e7af404c9b4 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.41.4.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.41.5.ebuild @@ -32,7 +32,9 @@ fi S="${WORKDIR}/${MY_P}" -LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain" +# GPL-2+ first per README.licensing ("default license"), then the rest +# are in order as listed in that file. +LICENSE="GPL-2+ GPL-1+ GPL-2 GPL-2+ GPL-3+ LGPL-2.1+ MIT BSD-2 BSD BSD-4 EUPL-1.2 public-domain" SLOT="0" IUSE="audit build caps +cramfs cryptsetup fdformat +hardlink kill +logger magic ncurses nls pam python +readline rtas selinux slang static-libs +su +suid systemd test tty-helpers udev unicode uuidd" @@ -87,6 +89,7 @@ RDEPEND+=" ) uuidd? ( acct-user/uuidd + selinux? ( sec-policy/selinux-uuidd ) systemd? ( virtual/tmpfiles ) ) !net-wireless/rfkill @@ -102,6 +105,10 @@ fi REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) su? ( pam )" RESTRICT="!test? ( test )" +PATCHES=( + "${FILESDIR}"/${PN}-2.41.4-no-AF_ALG.patch +) + pkg_pretend() { if use su && ! use suid ; then elog "su will be installed as suid despite USE=-suid (bug #832092)" @@ -155,6 +162,9 @@ src_prepare() { # Hangs on some machines script/replay + + # Fails for 32-bit time_t which some profiles have + misc/time_t ) # debug prints confuse the tests which look for a diff diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.41.2.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.42.1.ebuild similarity index 90% rename from sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.41.2.ebuild rename to sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.42.1.ebuild index 42aafdccc36..5d7e0f91c35 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.41.2.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.42.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,7 +23,7 @@ else inherit verify-sig if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos" fi SRC_URI="https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz" @@ -32,7 +32,9 @@ fi S="${WORKDIR}/${MY_P}" -LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain" +# GPL-2+ first per README.licensing ("default license"), then the rest +# are in order as listed in that file. +LICENSE="GPL-2+ GPL-1+ GPL-2 GPL-2+ GPL-3+ LGPL-2.1+ MIT BSD-2 BSD BSD-4 EUPL-1.2 public-domain" SLOT="0" IUSE="audit build caps +cramfs cryptsetup fdformat +hardlink kill +logger magic ncurses nls pam python +readline rtas selinux slang static-libs +su +suid systemd test tty-helpers udev unicode uuidd" @@ -87,6 +89,7 @@ RDEPEND+=" ) uuidd? ( acct-user/uuidd + selinux? ( sec-policy/selinux-uuidd ) systemd? ( virtual/tmpfiles ) ) !net-wireless/rfkill @@ -102,6 +105,10 @@ fi REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) su? ( pam )" RESTRICT="!test? ( test )" +PATCHES=( + "${FILESDIR}"/${PN}-2.41.4-no-AF_ALG.patch +) + pkg_pretend() { if use su && ! use suid ; then elog "su will be installed as suid despite USE=-suid (bug #832092)" @@ -115,12 +122,9 @@ src_unpack() { return fi - # Upstream sign the decompressed .tar if use verify-sig; then - einfo "Unpacking ${MY_P}.tar.xz ..." - verify-sig_verify_detached - "${DISTDIR}"/${MY_P}.tar.sign \ - < <(xz -cd "${DISTDIR}"/${MY_P}.tar.xz | tee >(tar -xf -)) - assert "Unpack failed" + verify-sig_uncompress_verify_unpack "${DISTDIR}"/${MY_P}.tar.xz \ + "${DISTDIR}"/${MY_P}.tar.sign else default fi @@ -158,6 +162,15 @@ src_prepare() { # Hangs on some machines script/replay + + # Fails for 32-bit time_t which some profiles have + misc/time_t + + # Permission issues with changing OOM score + choom/choom + + # MKFDS_PID is empty + lsfd/option-hyperlink ) # debug prints confuse the tests which look for a diff @@ -344,6 +357,26 @@ multilib_src_configure() { ) fi + if use kernel_Hurd ; then + # Disable Linux-specific features + myeconfargs+=( + --disable-partx + --disable-rfkill + --disable-schedutils + --disable-fsck + ) + + # This is explicitly needed for some reason? TODO + myeconfargs+=( + --enable-agetty + ) + fi + + # https://savannah.gnu.org/support/?111394 + # This can be removed when we patch dev-build/autoconf, though + # packages w/o eautoreconf will still need it. + [[ ${enable_year2038} == "no" ]] && myeconfargs+=( --disable-year2038 ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" if multilib_is_native_abi && use python ; then diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.42.2.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.42.2.ebuild new file mode 100644 index 00000000000..5d7e0f91c35 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-2.42.2.ebuild @@ -0,0 +1,500 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..14} ) +TMPFILES_OPTIONAL=1 + +inherit toolchain-funcs libtool flag-o-matic bash-completion-r1 \ + pam python-r1 multilib-minimal multiprocessing systemd tmpfiles + +MY_PV="${PV/_/-}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="Various useful Linux utilities" +HOMEPAGE="https://www.kernel.org/pub/linux/utils/util-linux/ https://github.com/util-linux/util-linux" + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git" + inherit autotools git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/karelzak.asc + inherit verify-sig + + if [[ ${PV} != *_rc* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos" + fi + + SRC_URI="https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.xz" + SRC_URI+=" verify-sig? ( https://www.kernel.org/pub/linux/utils/util-linux/v${PV:0:4}/${MY_P}.tar.sign )" +fi + +S="${WORKDIR}/${MY_P}" + +# GPL-2+ first per README.licensing ("default license"), then the rest +# are in order as listed in that file. +LICENSE="GPL-2+ GPL-1+ GPL-2 GPL-2+ GPL-3+ LGPL-2.1+ MIT BSD-2 BSD BSD-4 EUPL-1.2 public-domain" +SLOT="0" +IUSE="audit build caps +cramfs cryptsetup fdformat +hardlink kill +logger magic ncurses nls pam python +readline rtas selinux slang static-libs +su +suid systemd test tty-helpers udev unicode uuidd" + +# Most lib deps here are related to programs rather than our libs, +# so we rarely need to specify ${MULTILIB_USEDEP}. +RDEPEND=" + virtual/libcrypt:= + audit? ( >=sys-process/audit-2.6:= ) + caps? ( sys-libs/libcap-ng ) + cramfs? ( virtual/zlib:= ) + cryptsetup? ( >=sys-fs/cryptsetup-2.1.0 ) + hardlink? ( dev-libs/libpcre2:= ) + ncurses? ( + sys-libs/ncurses:=[unicode(+)?] + magic? ( sys-apps/file:0= ) + ) + nls? ( virtual/libintl[${MULTILIB_USEDEP}] ) + pam? ( sys-libs/pam ) + python? ( ${PYTHON_DEPS} ) + readline? ( sys-libs/readline:0= ) + rtas? ( sys-libs/librtas ) + selinux? ( >=sys-libs/libselinux-2.2.2-r4[${MULTILIB_USEDEP}] ) + slang? ( sys-libs/slang ) + !build? ( + systemd? ( sys-apps/systemd ) + udev? ( virtual/libudev:= ) + ) +" +BDEPEND=" + virtual/pkgconfig + nls? ( + app-text/po4a + sys-devel/gettext + ) + test? ( app-alternatives/bc ) +" +DEPEND=" + ${RDEPEND} + virtual/os-headers + acct-group/root +" +RDEPEND+=" + hardlink? ( !app-arch/hardlink ) + logger? ( !>=app-admin/sysklogd-2.0[logger] ) + kill? ( + !sys-apps/coreutils[kill] + !sys-process/procps[kill] + ) + su? ( + !=sys-apps/shadow-4.7-r2[su] + ) + uuidd? ( + acct-user/uuidd + selinux? ( sec-policy/selinux-uuidd ) + systemd? ( virtual/tmpfiles ) + ) + !net-wireless/rfkill +" + +if [[ ${PV} == 9999 ]] ; then + # Required for man-page generation + BDEPEND+=" dev-ruby/asciidoctor" +else + BDEPEND+=" verify-sig? ( >=sec-keys/openpgp-keys-karelzak-20230517 )" +fi + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) su? ( pam )" +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}"/${PN}-2.41.4-no-AF_ALG.patch +) + +pkg_pretend() { + if use su && ! use suid ; then + elog "su will be installed as suid despite USE=-suid (bug #832092)" + elog "To use su without suid, see e.g. Portage's suidctl feature." + fi +} + +src_unpack() { + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + return + fi + + if use verify-sig; then + verify-sig_uncompress_verify_unpack "${DISTDIR}"/${MY_P}.tar.xz \ + "${DISTDIR}"/${MY_P}.tar.sign + else + default + fi +} + +src_prepare() { + default + + if use test ; then + # Known-failing tests + local known_failing_tests=( + # Subtest 'options-maximum-size-8192' fails + hardlink/options + + # Fails in sandbox + # re ioctl_ns: https://github.com/util-linux/util-linux/issues/2967 + lsns/ioctl_ns + lsfd/mkfds-inotify + lsfd/mkfds-symlink + lsfd/mkfds-rw-character-device + # Fails with network-sandbox at least in nspawn + lsfd/option-inet + utmp/last-ipv6 + + # Fails with permission errors in nspawn + fadvise/drop + fincore/count + + # Flaky + rename/subdir + + # Permission issues on /dev/random + lsfd/mkfds-eventpoll + lsfd/column-xmode + + # Hangs on some machines + script/replay + + # Fails for 32-bit time_t which some profiles have + misc/time_t + + # Permission issues with changing OOM score + choom/choom + + # MKFDS_PID is empty + lsfd/option-hyperlink + ) + + # debug prints confuse the tests which look for a diff + # in output + if has_version "=app-shells/bash-5.3_alpha*" ; then + known_failing_tests+=( + lsfd/column-ainodeclass + lsfd/mkfds-netlink-protocol + lsfd/column-type + lsfd/mkfds-eventfd + lsfd/mkfds-signalfd + lsfd/mkfds-mqueue + lsfd/mkfds-tcp6 + lsfd/mkfds-tcp + lsfd/filter-floating-point-nums + lsfd/mkfds-unix-stream-requiring-sockdiag + lsfd/mkfds-unix-dgram + lsfd/mkfds-directory + lsfd/mkfds-pty + lsfd/mkfds-pipe-no-fork + lsfd/mkfds-unix-stream + lsfd/mkfds-ro-regular-file + lsfd/mkfds-timerfd + lsfd/mkfds-udp + lsfd/mkfds-udp6 + ) + fi + + local known_failing_test + for known_failing_test in "${known_failing_tests[@]}" ; do + einfo "Removing known-failing test: ${known_failing_test}" + rm tests/ts/${known_failing_test} || die + done + fi + + if [[ ${PV} == 9999 ]] ; then + po/update-potfiles + eautoreconf + else + elibtoolize + fi +} + +python_configure() { + local myeconfargs=( + "${commonargs[@]}" + --disable-all-programs + --disable-bash-completion + --without-systemdsystemunitdir + --with-python + --enable-libblkid + --enable-libmount + --enable-pylibmount + ) + + mkdir "${BUILD_DIR}" || die + pushd "${BUILD_DIR}" >/dev/null || die + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" + popd >/dev/null || die +} + +multilib_src_configure() { + # The scanf test in a run-time test which fails while cross-compiling. + # Blindly assume a POSIX setup since we require libmount, and libmount + # itself fails when the scanf test fails. bug #531856 + tc-is-cross-compiler && export scanf_cv_alloc_modifier=ms + + # bug #485486 + export ac_cv_header_security_pam_misc_h=$(multilib_native_usex pam) + # bug #545042 + export ac_cv_header_security_pam_appl_h=$(multilib_native_usex pam) + + # Undo bad ncurses handling by upstream. Fall back to pkg-config. + # bug #601530 + export NCURSES6_CONFIG=false NCURSES5_CONFIG=false + export NCURSESW6_CONFIG=false NCURSESW5_CONFIG=false + + # Avoid automagic dependency on ppc* + export ac_cv_lib_rtas_rtas_get_sysparm=$(usex rtas) + + # configure args shared by python and non-python builds + local commonargs=( + --localstatedir="${EPREFIX}/var" + --runstatedir="${EPREFIX}/run" + --enable-fs-paths-extra="${EPREFIX}/usr/sbin:${EPREFIX}/bin:${EPREFIX}/usr/bin" + ) + + local myeconfargs=( + "${commonargs[@]}" + --with-bashcompletiondir="$(get_bashcompdir)" + --without-python + $(multilib_native_use_enable suid makeinstall-chown) + $(multilib_native_use_enable suid makeinstall-setuid) + $(multilib_native_use_with readline) + $(multilib_native_use_with slang) + $(multilib_native_usex ncurses "$(use_with magic libmagic)" '--without-libmagic') + $(multilib_native_usex ncurses "$(use_with unicode ncursesw)" '--without-ncursesw') + $(multilib_native_usex ncurses "$(use_with !unicode ncurses)" '--without-ncurses') + $(multilib_native_use_with audit) + $(tc-has-tls || echo --disable-tls) + $(use_enable nls) + $(use_enable nls poman) + $(use_enable unicode widechar) + $(use_enable static-libs static) + $(use_with ncurses tinfo) + $(use_with selinux) + $(multilib_native_use_enable uuidd) + + # TODO: Wire this up (bug #931118) + --without-econf + + # TODO: Wire this up (bug #931297) + # TODO: investigate build failure w/ 2.40.1_rc1 + --disable-liblastlog2 + --disable-pam-lastlog2 + ) + + if use build ; then + myeconfargs+=( + --without-systemd + --without-udev + ) + else + myeconfargs+=( + $(multilib_native_use_with systemd) + $(multilib_native_use_with udev) + ) + fi + + if multilib_is_native_abi ; then + myeconfargs+=( + --disable-chfn-chsh + --disable-login + --disable-newgrp + --disable-nologin + --disable-pylibmount + --disable-raw + --disable-vipw + --enable-agetty + --enable-bash-completion + --enable-line + --enable-partx + --enable-rename + --enable-rfkill + --enable-schedutils + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + --with-tmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d + $(use_enable caps setpriv) + $(use_enable cramfs) + $(use_enable fdformat) + $(use_enable hardlink) + $(use_enable kill) + $(use_enable logger) + $(use_enable ncurses pg) + $(use_enable su) + $(use_enable tty-helpers mesg) + $(use_enable tty-helpers wall) + $(use_enable tty-helpers write) + $(use_with cryptsetup) + ) + if [[ ${PV} == *9999 ]] ; then + myeconfargs+=( --enable-asciidoc ) + else + # Upstream is shipping pre-generated man-pages for releases + myeconfargs+=( --disable-asciidoc ) + fi + else + myeconfargs+=( + --disable-all-programs + --disable-asciidoc + --disable-bash-completion + --without-systemdsystemunitdir + --disable-poman + + # build libraries + --enable-libuuid + --enable-libblkid + --enable-libsmartcols + --enable-libfdisk + --enable-libmount + + # Support uuidd for non-native libuuid + $(use_enable uuidd libuuid-force-uuidd) + ) + fi + + if use kernel_Hurd ; then + # Disable Linux-specific features + myeconfargs+=( + --disable-partx + --disable-rfkill + --disable-schedutils + --disable-fsck + ) + + # This is explicitly needed for some reason? TODO + myeconfargs+=( + --enable-agetty + ) + fi + + # https://savannah.gnu.org/support/?111394 + # This can be removed when we patch dev-build/autoconf, though + # packages w/o eautoreconf will still need it. + [[ ${enable_year2038} == "no" ]] && myeconfargs+=( --disable-year2038 ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" + + if multilib_is_native_abi && use python ; then + python_foreach_impl python_configure + fi +} + +src_configure() { + append-lfs-flags + + # Workaround for bug #961040 (gcc PR120006) + if tc-is-gcc && [[ $(gcc-major-version) == 15 && $(gcc-minor-version) -lt 2 ]] ; then + append-flags -fno-ipa-pta + fi + + multilib-minimal_src_configure +} + +python_compile() { + pushd "${BUILD_DIR}" >/dev/null || die + emake all + popd >/dev/null || die +} + +multilib_src_compile() { + emake all + + if multilib_is_native_abi && use python ; then + python_foreach_impl python_compile + fi +} + +python_test() { + pushd "${BUILD_DIR}" >/dev/null || die + emake check TS_OPTS="--parallel=$(makeopts_jobs) --nonroot" + popd >/dev/null || die +} + +multilib_src_test() { + emake check TS_OPTS="--parallel=$(makeopts_jobs) --nonroot" + if multilib_is_native_abi && use python ; then + python_foreach_impl python_test + fi +} + +python_install() { + pushd "${BUILD_DIR}" >/dev/null || die + emake DESTDIR="${D}" install + python_optimize + popd >/dev/null || die +} + +multilib_src_install() { + if multilib_is_native_abi && use python ; then + python_foreach_impl python_install + fi + + # This needs to be called AFTER python_install call, bug #689190 + # XXX: -j1 as temporary workaround for bug #931301 + emake DESTDIR="${D}" install -j1 +} + +multilib_src_install_all() { + dodoc AUTHORS NEWS README* Documentation/{TODO,*.txt,releases/*} + + dosym hexdump /usr/bin/hd + newman - hd.1 <<< '.so man1/hexdump.1' + + # e2fsprogs-libs didn't install .la files, and .pc work fine + find "${ED}" -name "*.la" -delete || die + + if use pam ; then + # See https://github.com/util-linux/util-linux/blob/master/Documentation/PAM-configuration.txt + newpamd "${FILESDIR}/runuser.pamd" runuser + newpamd "${FILESDIR}/runuser-l.pamd" runuser-l + + newpamd "${FILESDIR}/su-l.pamd" su-l + fi + + if use su && ! use suid ; then + # Always force suid su, even when USE=-suid, as su is useless + # for the overwhelming-majority case without suid. + # Users who wish to truly have a no-suid su can strip it out + # via e.g. Portage's suidctl or some other hook. + # See bug #832092 + fperms u+s /bin/su + fi + + if use uuidd; then + newinitd "${FILESDIR}/uuidd.initd" uuidd + fi + + # Note: + # Bash completion for "runuser" command is provided by same file which + # would also provide bash completion for "su" command. However, we don't + # use "su" command from this package. + # This triggers a known QA warning which we ignore for now to magically + # keep bash completion for "su" command which shadow package does not + # provide. + + local ver=$(tools/git-version-gen .tarballversion) + local major=$(ver_cut 1 ${ver}) + local minor=$(ver_cut 2 ${ver}) + local release=$(ver_cut 3 ${ver}) + export QA_PKGCONFIG_VERSION="${major}.${minor}.${release:-0}" +} + +pkg_postinst() { + if ! use tty-helpers ; then + elog "The mesg/wall/write tools have been disabled due to USE=-tty-helpers." + fi + + if [[ -z ${REPLACING_VERSIONS} ]] ; then + elog "The agetty util now clears the terminal by default. You" + elog "might want to add --noclear to your /etc/inittab lines." + fi + + if use systemd && use uuidd; then + tmpfiles_process uuidd-tmpfiles.conf + fi +} diff --git a/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-9999.ebuild index 5e3a65eade3..be783a4aad3 100644 --- a/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-apps/util-linux/util-linux-9999.ebuild @@ -31,7 +31,9 @@ fi S="${WORKDIR}/${MY_P}" -LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain" +# GPL-2+ first per README.licensing ("default license"), then the rest +# are in order as listed in that file. +LICENSE="GPL-2+ GPL-1+ GPL-2 GPL-2+ GPL-3+ LGPL-2.1+ MIT BSD-2 BSD EUPL-1.2 public-domain" SLOT="0" IUSE="audit build caps +cramfs cryptsetup fdformat +hardlink kill +logger magic ncurses nls pam python +readline rtas selinux slang static-libs +su +suid systemd test tty-helpers udev unicode uuidd" @@ -86,6 +88,7 @@ RDEPEND+=" ) uuidd? ( acct-user/uuidd + selinux? ( sec-policy/selinux-uuidd ) systemd? ( virtual/tmpfiles ) ) !net-wireless/rfkill From 15b9758b4171257173eea91223048b7f5ed48692 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:41:19 +0000 Subject: [PATCH 194/243] sys-auth/sssd: Sync with Gentoo It's from Gentoo commit 9b091315f0ce7338b97e9aa46d631662912b5728. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-auth/sssd/Manifest | 6 +- ...ssd-2.9.8.ebuild => sssd-2.13.0-r1.ebuild} | 83 ++-- .../sys-auth/sssd/sssd-2.13.1.ebuild | 380 ++++++++++++++++++ .../{sssd-2.9.7.ebuild => sssd-2.9.9.ebuild} | 7 +- 4 files changed, 447 insertions(+), 29 deletions(-) rename sdk_container/src/third_party/portage-stable/sys-auth/sssd/{sssd-2.9.8.ebuild => sssd-2.13.0-r1.ebuild} (82%) create mode 100644 sdk_container/src/third_party/portage-stable/sys-auth/sssd/sssd-2.13.1.ebuild rename sdk_container/src/third_party/portage-stable/sys-auth/sssd/{sssd-2.9.7.ebuild => sssd-2.9.9.ebuild} (97%) diff --git a/sdk_container/src/third_party/portage-stable/sys-auth/sssd/Manifest b/sdk_container/src/third_party/portage-stable/sys-auth/sssd/Manifest index 18fefe6b85a..a0837025b4d 100644 --- a/sdk_container/src/third_party/portage-stable/sys-auth/sssd/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-auth/sssd/Manifest @@ -2,7 +2,9 @@ DIST sssd-2.12.0.tar.gz 9739617 BLAKE2B d5629a24ee6db3e0a7a205a387acb01d0cc102b6 DIST sssd-2.12.0.tar.gz.asc 833 BLAKE2B ffb95b672fd5b63f6147b4c4e85ee04c260eb2fa01c90ed52e04bb5c8e1bba76fead5dca1343a1d8c53d69d36c1145378c18f01fe86896f52dd64a1ed7c1d973 SHA512 b4a7696969f2c0a034ef01eaa50282556e3c07c0be53088d9ce5cb3f24e2dc5428fe8ad2f2f6aca7903a16e2d39591f32b04ca76b16662d24ae64cea15658684 DIST sssd-2.13.0.tar.gz 9127914 BLAKE2B d180c53dfaf74137b3208ecba1e8b58ae6fa8bf5fd122ceb362ab382bd34904871857dbbc8f7b1fef858c9220772495d1262c7348c11beae432985c368900334 SHA512 3d900d7a5538114b888c57a5f5a555f6200cf077881c02b4d9b9af33d590bfd71fa296513e38343ad7d96447f5fe2ed69562ccd9a80bb3eed0dec890461da777 DIST sssd-2.13.0.tar.gz.asc 833 BLAKE2B 08f13c3634ffb2ef30f8cf8ca3302e2c98bc8f9894141886f17762c3744e8efaeb9ee9d4e51d3c20afc00e0210c73b22b0a822f698313762bfe54bbfc8e8e23c SHA512 c12839860d444f223ee0a55d135cb49725287463f7aa12e6f854fd3565f2ce750b1526a8275e5399b64aa1ef59f0668b3a5ec745b786cc9265c58f77fa059464 -DIST sssd-2.9.7.tar.gz 9161891 BLAKE2B 1658f3a6447c58665fccf144292deda759a72e1dbe0913e49f510fa8342e0fa09569319a40293a63c360c17ede0e8051c93b81e488549ed8e3bbeff37ce86389 SHA512 ba2bcab28491971e420b8bb8769574e88af4059cad5cec5320668cabf31c11314fce6dcab45b097d7b0876dfebe1cad22a0104c0856c80cdc07c21b19a95a3f2 -DIST sssd-2.9.7.tar.gz.asc 833 BLAKE2B 2d0b2417a38b99b6014e20abcc121e7eb1b6028c9e8292ca998099ae6eaa6e47cb3c1ab42864ffcc2f1566c20c27c9d65d7b5a801403aff23ca952fda6ecfdb2 SHA512 74117dca7a5cf62400358769757485bb304e200e29fef9613c92e8d30770b0fe54d5c95b4053ac32005f665a6cef247c639a2b14df132a7e82a8b92d527dbba3 +DIST sssd-2.13.1.tar.gz 9136618 BLAKE2B 7e1f4ff6d0d64cb1dd5fcf662934f06a7ca13cbdac448a50d8171f45e7bf7da8dc33baa86c3a2c330f7682483938e12f8175149b65e7f2d82f25f76937fb119a SHA512 c1c00ada7e95bee7dceb55210643cc50c60ad6a930ef1662bf27cb641df0bace8e9f99d2ea9d2cae1681e3221d3bb1ad1635850593e0a87d8b2eb9826b67d574 +DIST sssd-2.13.1.tar.gz.asc 833 BLAKE2B b3b4ed6dda8d3b2ad7ec7c8fbb5e02ad9d9f2e01c734db0105d2415f3fbb2903ffeb1fb9b1e6bb5eccb273462822e593415acc4e8bda5c742d530e90cd71edee SHA512 78543280becc141d038b1a8f2602a04b4e1b5e54a424207845040aa780f354ff5adb1d934040b649a28a3c5ff7c6a7be06db34ce1d50bdc7eb5afc9423771b6e DIST sssd-2.9.8.tar.gz 9330244 BLAKE2B f5f88287b4bf7936e56e44c9ba7eba728c8546663304f9c6881d5bb427ff5f3dfb635536110f198439b41b481a7b9a2980138acd0d90d7334d439559425d9170 SHA512 9b10cb5e343d32402a437dab3304c16596e9eb7b51a452ca3e2b3fea4aa8dc879abe06a57ccc716bece8024847211abf5affa83e1d2ca2cac101132133a6619a DIST sssd-2.9.8.tar.gz.asc 833 BLAKE2B 793567f60c0ca92cf1b053e762e14ca51c046d24dfeafe2a1bdab47d8cca1bee8e2bcdd743c58dbff14ceffb6ccfe7eff6c64bc10871345bf6ba0b7a1ed73588 SHA512 a05f2a48cb278adc746ce1e2d786a165080a69dfc7430b714ffbd6ebc83464e63983d6468867ec9f0438e7ed3f8ceff962a868c9daed1c4579c31feb85c8373c +DIST sssd-2.9.9.tar.gz 8660247 BLAKE2B e861818f53920f816bea28aa9e46a403e7c0d9d3e4d176953e71779b5eb471d6562d626fe2e08de1f7bc930404c60375d529362e1bdaf6245f52079da85a3c08 SHA512 218d2f60bfa64d496c26df9d02ee950ed27aff46651ea2c85f123ae7f642f1e9c93f4133a4ab8606066cdb6390799f7643806ba4ac27322aea7838ebf2793545 +DIST sssd-2.9.9.tar.gz.asc 833 BLAKE2B 12821af3c030ba0092bb4473b8ad7bccc7d3ca630ff13f10e996fab6127abaaff7db1aa3888bb535c11d7576bb021568fab27e7b4742376254d3b3a06ef3ff21 SHA512 fbb9e05bfa3e82a2df9d2a06643321711ec4bf7a8642ad04fe3060fa3db6a3279cd1df6367d7451ad852bf82c00bab01cbe648e8d4d93885d46b1cdd4640b7f5 diff --git a/sdk_container/src/third_party/portage-stable/sys-auth/sssd/sssd-2.9.8.ebuild b/sdk_container/src/third_party/portage-stable/sys-auth/sssd/sssd-2.13.0-r1.ebuild similarity index 82% rename from sdk_container/src/third_party/portage-stable/sys-auth/sssd/sssd-2.9.8.ebuild rename to sdk_container/src/third_party/portage-stable/sys-auth/sssd/sssd-2.13.0-r1.ebuild index 80f192a4761..8020d31adc7 100644 --- a/sdk_container/src/third_party/portage-stable/sys-auth/sssd/sssd-2.9.8.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-auth/sssd/sssd-2.13.0-r1.ebuild @@ -3,20 +3,20 @@ EAPI=8 -PLOCALES="ca de es fr ja ko pt_BR ru sv tr uk" +PLOCALES="ca de es fr ja ko pt_BR ru sv tr" PLOCALES_BIN="${PLOCALES} bg cs eu fi hu id it ka nb nl pl pt tg zh_TW zh_CN" PLOCALE_BACKUP="sv" -PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{11..14} ) -inherit autotools linux-info multilib-minimal optfeature plocale \ - python-single-r1 pam systemd toolchain-funcs verify-sig +inherit autotools fcaps linux-info multilib-minimal optfeature plocale \ + python-single-r1 pam systemd tmpfiles udev toolchain-funcs verify-sig DESCRIPTION="System Security Services Daemon provides access to identity and authentication" HOMEPAGE="https://github.com/SSSD/sssd" if [[ ${PV} != 9999 ]]; then SRC_URI="https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz.asc" - KEYWORDS="amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc x86" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc ~x86" else inherit git-r3 EGIT_REPO_URI="https://github.com/SSSD/sssd.git" @@ -25,7 +25,7 @@ fi LICENSE="GPL-3" SLOT="0" -IUSE="acl doc +netlink nfsv4 nls passkey python samba selinux systemd systemtap test" +IUSE="doc +netlink nfsv4 nls openid passkey python samba selinux systemd systemtap test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RESTRICT="!test? ( test )" @@ -42,18 +42,23 @@ DEPEND=" >=net-dns/bind-9.9[gssapi] >=net-dns/c-ares-1.10.0-r1:=[${MULTILIB_USEDEP}] >=net-nds/openldap-2.4.30:=[sasl,experimental] + net-fs/cifs-utils[acl] >=sys-apps/dbus-1.6 >=sys-apps/keyutils-1.5:= + sys-libs/libcap:=[${MULTILIB_USEDEP}] >=sys-libs/pam-0-r1[${MULTILIB_USEDEP}] >=sys-libs/talloc-2.0.7 >=sys-libs/tdb-1.2.9 >=sys-libs/tevent-0.9.16 virtual/ldb:= virtual/libintl - acl? ( net-fs/cifs-utils[acl] ) netlink? ( dev-libs/libnl:3 ) nfsv4? ( >=net-fs/nfs-utils-2.3.1-r2 ) nls? ( >=sys-devel/gettext-0.18 ) + openid? ( + dev-libs/jose + net-misc/curl + ) passkey? ( dev-libs/libfido2:= ) python? ( ${PYTHON_DEPS} @@ -74,19 +79,22 @@ DEPEND=" ) systemtap? ( dev-debug/systemtap )" RDEPEND="${DEPEND} - passkey? ( sys-apps/pcsc-lite[policykit] ) + acct-user/sssd + acct-group/sssd selinux? ( >=sec-policy/selinux-sssd-2.20120725-r9 )" DEPEND+=" sys-apps/shadow" BDEPEND=" + acct-user/sssd + acct-group/sssd + sys-libs/libcap virtual/pkgconfig - app-text/docbook-xml-dtd:4.4 - >=dev-libs/libxslt-1.1.26 ${PYTHON_DEPS} doc? ( app-text/doxygen ) - nls? ( sys-devel/gettext - app-text/po4a ) + nls? ( app-text/po4a + sys-devel/gettext ) test? ( + app-alternatives/bc dev-libs/check dev-libs/softhsm:2 dev-util/cmocka @@ -96,6 +104,8 @@ BDEPEND=" sys-libs/pam_wrapper sys-libs/uid_wrapper ) + app-text/docbook-xml-dtd:4.4 + >=dev-libs/libxslt-1.1.26 verify-sig? ( sec-keys/openpgp-keys-sssd ) " @@ -106,7 +116,7 @@ CONFIG_CHECK="~KEYS" PATCHES=( "${FILESDIR}/${PN}-2.8.2-krb5_pw_locked.patch" "${FILESDIR}/${PN}-2.9.6-conditional-python-install.patch" - "${FILESDIR}/${PN}-2.9.7-kerberos-1-22.patch" + "${FILESDIR}/${PN}-2.10.0_beta2-fix-systemd-systemconfdir.patch" ) MULTILIB_WRAPPED_HEADERS=( @@ -120,6 +130,16 @@ MULTILIB_WRAPPED_HEADERS=( /usr/include/sss_certmap.h ) +# mimic upstream's setcap here, they're liable to get lost +# https://github.com/SSSD/sssd/blob/a6d0f0cf484aeeead535b7138d1334b309c61a4e/Makefile.am#L5567 +FILECAPS=( + cap_dac_read_search=p "usr/libexec/sssd/ldap_child" + -- + cap_dac_read_search,cap_setuid,cap_setgid=p "usr/libexec/sssd/krb5_child" + -- + cap_dac_read_search=p "usr/libexec/sssd/sssd_pam" +) + pkg_setup() { linux-info_pkg_setup python-single-r1_pkg_setup @@ -159,6 +179,13 @@ src_prepare() { Makefile.am \ || die + # requires valgrind headers installed, see + # https://github.com/SSSD/sssd/pull/7845 + sed -i \ + -e '/^\s*test_iobuf[ \\]*$/d' \ + Makefile.am \ + || die + eautoreconf multilib_copy_sources @@ -167,11 +194,6 @@ src_prepare() { src_configure() { local native_dbus_cflags=$($(tc-getPKG_CONFIG) --cflags dbus-1 || die) - # Workaround for bug #938302 - if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then - export DTRACE="${BROOT}"/usr/bin/stap-dtrace - fi - multilib-minimal_src_configure } @@ -183,9 +205,9 @@ multilib_src_configure() { --localstatedir="${EPREFIX}"/var --runstatedir="${EPREFIX}"/run --sbindir="${EPREFIX}"/usr/sbin - --with-pid-path="${EPREFIX}"/run + --with-pid-path="${EPREFIX}"/run/sssd --with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd - --enable-pammoddir="${EPREFIX}$(getpam_mod_dir)" + --enable-pammoddir="${EPREFIX}"/$(getpam_mod_dir) --with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/samba/ldb --with-db-path="${EPREFIX}"/var/lib/sss/db --with-gpo-cache-path="${EPREFIX}"/var/lib/sss/gpo_cache @@ -194,6 +216,8 @@ multilib_src_configure() { --with-mcache-path="${EPREFIX}"/var/lib/sss/mc --with-secrets-db-path="${EPREFIX}"/var/lib/sss/secrets --with-log-path="${EPREFIX}"/var/log/sssd + --with-tmpfilesdir=/usr/lib/tmpfiles.d + --with-udevrulesdir="$(get_udevdir)/rules.d" --with-kcm --enable-kcm-renewal --with-os=gentoo @@ -203,9 +227,8 @@ multilib_src_configure() { --disable-valgrind $(use_with samba) --with-smb-idmap-interface-version=6 - $(multilib_native_use_enable acl cifs-idmap-plugin) + --enable-cifs-idmap-plugin $(multilib_native_use_with selinux) - $(multilib_native_use_with selinux semanage) --enable-krb5-locator-plugin $(use_enable samba pac-responder) $(multilib_native_use_with nfsv4 nfsv4-idmapd-plugin) @@ -215,7 +238,7 @@ multilib_src_configure() { --with-sudo $(multilib_native_with autofs) $(multilib_native_with ssh) - --without-oidc-child + $(multilib_native_use_with openid oidc-child) $(multilib_native_with passkey) --with-subid $(use_enable systemtap) @@ -223,13 +246,14 @@ multilib_src_configure() { $(multilib_native_use_with python python3-bindings) # Annoyingly configure requires that you pick systemd XOR sysv --with-initscript=$(usex systemd systemd sysv) + --with-sssd-user=sssd KRB5_CONFIG="${ESYSROOT}"/usr/bin/krb5-config - # Needed for Samba 4.21 CPPFLAGS="${CPPFLAGS} -I${ESYSROOT}/usr/include/samba-4.0" ) use systemd && myconf+=( --with-systemdunitdir=$(systemd_get_systemunitdir) + --with-syslog=$(usex systemd journald syslog) ) if ! multilib_is_native_abi; then @@ -241,6 +265,7 @@ multilib_src_configure() { {DHASH,UNISTRING,INI_CONFIG_V{0,1,1_1,1_3}}_{CFLAGS,LIBS}=' ' {PCRE,CARES,SYSTEMD_LOGIN,SASL,DBUS,CRYPTO,P11_KIT}_{CFLAGS,LIBS}=' ' {NDR_NBT,SAMBA_UTIL,SMBCLIENT,NDR_KRB5PAC,JANSSON}_{CFLAGS,LIBS}=' ' + JOURNALD_{CFLAGS,LIBS}=' ' # use native include path for dbus (needed for build) DBUS_CFLAGS="${native_dbus_cflags}" @@ -320,6 +345,8 @@ multilib_src_install_all() { keepdir /var/lib/sss/pubconf/krb5.include.d keepdir /var/lib/sss/secrets keepdir /var/log/sssd + keepdir /etc/sssd/conf.d + keepdir /etc/sssd/pki # strip empty dirs if ! use doc; then @@ -332,6 +359,10 @@ multilib_src_install_all() { } pkg_postinst() { + fcaps_pkg_postinst + udev_reload + tmpfiles_process sssd-tmpfiles.conf + echo elog "You must set up sssd.conf (default installed into /etc/sssd)" elog "and (optionally) configuration in /etc/pam.d in order to use SSSD" elog "features." @@ -343,3 +374,7 @@ pkg_postinst() { ewarn "sssctl analyze will not work because the python USE flag is disabled." fi } + +pkg_postrm() { + udev_reload +} diff --git a/sdk_container/src/third_party/portage-stable/sys-auth/sssd/sssd-2.13.1.ebuild b/sdk_container/src/third_party/portage-stable/sys-auth/sssd/sssd-2.13.1.ebuild new file mode 100644 index 00000000000..89a4b7d3dee --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-auth/sssd/sssd-2.13.1.ebuild @@ -0,0 +1,380 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PLOCALES="ca de es fr ja ko pt_BR ru sv tr" +PLOCALES_BIN="${PLOCALES} bg cs eu fi hu id it ka nb nl pl pt tg zh_TW zh_CN" +PLOCALE_BACKUP="sv" +PYTHON_COMPAT=( python3_{11..14} ) + +inherit autotools fcaps linux-info multilib-minimal optfeature plocale \ + python-single-r1 pam systemd tmpfiles udev toolchain-funcs verify-sig + +DESCRIPTION="System Security Services Daemon provides access to identity and authentication" +HOMEPAGE="https://github.com/SSSD/sssd" +if [[ ${PV} != 9999 ]]; then + SRC_URI="https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz + https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz.asc" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~sparc ~x86" +else + inherit git-r3 + EGIT_REPO_URI="https://github.com/SSSD/sssd.git" + EGIT_BRANCH="master" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="doc +netlink nfsv4 nls openid passkey python samba selinux systemd systemtap test" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( openid )" +RESTRICT="!test? ( test )" + +DEPEND=" + >=app-crypt/mit-krb5-1.19.1[${MULTILIB_USEDEP}] + app-crypt/p11-kit + >=dev-libs/ding-libs-0.2 + >=dev-libs/cyrus-sasl-2.1.25-r3[kerberos] + dev-libs/jansson:= + dev-libs/libpcre2:= + dev-libs/libunistring:=[${MULTILIB_USEDEP}] + >=dev-libs/popt-1.16 + >=dev-libs/openssl-1.0.2:= + >=net-dns/bind-9.9[gssapi] + >=net-dns/c-ares-1.10.0-r1:=[${MULTILIB_USEDEP}] + >=net-nds/openldap-2.4.30:=[sasl,experimental] + net-fs/cifs-utils[acl] + >=sys-apps/dbus-1.6 + >=sys-apps/keyutils-1.5:= + sys-libs/libcap:=[${MULTILIB_USEDEP}] + >=sys-libs/pam-0-r1[${MULTILIB_USEDEP}] + >=sys-libs/talloc-2.0.7 + >=sys-libs/tdb-1.2.9 + >=sys-libs/tevent-0.9.16 + virtual/ldb:= + virtual/libintl + netlink? ( dev-libs/libnl:3 ) + nfsv4? ( >=net-fs/nfs-utils-2.3.1-r2 ) + nls? ( >=sys-devel/gettext-0.18 ) + openid? ( + dev-libs/jose + net-misc/curl + ) + passkey? ( dev-libs/libfido2:= ) + python? ( + ${PYTHON_DEPS} + systemd? ( + $(python_gen_cond_dep ' + dev-python/python-systemd[${PYTHON_USEDEP}] + ') + ) + ) + samba? ( >=net-fs/samba-4.10.2[winbind] ) + selinux? ( + >=sys-libs/libselinux-2.1.9 + >=sys-libs/libsemanage-2.1 + ) + systemd? ( + sys-apps/systemd:= + sys-apps/util-linux + ) + systemtap? ( dev-debug/systemtap )" +RDEPEND="${DEPEND} + acct-user/sssd + acct-group/sssd + selinux? ( >=sec-policy/selinux-sssd-2.20120725-r9 )" +DEPEND+=" + sys-apps/shadow" +BDEPEND=" + acct-user/sssd + acct-group/sssd + sys-libs/libcap + virtual/pkgconfig + ${PYTHON_DEPS} + doc? ( app-text/doxygen ) + nls? ( app-text/po4a + sys-devel/gettext ) + test? ( + app-alternatives/bc + dev-libs/check + dev-libs/softhsm:2 + dev-util/cmocka + net-libs/gnutls[pkcs11,tools] + sys-libs/libfaketime + sys-libs/nss_wrapper + sys-libs/pam_wrapper + sys-libs/uid_wrapper + ) + app-text/docbook-xml-dtd:4.4 + >=dev-libs/libxslt-1.1.26 + verify-sig? ( sec-keys/openpgp-keys-sssd ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/sssd.asc + +CONFIG_CHECK="~KEYS" + +PATCHES=( + "${FILESDIR}/${PN}-2.8.2-krb5_pw_locked.patch" + "${FILESDIR}/${PN}-2.9.6-conditional-python-install.patch" + "${FILESDIR}/${PN}-2.10.0_beta2-fix-systemd-systemconfdir.patch" +) + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/ipa_hbac.h + /usr/include/sss_idmap.h + /usr/include/sss_nss_idmap.h + # --with-ifp + /usr/include/sss_sifp.h + /usr/include/sss_sifp_dbus.h + # from 1.15.3 + /usr/include/sss_certmap.h +) + +# mimic upstream's setcap here, they're liable to get lost +# https://github.com/SSSD/sssd/blob/a6d0f0cf484aeeead535b7138d1334b309c61a4e/Makefile.am#L5567 +FILECAPS=( + cap_dac_read_search=p "usr/libexec/sssd/ldap_child" + -- + cap_dac_read_search,cap_setuid,cap_setgid=p "usr/libexec/sssd/krb5_child" + -- + cap_dac_read_search=p "usr/libexec/sssd/sssd_pam" +) + +pkg_setup() { + linux-info_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + default + + plocale_get_locales > src/man/po/LINGUAS || die + + sed -i \ + -e "/_langs]/ s/ .*//" \ + src/man/po/po4a.cfg \ + || die + enable_locale() { + local locale=${1} + + sed -i \ + -e "/_langs]/ s/$/ ${locale}/" \ + src/man/po/po4a.cfg \ + || die + } + + plocale_for_each_locale enable_locale + + PLOCALES="${PLOCALES_BIN}" + plocale_get_locales > po/LINGUAS || die + + sed -i \ + -e 's:/var/run:/run:' \ + src/examples/logrotate \ + || die + + # disable flaky test, see https://github.com/SSSD/sssd/issues/5631 + sed -i \ + -e '/^\s*pam-srv-tests[ \\]*$/d' \ + Makefile.am \ + || die + + # requires valgrind headers installed, see + # https://github.com/SSSD/sssd/pull/7845 + sed -i \ + -e '/^\s*test_iobuf[ \\]*$/d' \ + Makefile.am \ + || die + + eautoreconf + + multilib_copy_sources +} + +src_configure() { + local native_dbus_cflags=$($(tc-getPKG_CONFIG) --cflags dbus-1 || die) + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myconf=() + + myconf+=( + --libexecdir="${EPREFIX}"/usr/libexec + --localstatedir="${EPREFIX}"/var + --runstatedir="${EPREFIX}"/run + --sbindir="${EPREFIX}"/usr/sbin + --with-pid-path="${EPREFIX}"/run/sssd + --with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd + --enable-pammoddir="${EPREFIX}"/$(getpam_mod_dir) + --with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/samba/ldb + --with-db-path="${EPREFIX}"/var/lib/sss/db + --with-gpo-cache-path="${EPREFIX}"/var/lib/sss/gpo_cache + --with-pubconf-path="${EPREFIX}"/var/lib/sss/pubconf + --with-pipe-path="${EPREFIX}"/var/lib/sss/pipes + --with-mcache-path="${EPREFIX}"/var/lib/sss/mc + --with-secrets-db-path="${EPREFIX}"/var/lib/sss/secrets + --with-log-path="${EPREFIX}"/var/log/sssd + --with-tmpfilesdir=/usr/lib/tmpfiles.d + --with-udevrulesdir="$(get_udevdir)/rules.d" + --with-kcm + --enable-kcm-renewal + --with-os=gentoo + --disable-rpath + --disable-static + # Valgrind is only used for tests + --disable-valgrind + $(use_with samba) + --with-smb-idmap-interface-version=6 + --enable-cifs-idmap-plugin + $(multilib_native_use_with selinux) + --enable-krb5-locator-plugin + $(use_enable samba pac-responder) + $(multilib_native_use_with nfsv4 nfsv4-idmapd-plugin) + $(use_enable nls) + $(multilib_native_use_with netlink libnl) + --with-manpages + --with-sudo + $(multilib_native_with autofs) + $(multilib_native_with ssh) + $(multilib_native_use_with openid oidc-child) + $(multilib_native_with passkey) + --with-subid + $(use_enable systemtap) + --without-python2-bindings + $(multilib_native_use_with python python3-bindings) + # Annoyingly configure requires that you pick systemd XOR sysv + --with-initscript=$(usex systemd systemd sysv) + --with-sssd-user=sssd + KRB5_CONFIG="${ESYSROOT}"/usr/bin/krb5-config + CPPFLAGS="${CPPFLAGS} -I${ESYSROOT}/usr/include/samba-4.0" + ) + + use systemd && myconf+=( + --with-systemdunitdir=$(systemd_get_systemunitdir) + --with-syslog=$(usex systemd journald syslog) + ) + + if ! multilib_is_native_abi; then + # work-around all the libraries that are used for CLI and server + myconf+=( + {POPT,TALLOC,TDB,TEVENT,LDB}_{CFLAGS,LIBS}=' ' + # ldb headers are fine since native needs it + # ldb lib fails... but it does not seem to bother + {DHASH,UNISTRING,INI_CONFIG_V{0,1,1_1,1_3}}_{CFLAGS,LIBS}=' ' + {PCRE,CARES,SYSTEMD_LOGIN,SASL,DBUS,CRYPTO,P11_KIT}_{CFLAGS,LIBS}=' ' + {NDR_NBT,SAMBA_UTIL,SMBCLIENT,NDR_KRB5PAC,JANSSON}_{CFLAGS,LIBS}=' ' + JOURNALD_{CFLAGS,LIBS}=' ' + + # use native include path for dbus (needed for build) + DBUS_CFLAGS="${native_dbus_cflags}" + + # non-pkgconfig checks + ac_cv_lib_ldap_ldap_search=yes + --without-kcm + --without-manpages + ) + fi + + econf "${myconf[@]}" +} + +multilib_src_compile() { + if multilib_is_native_abi; then + default + use doc && emake docs + else + emake libnss_sss.la pam_sss.la pam_sss_gss.la + emake sssd_krb5_locator_plugin.la + use samba && emake sssd_pac_plugin.la + fi +} + +multilib_src_test() { + if multilib_is_native_abi; then + local -x CK_TIMEOUT_MULTIPLIER=10 + emake check VERBOSE=yes + fi +} + +multilib_src_install() { + if multilib_is_native_abi; then + emake -j1 DESTDIR="${D}" install + if use python; then + python_fix_shebang "${ED}" + python_optimize + fi + else + # easier than playing with automake... + dopammod .libs/pam_sss.so + dopammod .libs/pam_sss_gss.so + + into / + dolib.so .libs/libnss_sss.so* + + exeinto /usr/$(get_libdir)/krb5/plugins/libkrb5 + doexe .libs/sssd_krb5_locator_plugin.so + + if use samba; then + exeinto /usr/$(get_libdir)/krb5/plugins/authdata + doexe .libs/sssd_pac_plugin.so + fi + fi +} + +multilib_src_install_all() { + einstalldocs + + insinto /etc/sssd + insopts -m600 + doins src/examples/sssd-example.conf + + insinto /etc/logrotate.d + insopts -m644 + newins src/examples/logrotate sssd + + newconfd "${FILESDIR}"/sssd.conf sssd + + keepdir /var/lib/sss/db + keepdir /var/lib/sss/deskprofile + keepdir /var/lib/sss/gpo_cache + keepdir /var/lib/sss/keytabs + keepdir /var/lib/sss/mc + keepdir /var/lib/sss/pipes/private + keepdir /var/lib/sss/pubconf/krb5.include.d + keepdir /var/lib/sss/secrets + keepdir /var/log/sssd + keepdir /etc/sssd/conf.d + keepdir /etc/sssd/pki + + # strip empty dirs + if ! use doc; then + rm -r "${ED}"/usr/share/doc/"${PF}"/doc || die + rm -r "${ED}"/usr/share/doc/"${PF}"/{hbac,idmap,nss_idmap}_doc || die + fi + + rm -r "${ED}"/run || die + find "${ED}" -type f -name '*.la' -delete || die +} + +pkg_postinst() { + fcaps_pkg_postinst + udev_reload + tmpfiles_process sssd-tmpfiles.conf + echo + elog "You must set up sssd.conf (default installed into /etc/sssd)" + elog "and (optionally) configuration in /etc/pam.d in order to use SSSD" + elog "features." + echo + optfeature "Kerberos keytab renew (see krb5_renew_interval)" app-crypt/adcli + + if ! use python; then + echo + ewarn "sssctl analyze will not work because the python USE flag is disabled." + fi +} + +pkg_postrm() { + udev_reload +} diff --git a/sdk_container/src/third_party/portage-stable/sys-auth/sssd/sssd-2.9.7.ebuild b/sdk_container/src/third_party/portage-stable/sys-auth/sssd/sssd-2.9.9.ebuild similarity index 97% rename from sdk_container/src/third_party/portage-stable/sys-auth/sssd/sssd-2.9.7.ebuild rename to sdk_container/src/third_party/portage-stable/sys-auth/sssd/sssd-2.9.9.ebuild index 80f192a4761..c79afc5243f 100644 --- a/sdk_container/src/third_party/portage-stable/sys-auth/sssd/sssd-2.9.7.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-auth/sssd/sssd-2.9.9.ebuild @@ -6,7 +6,7 @@ EAPI=8 PLOCALES="ca de es fr ja ko pt_BR ru sv tr uk" PLOCALES_BIN="${PLOCALES} bg cs eu fi hu id it ka nb nl pl pt tg zh_TW zh_CN" PLOCALE_BACKUP="sv" -PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit autotools linux-info multilib-minimal optfeature plocale \ python-single-r1 pam systemd toolchain-funcs verify-sig @@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/SSSD/sssd" if [[ ${PV} != 9999 ]]; then SRC_URI="https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz https://github.com/SSSD/sssd/releases/download/${PV}/${P}.tar.gz.asc" - KEYWORDS="amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc x86" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" else inherit git-r3 EGIT_REPO_URI="https://github.com/SSSD/sssd.git" @@ -74,7 +74,6 @@ DEPEND=" ) systemtap? ( dev-debug/systemtap )" RDEPEND="${DEPEND} - passkey? ( sys-apps/pcsc-lite[policykit] ) selinux? ( >=sec-policy/selinux-sssd-2.20120725-r9 )" DEPEND+=" sys-apps/shadow" @@ -230,6 +229,7 @@ multilib_src_configure() { use systemd && myconf+=( --with-systemdunitdir=$(systemd_get_systemunitdir) + --with-syslog=$(usex systemd journald syslog) ) if ! multilib_is_native_abi; then @@ -241,6 +241,7 @@ multilib_src_configure() { {DHASH,UNISTRING,INI_CONFIG_V{0,1,1_1,1_3}}_{CFLAGS,LIBS}=' ' {PCRE,CARES,SYSTEMD_LOGIN,SASL,DBUS,CRYPTO,P11_KIT}_{CFLAGS,LIBS}=' ' {NDR_NBT,SAMBA_UTIL,SMBCLIENT,NDR_KRB5PAC,JANSSON}_{CFLAGS,LIBS}=' ' + JOURNALD_{CFLAGS,LIBS}=' ' # use native include path for dbus (needed for build) DBUS_CFLAGS="${native_dbus_cflags}" From e4c43465502ed21d895b4e6ef44055825526651a Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:41:28 +0000 Subject: [PATCH 195/243] sys-devel/binutils: Sync with Gentoo It's from Gentoo commit a35998ad868cee3bff89668ddb09bba30492c657. Signed-off-by: Flatcar Buildbot --- .../sys-devel/binutils/Manifest | 4 + .../binutils/binutils-2.46.1-r1.ebuild | 640 +++++++++++++++++ ....45.9999.ebuild => binutils-2.46.1.ebuild} | 27 +- .../binutils/binutils-2.46.9999.ebuild | 643 ++++++++++++++++++ .../sys-devel/binutils/binutils-9999.ebuild | 23 +- 5 files changed, 1318 insertions(+), 19 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-2.46.1-r1.ebuild rename sdk_container/src/third_party/portage-stable/sys-devel/binutils/{binutils-2.45.9999.ebuild => binutils-2.46.1.ebuild} (95%) create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-2.46.9999.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/binutils/Manifest b/sdk_container/src/third_party/portage-stable/sys-devel/binutils/Manifest index 9a65004a94b..e09886ece26 100644 --- a/sdk_container/src/third_party/portage-stable/sys-devel/binutils/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-devel/binutils/Manifest @@ -31,3 +31,7 @@ DIST binutils-2.45.1.tar.xz 27962312 BLAKE2B 1ccab38659ec47f9100b61322627345fe79 DIST binutils-2.45.tar.xz 27868232 BLAKE2B 1ce72346b1f531c89feb86b407e2c649151b506ffbd1a02d413411d36f7ede98fa9a1adf75dd941c01df5fe7e6bf151828b269eeb7c278315ca8004bff22eb7f SHA512 c7b10a7466d9fd398d7a0b3f2a43318432668d714f2ec70069a31bdc93c86d28e0fe83792195727167743707fbae45337c0873a0786416db53bbf22860c16ce7 DIST binutils-2.46.0-patches-1.tar.xz 6620 BLAKE2B ef5ae8ded0b635c6d85fd5220e23f1b79081369704d82edf2c7d3fc2000adae5899e0920a1fdc64bf1c518bdbeaef09aabff8abecaf3cec0e51596604162f6dd SHA512 b8f555e1ef01a23aa138c9f67b55a70c929d7cd5ec8993c9c7ab1d02d604e51e710713dbea31298291dd0afe3b8c7db85630b6314c2117861e47bd2e9c9d74a9 DIST binutils-2.46.0.tar.xz 28548776 BLAKE2B 9f4fd8897d237eb5003bdf439537dfc5f8c681e9ff939fb06bb8235ed298031ea4cc91611edb640ffc432199d5791289d003fe0d07acce80327dc40595a5eb9e SHA512 32f880bb4f69351f4ae54a5d00359625c6c49d8e76624fb5cffdf174c79c8d3212f66225b81c12933c6ed59604ab652560773dd92fab384b930c97a9d4e1fdf2 +DIST binutils-2.46.1-patches-1.tar.xz 6916 BLAKE2B 4588923757470819d7d0f344b8c1472bad7fc5f53e776a7843d11112a74a71dcaf6849b88685368503fac0315897c662ccd99f94ca7ee8a2e1d1382ddc0b7b44 SHA512 b0fe0aa0c7ac11a1152d05733c939ccf0a51b4295c90bb80fc25db882adbef1d5f50eafab7f9b68d15ac664b9b941e46bc4e7d8577ee9233558c6bb0a0c451ee +DIST binutils-2.46.1-patches-2.tar.xz 9852 BLAKE2B e024d51fc049e71ce215024ed39c4dae2d459f97f83ed1c6dec9cea9da923462150bf830712e1be17b12f804e19454f13d6a663dd2c5724474ac78e46f16068f SHA512 221000686c65e31a1727aba2dd3c2f23172b3423fa0f1d6b277ec0ba01f8846ad85c51483e292cbd5c44f206639e222d34246cefb7660e2c1c4730f421715487 +DIST binutils-2.46.1.tar.xz 28636456 BLAKE2B a5a0578281d6315a43437ccf7636b3b91185c2706f1582b22af6973f55a86f5b4bc7eb03aa9ceaec547070152c08c982bc40ee9ce07679f2e3bb49e050bae76c SHA512 a5c65e56e400ed3fb8906a995dbb93eb5bea54b16344244653d7f44ef29ceb60270da263b19d25302c37759784e14fcb4b9421b29e0e2c7f450bd99f6bb4595c +DIST binutils-2.46.1.tar.xz.sig 395 BLAKE2B 5c8d5fc9fd3abf8de72e603d5f529d8fdef2345851d6af6644e443e95e50558a6b2006914edf54094178075b1ed9e51a630773b7c74e7b421eacba4bb8028a29 SHA512 e7746a14c74a04cee1a7b82bd463ff42f304e3646e4808a03ac7ee8d367a61627297c30816f008b919b8db7cc706062d927f424a787e0f1da3ad432ec18cfa0f diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-2.46.1-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-2.46.1-r1.ebuild new file mode 100644 index 00000000000..7a839ca2206 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-2.46.1-r1.ebuild @@ -0,0 +1,640 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dot-a libtool flag-o-matic gnuconfig strip-linguas toolchain-funcs + +DESCRIPTION="Tools necessary to build programs" +HOMEPAGE="https://sourceware.org/binutils/" + +LICENSE="GPL-3+" +IUSE="cet +debuginfod doc gprofng hardened multitarget +nls pgo +plugins static-libs test vanilla xxhash zstd" + +# Variables that can be set here (ignored for live ebuilds) +# PATCH_VER - the patchset version +# Default: empty, no patching +# PATCH_BINUTILS_VER - the binutils version in the patchset name +# - Default: PV + +PATCH_VER=2 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + SLOT=${PV} +elif [[ ${PV} == *9999 ]]; then + inherit git-r3 + SLOT=$(ver_cut 1-2) +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/binutils.asc + inherit verify-sig + PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}} + SRC_URI=" + mirror://gnu/binutils/binutils-${PV}.tar.xz + https://sourceware.org/pub/binutils/releases/binutils-${PV}.tar.xz + verify-sig? ( mirror://gnu/binutils/binutils-${PV}.tar.xz.sig ) + " + [[ -z ${PATCH_VER} ]] || SRC_URI+=" https://distfiles.gentoo.org/pub/proj/toolchain/binutils/patches/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz" + SLOT=$(ver_cut 1-2) + KEYWORDS="~alpha" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-binutils )" +fi + +# +# The cross-compile logic +# +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} + fi +fi +is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } + +# +# The dependencies +# +RDEPEND=" + >=sys-devel/binutils-config-3 + virtual/zlib:= + debuginfod? ( + dev-libs/elfutils[debuginfod(-)] + ) + zstd? ( app-arch/zstd:= ) +" +DEPEND=" + ${RDEPEND} + xxhash? ( dev-libs/xxhash ) +" +BDEPEND+=" + doc? ( sys-apps/texinfo ) + pgo? ( + dev-util/dejagnu + app-alternatives/bc + ) + test? ( + dev-util/dejagnu + app-alternatives/bc + ) + nls? ( sys-devel/gettext ) + zstd? ( virtual/pkgconfig ) + app-alternatives/lex + app-alternatives/yacc +" + +RESTRICT="!test? ( test )" + +MY_BUILDDIR=${WORKDIR}/build + +src_unpack() { + if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/toolchain/binutils-patches.git + https://github.com/gentoo/binutils-patches + " + EGIT_CHECKOUT_DIR=${WORKDIR}/patches-git + git-r3_src_unpack + + if [[ ${PV} != 9999 ]] ; then + EGIT_BRANCH=binutils-$(ver_cut 1)_$(ver_cut 2)-branch + mv patches-git/${PV%*.9999} patches || die + else + mv patches-git/9999 patches || die + fi + EGIT_REPO_URI=" + https://sourceware.org/git/binutils-gdb.git + https://git.sr.ht/~sourceware/binutils-gdb + https://gitlab.com/x86-binutils/binutils-gdb.git + " + S=${WORKDIR}/binutils + EGIT_CHECKOUT_DIR=${S} + git-r3_src_unpack + else + use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${P/-hppa64/}.tar.xz{,.sig} + unpack ${P/-hppa64/}.tar.xz + + cd "${WORKDIR}" || die + unpack binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz + + # _p patch versions are Gentoo specific tarballs ... + local dir=${P%_p?} + dir=${dir/-hppa64/} + + S=${WORKDIR}/${dir} + fi + + cd "${WORKDIR}" || die + mkdir -p "${MY_BUILDDIR}" || die +} + +src_prepare() { + local patchsetname + if [[ ${PV} == 9999 ]] ; then + patchsetname="from git master" + elif [[ ${PV} == *9999 ]] ; then + patchsetname="from git branch ${EGIT_BRANCH}" + else + patchsetname="${PATCH_BINUTILS_VER}-${PATCH_VER}" + fi + + if [[ -n ${PATCH_VER} ]] || [[ ${PV} == *9999 ]] ; then + if ! use vanilla; then + einfo "Applying binutils patchset ${patchsetname}" + eapply "${WORKDIR}/patches" + einfo "Done." + + # This is applied conditionally for now just out of caution. + # It should be okay on non-prefix systems though. See bug #892549. + if is_cross || use prefix; then + eapply "${FILESDIR}"/binutils-2.40-linker-search-path.patch \ + "${FILESDIR}"/binutils-2.43-linker-prefix.patch + fi + fi + fi + + # Make sure our explicit libdir paths don't get clobbered, bug #562460 + sed -i \ + -e 's:@bfdlibdir@:@libdir@:g' \ + -e 's:@bfdincludedir@:@includedir@:g' \ + {bfd,opcodes}/Makefile.in || die + + # Apply things from PATCHES and user dirs + default + + # Run misc portage update scripts + gnuconfig_update + elibtoolize --portage --no-uclibc +} + +toolchain-binutils_bugurl() { + printf "https://bugs.gentoo.org/" +} +toolchain-binutils_pkgversion() { + printf "Gentoo ${PV}" + [[ -n ${PATCH_VER} ]] && printf " p${PATCH_VER}" +} + +src_configure() { + # See https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html + # Avoid really confusing logs from subconfigure spam, makes logs far + # more legible. + MAKEOPTS="--output-sync=line ${MAKEOPTS}" + + # Setup some paths + LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV} + INCPATH=${LIBPATH}/include + DATAPATH=/usr/share/binutils-data/${CTARGET}/${PV} + if is_cross ; then + TOOLPATH=/usr/${CHOST}/${CTARGET} + else + TOOLPATH=/usr/${CTARGET} + fi + BINPATH=${TOOLPATH}/binutils-bin/${PV} + + # Make sure we filter $LINGUAS so that only ones that + # actually work make it through, bug #42033 + strip-linguas -u */po + + # Keep things sane + strip-flags + use cet && filter-flags -mindirect-branch -mindirect-branch=* + use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 + lto-guarantee-fat + + local x + echo + for x in CATEGORY CBUILD CHOST CTARGET CFLAGS LDFLAGS ; do + einfo "$(printf '%10s' ${x}:) ${!x}" + done + echo + + cd "${MY_BUILDDIR}" || die + local myconf=() + + if use plugins ; then + myconf+=( --enable-plugins ) + fi + + if use nls ; then + myconf+=( --without-included-gettext ) + else + myconf+=( --disable-nls ) + fi + + myconf+=( --with-system-zlib ) + + # For bi-arch systems, enable a 64bit bfd. This matches the bi-arch + # logic in toolchain.eclass. bug #446946 + # + # We used to do it for everyone, but it's slow on 32bit arches. bug #438522 + case $(tc-arch) in + ppc|sparc|x86) myconf+=( --enable-64-bit-bfd ) ;; + esac + + use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd ) + + [[ -n ${CBUILD} ]] && myconf+=( --build=${CBUILD} ) + + is_cross && myconf+=( + --with-sysroot="${EPREFIX}"/usr/${CTARGET} + --enable-poison-system-directories + ) + + myconf+=( --enable-secureplt ) + + # mips can't do hash-style=gnu ... + if [[ $(tc-arch) != mips ]] ; then + myconf+=( --enable-default-hash-style=gnu ) + fi + + myconf+=( + --prefix="${EPREFIX}"/usr + --host=${CHOST} + --target=${CTARGET} + --datadir="${EPREFIX}"${DATAPATH} + --datarootdir="${EPREFIX}"${DATAPATH} + --infodir="${EPREFIX}"${DATAPATH}/info + --mandir="${EPREFIX}"${DATAPATH}/man + --bindir="${EPREFIX}"${BINPATH} + --libdir="${EPREFIX}"${LIBPATH} + --libexecdir="${EPREFIX}"${LIBPATH} + --includedir="${EPREFIX}"${INCPATH} + # portage's econf() does not detect presence of --d-d-t + # because it greps only top-level ./configure. But not + # libiberty's or bfd's configure. + --disable-dependency-tracking + --disable-silent-rules + --enable-obsolete + --enable-shared + --enable-threads + --enable-relro + --enable-install-libiberty + --enable-textrel-check=$(usex hardened error warning) + # Things to think about + #--enable-deterministic-archives + --enable-new-dtags + --disable-jansson + --disable-werror + --with-bugurl="$(toolchain-binutils_bugurl)" + --with-pkgversion="$(toolchain-binutils_pkgversion)" + $(use_enable static-libs static) + $(use_with xxhash) + $(use_with zstd) + + # Disable modules that are in a combined binutils/gdb tree, bug #490566 + --disable-{gdb,gdbserver,libbacktrace,libdecnumber,readline,sim} + # Strip out broken static link flags: https://gcc.gnu.org/PR56750 + --without-stage1-ldflags + # Change SONAME to avoid conflict across {native,cross}/binutils, binutils-libs. bug #666100 + --with-extra-soversion-suffix=gentoo-${CATEGORY}-${PN}-$(usex multitarget mt st) + + $(use_with debuginfod) + + # Avoid automagic dev-libs/msgpack dep, bug #865875 + --without-msgpack + + # Allow user to opt into CET for host libraries. + # Ideally we would like automagic-or-disabled here. + # But the check does not quite work on i686: bug #760926. + $(use_enable cet) + + # We can enable this by default in future, but it's brand new + # in 2.39 with several bugs: + # - Doesn't build on musl (https://sourceware.org/PR29477) + # - No man pages (https://sourceware.org/PR29521) + # - Broken at runtime without Java (https://sourceware.org/PR29479) + # - binutils-config (and this ebuild?) needs adaptation first (https://bugs.gentoo.org/865113) + $(use_enable gprofng) + + # Enables colored disassembly by default (equivalent to passing + # --disassembler-color=terminal to all objdump invocations). + --enable-colored-disassembly + ) + + case ${CTARGET} in + x86_64-*|aarch64*|arm64*|i[3456]*) + # These hardening options are available from 2.39+ but + # they unconditionally enable the behaviour even on arches + # where e.g. execstacks can't be avoided. + # See https://sourceware.org/PR29592. + # + # TODO: Get the logic for this fixed upstream so it doesn't + # create impossible broken combinations on some arches, like mips. + # + # TODO: Get the logic for this fixed upstream so --disable-* works + # as expected. + myconf+=( + --enable-warn-execstack=yes + --enable-warn-rwx-segments=yes + ) + + if use hardened ; then + myconf+=( + # TODO: breaks glibc test suite + #--enable-error-execstack=yes + #--enable-error-rwx-segments=yes + --enable-default-execstack=no + ) + fi + ;; + *) + ;; + esac + + if use elibc_musl ; then + # Override our earlier setting for musl, as textrels don't + # work there at all. See bug #707660. + myconf+=( + --enable-textrel-check=error + ) + fi + + if use test || { use pgo && tc-is-lto ; } ; then + # -Wa,* needs to be consistent everywhere or lto-wrapper will complain + filter-flags '-Wa,*' + fi + + if ! is_cross ; then + myconf+=( $(use_enable pgo pgo-build $(tc-is-lto && echo "lto" || echo "yes")) ) + + if use pgo ; then + # We let configure handle it for us because it has to run + # the testsuite later on for profiling, and LTO isn't compatible + # with the testsuite. + filter-lto + + # bug #637066 + filter-flags -Wall -Wreturn-type + + export BUILD_CFLAGS="${CFLAGS}" + fi + fi + + ECONF_SOURCE="${S}" econf "${myconf[@]}" + + # Prevent makeinfo from running if doc is unset. + if ! use doc ; then + sed -i \ + -e '/^MAKEINFO/s:=.*:= true:' \ + Makefile || die + fi +} + +src_compile() { + cd "${MY_BUILDDIR}" || die + + # see Note [tooldir hack for ldscripts] + # see linker prefix patch + emake \ + tooldir="${EPREFIX}${TOOLPATH}" \ + gentoo_prefix=$(usex prefix-guest "${EPREFIX}"/usr /usr) \ + all + + # only build info pages if the user wants them + if use doc ; then + emake info + fi + + # we nuke the manpages when we're left with junk + # (like when we bootstrap, no perl -> no manpages) + find . -name '*.1' -a -size 0 -delete +} + +src_test() { + cd "${MY_BUILDDIR}" || die + + ( + # Tests don't expect LTO + filter-lto + + # If we have e.g. -mfpmath=sse -march=pentium4 in CFLAGS, + # we'll get lto1 warnings for some tests which cause + # spurious failures because -mfpmath isn't passed at + # link-time. Filter accordingly. + # + # Alternatively, we could pass C{C,XX}_FOR_TARGET with + # some (ideally not all, surely would break some tests) + # stuffed in. + filter-flags '-mfpmath=*' + + # lto-wrapper warnings which confuse tests + filter-flags '-Wa,*' + + # bug #637066 + filter-flags -Wall -Wreturn-type + + emake -k check \ + CFLAGS_FOR_TARGET="${CFLAGS_FOR_TARGET:-${CFLAGS}}" \ + CXXFLAGS_FOR_TARGET="${CXXFLAGS_FOR_TARGET:-${CXXFLAGS}}" \ + LDFLAGS_FOR_TARGET="${LDFLAGS_FOR_TARGET:-${LDFLAGS}}" \ + CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS}" + ) +} + +src_install() { + local x d + + cd "${MY_BUILDDIR}" || die + + # see Note [tooldir hack for ldscripts] + emake DESTDIR="${D}" tooldir="${EPREFIX}${LIBPATH}" install + rm -rf "${ED}"/${LIBPATH}/bin || die + use static-libs || find "${ED}" -name '*.la' -delete + # Explicit "${ED}" as we need it to do things even w/ USE=-static-libs + strip-lto-bytecode "${ED}" + + # Newer versions of binutils get fancy with ${LIBPATH}, bug #171905 + cd "${ED}"/${LIBPATH} || die + for d in ../* ; do + [[ ${d} == ../${PV} ]] && continue + mv ${d}/* . || die + rmdir ${d} || die + done + + # Now we collect everything intp the proper SLOT-ed dirs + # When something is built to cross-compile, it installs into + # /usr/$CHOST/ by default ... we have to 'fix' that :) + if is_cross ; then + cd "${ED}"/${BINPATH} || die + for x in * ; do + mv ${x} ${x/${CTARGET}-} || die + done + + if [[ -d ${ED}/usr/${CHOST}/${CTARGET} ]] ; then + mv "${ED}"/usr/${CHOST}/${CTARGET}/include "${ED}"/${INCPATH} + mv "${ED}"/usr/${CHOST}/${CTARGET}/lib/* "${ED}"/${LIBPATH}/ + rm -r "${ED}"/usr/${CHOST}/{include,lib} + fi + fi + + insinto ${INCPATH} + local libiberty_headers=( + # Not all the libiberty headers. See libiberty/Makefile.in:install_to_libdir. + demangle.h + dyn-string.h + fibheap.h + hashtab.h + libiberty.h + objalloc.h + splay-tree.h + ) + doins "${libiberty_headers[@]/#/${S}/include/}" + if [[ -d ${ED}/${LIBPATH}/lib ]] ; then + mv "${ED}"/${LIBPATH}/lib/* "${ED}"/${LIBPATH}/ || die + rm -r "${ED}"/${LIBPATH}/lib || die + fi + + # Generate an env.d entry for this binutils + insinto /etc/env.d/binutils + cat <<-EOF > "${T}"/env.d + TARGET="${CTARGET}" + VER="${PV}" + LIBPATH="${EPREFIX}${LIBPATH}" + EOF + newins "${T}"/env.d ${CTARGET}-${PV} + + # Handle documentation + if ! is_cross ; then + cd "${S}" || die + dodoc README + + docinto bfd + dodoc bfd/ChangeLog* bfd/README bfd/PORTING bfd/TODO + + docinto binutils + dodoc binutils/ChangeLog binutils/NEWS binutils/README + + docinto gas + dodoc gas/ChangeLog* gas/CONTRIBUTORS gas/NEWS gas/README* + + docinto gprof + dodoc gprof/ChangeLog* gprof/TEST gprof/TODO gprof/bbconv.pl + + docinto ld + dodoc ld/ChangeLog* ld/README ld/NEWS ld/TODO + + docinto libiberty + dodoc libiberty/ChangeLog* libiberty/README + + docinto opcodes + dodoc opcodes/ChangeLog* + fi + + # Remove shared info pages + rm -f "${ED}"/${DATAPATH}/info/{dir,configure.info,standards.info} + + docompress "${DATAPATH}"/{info,man} + + # Trim all empty dirs + find "${ED}" -depth -type d -exec rmdir {} + 2>/dev/null +} + +# Simple test to make sure our new binutils isn't completely broken. +# Skip if this binutils is a cross compiler. +binutils_sanity_check() { + pushd "${T}" >/dev/null + + einfo "Last-minute run tests with binutils in ${ED}${BINPATH} ..." + + cat <<-EOF > "${T}"/number.c + int get_magic_number() { + return 42; + } + EOF + + cat <<-EOF > "${T}"/test.c + #include + int get_magic_number(); + + int main() { + printf("Hello Gentoo! Your magic number is: %d\n", get_magic_number()); + } + EOF + + local -x LD_LIBRARY_PATH="${ED}${LIBPATH}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}" + + local opt opt2 + # TODO: test multilib variants? + for opt in '' '-O2' ; do + # TODO: add static-pie? we need to check if support exists, though (bug #965478) + for opt2 in '-static' '-fno-PIE -no-pie' ; do + $(tc-getCC) ${opt} ${opt2} -B"${ED}${BINPATH}" "${T}"/number.c "${T}"/test.c -o "${T}"/test + if "${T}"/test | grep -q "Hello Gentoo! Your magic number is: 42" ; then + :; + else + die "Test with '${opt} ${opt2}' failed! Aborting to avoid broken binutils!" + fi + done + done + + popd >/dev/null +} + +pkg_preinst() { + [[ -n ${ROOT} ]] && return 0 + [[ -n ${EPREFIX} ]] && return 0 + [[ -d ${ED}${BINPATH} ]] || return 0 + [[ -n ${BOOTSTRAP_RAP} ]] || return 0 + is_cross && return 0 + binutils_sanity_check +} + +pkg_postinst() { + # Make sure this ${CTARGET} has a binutils version selected + [[ -e ${EROOT}/etc/env.d/binutils/config-${CTARGET} ]] && return 0 + binutils-config ${CTARGET}-${PV} || eerror binutils-config returned an error +} + +pkg_postrm() { + local current_profile=$(binutils-config -c ${CTARGET}) + + # If no other versions exist, then uninstall for this + # target ... otherwise, switch to the newest version + # Note: only do this if this version is unmerged. We + # rerun binutils-config if this is a remerge, as + # we want the mtimes on the symlinks updated (if + # it is the same as the current selected profile) + if [[ ! -e ${EPREFIX}${BINPATH}/ld ]] && [[ ${current_profile} == ${CTARGET}-${PV} ]] ; then + local choice=$(binutils-config -l | grep ${CTARGET} | awk '{print $2}') + choice=${choice//$'\n'/ } + choice=${choice/* } + if [[ -z ${choice} ]] ; then + binutils-config -u ${CTARGET} || eerror binutils-config returned an error + else + binutils-config ${choice} || eerror binutils-config returned an error + fi + elif [[ $(CHOST=${CTARGET} binutils-config -c) == ${CTARGET}-${PV} ]] ; then + binutils-config ${CTARGET}-${PV} || eerror binutils-config returned an error + fi +} + +# Note [slotting support] +# ----------------------- +# Gentoo's layout for binutils files is non-standard as Gentoo +# supports slotted installation for binutils. Many tools +# still expect binutils to reside in known locations. +# binutils-config package restores symlinks into known locations, +# like: +# /usr/bin/${CTARGET}- +# /usr/bin/${CHOST}/${CTARGET}/lib/ldscrips +# /usr/include/ +# +# Note [tooldir hack for ldscripts] +# --------------------------------- +# Build system does not allow ./configure to tweak every location +# we need for slotting binutils hence all the shuffling in +# src_install(). This note is about SCRIPTDIR define handling. +# +# SCRIPTDIR defines 'ldscripts/' directory location. SCRIPTDIR value +# is set at build-time in ld/Makefile.am as: 'scriptdir = $(tooldir)/lib' +# and hardcoded as -DSCRIPTDIR='"$(scriptdir)"' at compile time. +# Thus we can't just move files around after compilation finished. +# +# Our goal is the following: +# - at build-time set scriptdir to point to symlinked location: +# ${TOOLPATH}: /usr/${CHOST} (or /usr/${CHOST}/${CTARGET} for cross-case) +# - at install-time set scriptdir to point to slotted location: +# ${LIBPATH}: /usr/$(get_libdir)/binutils/${CTARGET}/${PV} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-2.45.9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-2.46.1.ebuild similarity index 95% rename from sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-2.45.9999.ebuild rename to sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-2.46.1.ebuild index 7f793e68fcd..390f2051685 100644 --- a/sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-2.45.9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-2.46.1.ebuild @@ -20,7 +20,6 @@ IUSE="cet +debuginfod doc gprofng hardened multitarget +nls pgo +plugins static- # for the patchsets PATCH_VER=1 -PATCH_DEV=dilfridge if [[ ${PV} == 9999 ]]; then inherit git-r3 @@ -29,13 +28,20 @@ elif [[ ${PV} == *9999 ]]; then inherit git-r3 SLOT=$(ver_cut 1-2) else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/binutils.asc + inherit verify-sig PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}} PATCH_DEV=${PATCH_DEV:-dilfridge} - SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz https://sourceware.org/pub/binutils/releases/binutils-${PV}.tar.xz https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PV}.tar.xz" - [[ -z ${PATCH_VER} ]] || SRC_URI="${SRC_URI} - https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz" + SRC_URI=" + mirror://gnu/binutils/binutils-${PV}.tar.xz + https://sourceware.org/pub/binutils/releases/binutils-${PV}.tar.xz + verify-sig? ( mirror://gnu/binutils/binutils-${PV}.tar.xz.sig ) + " + [[ -z ${PATCH_VER} ]] || SRC_URI+=" https://distfiles.gentoo.org/pub/proj/toolchain/binutils/patches/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz" SLOT=$(ver_cut 1-2) - #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-binutils )" fi # @@ -64,7 +70,7 @@ DEPEND=" ${RDEPEND} xxhash? ( dev-libs/xxhash ) " -BDEPEND=" +BDEPEND+=" doc? ( sys-apps/texinfo ) pgo? ( dev-util/dejagnu @@ -95,9 +101,9 @@ src_unpack() { if [[ ${PV} != 9999 ]] ; then EGIT_BRANCH=binutils-$(ver_cut 1)_$(ver_cut 2)-branch - mv patches-git/${PV%*.9999} patch || die + mv patches-git/${PV%*.9999} patches || die else - mv patches-git/9999 patch || die + mv patches-git/9999 patches || die fi EGIT_REPO_URI=" https://sourceware.org/git/binutils-gdb.git @@ -108,6 +114,7 @@ src_unpack() { EGIT_CHECKOUT_DIR=${S} git-r3_src_unpack else + use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${P/-hppa64/}.tar.xz{,.sig} unpack ${P/-hppa64/}.tar.xz cd "${WORKDIR}" || die @@ -137,7 +144,7 @@ src_prepare() { if [[ -n ${PATCH_VER} ]] || [[ ${PV} == *9999 ]] ; then if ! use vanilla; then einfo "Applying binutils patchset ${patchsetname}" - eapply "${WORKDIR}/patch" + eapply "${WORKDIR}/patches" einfo "Done." # This is applied conditionally for now just out of caution. @@ -194,8 +201,6 @@ src_configure() { # Keep things sane strip-flags - # Adds a property which confuses tests (PR33267) - filter-flags '-mno-direct-extern-access' use cet && filter-flags -mindirect-branch -mindirect-branch=* use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 lto-guarantee-fat diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-2.46.9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-2.46.9999.ebuild new file mode 100644 index 00000000000..390f2051685 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-2.46.9999.ebuild @@ -0,0 +1,643 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dot-a libtool flag-o-matic gnuconfig strip-linguas toolchain-funcs + +DESCRIPTION="Tools necessary to build programs" +HOMEPAGE="https://sourceware.org/binutils/" + +LICENSE="GPL-3+" +IUSE="cet +debuginfod doc gprofng hardened multitarget +nls pgo +plugins static-libs test vanilla xxhash zstd" + +# Variables that can be set here (ignored for live ebuilds) +# PATCH_VER - the patchset version +# Default: empty, no patching +# PATCH_BINUTILS_VER - the binutils version in the patchset name +# - Default: PV +# PATCH_DEV - Use download URI https://dev.gentoo.org/~{PATCH_DEV}/distfiles/... +# for the patchsets + +PATCH_VER=1 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + SLOT=${PV} +elif [[ ${PV} == *9999 ]]; then + inherit git-r3 + SLOT=$(ver_cut 1-2) +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/binutils.asc + inherit verify-sig + PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}} + PATCH_DEV=${PATCH_DEV:-dilfridge} + SRC_URI=" + mirror://gnu/binutils/binutils-${PV}.tar.xz + https://sourceware.org/pub/binutils/releases/binutils-${PV}.tar.xz + verify-sig? ( mirror://gnu/binutils/binutils-${PV}.tar.xz.sig ) + " + [[ -z ${PATCH_VER} ]] || SRC_URI+=" https://distfiles.gentoo.org/pub/proj/toolchain/binutils/patches/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz" + SLOT=$(ver_cut 1-2) + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-binutils )" +fi + +# +# The cross-compile logic +# +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} + fi +fi +is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; } + +# +# The dependencies +# +RDEPEND=" + >=sys-devel/binutils-config-3 + virtual/zlib:= + debuginfod? ( + dev-libs/elfutils[debuginfod(-)] + ) + zstd? ( app-arch/zstd:= ) +" +DEPEND=" + ${RDEPEND} + xxhash? ( dev-libs/xxhash ) +" +BDEPEND+=" + doc? ( sys-apps/texinfo ) + pgo? ( + dev-util/dejagnu + app-alternatives/bc + ) + test? ( + dev-util/dejagnu + app-alternatives/bc + ) + nls? ( sys-devel/gettext ) + zstd? ( virtual/pkgconfig ) + app-alternatives/lex + app-alternatives/yacc +" + +RESTRICT="!test? ( test )" + +MY_BUILDDIR=${WORKDIR}/build + +src_unpack() { + if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/toolchain/binutils-patches.git + https://github.com/gentoo/binutils-patches + " + EGIT_CHECKOUT_DIR=${WORKDIR}/patches-git + git-r3_src_unpack + + if [[ ${PV} != 9999 ]] ; then + EGIT_BRANCH=binutils-$(ver_cut 1)_$(ver_cut 2)-branch + mv patches-git/${PV%*.9999} patches || die + else + mv patches-git/9999 patches || die + fi + EGIT_REPO_URI=" + https://sourceware.org/git/binutils-gdb.git + https://git.sr.ht/~sourceware/binutils-gdb + https://gitlab.com/x86-binutils/binutils-gdb.git + " + S=${WORKDIR}/binutils + EGIT_CHECKOUT_DIR=${S} + git-r3_src_unpack + else + use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${P/-hppa64/}.tar.xz{,.sig} + unpack ${P/-hppa64/}.tar.xz + + cd "${WORKDIR}" || die + unpack binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz + + # _p patch versions are Gentoo specific tarballs ... + local dir=${P%_p?} + dir=${dir/-hppa64/} + + S=${WORKDIR}/${dir} + fi + + cd "${WORKDIR}" || die + mkdir -p "${MY_BUILDDIR}" || die +} + +src_prepare() { + local patchsetname + if [[ ${PV} == 9999 ]] ; then + patchsetname="from git master" + elif [[ ${PV} == *9999 ]] ; then + patchsetname="from git branch ${EGIT_BRANCH}" + else + patchsetname="${PATCH_BINUTILS_VER}-${PATCH_VER}" + fi + + if [[ -n ${PATCH_VER} ]] || [[ ${PV} == *9999 ]] ; then + if ! use vanilla; then + einfo "Applying binutils patchset ${patchsetname}" + eapply "${WORKDIR}/patches" + einfo "Done." + + # This is applied conditionally for now just out of caution. + # It should be okay on non-prefix systems though. See bug #892549. + if is_cross || use prefix; then + eapply "${FILESDIR}"/binutils-2.40-linker-search-path.patch \ + "${FILESDIR}"/binutils-2.43-linker-prefix.patch + fi + fi + fi + + # Make sure our explicit libdir paths don't get clobbered, bug #562460 + sed -i \ + -e 's:@bfdlibdir@:@libdir@:g' \ + -e 's:@bfdincludedir@:@includedir@:g' \ + {bfd,opcodes}/Makefile.in || die + + # Apply things from PATCHES and user dirs + default + + # Run misc portage update scripts + gnuconfig_update + elibtoolize --portage --no-uclibc +} + +toolchain-binutils_bugurl() { + printf "https://bugs.gentoo.org/" +} +toolchain-binutils_pkgversion() { + printf "Gentoo ${PV}" + [[ -n ${PATCH_VER} ]] && printf " p${PATCH_VER}" +} + +src_configure() { + # See https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html + # Avoid really confusing logs from subconfigure spam, makes logs far + # more legible. + MAKEOPTS="--output-sync=line ${MAKEOPTS}" + + # Setup some paths + LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV} + INCPATH=${LIBPATH}/include + DATAPATH=/usr/share/binutils-data/${CTARGET}/${PV} + if is_cross ; then + TOOLPATH=/usr/${CHOST}/${CTARGET} + else + TOOLPATH=/usr/${CTARGET} + fi + BINPATH=${TOOLPATH}/binutils-bin/${PV} + + # Make sure we filter $LINGUAS so that only ones that + # actually work make it through, bug #42033 + strip-linguas -u */po + + # Keep things sane + strip-flags + use cet && filter-flags -mindirect-branch -mindirect-branch=* + use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 + lto-guarantee-fat + + local x + echo + for x in CATEGORY CBUILD CHOST CTARGET CFLAGS LDFLAGS ; do + einfo "$(printf '%10s' ${x}:) ${!x}" + done + echo + + cd "${MY_BUILDDIR}" || die + local myconf=() + + if use plugins ; then + myconf+=( --enable-plugins ) + fi + + if use nls ; then + myconf+=( --without-included-gettext ) + else + myconf+=( --disable-nls ) + fi + + myconf+=( --with-system-zlib ) + + # For bi-arch systems, enable a 64bit bfd. This matches the bi-arch + # logic in toolchain.eclass. bug #446946 + # + # We used to do it for everyone, but it's slow on 32bit arches. bug #438522 + case $(tc-arch) in + ppc|sparc|x86) myconf+=( --enable-64-bit-bfd ) ;; + esac + + use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd ) + + [[ -n ${CBUILD} ]] && myconf+=( --build=${CBUILD} ) + + is_cross && myconf+=( + --with-sysroot="${EPREFIX}"/usr/${CTARGET} + --enable-poison-system-directories + ) + + myconf+=( --enable-secureplt ) + + # mips can't do hash-style=gnu ... + if [[ $(tc-arch) != mips ]] ; then + myconf+=( --enable-default-hash-style=gnu ) + fi + + myconf+=( + --prefix="${EPREFIX}"/usr + --host=${CHOST} + --target=${CTARGET} + --datadir="${EPREFIX}"${DATAPATH} + --datarootdir="${EPREFIX}"${DATAPATH} + --infodir="${EPREFIX}"${DATAPATH}/info + --mandir="${EPREFIX}"${DATAPATH}/man + --bindir="${EPREFIX}"${BINPATH} + --libdir="${EPREFIX}"${LIBPATH} + --libexecdir="${EPREFIX}"${LIBPATH} + --includedir="${EPREFIX}"${INCPATH} + # portage's econf() does not detect presence of --d-d-t + # because it greps only top-level ./configure. But not + # libiberty's or bfd's configure. + --disable-dependency-tracking + --disable-silent-rules + --enable-obsolete + --enable-shared + --enable-threads + --enable-relro + --enable-install-libiberty + --enable-textrel-check=$(usex hardened error warning) + # Things to think about + #--enable-deterministic-archives + --enable-new-dtags + --disable-jansson + --disable-werror + --with-bugurl="$(toolchain-binutils_bugurl)" + --with-pkgversion="$(toolchain-binutils_pkgversion)" + $(use_enable static-libs static) + $(use_with xxhash) + $(use_with zstd) + + # Disable modules that are in a combined binutils/gdb tree, bug #490566 + --disable-{gdb,gdbserver,libbacktrace,libdecnumber,readline,sim} + # Strip out broken static link flags: https://gcc.gnu.org/PR56750 + --without-stage1-ldflags + # Change SONAME to avoid conflict across {native,cross}/binutils, binutils-libs. bug #666100 + --with-extra-soversion-suffix=gentoo-${CATEGORY}-${PN}-$(usex multitarget mt st) + + $(use_with debuginfod) + + # Avoid automagic dev-libs/msgpack dep, bug #865875 + --without-msgpack + + # Allow user to opt into CET for host libraries. + # Ideally we would like automagic-or-disabled here. + # But the check does not quite work on i686: bug #760926. + $(use_enable cet) + + # We can enable this by default in future, but it's brand new + # in 2.39 with several bugs: + # - Doesn't build on musl (https://sourceware.org/PR29477) + # - No man pages (https://sourceware.org/PR29521) + # - Broken at runtime without Java (https://sourceware.org/PR29479) + # - binutils-config (and this ebuild?) needs adaptation first (https://bugs.gentoo.org/865113) + $(use_enable gprofng) + + # Enables colored disassembly by default (equivalent to passing + # --disassembler-color=terminal to all objdump invocations). + --enable-colored-disassembly + ) + + case ${CTARGET} in + x86_64-*|aarch64*|arm64*|i[3456]*) + # These hardening options are available from 2.39+ but + # they unconditionally enable the behaviour even on arches + # where e.g. execstacks can't be avoided. + # See https://sourceware.org/PR29592. + # + # TODO: Get the logic for this fixed upstream so it doesn't + # create impossible broken combinations on some arches, like mips. + # + # TODO: Get the logic for this fixed upstream so --disable-* works + # as expected. + myconf+=( + --enable-warn-execstack=yes + --enable-warn-rwx-segments=yes + ) + + if use hardened ; then + myconf+=( + # TODO: breaks glibc test suite + #--enable-error-execstack=yes + #--enable-error-rwx-segments=yes + --enable-default-execstack=no + ) + fi + ;; + *) + ;; + esac + + if use elibc_musl ; then + # Override our earlier setting for musl, as textrels don't + # work there at all. See bug #707660. + myconf+=( + --enable-textrel-check=error + ) + fi + + if use test || { use pgo && tc-is-lto ; } ; then + # -Wa,* needs to be consistent everywhere or lto-wrapper will complain + filter-flags '-Wa,*' + fi + + if ! is_cross ; then + myconf+=( $(use_enable pgo pgo-build $(tc-is-lto && echo "lto" || echo "yes")) ) + + if use pgo ; then + # We let configure handle it for us because it has to run + # the testsuite later on for profiling, and LTO isn't compatible + # with the testsuite. + filter-lto + + # bug #637066 + filter-flags -Wall -Wreturn-type + + export BUILD_CFLAGS="${CFLAGS}" + fi + fi + + ECONF_SOURCE="${S}" econf "${myconf[@]}" + + # Prevent makeinfo from running if doc is unset. + if ! use doc ; then + sed -i \ + -e '/^MAKEINFO/s:=.*:= true:' \ + Makefile || die + fi +} + +src_compile() { + cd "${MY_BUILDDIR}" || die + + # see Note [tooldir hack for ldscripts] + # see linker prefix patch + emake \ + tooldir="${EPREFIX}${TOOLPATH}" \ + gentoo_prefix=$(usex prefix-guest "${EPREFIX}"/usr /usr) \ + all + + # only build info pages if the user wants them + if use doc ; then + emake info + fi + + # we nuke the manpages when we're left with junk + # (like when we bootstrap, no perl -> no manpages) + find . -name '*.1' -a -size 0 -delete +} + +src_test() { + cd "${MY_BUILDDIR}" || die + + ( + # Tests don't expect LTO + filter-lto + + # If we have e.g. -mfpmath=sse -march=pentium4 in CFLAGS, + # we'll get lto1 warnings for some tests which cause + # spurious failures because -mfpmath isn't passed at + # link-time. Filter accordingly. + # + # Alternatively, we could pass C{C,XX}_FOR_TARGET with + # some (ideally not all, surely would break some tests) + # stuffed in. + filter-flags '-mfpmath=*' + + # lto-wrapper warnings which confuse tests + filter-flags '-Wa,*' + + # bug #637066 + filter-flags -Wall -Wreturn-type + + emake -k check \ + CFLAGS_FOR_TARGET="${CFLAGS_FOR_TARGET:-${CFLAGS}}" \ + CXXFLAGS_FOR_TARGET="${CXXFLAGS_FOR_TARGET:-${CXXFLAGS}}" \ + LDFLAGS_FOR_TARGET="${LDFLAGS_FOR_TARGET:-${LDFLAGS}}" \ + CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS}" + ) +} + +src_install() { + local x d + + cd "${MY_BUILDDIR}" || die + + # see Note [tooldir hack for ldscripts] + emake DESTDIR="${D}" tooldir="${EPREFIX}${LIBPATH}" install + rm -rf "${ED}"/${LIBPATH}/bin || die + use static-libs || find "${ED}" -name '*.la' -delete + # Explicit "${ED}" as we need it to do things even w/ USE=-static-libs + strip-lto-bytecode "${ED}" + + # Newer versions of binutils get fancy with ${LIBPATH}, bug #171905 + cd "${ED}"/${LIBPATH} || die + for d in ../* ; do + [[ ${d} == ../${PV} ]] && continue + mv ${d}/* . || die + rmdir ${d} || die + done + + # Now we collect everything intp the proper SLOT-ed dirs + # When something is built to cross-compile, it installs into + # /usr/$CHOST/ by default ... we have to 'fix' that :) + if is_cross ; then + cd "${ED}"/${BINPATH} || die + for x in * ; do + mv ${x} ${x/${CTARGET}-} || die + done + + if [[ -d ${ED}/usr/${CHOST}/${CTARGET} ]] ; then + mv "${ED}"/usr/${CHOST}/${CTARGET}/include "${ED}"/${INCPATH} + mv "${ED}"/usr/${CHOST}/${CTARGET}/lib/* "${ED}"/${LIBPATH}/ + rm -r "${ED}"/usr/${CHOST}/{include,lib} + fi + fi + + insinto ${INCPATH} + local libiberty_headers=( + # Not all the libiberty headers. See libiberty/Makefile.in:install_to_libdir. + demangle.h + dyn-string.h + fibheap.h + hashtab.h + libiberty.h + objalloc.h + splay-tree.h + ) + doins "${libiberty_headers[@]/#/${S}/include/}" + if [[ -d ${ED}/${LIBPATH}/lib ]] ; then + mv "${ED}"/${LIBPATH}/lib/* "${ED}"/${LIBPATH}/ || die + rm -r "${ED}"/${LIBPATH}/lib || die + fi + + # Generate an env.d entry for this binutils + insinto /etc/env.d/binutils + cat <<-EOF > "${T}"/env.d + TARGET="${CTARGET}" + VER="${PV}" + LIBPATH="${EPREFIX}${LIBPATH}" + EOF + newins "${T}"/env.d ${CTARGET}-${PV} + + # Handle documentation + if ! is_cross ; then + cd "${S}" || die + dodoc README + + docinto bfd + dodoc bfd/ChangeLog* bfd/README bfd/PORTING bfd/TODO + + docinto binutils + dodoc binutils/ChangeLog binutils/NEWS binutils/README + + docinto gas + dodoc gas/ChangeLog* gas/CONTRIBUTORS gas/NEWS gas/README* + + docinto gprof + dodoc gprof/ChangeLog* gprof/TEST gprof/TODO gprof/bbconv.pl + + docinto ld + dodoc ld/ChangeLog* ld/README ld/NEWS ld/TODO + + docinto libiberty + dodoc libiberty/ChangeLog* libiberty/README + + docinto opcodes + dodoc opcodes/ChangeLog* + fi + + # Remove shared info pages + rm -f "${ED}"/${DATAPATH}/info/{dir,configure.info,standards.info} + + docompress "${DATAPATH}"/{info,man} + + # Trim all empty dirs + find "${ED}" -depth -type d -exec rmdir {} + 2>/dev/null +} + +# Simple test to make sure our new binutils isn't completely broken. +# Skip if this binutils is a cross compiler. +binutils_sanity_check() { + pushd "${T}" >/dev/null + + einfo "Last-minute run tests with binutils in ${ED}${BINPATH} ..." + + cat <<-EOF > "${T}"/number.c + int get_magic_number() { + return 42; + } + EOF + + cat <<-EOF > "${T}"/test.c + #include + int get_magic_number(); + + int main() { + printf("Hello Gentoo! Your magic number is: %d\n", get_magic_number()); + } + EOF + + local -x LD_LIBRARY_PATH="${ED}${LIBPATH}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}" + + local opt opt2 + # TODO: test multilib variants? + for opt in '' '-O2' ; do + # TODO: add static-pie? we need to check if support exists, though (bug #965478) + for opt2 in '-static' '-fno-PIE -no-pie' ; do + $(tc-getCC) ${opt} ${opt2} -B"${ED}${BINPATH}" "${T}"/number.c "${T}"/test.c -o "${T}"/test + if "${T}"/test | grep -q "Hello Gentoo! Your magic number is: 42" ; then + :; + else + die "Test with '${opt} ${opt2}' failed! Aborting to avoid broken binutils!" + fi + done + done + + popd >/dev/null +} + +pkg_preinst() { + [[ -n ${ROOT} ]] && return 0 + [[ -n ${EPREFIX} ]] && return 0 + [[ -d ${ED}${BINPATH} ]] || return 0 + [[ -n ${BOOTSTRAP_RAP} ]] || return 0 + is_cross && return 0 + binutils_sanity_check +} + +pkg_postinst() { + # Make sure this ${CTARGET} has a binutils version selected + [[ -e ${EROOT}/etc/env.d/binutils/config-${CTARGET} ]] && return 0 + binutils-config ${CTARGET}-${PV} || eerror binutils-config returned an error +} + +pkg_postrm() { + local current_profile=$(binutils-config -c ${CTARGET}) + + # If no other versions exist, then uninstall for this + # target ... otherwise, switch to the newest version + # Note: only do this if this version is unmerged. We + # rerun binutils-config if this is a remerge, as + # we want the mtimes on the symlinks updated (if + # it is the same as the current selected profile) + if [[ ! -e ${EPREFIX}${BINPATH}/ld ]] && [[ ${current_profile} == ${CTARGET}-${PV} ]] ; then + local choice=$(binutils-config -l | grep ${CTARGET} | awk '{print $2}') + choice=${choice//$'\n'/ } + choice=${choice/* } + if [[ -z ${choice} ]] ; then + binutils-config -u ${CTARGET} || eerror binutils-config returned an error + else + binutils-config ${choice} || eerror binutils-config returned an error + fi + elif [[ $(CHOST=${CTARGET} binutils-config -c) == ${CTARGET}-${PV} ]] ; then + binutils-config ${CTARGET}-${PV} || eerror binutils-config returned an error + fi +} + +# Note [slotting support] +# ----------------------- +# Gentoo's layout for binutils files is non-standard as Gentoo +# supports slotted installation for binutils. Many tools +# still expect binutils to reside in known locations. +# binutils-config package restores symlinks into known locations, +# like: +# /usr/bin/${CTARGET}- +# /usr/bin/${CHOST}/${CTARGET}/lib/ldscrips +# /usr/include/ +# +# Note [tooldir hack for ldscripts] +# --------------------------------- +# Build system does not allow ./configure to tweak every location +# we need for slotting binutils hence all the shuffling in +# src_install(). This note is about SCRIPTDIR define handling. +# +# SCRIPTDIR defines 'ldscripts/' directory location. SCRIPTDIR value +# is set at build-time in ld/Makefile.am as: 'scriptdir = $(tooldir)/lib' +# and hardcoded as -DSCRIPTDIR='"$(scriptdir)"' at compile time. +# Thus we can't just move files around after compilation finished. +# +# Our goal is the following: +# - at build-time set scriptdir to point to symlinked location: +# ${TOOLPATH}: /usr/${CHOST} (or /usr/${CHOST}/${CTARGET} for cross-case) +# - at install-time set scriptdir to point to slotted location: +# ${LIBPATH}: /usr/$(get_libdir)/binutils/${CTARGET}/${PV} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-9999.ebuild index 98e6d46e756..8120f9a40f6 100644 --- a/sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-devel/binutils/binutils-9999.ebuild @@ -20,7 +20,6 @@ IUSE="cet +debuginfod doc gprofng hardened multitarget +nls pgo +plugins static- # for the patchsets PATCH_VER=1 -PATCH_DEV=dilfridge if [[ ${PV} == 9999 ]]; then inherit git-r3 @@ -29,13 +28,20 @@ elif [[ ${PV} == *9999 ]]; then inherit git-r3 SLOT=$(ver_cut 1-2) else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/binutils.asc + inherit verify-sig PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}} PATCH_DEV=${PATCH_DEV:-dilfridge} - SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz https://sourceware.org/pub/binutils/releases/binutils-${PV}.tar.xz https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PV}.tar.xz" - [[ -z ${PATCH_VER} ]] || SRC_URI="${SRC_URI} - https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz" + SRC_URI=" + mirror://gnu/binutils/binutils-${PV}.tar.xz + https://sourceware.org/pub/binutils/releases/binutils-${PV}.tar.xz + verify-sig? ( mirror://gnu/binutils/binutils-${PV}.tar.xz.sig ) + " + [[ -z ${PATCH_VER} ]] || SRC_URI+=" https://distfiles.gentoo.org/pub/proj/toolchain/binutils/patches/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz" SLOT=$(ver_cut 1-2) #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-binutils )" fi # @@ -64,7 +70,7 @@ DEPEND=" ${RDEPEND} xxhash? ( dev-libs/xxhash ) " -BDEPEND=" +BDEPEND+=" doc? ( sys-apps/texinfo ) pgo? ( dev-util/dejagnu @@ -95,9 +101,9 @@ src_unpack() { if [[ ${PV} != 9999 ]] ; then EGIT_BRANCH=binutils-$(ver_cut 1)_$(ver_cut 2)-branch - mv patches-git/${PV%*.9999} patch || die + mv patches-git/${PV%*.9999} patches || die else - mv patches-git/9999 patch || die + mv patches-git/9999 patches || die fi EGIT_REPO_URI=" https://sourceware.org/git/binutils-gdb.git @@ -108,6 +114,7 @@ src_unpack() { EGIT_CHECKOUT_DIR=${S} git-r3_src_unpack else + use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${P/-hppa64/}.tar.xz{,.sig} unpack ${P/-hppa64/}.tar.xz cd "${WORKDIR}" || die @@ -137,7 +144,7 @@ src_prepare() { if [[ -n ${PATCH_VER} ]] || [[ ${PV} == *9999 ]] ; then if ! use vanilla; then einfo "Applying binutils patchset ${patchsetname}" - eapply "${WORKDIR}/patch" + eapply "${WORKDIR}/patches" einfo "Done." # This is applied conditionally for now just out of caution. From 591d4a08ba88358b2436ac4b01b3fd0f90cc9720 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:41:31 +0000 Subject: [PATCH 196/243] sys-devel/crossdev: Sync with Gentoo It's from Gentoo commit 9d55f79c7d5c04df781fdcc9f6c1e03d3dd88f61. Signed-off-by: Flatcar Buildbot --- .../sys-devel/crossdev/Manifest | 2 + .../crossdev/crossdev-20260501-r1.ebuild | 2 +- .../crossdev/crossdev-20260617.ebuild | 61 +++++++++++++++++++ .../crossdev/crossdev-20260623.ebuild | 61 +++++++++++++++++++ 4 files changed, 125 insertions(+), 1 deletion(-) create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/crossdev/crossdev-20260617.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/crossdev/crossdev-20260623.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/Manifest b/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/Manifest index fc885a3a2ed..95e10b70bd9 100644 --- a/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/Manifest @@ -1,2 +1,4 @@ DIST crossdev-20260326.tar.xz 34568 BLAKE2B 78a0af449c1e3e0a27be8e7dfe8b4ddb17ba4425f21fb6fb9f4b4f414d9611e9bc4293ff6cbb52139e3682f9d1f6ea968fb5ed2f28f88069217cf7ce204312c5 SHA512 502e719b02785b5a535ca17dd29b1227bbc01f7e6bbdc1c15c4d6dd36da2d596e07566f2fe188a0850dfc159d3c883708975436d88262cad7d06cdf947a23379 DIST crossdev-20260501.tar.xz 34624 BLAKE2B c162a2b3d9bf63721743adfbd0ac0a8838b057c99620ecce4fffe5479e9ea2804af1fb1794eacd3fd702490d20e1c59724feb641372e7e32d717ce07274db864 SHA512 d08df164e39ba67ae377c01b38bdd46cf8890ee93223ddc9fb947bda2648a6fa096aa99797abf2953ecc6035fb1a59ea54de826d3ebbae41e54ed6da412b151d +DIST crossdev-20260617.tar.xz 34876 BLAKE2B a7a140f247583d82c705eb0b367b5da29b9446989033d250a06a486b7dd4965ca6bd0a1599d5e9ce2c8cae2628fa841a3eda1f5614f569090d35f07120186644 SHA512 5d975c328e6596adf02c05914cc3ffd80c8bc8870c48e747b566fccb48e4c21f02d1f57fa2756ac307eab7194428204bab0f9e9e82e4eb955f14eb13f9598056 +DIST crossdev-20260623.tar.xz 34448 BLAKE2B 3d6ecc1e2de99a7fadcc9741c2968dc8f6161f56b9608413be802cd0881e6e7b127f6001d9e65e2efd369860ff64a5802a7a637e564423521611203f1da1e594 SHA512 1a48164ccdae77541f7cbe6fffa803ab585192691a127bdb431d71c0a8381437f38610ca719181c6f223233d66181cba3838219aac934ebc6819a4609ebe1f6f diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/crossdev-20260501-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/crossdev-20260501-r1.ebuild index ac045cbcd99..49b532a032a 100644 --- a/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/crossdev-20260501-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/crossdev-20260501-r1.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == "99999999" ]] ; then " else SRC_URI="https://distfiles.gentoo.org/pub/proj/toolchain/crossdev/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" fi DESCRIPTION="Gentoo Cross-toolchain generator" diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/crossdev-20260617.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/crossdev-20260617.ebuild new file mode 100644 index 00000000000..ac045cbcd99 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/crossdev-20260617.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit eapi9-ver toolchain-funcs + +if [[ ${PV} == "99999999" ]] ; then + inherit git-r3 + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/crossdev.git + https://github.com/gentoo/crossdev + " +else + SRC_URI="https://distfiles.gentoo.org/pub/proj/toolchain/crossdev/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Gentoo Cross-toolchain generator" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Crossdev" + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + >=sys-apps/portage-2.1 + app-shells/bash + sys-apps/gentoo-functions + sys-apps/config-site +" +BDEPEND="app-arch/xz-utils" + +src_install() { + tc-export PKG_CONFIG # Bug 955822 + + default + + if [[ ${PV} == "99999999" ]] ; then + sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev || die + else + sed -i "s:@CDEVPV@:${PV}:" "${ED}"/usr/bin/crossdev || die + fi + + dodir /usr/share/config.site.d + mv "${ED}"/usr/share/config.site{,.d/80crossdev.conf} || die +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] || ver_replacing -lt 20260501-r1; then + ewarn "crossdev requires another repository exist on the system for" + ewarn "its generated ebuilds. It uses the 'crossdev' repository by default," + ewarn "and otherwise the first non-gentoo repository it finds." + ewarn + ewarn "If you do not already have a 'crossdev' repository," + ewarn "it is recommended that you create one with the following steps:" + ewarn " installing app-eselect/eselect-repository" + ewarn " running eselect repository create crossdev" + ewarn + ewarn "Alternatively, always invoke crossdev with --ov-output NAME.". + fi +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/crossdev-20260623.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/crossdev-20260623.ebuild new file mode 100644 index 00000000000..ac045cbcd99 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/crossdev/crossdev-20260623.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit eapi9-ver toolchain-funcs + +if [[ ${PV} == "99999999" ]] ; then + inherit git-r3 + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/crossdev.git + https://github.com/gentoo/crossdev + " +else + SRC_URI="https://distfiles.gentoo.org/pub/proj/toolchain/crossdev/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Gentoo Cross-toolchain generator" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Crossdev" + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + >=sys-apps/portage-2.1 + app-shells/bash + sys-apps/gentoo-functions + sys-apps/config-site +" +BDEPEND="app-arch/xz-utils" + +src_install() { + tc-export PKG_CONFIG # Bug 955822 + + default + + if [[ ${PV} == "99999999" ]] ; then + sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev || die + else + sed -i "s:@CDEVPV@:${PV}:" "${ED}"/usr/bin/crossdev || die + fi + + dodir /usr/share/config.site.d + mv "${ED}"/usr/share/config.site{,.d/80crossdev.conf} || die +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] || ver_replacing -lt 20260501-r1; then + ewarn "crossdev requires another repository exist on the system for" + ewarn "its generated ebuilds. It uses the 'crossdev' repository by default," + ewarn "and otherwise the first non-gentoo repository it finds." + ewarn + ewarn "If you do not already have a 'crossdev' repository," + ewarn "it is recommended that you create one with the following steps:" + ewarn " installing app-eselect/eselect-repository" + ewarn " running eselect repository create crossdev" + ewarn + ewarn "Alternatively, always invoke crossdev with --ov-output NAME.". + fi +} From a548f5766f0e6a01200e97ff8d47ad1c8b3ff2f3 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:41:34 +0000 Subject: [PATCH 197/243] sys-devel/gcc: Sync with Gentoo It's from Gentoo commit 7217ce442ffc46cf7efc94f2a7047f46e5fb19f9. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-devel/gcc/Manifest | 39 ++++++++++- .../sys-devel/gcc/gcc-13.4.1_p20260429.ebuild | 2 +- .../sys-devel/gcc/gcc-13.4.1_p20260527.ebuild | 68 +++++++++++++++++++ .../sys-devel/gcc/gcc-13.4.1_p20260603.ebuild | 68 +++++++++++++++++++ .../sys-devel/gcc/gcc-13.4.1_p20260610.ebuild | 68 +++++++++++++++++++ .../sys-devel/gcc/gcc-13.4.1_p20260617.ebuild | 68 +++++++++++++++++++ .../sys-devel/gcc/gcc-13.4.1_p20260624.ebuild | 68 +++++++++++++++++++ .../sys-devel/gcc/gcc-13.4.1_p20260701.ebuild | 68 +++++++++++++++++++ .../sys-devel/gcc/gcc-14.3.1_p20260430.ebuild | 2 +- .../sys-devel/gcc/gcc-14.3.1_p20260528.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-14.3.1_p20260604.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-14.3.1_p20260611.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-14.3.1_p20260618.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-14.3.1_p20260619.ebuild | 57 ++++++++++++++++ .../sys-devel/gcc/gcc-14.4.0.ebuild | 56 +++++++++++++++ ...-14.4.9999.ebuild => gcc-14.5.9999.ebuild} | 0 .../sys-devel/gcc/gcc-15.2.1_p20260501.ebuild | 2 +- .../sys-devel/gcc/gcc-15.2.1_p20260529.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-15.2.1_p20260605.ebuild | 57 ++++++++++++++++ .../sys-devel/gcc/gcc-15.3.0.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-15.3.1_p20260612.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-15.3.1_p20260619.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-15.3.1_p20260626.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-15.3.1_p20260703.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-16.1.1_p20260530.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-16.1.1_p20260606.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-16.1.1_p20260613.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-16.1.1_p20260620.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-16.1.1_p20260627.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-16.1.1_p20260704.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-17.0.0_p20260531.ebuild | 56 +++++++++++++++ .../gcc/gcc-17.0.0_p20260607-r1.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-17.0.0_p20260607.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-17.0.0_p20260614.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-17.0.0_p20260621.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-17.0.0_p20260628.ebuild | 56 +++++++++++++++ .../sys-devel/gcc/gcc-17.0.0_p20260705.ebuild | 56 +++++++++++++++ 37 files changed, 1907 insertions(+), 4 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260527.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260603.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260610.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260617.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260624.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260701.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260528.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260604.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260611.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260618.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260619.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.4.0.ebuild rename sdk_container/src/third_party/portage-stable/sys-devel/gcc/{gcc-14.4.9999.ebuild => gcc-14.5.9999.ebuild} (100%) create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.2.1_p20260529.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.2.1_p20260605.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.1_p20260612.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.1_p20260619.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.1_p20260626.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.1_p20260703.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260530.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260606.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260613.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260620.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260627.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260704.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260531.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260607-r1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260607.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260614.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260621.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260628.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260705.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/Manifest b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/Manifest index a7daf8dfef5..9cc9955cf26 100644 --- a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/Manifest @@ -15,6 +15,12 @@ DIST gcc-13-20260429.tar.xz 84595480 BLAKE2B 78bfa978b63317208c3a4e8d86ce18adbd0 DIST gcc-13-20260506.tar.xz 84603572 BLAKE2B 531b9225907acb3304787ca20fdc850b01e508ab592895fd2900e8032c30e2981a46247b78c5beb7b771655e961adf307d25fe326e02ecd30ea01d6598ff3c4b SHA512 192266e22370d350ea353452e0f178310f65eb420bf1c4872e41e8590a2dcf487df3f5eaccbe14e87470070012e13202dc68d408504cf87bbe655cba1054d633 DIST gcc-13-20260513.tar.xz 84601752 BLAKE2B 2499dece45d95a059fe49c4e21db05736a0b536e88c7ee1e2613b13ab2ff088102acbae886d6eb02eb4254a743dd2c91149c5f78b904701c694eb4edce2c9534 SHA512 2711d17d5f908a9f35d248884cd926efc59af00a53f96b090aaebfdc7900fa1b49ebe998fbc7369b2806fab3f2f6dcbfb5abbf740f60fdeebeda1cc574617c2d DIST gcc-13-20260520.tar.xz 84606308 BLAKE2B 69b294c4f3f1d292c37a552a05de13687d47d09ac3070e0c2e573a04f2fa0bfa3ee89563241447187db497935e0115bb48f75c607b2443b0a4e4558b8e683df4 SHA512 85c9776ba5dbb144228b7554eec94fac18f68c55b65bbd820f33c931ab7433a5fe8fe8b91354269f0209e3ec2c6f9e733c2a59e04a8e815aaa7645e8d6ad8fb6 +DIST gcc-13-20260527.tar.xz 84654920 BLAKE2B 49c8ef53cddbfaaf07efae2e801be308fb0ec0b02bcadfb61e9a2b6cc52ef39f177e82bb599d1e0aea916621b965f628f0e3c03c98cafc77a3f9c3e37274f77b SHA512 dfd4f9e61ae1fc6a1680f58a89b349185ce6c90db225b042df9f639ca744a5c4775c348bfabd3218bfdc2baeca295c3a0f0e68bb57c656eb3fc457c7aa9fad0a +DIST gcc-13-20260603.tar.xz 84612576 BLAKE2B 6b062015b61508359b6c29d1ccd1b5322404e18ead21aaec6acb687822147054250647c1fca6d1254f4cc27d4dd6f1a2477cc84bf66b2f4dab1aa6196d8de49e SHA512 c9da65861e766f7159624e512ab210551ef93d06b446fcc42df78ec3d31554335656a02086746ac300ec2cdf72443fd62acf49c742a760d63b6b0f88eca6f614 +DIST gcc-13-20260610.tar.xz 84609268 BLAKE2B 7d40c50f42419a778e64abfccc71d532bf6a83f2dc8a345b01d6d50d4d861cd445ea1e8463dd0e865f6211f0c4a529a5134b5cecbf9cccb8af84937ba34fd3d0 SHA512 158b146d737a33795bcd074297a363c9719421bbd8d4e66f3d9e47439e153a59c99850c028f947572d3df567671eeb7f2084e355d14c91d17e8fd1cbd7e720b0 +DIST gcc-13-20260617.tar.xz 84606784 BLAKE2B 7f8b88839a714a16cfaa2796ae9601151bd87d4ca7c2fa4eadf2b76c019b1abd6339886e789310b0d17360299bcc92edc1f3853236338382ed91d6cc18865e95 SHA512 8b36b10bcb8dd0c556de7f4a25004f045a190033bcc5c5cd782723a5705524859cdc9dca3c4c01d561e09656e75c2d9d7b800ff41e936f1f55ae9479e041465f +DIST gcc-13-20260624.tar.xz 84614412 BLAKE2B 84395636773b8d14ac7908e7f9ae64c55ed369c7bef51de788ac8f95cbf17eb925e72f573241e835a44ec2fd39c3299348506042edab78c4b4f82fe32a042c4a SHA512 3509ad10d3c355831964785057ec1a50d5d36fc58cc21b9203ef16bbf0eafa31b7e487dfdb6aa00c750d82420c1a57aacde7424f72855a57cd07840892f0df62 +DIST gcc-13-20260701.tar.xz 84614044 BLAKE2B b5c6a5ec54cd1bce45bad201892d59d9f672403f1b40c580da1cbb32fead817d09bdb674d9fc6ae664e97a8f1480fc635de3174f39608e09cde6e4d7def21d68 SHA512 4fa6cbfad37950f6f9cdecfc2782a570a5f59774adb2a24120049c4a2007730988a1eef80f36f1b0bfee2ebeef754fb30029140c3364089f3d2cd055e74f6462 DIST gcc-13.2.0-musl-patches-2.tar.xz 5292 BLAKE2B c057d6574d03c05854edaa9f3fd40e9149662b04f3ac7a7db3eb078d73a7b535726d1bf52e5b12736dedb2f9898ad731f2e48a6421fcfbf7b90f929dee072fcb SHA512 a691da0c87c443a5e9d23731f4005f27871c5b12bc9102873ffa24d374aa7b9fbd187c4f5635d23fa9ffb17e351e76173c2d3fdf40646e355c4cb314b538de69 DIST gcc-13.2.0-patches-3.tar.xz 30956 BLAKE2B 29ce043b46645640ca1e983397af3e158588ad87575f0bc59451ea4a7dd5e3bb5b190ed031de6a22cd790d423ba111e95d222187dd09985dceb12db9f0a2d907 SHA512 4ffecae7be320124ad0c4e71e39e142b7aa8db0e70b5f486f491d7a33ea31efc6464c6abeea77df02a8bd5cf81f08225d625c8af5c27f9afa32c0d7d989f7a3c DIST gcc-13.2.0.tar.xz 87858592 BLAKE2B 0034b29d3d6cc05821f0c4253ce077805943aff7b370729dd203bda57d89c107edd657eeddc2fb1e69ea15c7b0323b961f46516c7f4af89a3ccf7fea84701be2 SHA512 d99e4826a70db04504467e349e9fbaedaa5870766cda7c5cab50cdebedc4be755ebca5b789e1232a34a20be1a0b60097de9280efe47bdb71c73251e30b0862a2 @@ -29,10 +35,16 @@ DIST gcc-14-20260430.tar.xz 88451772 BLAKE2B aaff1f443acfaca57b7808a43e1728b0ccc DIST gcc-14-20260507.tar.xz 88459308 BLAKE2B 6715e7f36ed651752640ce16c427f3cc2d3eeef5913a75721071ea84b503673d0703a9613313a34ce9caf6bdafffe83c5c8e99ba97deb2e463254ef787adce23 SHA512 ba88c20dc982e1d16dc08e4a85ad5eb34cb8747330de1beb2b09709cf1409697a58d7c90250bbe0a364a25235a2de36e10203f10dd6ad79c53b9ec994411cb2b DIST gcc-14-20260514.tar.xz 88462504 BLAKE2B e03286c86d2537dd172ba4f7e611ff69f8830fb323a3c2186070b1a1cf3f989e36c35ccdc4a884550093b14066e7cc2fb2663729a4ad472b380b5e4e1a881d3b SHA512 9ad4e8541fdaf02d7160cd7b1454f4765c3d2a10051a380bb6a9e110f83ee86661693b7b534fbd6d5fa9cb9e72e80db6e17f351177c1cd550d3ab854fea0754e DIST gcc-14-20260521.tar.xz 88467356 BLAKE2B 049527a1d6770cc85c3e75da1b0299d7494560c9b631b03028aaaff887f926b60b8107deeadb470e08001dfc59b21197792ae5ce1877ad71af45b688a8be5405 SHA512 3c353ca786b36c996ad480f151815bfed5aae2811504091bc2cc88d73556faabdad447ffd0ae7ff3e5ec5654af4ad1be6a06163c40d5a26d641ab546174c8178 +DIST gcc-14-20260528.tar.xz 88521668 BLAKE2B 57465c22db8f3ed5660e8ea74ce5fce2465d81a1c5a06396a9e24cbd97fc9b1f1296eac950ffcd332a41102f954a6fa91dbbefd53ad23fc8a9bdf0f20faac482 SHA512 1654ba45644a14d93cba02ebe8c35a48a2f67d7fee5a3fafe1c8bb19520e017cb54a7e0e8cb4f0d33b81c1a4d25a074cc59ee42b74ebf6ef2ea194ac933ca3e2 +DIST gcc-14-20260604.tar.xz 88473776 BLAKE2B 0d022d76185b04d314b05ee0e7906b030df6ca13efa254e5c64e625286af6e361659a359406bc90658b3d3e5379f0408500dda86a0af0aad3df88193ebe736dc SHA512 654e5484fe25986f51a55b12a959fa6c36d3640cbb8f62c63adda3e7222224048ddfd3cb87cac081759e1a2cd3732cdf17af9e6a3948aba227ddd3a4c0c2e72f +DIST gcc-14-20260611.tar.xz 88470760 BLAKE2B b4c70945e290ce5a6eff36161ca0d3678dc809910e02785b9e3ac52664a6cf1ed8a824d3f4820572b77feafdd247d19f3b5aecd82d324bf29f2eb968a6b5e8fd SHA512 a66030357aaf596263386d3d91d686a739e77b6200a3fcbba40accc70049282efbd42a16323dd5c539a21239645c01ad625fd1ab537d8c9fa5b573e38ee59d3d +DIST gcc-14-20260618.tar.xz 88486332 BLAKE2B 51717d015582d4b6e8690abb731681029354c53b8fdf6d8c4ff06d10aaae70ba8d89029c52d10c4e6792e09357378e8691ee96bbc77cdba28f5a12a5b2adefbb SHA512 1edaefad5cb9d76c364208e0b4fae5f3a7ba0583866551b1f48b41893ef4f902746812b8ab53c050e5c429db21c24693d48882b37b3df2881dbb9988e25846fa DIST gcc-14.3.0-musl-patches-2.tar.xz 6888 BLAKE2B e2f9ce6d445b7ced8f78c18585887422ffdd32356368a456a7cfde5a1854515b32546c1d25a2ab8637ee62d04a2c0bda1afc8d53c44e5c80c12499918c3c18fc SHA512 0b59d228213024cd93d9ffbd4ae5947021db2dc71bd320cc0e4ccf523d39f72e61be25c1a49a343729fe7b9abf7181503de3e650b255d80ab6d969d0de317d19 DIST gcc-14.3.0-patches-4.tar.xz 28116 BLAKE2B 5804f10b40befad1cb9eab4e536377c08aed8c54d3de27f188ae2d52fa7c082a529ad9cb64f9574087afe74e64138c9fc918d653bd2c1d062b8b68d5c7ab640d SHA512 75ee4895efea0131107cf664a0f9fd10f38da0d0f93704e1920778e07f1a860d872a97e1e528f8e1ab754cca25948bb09c444b80cc04f5ae3a516336290bb99c DIST gcc-14.3.0-patches-5.tar.xz 53952 BLAKE2B 3e5f63d760caf3c18c0f683c00170bb71998b4f0e15552103359d5c0954144676f6ca60e3e367a94cbdff0ab9bec21f3e04e30c38aae8f7e79911da30e6aeb76 SHA512 1702b7f6ee791468d02fcb9d418d2dd48e10cd6dc6eab0cf455aaf848bb78d953b00690fd78cab1ddd5af02acc237072c99ee43f0e512ae3e2e5f922f40f0dfe DIST gcc-14.3.0-patches-6.tar.xz 28148 BLAKE2B ba80a00289da26d3b5a813a9878aae6b34640e5cf8f37431ef846894087096dc84869e120ed17f23062bd2702a8059d73ead3ba28115e9c3bad55f46e7f474ee SHA512 7ee900f327bd92484ffba03ff80827b42ffba75d7527e26e09ea07e6d61622d812e1a00f77f3d669d7bde0366bab43085552d6140b28bc319edab9eb0e9a73f5 +DIST gcc-14.4.0-RC-20260619.tar.xz 95752616 BLAKE2B 0b078a16a880ee3e8ec28855f765af2cbccccb84c928c1f0624017ae0a7f5ba570d58fdd52131def1579e7f1a16a9e618bb9c97e373ec4dc237e8d153550b742 SHA512 8f41695b7961e16636d18ece8c21a7a98104e195b1f99aa1e4c5dbc1ef1891003aea8b8118157329b393c11d16a541dbb20bf715149f1b99f93dd76ef8a826cf +DIST gcc-14.4.0.tar.xz 91586872 BLAKE2B 10a512f9f95fcc70a13f4eb2142927277d2e6c0a16bad76f01078dc0d7e5cb6831204f8beec22c83c1ff2d0ed1d9df8c8d0a4118ba657d1aefef2a6f15636a28 SHA512 725ed8bdd43ef1726ffe8b5e8615a13e247fac9575b7626ae013a2975d000ea213212dc414b2f2631ac4785c1c8beca85555222faf9904d3b2fa6a3807a83a15 DIST gcc-15-20251108.tar.xz 92349104 BLAKE2B 40c890e2d61dd02f20a190c8d82175a1df271bd77a1d7cf1bae296ca47941cd43f672ada0fed0c8b27a65d469aedefd0fccd9282418f28feebff29f0b940ef1a SHA512 cc12ff495ba08d37e719278aac7bd526f53609d6cce1f4b45183ff336b78e26eb97967fe5405f791528d0913378084ad6c596e246a5a85b550b84051e5b3974b DIST gcc-15-20251122.tar.xz 92364288 BLAKE2B 6c7795992430e3a650f43033b135613c5cd56e4b6e4ff5b121f665dba47c038b4ccc339c50b3e3367e2f6436f5a7cf761bca1cd13dc3d42a50b1f1105b8b1c3c SHA512 0534c9ea6c2684e01d93b32301ed11df4a716637e0d68fae4659730dbfc5e23f3e28c41a6b86b25c1bf8b97816b076abcd24f5c2841516031dbc4473bdf28797 DIST gcc-15-20260214.tar.xz 92376288 BLAKE2B 36aad1794fa23574501dc27b4ce88cce9aed13f6ee93f9797bd058388d68da1b3f93f5fa4b5dd2f02d99556e15ed1f92e9c6cfa45c9ecba2f9c3130c5ac4afff SHA512 e610aa9142e58ab59b32f7a83f62cf629ce08b41e1fe41ef56cbad72240c0d10dc1e784bb6e34962a03e271d0d8ca6ae95ca67886fa9f229668ad7e514dbc357 @@ -41,6 +53,11 @@ DIST gcc-15-20260501.tar.xz 92426968 BLAKE2B f8cd3cb703f5d5a945e62b8d888200f498b DIST gcc-15-20260508.tar.xz 92425260 BLAKE2B ef33a59d1b31c4476ae5663b88ef3f1e2b65311cc0e06723c2719308a52c18d6d02d2d294940dc19569c1069f16e73ad190d2518980c5eac012a69797a00b496 SHA512 b41cc456b1a1096da8490ce051834cc81b18fac4b8ac5fc9fa8d7cce69fc8da1b97bf682d1d56ed587f0560e508ed72e2f474c801daabd23b9293b6f164d10f4 DIST gcc-15-20260515.tar.xz 92432788 BLAKE2B 53d8d3d650a82c5876bd27c0239aa3236d6885f2e5042450bd9075c660b1048c5b6bf4bdd0e3911f9538875fdb6f6ad9dd0d28ff2e62172e0ba4b939a7bb3012 SHA512 b77293c516e1978643c55b34d4e7f80fb1561236baa82c006676dbf13f76c4ec007aca7062a2d73bed54af977550328f01907a67b3302c4f0deab59afde9a00f DIST gcc-15-20260522.tar.xz 92439160 BLAKE2B d585f05f369d10f93050db58ccbc068979e773ab7456a9e1f93f9ca77d800c5bdfa8083391b037496b537e44dc7debf9606f205afe7b50e62a6f000483f1edd5 SHA512 b1d0ba28a8d17dbb112c05b46c0b1e6eae97ca496ad4440fc9145b5a320d6fa76f80e83da5feeb9e02e1af2d56bb56bf419c5159df2cf5da28d1bc14fe1f027f +DIST gcc-15-20260529.tar.xz 92444808 BLAKE2B 5127b9e5da0536fdd85b9963f17de3457c876f10f105e3a0ba0be3a19359b7182a9d057c0cbc1ba1f43de6ffb8f5bef704f926337b4cfd202f3de89208eaa013 SHA512 c9147bbff5002b875d639337902bf3556bb091b3ee30e9a97f7ca144460caba8d2d21928234ac65740b294100959a927d941b88e8a37e512de07cfec9cdd274a +DIST gcc-15-20260612.tar.xz 92460676 BLAKE2B 15f4f30a1e208c3dec8c10e8dca415d24881efac4bbc99d21b593e29dd89acf35a69d1cb4a5a390d745741d089b7fe04236f6db364a7ae2a6c00f08198ee67cf SHA512 2a689569d22752e848218c64137cd24330c708b6b3bf6ccbb1e65b0cb9b6a59bb822dbf20bda8e318845ebe399862f4e2dad14500f95c812aeb9a63d5debcd5d +DIST gcc-15-20260619.tar.xz 92462900 BLAKE2B 629e2958c836acb163e3d394c236e5d1323b8a4e4829a58bfec8e66775332c3505e8b45e5af67be4f5ee47d3280628c5fd96613bb21f61a686e12e26db0804bf SHA512 0a5423e9617561519b550e6d6a704ad22b6a6fd0f2654c53765803146b9e853a7767e63dfd937cdc2a36629721931054f5b311108d80e0a59ec8c57d3348f40a +DIST gcc-15-20260626.tar.xz 92467392 BLAKE2B 550f3c27ca29390f25930bd457457062bbcc9566371626a0bc80b0ed0d53db0d8d54abc70b53fc825e18e0175588b6b5cdc76607a13ab761aeab663a24a1c6a4 SHA512 b65845148f94a8667bf13bf9a2df471fd5e821dc11b78fc9020e541b63f891f18c782fdd2f933b7006621c76de58e60cb86077bea72bf02f660353ec5565210a +DIST gcc-15-20260703.tar.xz 92460800 BLAKE2B 861549f8c17d79f9613e85ae455989e1ec96aa7d8da872e88254c70193fa2ab26918918ae8a290a5aa8986a55f1d91b3854fee308c5a8c86b960204ff750fbd5 SHA512 0a6889326713c1bac4486512f0d34ac6576293810ab5dd6678766185889e8f55c1af841dca5b3240e89c7aa3421be1fdccfcaf3f20ca58fbbfcf1bd25c958d9c DIST gcc-15.2.0-musl-patches-1.tar.xz 7168 BLAKE2B 6b7cfb123c3a691693240db815e6852a1e6c3820baa499368c463e0a0c1490c701053cfea10bf1d33f89dd2ba7bbddf63c4e6e0976590e3aaf1fee78b9282079 SHA512 ab80ffd69b9ead1fe06a9433faaa97ae53947d214999e77ea363fa6435de080d031a1aa6869e1dc088e800317952f2dc249a9e872113db56fb76f0a432240871 DIST gcc-15.2.0-patches-2.tar.xz 18708 BLAKE2B 09c54bd1b8436e12a3da1c3ee41017cd3e960268a5d4637252152b44a4cc93934d4dc93eff842d7dcee4d1688b7f2d98be48114ef5c864793242177f7549c933 SHA512 f11cfafe00f7d18e05a316bd1dc522477cc4118fdd65019cf85bca674ff0180951506fef84ce0b5b13190ccfe44c777a64afdc602a4580595005b43b79ae7411 DIST gcc-15.2.0-patches-4.tar.xz 19912 BLAKE2B 255d6435fe5b205d23d04eb885c55b421b1e6ffc30623fad5fe8a4cee5582f210e9851165b0976629d7e49288366a14635acdf1ad70f6d2fe288bdf88a9416a5 SHA512 f36c0a1e8abbb25cebfd93965950c072f33d8dbbc0be285e8e374a3602fe7e7cae3dfe44f24856d2231bcbfb40fe0c1de3b629e2f573d97f82212a7acf52ccc8 @@ -48,24 +65,44 @@ DIST gcc-15.2.0-patches-5.tar.xz 17460 BLAKE2B 66a813306de7b83da88fd293536f7795f DIST gcc-15.2.0-patches-6.tar.xz 18324 BLAKE2B 876697050a872133d4deac7005c65c1dcc2ec8f153f4c3455dfd26758ad2ff8e8e860e0b27d224110caa9160bb05376cde147013cca2ed3d2009c64295add557 SHA512 cfe83511b9e212e0201c8b2ff2cbc1fad4344300d6e80018cbb17c5d1720ba67c7c253d8c739c4359c69a96b7594fca0dbc8de324ef213b263dbeeacdda1d105 DIST gcc-15.2.0-patches-7.tar.xz 18396 BLAKE2B 2874678100433d899646a29d6b985fa48f0a19a73036103f8047c252bc1dd3f1df0d5c09bf1f97adfb2866c34a8e7ca6977909b5b4551b67a38eb45bf66afa95 SHA512 92a7579a134857e3bf3feae33c7dfdfe269f58dbe0013860a0249c0b26052b34ff92cb7cb23bb99719a4eaa6f52385f33e80f4abc2a49ab9cef2f3363352cbca DIST gcc-15.2.0-patches-8.tar.xz 17584 BLAKE2B e35d85b993fc2ad86924158cac893a815f70332335ed02d970bcdf89c1ceafc2972576bcd85b4912e6ada91bdd80e8f10cbc6be798c804438368bae60abe2731 SHA512 6440a792320037b746ba405469773b96c1d4272c5248ae3808e6d8a2d576564c0f52889a6f88c3271233c8c2fe7ecb974d31ced2141f16f2c5ca68b9e47ace8c +DIST gcc-15.3.0-RC-20260605.tar.xz 101375752 BLAKE2B 607ea9833e704aa3b31a2639706b09e85d4bf505f076812865761d6cee933d59dfac5fa2f033f2b9bf11d8f62030062de063d09959c3b387f4f2e0682454a506 SHA512 a90517e09b03ab69bf7cb1968434cb574e7ffcce25b8fd9ae2e7e067e127a07524c684c3802e3caca2989a5f179dadb6cea69bfd8d860811dd6d770a92f9817e +DIST gcc-15.3.0.tar.xz 101253696 BLAKE2B 9e37d6560addf936b8dae6f34a2621004e888b1436c9b95d6a09c2a792f909c7ec4aa5e8d0e63baa1be742fd8dc8162b366b5c48766fc83e44b3842891af44df SHA512 0de9e296153b52c021b1c7e63c9c62151d7a0ac03f23ce6e9f772c1b0eb783f6acdd81cc4567bfe4128a6f64968c2cfc8eff40b36229cba7425349f7d637c654 DIST gcc-16-20260502.tar.xz 98912088 BLAKE2B d4b953ef6606fa8d3b69d474eb3c223809924869b9c562d39ad37759fa00468885b06a707b1479e38b15cbd8ca13dd8cc27b65ffceb53dd41b78cadf35ea3b6d SHA512 6beb4f6c7169c87ebc4a51c268b8c7fcbb07e96edfc674fc72afdc3dd605b4e44c05b2fdfc86963ffeb8346a64973630e456bdc91d0a5b42a11144cb2dbe2d18 DIST gcc-16-20260509.tar.xz 98914656 BLAKE2B c7a6087ba990f50cab066c006f7c55c5249b01e162f066ada3f9dd92bc3adaa85af2d5f2baa197dc7ea454aa4af411cfccd3d22e526dd24e27af77cdbbc920a6 SHA512 01c948f971687e2a5531b53f216dbf29c39634705f2e1c569e65c6b6e25691c4cfc45f84af8d71dcdafd4d4f909e3f8791d35b16064185a4d33da489e30bc088 DIST gcc-16-20260516.tar.xz 98915364 BLAKE2B 6515ec0d002d169972aa583209cd816658a33b8bdad2ded7edfbe28d19b1c51d93090ce43469d909894a29e628371be04eddb611c9264013e3bc754f807d756a SHA512 bf1677cc3576e9a1bde36b48d8f21d85df328c28e3b912d37ad5ece56fafa4aca56d82cd0487e1f8e8162c9edb28cd12e5025c040b7d8f46948b3d2de3c30bcd DIST gcc-16-20260523.tar.xz 98921832 BLAKE2B 04c6e5639a27f61913ba7771d54c6d581af637838d6ff667297ff98870c1f262bf9f15a9c885cd22139a2c0182a5d7343612c1113b4992acef9814e3fccb54e3 SHA512 311f073a51c71b5cf49f8a7012371203e1669d9e1e7cb63ba8879662b130e88f24a87827669d96fa6caa224861acf82ed728be547af9296920dbca30498630d7 -DIST gcc-16.1.0-musl-patches-1.tar.xz 3036 BLAKE2B 9f1fd288c22d61883d579b7d198ca5497ae9d18a8d85208ce9cfa14b2799ebd012ab17a0a4443ba1d899339c2ee217c907fc8a78e2a19022bfaffbe32c513aa4 SHA512 d362915d57b8f6b1dd0dfa879d7a4f31b50465ff65281a0bf961936ea08bed23d9e1c827f8079c1c9e18191f22aa61494add36fb58763bed934f19ca53767a2a +DIST gcc-16-20260530.tar.xz 98931912 BLAKE2B 1564a846116739b12eb0175e6e06af175734540ab27a65c46eb95ca1f83c9316629f9cf18c441421837a035d767bf2d861a7c403bfe6c130f498260b5548ea8f SHA512 94c10f416c8a5e9e02be1efe9d6e86ab0cbd020e17db16ae2589bb9de7dc776e17c321d2ff5dd0cdd4ce5d1d1895afc9528ffdda76fd0242744e7807eee093f2 +DIST gcc-16-20260606.tar.xz 98933420 BLAKE2B 67bb9d27dd868677109d65218e8accf7aa33007941eedf8192e8ab251730e90ecc91345c1ddf3b76d5b50cb6328af0047d3a1598ec365fc4b7ee56d1df971d6d SHA512 6fc9ed0659a5c9d890c8c726b10ac14a6f0f84764dc2894fa30525962c93fd6ea3d33d41e8b40dd21e1f8ffb201e665b1e84179f826e6bfdb99df280f1e892bf +DIST gcc-16-20260613.tar.xz 98960356 BLAKE2B a22c685da2cf7a2cfd1ff268d5368d03de8c26141f9d27d43aa926a8702e12cbc3fd6e755bdd3dc383d12360a001ed14aebcdb8e87b7197638991075a607198c SHA512 24a3c58f86754916ccef3294a68ed5d30a3bcedba95e1ae6da3abafd1356128a6e29447eebfb500b6184a6f7ee5c66eb913698aeefa4a11b6b43f0720ab3e6cf +DIST gcc-16-20260620.tar.xz 98961572 BLAKE2B 304dd54ac6e89cb6bf45a24b2f94b95d94c04fb0ed63b412a52006f3c8640708624b29a74d44762182101d450ca74bb06859c40c5ddcb23c6d030390e08e6ecc SHA512 b619ffdc646d2398b81b53cd471bac7e933432d481eb4e238e84884e76fc195c6615591df425d85565a3159e5229a882743616d4051762cdc2e33d616ee436c5 +DIST gcc-16-20260627.tar.xz 98980236 BLAKE2B 48c1a93aa5bc19b8253a434e5d618cc90c8d43792ad1c5389b8594fa8510a1d328f82d94d3ebe75d18c4affeee39747c99ab5793a1cfb94b0c6c5f5ebece3e52 SHA512 2ce38e78a78fd9cd5d136c1013cf6b91d06a5572521145824442abe3ff0a738f46f9944a520f67fc9b6d7e5ab9c6a5c6c0660a9861c8fd8386b8f65ac1fa994c +DIST gcc-16-20260704.tar.xz 98986144 BLAKE2B b076e3ead68d27af90c9154c3b0e56fbb6fa07cf7d6d951ae56bec32071487a156c7cbf26bf56a0c29cd3292dbda51b338bcd58f80438d39e08f252effe9afac SHA512 c3501b4a21c4de8dd6cb28b03cb42e9f6d167491ef39f8957d8995e14c4608fa7de9fe3c4ed9fbc0ad169fb24e2d40fdec1e6689c2abf0bc1e57126e1025ec26 +DIST gcc-16.1.0-musl-patches-1.tar.xz 3036 BLAKE2B 348d0233c92e6b269011342a170989bb6375ff267b6ecfc00aafab2f793b925f1cccd654f438a4f88168a7999cab965aadfb6dfc9957a9b1a5bca62c326e0b84 SHA512 dc9c2d4a6e9088ad245039a962333ecba8476288844c686e7df9c867c8018451fccbd645a5690d554ee39809e6467285b3c619553edfed379c5f84c003bcb7e5 DIST gcc-16.1.0-patches-1.tar.xz 25128 BLAKE2B 487f8e1f204b8218ae54ef093fd3b99dd94a24e0fdc22ac37182b28e382e5601edc85e9af5c8374e76a576c8e8280cb84603e6f60bfb645a2adff5ee8e2e0070 SHA512 f5b4aefa101cef70c6bd78c689e90b0a30db14718ae2ff01827fe13af793f812616f16cc705fa333676f31025f3e840e243ef52851d32278b86d8b515589a2d9 DIST gcc-16.1.0-patches-2.tar.xz 26584 BLAKE2B 3597414aa1bedace5444834778bb666fc3372f3703975d5bc4656a792dbe498a76be582254bb3400f157cfcce2925c117d19595380fa2ffb6dab1e6f0d36ad57 SHA512 480a457b8944df5dd189c912d76457d650c348bce161465fd6031dd7c2803f8f9b26ef31b4ae8a8770c88eaa9c59a42c06ee1be3e1c8ec718974dda8b38a84ad +DIST gcc-16.1.0-patches-3.tar.xz 25156 BLAKE2B 874afd3239c0794082568738c837786fff71ad48c24677c11110630fc6e0c0baf17720aec53dc7cd6580102a3a3b7daa2b78c82488f758af8afcb6cd5621ee25 SHA512 dbead66ac0899e2833e88cd7a95b12d2f2dd1379ec3cc085701efd7f8e446feff4d6c00f1481026bb9c699487a143f6a429a8f95ad7228f8bbef5faf2d1b5a5e DIST gcc-16.1.0.tar.xz 102456900 BLAKE2B ceb07866b6b17eb4c69a6b51241b275bc5ec506603a7c1a4c1e2585091a09fc647be945beeff76700bffd9018bda81b072d84f909fd7998baa0cfe3f0eb550b4 SHA512 b3454958891ab47e1e5b6cb9396c0ad3b04f32fe2a7bf1153a143f21013fdb6b295ca94c98964698a688e4c1d7555ffd8ffbc20187507cce6b1c32cbcc09897a DIST gcc-17-20260426.tar.xz 98950460 BLAKE2B 05e078c2e71ae5877172d1940ca150e4bfccda156acab2594f8794cef99e25d161965c32827c7f720ffd193d25e41d31632dc36920f4fcece8a66b01eb136184 SHA512 a51cdd6ab718c545aa6a85594f4d92defdf87eee914f37c5556cbdbaae52c1683b8a106c0d22eb3ba4b5f1a1ebddcf5c9d9a3182f6c71b796b95276cf7c7cf41 DIST gcc-17-20260503.tar.xz 98970580 BLAKE2B 5b2046d78d8519fa0e29e61731bfba80c1a3108e8b981afa2c98362bcb5a525113c3fa3b168c8244e3dc65f99c5f445b675fc2de1c51039ed994667f88e73449 SHA512 18c1257fe9012c43a3d6121a9cc1244fb0b42b3951a136e34a58741e4aa71a9ed0c11014ca3e5ccc1cc81c22eb07bf134b25c072a7da470238306d3d36d6dcb2 DIST gcc-17-20260510.tar.xz 98978656 BLAKE2B e5b26081251772e47819c7848c834a2b1e3ad3421bac0e407b7abe6d30635c394c49a04f845b53622b2833e5941b853e2985a395c50152b9aa076aacbf0da278 SHA512 79748b2df412adfe5578a24d4698a17cd505d532b520b2bad0fde1cf8d21b7593958f565de289d301fa322002edc1a506b19076c84c65e3f1afd65d1d3c96f2b DIST gcc-17-20260517.tar.xz 99029888 BLAKE2B 461d73eae5752ddc56beb0aa1b765c355bf52779780af6944f4505b85d687b7ecf94cb805279f0e20368a25d74cb850b285ba4bd8c3b9940d97a4ffbfa7196a2 SHA512 43da20698110c50207307bef89518e0225b090615a80fa4def0f17d26b9ae94c5f70cf05299d8517710065b91daf6f61ee433637671ae2971ee82feab12517b9 DIST gcc-17-20260524.tar.xz 99113748 BLAKE2B ecb39c8dd44292f280457f3940cfb8e522f394593db4f760f9e7e26889f6b5344a559169e37abd910c6179584645183faf98cd8df7a7cb02379b125c91ab3aeb SHA512 587f92bfe5c601297e47f6b5bafdc75dfec0d0221c5a0096e458f3efbf5386bb10631992ac292462e95500470319f4a406eeefab4387789d8e98ad32281d9e30 +DIST gcc-17-20260531.tar.xz 99240952 BLAKE2B 477fe1d744aa43fd381026bf1de425c160cf3d22ab71fe8aef6fb88d27084d029c1c52e2713ebd455ed1393ecf143c14970dc7fba4cad9e3e66af0a56c50e2c5 SHA512 931873ae1feeb61704516f50fbf6dc26cd2e57a62368aa5c5fb0ea88a32660acf178e13a181e7f90554a88b82363a36539c243fb986e2d441a79e2a826570778 +DIST gcc-17-20260607.tar.xz 99304736 BLAKE2B 317a174ffab74c31c093bf834b60691b8653c90a8aec5de30542e59ab44139806c59b90c338dfc7363a52e2a4498e57e67503c26832b41e322b5290808ac2814 SHA512 8278ff69d6b1e4a7a42078f47784b0316decb257e0c986c2c66a405ced32addb8a712267d4262ee5ea10625c1a25ac1f760e1275942909f3adaeb8f7330d1205 +DIST gcc-17-20260614.tar.xz 99351908 BLAKE2B 6a18901b48fd8f6343ee80c329514a0d248923d938102cd697704e15ae66f65e21945ff3b14ef69282c0660b262dd2dc0912fcd12aa20936187ea5e43844c2cd SHA512 d1ffa22d51106bc5d6281a1c1eae8e35906740cc533a9db037a54ae07af060b8335f4e1106a8283a948b998fdd2d73c5179eeaa446f8c3c0f1f259dfaf0d2f10 +DIST gcc-17-20260621.tar.xz 99395408 BLAKE2B 3e42539dd691e10a1f58309aadcc676e8260fd37b1d4145c80d00e132a05739014db8a199f437b915d78b66ec670644e3ce18e4ef3cbec6a1e170bd72e0f8fa7 SHA512 d90233846b8bf6710124ff386f83f3432a82dfb1dd2d5b5afcf04491a5610b98fa15d57360dc7efdf083fe5a365f8307f16af86fd966a62b6d4605fb3d9640e8 +DIST gcc-17-20260628.tar.xz 99479040 BLAKE2B 0cc20cccf6acd0efbabc0e7a2282bb694af39d1c9c5747d1fd129f06fb0a334789e7f8819473fed2da953303aad877212633d98d3ce031e3979be357b883246d SHA512 eb728e8bba41e7dec2eb833657e1a69da484a3db03043dbee50fa4730a8aa6b1b1c41d1b204d05135b249b4b84e8c4482fdc4aa0f09897cbb5df5bb918792a51 +DIST gcc-17-20260705.tar.xz 99562960 BLAKE2B 940a4601a98682bf268e8f992991866629749bb6ec3613c708c2cbb48829b0315ee7f8bdcb0de34398ba7d3a4a89ea5a538641c145523bda444e36ceed55d673 SHA512 2b76d0549aa6184d75e0cb9ab58210141ed920804eaad28642c8e5423063c1a0295115ee3df9488352b1051e0c01775ac021c8d85d2669b8c2653de598334dd1 DIST gcc-17.0.0-musl-patches-1.tar.xz 3040 BLAKE2B cc39906facd9c395bae9f87c67124066b8081521df39857d752f1e398dca5113240d24a836ca0f793313f954d6c38ff39961bf71a8036a1d5bc62751e71eb7c9 SHA512 4e330ee1c87229ba30644ad7a6841683aba368ce00585b5a7af433f215e248534a8d81f6f95fcf7b348c7d9aeaf1eeae015d76601e3d918a0ca39d94ed7e521c DIST gcc-17.0.0-patches-1.tar.xz 25196 BLAKE2B 7db76cfcc56556489c5c0698bad9d8f8f41d57f81ee439c7dc57add47858226fc37e8818e1644be69eff7322d4823b28571784dc0166624c866868b92c9f6e42 SHA512 9349836f0578d121b2b824c91f6ec18e5df3c4fc811f9b5e118e0ee957f9983cb2ff3b8b254b5dd912b5b1113259a3e2ac5e7b06c7c121ba9ca964c89a73bfa0 DIST gcc-17.0.0-patches-2.tar.xz 25148 BLAKE2B 0d1358c7cca8ed3779d0b618160fa31105dd1a84f0b84f351edaf0095e5e72cc59e204b70f843a7c327c4ea8a243c2ddfddfefc61ce1b1bc6275855cf84f4abc SHA512 80bc3b6369a602b4705f8ae658962c5ab23e3e93bcb91fa551ca9e180e3a8cdea534190d21702313a4bf8bbdbf26c6984eee53ee3c5a346ce4cee549b376f1ca DIST gcc-17.0.0-patches-3.tar.xz 27364 BLAKE2B e7c039dbfb942f5f61b7faed8cd0fd31d52ae27ba256da98722eea8af5d692702faf1419e79d7c34e6d462cb7f4b3dd64ca47e4cd2527209ebbbbc4be819e1fa SHA512 e1ec00b76407aaf640f8b06d626ee85074fed1e936c14ee48f177796f4fd0100aa2e372e31181c84d7feea0c5b1e5a08e9619d572090196e5d1462bdba619450 DIST gcc-17.0.0-patches-4.tar.xz 26632 BLAKE2B 69b491f3b1be38c9d0c72510b9f31a12cc8149f3d7125897095ebeafadc2a99596287a38fd8206af85b49831b336bab7e96920a56a44071d4834dd9aa4297975 SHA512 3c983d9df9a308fdc442b5453c3dd66f27fa731afd4dedc906e0841c23cd8e6f9b8c1ae5de5ac3466e5e0ea923cc6df0af46893ea7dce78135b74c494a0fecca +DIST gcc-17.0.0-patches-5.tar.xz 25200 BLAKE2B 124da5329e07cd67d8c2e5579f5a72d635a83d5a86ba4d6bf02d034f21fd0fbe7635690fc8f73b8e593825c7347bdf24d3300def57a655d243211f8846bcf295 SHA512 c8ed604795576af916255c7df5432ac7b971ec193d259d92400b5a875f533f2f1799dde6790f90c4f01fa245de5984390e9d0ed737dd5a32530fbafd4e7371af +DIST gcc-17.0.0-patches-6.tar.xz 25608 BLAKE2B 672a829ef647d74382a010869db6b9af970c303901dd3317ad2f5d1e7344a03d902493bf66ddeb5409b598c7257f48786dfa88f96a9605d2f046cffefd1c7d30 SHA512 877275e8340773eb8487ea84735385c8ee031fc7a830c3f886e6fd569e7357902f19bc441cf10972fa21206a3f888dc5f934753325c2d7189619353970af176f +DIST gcc-17.0.0-patches-7.tar.xz 26284 BLAKE2B 11d4dded358bcd398db800bbbda73846e36b947c48a2ace9529608c163408d174c5395a816d669bdd89e86bd09c99b5c0a5e4e79b5780ce4a027dbd1f91ad108 SHA512 fb86f4d272ad672d0676a93a747554dcfdc175428b4606698197be396cd7aa5991331097bdc7a94abbfbb75f2f69d30da3d078f6a35db082b539033b7371b676 +DIST gcc-17.0.0-patches-8.tar.xz 26544 BLAKE2B c8bb2f2e8110dac17ea5a7670866d6a891b148a940c76e4adb5418e2837585f78f907ae5a8733930a6c55f7a4d92c8b2305d02dc897c9dd17d5971fc01762651 SHA512 f4dd5496afc93afb4b3ba52818106a4a69ef52ce22e2828e025be046cdc5f261017f8d86d4097a9e53c9da8c9e6a8e298c9519c75927713e757411b808e182d4 +DIST gcc-17.0.0-patches-9.tar.xz 24432 BLAKE2B 932c813fefda243ec39d1024c1efb6d4ee678392de77aa025f96c8f8266d2efa3d66439404dcd35aca0afc7d86ed6f05795a2ac35f49be2deebda56402290e59 SHA512 84138cb04a53d308c03751bc4929082ff00c38e8b4ba5f5a353b636deb695704106bc226d47f1d4bc77001585285995b854ab6f2c56e4460e6329e1a2d041c9c DIST gcc-8.5.0-patches-5.tar.xz 20188 BLAKE2B 45b29161105edc6344bb48f5bdf17e1aad6e8d9edb4d9434816425996c1b12c10f1303963776adad9db866d845f864d80d198a30e35ee6c204ca3659cf7a1401 SHA512 f22ab5d8e3116e2e896a5dcbbf5cef67dc5090182af364ef64fc22d2b28c029da5ed39f126f446721e388e7b6848239d01f5fc0346e49b96d5c04068b557f8f8 DIST gcc-8.5.0.tar.xz 63841008 BLAKE2B aa81a1a730fd7371360f6abed6ba78b5843fd18c58d5de5687acc320741b9e430e85df3535a1ef7a26051409be8d2f0945f503e5968480d919103123a99d4b12 SHA512 92f599680e6b7fbce88bcdda810f468777d541e5fddfbb287f7977d51093de2a5178bd0e6a08dfe37090ea10a0508a43ccd00220041abbbec33f1179bfc174d8 DIST gcc-9.5.0-patches-3.tar.xz 17888 BLAKE2B f2be05f32f4ecca41ebf4f402bf8fb3c11a36a8b7bd912ee9fe6baea980929774b629e12df7afb3405f1f5d044766a437b3eca5433f4af6c757f4a9dbb2e77eb SHA512 d31bb1964cdb2376572e4981b22c7ffa6fa695259c27af5d0d12aebc334cd1122c2f75739033f25f1e672300adeab2b3772622cb16099d002f3f8c5a8fe694f9 diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260429.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260429.ebuild index 93bcc04648d..d036b2a5009 100644 --- a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260429.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260429.ebuild @@ -41,7 +41,7 @@ if tc_is_live ; then EGIT_BRANCH=releases/gcc-$(ver_cut 1) elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then # Don't keyword live ebuilds - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" :; fi diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260527.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260527.ebuild new file mode 100644 index 00000000000..fea647d1997 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260527.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="13.3.0" +MUSL_GCC_VER="13.3.0" +PATCH_VER="9" +MUSL_VER="3" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ ${PV} == *.9999 ]] ; then + MY_PV_2=$(ver_cut 2) + MY_PV_3=1 + if [[ ${MY_PV_2} == 0 ]] ; then + MY_PV_2=0 + MY_PV_3=0 + else + MY_PV_2=$((${MY_PV_2} - 1)) + fi + + # e.g. 12.2.9999 -> 12.1.1 + TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3} +elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=releases/gcc-$(ver_cut 1) +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260603.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260603.ebuild new file mode 100644 index 00000000000..d036b2a5009 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260603.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="13.3.0" +MUSL_GCC_VER="13.3.0" +PATCH_VER="9" +MUSL_VER="3" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ ${PV} == *.9999 ]] ; then + MY_PV_2=$(ver_cut 2) + MY_PV_3=1 + if [[ ${MY_PV_2} == 0 ]] ; then + MY_PV_2=0 + MY_PV_3=0 + else + MY_PV_2=$((${MY_PV_2} - 1)) + fi + + # e.g. 12.2.9999 -> 12.1.1 + TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3} +elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=releases/gcc-$(ver_cut 1) +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260610.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260610.ebuild new file mode 100644 index 00000000000..fea647d1997 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260610.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="13.3.0" +MUSL_GCC_VER="13.3.0" +PATCH_VER="9" +MUSL_VER="3" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ ${PV} == *.9999 ]] ; then + MY_PV_2=$(ver_cut 2) + MY_PV_3=1 + if [[ ${MY_PV_2} == 0 ]] ; then + MY_PV_2=0 + MY_PV_3=0 + else + MY_PV_2=$((${MY_PV_2} - 1)) + fi + + # e.g. 12.2.9999 -> 12.1.1 + TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3} +elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=releases/gcc-$(ver_cut 1) +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260617.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260617.ebuild new file mode 100644 index 00000000000..fea647d1997 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260617.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="13.3.0" +MUSL_GCC_VER="13.3.0" +PATCH_VER="9" +MUSL_VER="3" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ ${PV} == *.9999 ]] ; then + MY_PV_2=$(ver_cut 2) + MY_PV_3=1 + if [[ ${MY_PV_2} == 0 ]] ; then + MY_PV_2=0 + MY_PV_3=0 + else + MY_PV_2=$((${MY_PV_2} - 1)) + fi + + # e.g. 12.2.9999 -> 12.1.1 + TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3} +elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=releases/gcc-$(ver_cut 1) +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260624.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260624.ebuild new file mode 100644 index 00000000000..fea647d1997 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260624.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="13.3.0" +MUSL_GCC_VER="13.3.0" +PATCH_VER="9" +MUSL_VER="3" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ ${PV} == *.9999 ]] ; then + MY_PV_2=$(ver_cut 2) + MY_PV_3=1 + if [[ ${MY_PV_2} == 0 ]] ; then + MY_PV_2=0 + MY_PV_3=0 + else + MY_PV_2=$((${MY_PV_2} - 1)) + fi + + # e.g. 12.2.9999 -> 12.1.1 + TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3} +elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=releases/gcc-$(ver_cut 1) +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260701.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260701.ebuild new file mode 100644 index 00000000000..fea647d1997 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-13.4.1_p20260701.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="13.3.0" +MUSL_GCC_VER="13.3.0" +PATCH_VER="9" +MUSL_VER="3" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ ${PV} == *.9999 ]] ; then + MY_PV_2=$(ver_cut 2) + MY_PV_3=1 + if [[ ${MY_PV_2} == 0 ]] ; then + MY_PV_2=0 + MY_PV_3=0 + else + MY_PV_2=$((${MY_PV_2} - 1)) + fi + + # e.g. 12.2.9999 -> 12.1.1 + TOOLCHAIN_GCC_PV=$(ver_cut 1).${MY_PV_2}.${MY_PV_3} +elif [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=releases/gcc-$(ver_cut 1) +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260430.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260430.ebuild index 3af2dfd2521..5c2b3086c65 100644 --- a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260430.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260430.ebuild @@ -29,7 +29,7 @@ if tc_is_live ; then EGIT_BRANCH=releases/gcc-$(ver_cut 1) elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then # m68k doesnt build (ICE, bug 932733) - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" :; fi diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260528.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260528.ebuild new file mode 100644 index 00000000000..4eb953d1246 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260528.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="14.3.0" +PATCH_VER="6" +MUSL_VER="2" +MUSL_GCC_VER="14.3.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=releases/gcc-$(ver_cut 1) +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # m68k doesnt build (ICE, bug 932733) + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260604.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260604.ebuild new file mode 100644 index 00000000000..5c2b3086c65 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260604.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="14.3.0" +PATCH_VER="6" +MUSL_VER="2" +MUSL_GCC_VER="14.3.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=releases/gcc-$(ver_cut 1) +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # m68k doesnt build (ICE, bug 932733) + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260611.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260611.ebuild new file mode 100644 index 00000000000..4eb953d1246 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260611.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="14.3.0" +PATCH_VER="6" +MUSL_VER="2" +MUSL_GCC_VER="14.3.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=releases/gcc-$(ver_cut 1) +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # m68k doesnt build (ICE, bug 932733) + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260618.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260618.ebuild new file mode 100644 index 00000000000..4eb953d1246 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260618.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="14.3.0" +PATCH_VER="6" +MUSL_VER="2" +MUSL_GCC_VER="14.3.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=releases/gcc-$(ver_cut 1) +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # m68k doesnt build (ICE, bug 932733) + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260619.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260619.ebuild new file mode 100644 index 00000000000..09355a26fa4 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.3.1_p20260619.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_GCC_RC=1 +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="14.3.0" +PATCH_VER="6" +MUSL_VER="2" +MUSL_GCC_VER="14.3.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=releases/gcc-$(ver_cut 1) +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # m68k doesnt build (ICE, bug 932733) + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.4.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.4.0.ebuild new file mode 100644 index 00000000000..3af2dfd2521 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.4.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="14.3.0" +PATCH_VER="6" +MUSL_VER="2" +MUSL_GCC_VER="14.3.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=releases/gcc-$(ver_cut 1) +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # m68k doesnt build (ICE, bug 932733) + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.4.9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.5.9999.ebuild similarity index 100% rename from sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.4.9999.ebuild rename to sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-14.5.9999.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.2.1_p20260501.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.2.1_p20260501.ebuild index cef09bea228..2de7b48b985 100644 --- a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.2.1_p20260501.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.2.1_p20260501.ebuild @@ -29,7 +29,7 @@ if tc_is_live ; then EGIT_BRANCH=master elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then # Don't keyword live ebuilds - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" :; fi diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.2.1_p20260529.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.2.1_p20260529.ebuild new file mode 100644 index 00000000000..76e691e7f5a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.2.1_p20260529.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="15.2.0" +PATCH_VER="8" +MUSL_VER="1" +MUSL_GCC_VER="15.2.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.2.1_p20260605.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.2.1_p20260605.ebuild new file mode 100644 index 00000000000..e4e9fbfe94e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.2.1_p20260605.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_GCC_RC=1 +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="15.2.0" +PATCH_VER="8" +MUSL_VER="1" +MUSL_GCC_VER="15.2.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.0.ebuild new file mode 100644 index 00000000000..b661e0f0990 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="15.2.0" +PATCH_VER="8" +MUSL_VER="1" +MUSL_GCC_VER="15.2.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.1_p20260612.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.1_p20260612.ebuild new file mode 100644 index 00000000000..76e691e7f5a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.1_p20260612.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="15.2.0" +PATCH_VER="8" +MUSL_VER="1" +MUSL_GCC_VER="15.2.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.1_p20260619.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.1_p20260619.ebuild new file mode 100644 index 00000000000..76e691e7f5a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.1_p20260619.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="15.2.0" +PATCH_VER="8" +MUSL_VER="1" +MUSL_GCC_VER="15.2.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.1_p20260626.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.1_p20260626.ebuild new file mode 100644 index 00000000000..76e691e7f5a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.1_p20260626.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="15.2.0" +PATCH_VER="8" +MUSL_VER="1" +MUSL_GCC_VER="15.2.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.1_p20260703.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.1_p20260703.ebuild new file mode 100644 index 00000000000..76e691e7f5a --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-15.3.1_p20260703.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="15.2.0" +PATCH_VER="8" +MUSL_VER="1" +MUSL_GCC_VER="15.2.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260530.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260530.ebuild new file mode 100644 index 00000000000..9a2ea79cb4f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260530.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="16.1.0" +PATCH_VER="2" +MUSL_VER="1" +MUSL_GCC_VER="16.1.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260606.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260606.ebuild new file mode 100644 index 00000000000..c0cadeb68bf --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260606.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="16.1.0" +PATCH_VER="2" +MUSL_VER="1" +MUSL_GCC_VER="16.1.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260613.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260613.ebuild new file mode 100644 index 00000000000..76a702516e8 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260613.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="16.1.0" +PATCH_VER="3" +MUSL_VER="1" +MUSL_GCC_VER="16.1.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260620.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260620.ebuild new file mode 100644 index 00000000000..3c65dcacdd6 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260620.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="16.1.0" +PATCH_VER="3" +MUSL_VER="1" +MUSL_GCC_VER="16.1.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260627.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260627.ebuild new file mode 100644 index 00000000000..3c65dcacdd6 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260627.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="16.1.0" +PATCH_VER="3" +MUSL_VER="1" +MUSL_GCC_VER="16.1.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260704.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260704.ebuild new file mode 100644 index 00000000000..3c65dcacdd6 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-16.1.1_p20260704.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="16.1.0" +PATCH_VER="3" +MUSL_VER="1" +MUSL_GCC_VER="16.1.0" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260531.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260531.ebuild new file mode 100644 index 00000000000..8ee2fd96d29 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260531.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="17.0.0" +PATCH_VER="4" +MUSL_GCC_VER="17.0.0" +MUSL_VER="1" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260607-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260607-r1.ebuild new file mode 100644 index 00000000000..4b0bf478022 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260607-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="17.0.0" +PATCH_VER="6" +MUSL_GCC_VER="17.0.0" +MUSL_VER="1" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260607.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260607.ebuild new file mode 100644 index 00000000000..c63d63a7c66 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260607.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="17.0.0" +PATCH_VER="5" +MUSL_GCC_VER="17.0.0" +MUSL_VER="1" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260614.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260614.ebuild new file mode 100644 index 00000000000..9534f36da73 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260614.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="17.0.0" +PATCH_VER="7" +MUSL_GCC_VER="17.0.0" +MUSL_VER="1" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260621.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260621.ebuild new file mode 100644 index 00000000000..820315af963 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260621.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="17.0.0" +PATCH_VER="8" +MUSL_GCC_VER="17.0.0" +MUSL_VER="1" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260628.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260628.ebuild new file mode 100644 index 00000000000..eb217aa4410 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260628.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="17.0.0" +PATCH_VER="9" +MUSL_GCC_VER="17.0.0" +MUSL_VER="1" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} diff --git a/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260705.ebuild b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260705.ebuild new file mode 100644 index 00000000000..eb217aa4410 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-devel/gcc/gcc-17.0.0_p20260705.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintenance notes and explanations of GCC handling are on the wiki: +# https://wiki.gentoo.org/wiki/Project:Toolchain/sys-devel/gcc + +TOOLCHAIN_HAS_TESTS=1 +PATCH_GCC_VER="17.0.0" +PATCH_VER="9" +MUSL_GCC_VER="17.0.0" +MUSL_VER="1" +PYTHON_COMPAT=( python3_{11..14} ) + +if [[ -n ${TOOLCHAIN_GCC_RC} ]] ; then + # Cheesy hack for RCs + MY_PV=$(ver_cut 1).$((($(ver_cut 2) + 1))).$((($(ver_cut 3) - 1)))-RC-$(ver_cut 5) + MY_P=${PN}-${MY_PV} + GCC_TARBALL_SRC_URI="mirror://gcc/snapshots/${MY_PV}/${MY_P}.tar.xz" + TOOLCHAIN_SET_S=no + S="${WORKDIR}"/${MY_P} +fi + +inherit toolchain + +if tc_is_live ; then + # Needs to be after inherit (for now?), bug #830908 + EGIT_BRANCH=master +elif [[ -z ${TOOLCHAIN_USE_GIT_PATCHES} ]] ; then + # Don't keyword live ebuilds + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + :; +fi + +if [[ ${CATEGORY} != cross-* ]] ; then + # Technically only if USE=hardened *too* right now, but no point in complicating it further. + # If GCC is enabling CET by default, we need glibc to be built with support for it. + # bug #830454 + RDEPEND="elibc_glibc? ( sys-libs/glibc[cet(-)?] )" + DEPEND="${RDEPEND}" +fi + +src_prepare() { + local p upstreamed_patches=( + # add them here + ) + for p in "${upstreamed_patches[@]}"; do + rm -v "${WORKDIR}/patch/${p}" || die + done + + toolchain_src_prepare + eapply "${FILESDIR}"/${PN}-13-fix-cross-fixincludes.patch + [[ ${CHOST} == m68k-* ]] && eapply "${FILESDIR}"/${PN}-15-m68k-workaround.patch + eapply_user +} From a0d158e6e4c5722941f44ae6a5c39f455c0cb40d Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:41:51 +0000 Subject: [PATCH 198/243] sys-fs/btrfs-progs: Sync with Gentoo It's from Gentoo commit 8c92bdf3dfeaf992d76b34082a8da9a9e652c717. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-fs/btrfs-progs/btrfs-progs-7.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/btrfs-progs/btrfs-progs-7.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-fs/btrfs-progs/btrfs-progs-7.0.ebuild index c9ec39cb839..7cdaabfb9da 100644 --- a/sdk_container/src/third_party/portage-stable/sys-fs/btrfs-progs/btrfs-progs-7.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-fs/btrfs-progs/btrfs-progs-7.0.ebuild @@ -26,7 +26,7 @@ else S="${WORKDIR}"/${PN}-${MY_PV} if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" fi fi From aa3354382ce90a7e8704b09515642c09f68f04ef Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:41:52 +0000 Subject: [PATCH 199/243] sys-fs/cryptsetup: Sync with Gentoo It's from Gentoo commit f930d2629f8fe415bd541b88d1cf8bae254b1509. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-fs/cryptsetup/Manifest | 1 + .../cryptsetup/cryptsetup-2.8.6-r2.ebuild | 174 ++++++++++++++++++ 2 files changed, 175 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/cryptsetup/cryptsetup-2.8.6-r2.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/cryptsetup/Manifest b/sdk_container/src/third_party/portage-stable/sys-fs/cryptsetup/Manifest index 53811dd4ffe..d9ea56db498 100644 --- a/sdk_container/src/third_party/portage-stable/sys-fs/cryptsetup/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-fs/cryptsetup/Manifest @@ -2,5 +2,6 @@ DIST cryptsetup-2.8.3.tar.sign 833 BLAKE2B f03bb85dfdcc3b22ab7141478fb289fb6ff8b DIST cryptsetup-2.8.3.tar.xz 11863620 BLAKE2B 9559fb8cd0d916903c0e491c14f8d30a156672313065f4d58ca02a67293288831e6b5d12e843ae607c604d6a08bed46da887308a9ff87413e413b1cf7756810d SHA512 6aaf5a7e6d716e581b50fce417dad079022ff15d54e8a93697888b030b8defa03a39fd94725c3a8692cd07147573bd7f1c3c41571c488aabd44e4f9def9673e2 DIST cryptsetup-2.8.4.tar.sign 833 BLAKE2B 22264d6a314cb14cabf1614225cc339261ec7dc44c280547a00ee552f6723243591260e0aa793330f4a2a8460840e687847d08923ab3abfea2e11d81a8e3e805 SHA512 b568ea6272960f186c83247c95c666355c44deb9be7508202ec56d0bca8dcfe660ef175f0f0792ebf9c1219f15cd3f24536dffff5e131142c1ead408a5350274 DIST cryptsetup-2.8.4.tar.xz 11880632 BLAKE2B 135721fe1daca13bf5c1116dfe9888d50e617d06f8c2c3cff60bb76ab9d2ef4f91524d8c4185c5f673290b5a7f9dcd83b9ab9c25112500fea9100e30d8a8caf0 SHA512 cf9923552f93d3ca047fa17e2d73923b782e0f5146d9721fb8e1196374185524c2642c1243ea72107aef03a0b0b9d967576a58b1a680dd9b6a17dbf4a4430489 +DIST cryptsetup-2.8.6-patches.tar.xz 7064 BLAKE2B 6c30237e8850e36bce8bf594d7fb6dc346dda7d1e919424d9ab58818ef65db2f0a6de8fe3cd806410e1272cda75e753e23640a605441a39542fcb45ac3b1300d SHA512 59af464ed8b7e49ede4de78171b8fa49f03e0db2a9ade98f8aaef40ddcd3c2d099ea5cd7e98e2888ae47370e652f6de35a5f9c43211970561ca97861a4370df9 DIST cryptsetup-2.8.6.tar.sign 833 BLAKE2B 399d3ec4b5bce2abd4d4a3f81f4ca79867ecd12e5e1b3128cb610629ed716877cf23b42bc7c9579f977187aa62541c13df7fa371f89a962e453e3f087e1b5239 SHA512 5299d18b55c119bc80654be8868b9d111aedbe33654ccc64cb0e627d39c5265e960b406884347d4ed4129c39cc3fcd990c1861a80d7958059a17e945df769548 DIST cryptsetup-2.8.6.tar.xz 11887880 BLAKE2B 1d5ac80bbd2349f727fbb4ff1c7b85e48dbf7bc5a2cb985f23f3c4a482d44043900c0ab4b5190c2cd2d8e6037346d8ed9e1eabb19123c627498fb723776cb677 SHA512 b580e0b384a590447cf21a9d50142e7f799c3dae0fc13999886db45716f95523fa47c795335a27a7282ff1ee67eedd69989c56e6a429016aa957171fe2646d5e diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/cryptsetup/cryptsetup-2.8.6-r2.ebuild b/sdk_container/src/third_party/portage-stable/sys-fs/cryptsetup/cryptsetup-2.8.6-r2.ebuild new file mode 100644 index 00000000000..a676d6aa9b9 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/cryptsetup/cryptsetup-2.8.6-r2.ebuild @@ -0,0 +1,174 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# TODO: meson (not just yet as of 2.8.0, see https://gitlab.com/cryptsetup/cryptsetup/-/issues/949#note_2585304492) +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/milanbroz.asc +inherit linux-info tmpfiles verify-sig + +DESCRIPTION="Tool to setup encrypted devices with dm-crypt" +HOMEPAGE="https://gitlab.com/cryptsetup/cryptsetup" +SRC_URI=" + https://www.kernel.org/pub/linux/utils/${PN}/v$(ver_cut 1-2)/${P/_/-}.tar.xz + https://distfiles.gentoo.org/pub/dev/sam@gentoo.org/${CATEGORY}/${PN}/${P}-patches.tar.xz + verify-sig? ( https://www.kernel.org/pub/linux/utils/${PN}/v$(ver_cut 1-2)/${P/_/-}.tar.sign ) +" +S="${WORKDIR}"/${P/_/-} + +LICENSE="GPL-2+" +SLOT="0/12" # libcryptsetup.so version +if [[ ${PV} != *_rc* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +CRYPTO_BACKENDS="gcrypt kernel nettle +openssl" +# we don't support nss since it doesn't allow cryptsetup to be built statically +# and it's missing ripemd160 support so it can't provide full backward compatibility +IUSE="${CRYPTO_BACKENDS} +argon2 fips nls pwquality passwdqc ssh static static-libs test +udev urandom" +RESTRICT="!test? ( test )" +# bug #496612, bug #832711, bug #843863 +REQUIRED_USE=" + ?? ( pwquality passwdqc ) + ^^ ( ${CRYPTO_BACKENDS//+/} ) + static? ( !ssh !udev !fips ) + static-libs? ( !passwdqc ) + fips? ( !kernel !nettle ) +" + +LIB_DEPEND=" + dev-libs/json-c:=[static-libs(+)] + dev-libs/popt[static-libs(+)] + >=sys-apps/util-linux-2.31-r1[static-libs(+)] + argon2? ( app-crypt/argon2:=[static-libs(+)] ) + gcrypt? ( + dev-libs/libgcrypt:0=[static-libs(+)] + dev-libs/libgpg-error[static-libs(+)] + ) + nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] ) + openssl? ( dev-libs/openssl:0=[static-libs(+)] ) + pwquality? ( dev-libs/libpwquality[static-libs(+)] ) + passwdqc? ( sys-auth/passwdqc ) + ssh? ( net-libs/libssh[static-libs(+)] net-libs/libssh[sftp(+)] ) + sys-fs/lvm2[static-libs(+)] +" +# We have to always depend on ${LIB_DEPEND} rather than put behind +# !static? () because we provide a shared library which links against +# these other packages. bug #414665 +RDEPEND=" + static-libs? ( ${LIB_DEPEND} ) + ${LIB_DEPEND//\[static-libs\([+-]\)\]} + udev? ( virtual/libudev:= ) +" +DEPEND=" + ${RDEPEND} + static? ( ${LIB_DEPEND} ) +" +BDEPEND=" + virtual/pkgconfig + test? ( + app-misc/jq + dev-tcltk/expect + dev-util/xxd + ) + verify-sig? ( sec-keys/openpgp-keys-milanbroz ) +" + +PATCHES=( + "${WORKDIR}"/${P}-patches/ +) + +pkg_setup() { + local CONFIG_CHECK="~DM_CRYPT ~CRYPTO ~CRYPTO_CBC ~CRYPTO_SHA256" + local WARNING_DM_CRYPT="CONFIG_DM_CRYPT:\tis not set (required for cryptsetup)\n" + local WARNING_CRYPTO_SHA256="CONFIG_CRYPTO_SHA256:\tis not set (required for cryptsetup)\n" + local WARNING_CRYPTO_CBC="CONFIG_CRYPTO_CBC:\tis not set (required for kernel 2.6.19)\n" + local WARNING_CRYPTO="CONFIG_CRYPTO:\tis not set (required for cryptsetup)\n" + + # The kernel crypto backend talks to the in-kernel crypto API via AF_ALG + if use kernel ; then + CONFIG_CHECK+=" ~CRYPTO_USER_API ~CRYPTO_USER_API_HASH ~CRYPTO_USER_API_SKCIPHER" + local WARNING_CRYPTO_USER_API="CONFIG_CRYPTO_USER_API:\tis not set (required for the kernel crypto backend)\n" + local WARNING_CRYPTO_USER_API_HASH="CONFIG_CRYPTO_USER_API_HASH:\tis not set (required for the kernel crypto backend)\n" + local WARNING_CRYPTO_USER_API_SKCIPHER="CONFIG_CRYPTO_USER_API_SKCIPHER:\tis not set (required for the kernel crypto backend)\n" + fi + check_extra_config +} + +src_unpack() { + if use verify-sig; then + verify-sig_uncompress_verify_unpack "${DISTDIR}"/${P/_/-}.tar.xz \ + "${DISTDIR}"/${P/_/-}.tar.sign + else + default + fi + + unpack ${P}-patches.tar.xz +} + +src_prepare() { + default + + # Drop with 2.8.6 + sed -i -e 's/jq /_jq /' tests/generators/generate-luks2-tokens-invalid.img.sh || die +} + +src_configure() { + # configure may search for libselinux but it seems to only be for + # statically linking lvm2 + local myeconfargs=( + --disable-internal-argon2 + --disable-asciidoc + --enable-shared + --sbindir="${EPREFIX}"/sbin + # for later use + --with-default-luks-format=LUKS2 + --with-tmpfilesdir="${EPREFIX}/usr/lib/tmpfiles.d" + --with-crypto_backend=$(for x in ${CRYPTO_BACKENDS//+/} ; do usev ${x} ; done) + $(use_enable argon2 libargon2) + $(use_enable nls) + $(use_enable pwquality) + $(use_enable passwdqc) + $(use_enable !static external-tokens) + $(use_enable static static-cryptsetup) + $(use_enable static-libs static) + $(use_enable udev) + $(use_enable !urandom dev-random) + $(use_enable ssh ssh-token) + $(usev !argon2 '--with-luks2-pbkdf=pbkdf2') + $(use_enable fips) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if use static ; then + mv "${ED}"/sbin/cryptsetup{.static,} || die + mv "${ED}"/sbin/veritysetup{.static,} || die + mv "${ED}"/sbin/integritysetup{.static,} || die + + if use ssh ; then + mv "${ED}"/sbin/cryptsetup-ssh{.static,} || die + fi + fi + + find "${ED}" -type f -name "*.la" -delete || die + + dodoc docs/v*ReleaseNotes + + newconfd "${FILESDIR}"/2.4.3-dmcrypt.confd dmcrypt + newinitd "${FILESDIR}"/2.4.3-dmcrypt.rc dmcrypt +} + +pkg_postinst() { + tmpfiles_process cryptsetup.conf + + if use kernel ; then + ewarn "Note that kernel backend is very slow for this type of operation" + ewarn "and is provided mainly for embedded systems wanting to avoid" + ewarn "userspace crypto libraries." + fi +} From 46dd2246162f9284463f3918bdf95c927ea15153 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:02 +0000 Subject: [PATCH 200/243] sys-fs/lxcfs: Sync with Gentoo It's from Gentoo commit 2916ad226654f79f001b8dd85eca2341f719993c. Signed-off-by: Flatcar Buildbot --- .../third_party/portage-stable/sys-fs/lxcfs/lxcfs-7.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/lxcfs/lxcfs-7.0.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-fs/lxcfs/lxcfs-7.0.0.ebuild index daeb2f2bcb5..3f594759040 100644 --- a/sdk_container/src/third_party/portage-stable/sys-fs/lxcfs/lxcfs-7.0.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-fs/lxcfs/lxcfs-7.0.0.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://linuxcontainers.org/downloads/lxcfs/${P}.tar.gz LICENSE="Apache-2.0 LGPL-2+" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm64 ~riscv ~x86" IUSE="doc test" DEPEND="sys-fs/fuse:3=" From 1bb1d9f3207aeee5fc84f266f266fbdece31a843 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:08 +0000 Subject: [PATCH 201/243] sys-fs/xfsprogs: Sync with Gentoo It's from Gentoo commit 98c3314aa92c1828f59f7f83fce64e3ad75c7f5d. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-fs/xfsprogs/xfsprogs-7.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/xfsprogs/xfsprogs-7.0.1.ebuild b/sdk_container/src/third_party/portage-stable/sys-fs/xfsprogs/xfsprogs-7.0.1.ebuild index 96bc0f73ce7..d095941d575 100644 --- a/sdk_container/src/third_party/portage-stable/sys-fs/xfsprogs/xfsprogs-7.0.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-fs/xfsprogs/xfsprogs-7.0.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://www.kernel.org/pub/linux/utils/fs/xfs/${PN}/${P}.tar.xz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="icu libedit nls selinux static-libs" RDEPEND=" From e30a5e44a7122c0ea6c384b9c6630944abe94954 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:08 +0000 Subject: [PATCH 202/243] sys-fs/zfs: Sync with Gentoo It's from Gentoo commit 2e2dfb355edd1482d8301d19f677354626e7c206. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-fs/zfs/Manifest | 16 +- .../files/2.4.2-gcc16-earlyclobber-fix.patch | 68 +++ ...ply_ro_rw_mount_option_to_superblock.patch | 566 ++++++++++++++++++ .../sys-fs/zfs/zfs-2.2.10.ebuild | 305 ++++++++++ .../{zfs-2.3.5.ebuild => zfs-2.3.7.ebuild} | 5 +- .../{zfs-2.3.3.ebuild => zfs-2.3.8.ebuild} | 8 +- .../sys-fs/zfs/zfs-2.4.1.ebuild | 22 +- .../sys-fs/zfs/zfs-2.4.2-r1.ebuild | 439 ++++++++++++++ .../{zfs-2.4.0.ebuild => zfs-2.4.3.ebuild} | 31 +- .../portage-stable/sys-fs/zfs/zfs-9999.ebuild | 32 +- 10 files changed, 1440 insertions(+), 52 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/zfs/files/2.4.2-gcc16-earlyclobber-fix.patch create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/zfs/files/2.4.2-properly_apply_ro_rw_mount_option_to_superblock.patch create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.2.10.ebuild rename sdk_container/src/third_party/portage-stable/sys-fs/zfs/{zfs-2.3.5.ebuild => zfs-2.3.7.ebuild} (98%) rename sdk_container/src/third_party/portage-stable/sys-fs/zfs/{zfs-2.3.3.ebuild => zfs-2.3.8.ebuild} (98%) create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.4.2-r1.ebuild rename sdk_container/src/third_party/portage-stable/sys-fs/zfs/{zfs-2.4.0.ebuild => zfs-2.4.3.ebuild} (98%) diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/zfs/Manifest b/sdk_container/src/third_party/portage-stable/sys-fs/zfs/Manifest index 7f7d2d8aaaf..b37471ab530 100644 --- a/sdk_container/src/third_party/portage-stable/sys-fs/zfs/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-fs/zfs/Manifest @@ -1,18 +1,22 @@ DIST zfs-2.1.16.tar.gz 35187215 BLAKE2B 8bb90903f3747589fff94a810584de54d7f598b0aa9d0b364cc679779d401a9a76f6914cbfbdd007e2066f02230ed4cac4f3735830ea70eb3bcc449af8229c5d SHA512 68e62015e44eeb997166418bf769afa3e96c037a9282dcfd08a8f01d935fa48076483158f628d70b0aed258427510996d4c4ee7d2644ff561163c76f776635d2 DIST zfs-2.1.16.tar.gz.asc 836 BLAKE2B b46614399ca63d9c88216c55bb2177cc0c28f4da2cb6be3ee361efca994309abff46fdf6ad6b0bad448c44e9e84ee40e2183d1b482e04844317f14744bab5c1f SHA512 d2d94a4e3ffe182e86fa3319cb9661688125f378ffa1e5768ee89033f796a1f52f877c382588fb1f434686e30bc4e65e3f08ceac0dd3dd7f8f751ba6182c3317 +DIST zfs-2.2.10.tar.gz 33889026 BLAKE2B 47d11f1e515e7028ef548d5167bfca26135dc331dccaaf69c3b5095bb49788574f628949f19c423c5ca6cff2c5e6defb6a4575298821ab73a18964335fa3e1a6 SHA512 e15cd145072ebb444d15cbec11c770e28c5642ee7b8e7371f1cff968c32c0b121c591ae61a0d70a1f7dba312ac6ae25bd68af2f0b80b4debf1fa6ea05b60b5de +DIST zfs-2.2.10.tar.gz.asc 858 BLAKE2B 3c44fa8ff580388ce8b2d915a2f89ed065179d483ade01e4607a428ba37c42275d7c3ec5e251ab24381f743bb20a81c3b44fb1593dd76244396ca295bf9e6e8a SHA512 a2e6d9e22b41dfc995dfaceb1f1adf7d75fea01b0ec3c66c255a121f7faa0d60e445df4ff0fb6cc85e5a4d68d7d3152923f48fe870ebe16a0c69187a9adbe52e DIST zfs-2.2.8.tar.gz 33852494 BLAKE2B 9e338544488d00a57594d638138896635ea62b80341ad9289b9faad7b899012206fef22e5742e1f5681c58d61d264127ed1e2dfe5aa9b2e9aac2243421c60b11 SHA512 95c203a97032b8ae46cc84e0e6fd68d61e42fb6c6fde7102b04ac85291579c18b1d52b3e93e345a3bc5491bef8bf07b8e7edcbf69cb6222c5d8454a3c83adb11 DIST zfs-2.2.8.tar.gz.asc 224 BLAKE2B c3a06953c22d1b485fbd030c93ad0e744c50a91e51bbed5bef56090a1da57b02ec580499a419201f365c99ade53af5d6f545876e6d0da25ee7870fc86786288b SHA512 fcd6fe2412b5a2e83ad2609d56993ed4ad61e10c4f77f1e94a66403adf66ac90604fb567e7cde6420fe0b6a604abfd817a63e744f7c4fe8452b862c1d8cc4df3 DIST zfs-2.2.9.tar.gz 33864041 BLAKE2B abafd4da0c98cf93a2648150c859ffc6847aa2f5bfa59f3b6cc1619a2313a1600923c7a07c9e647c6c0f40eda21fb0985de81a436c44513a5bd99984a18329a5 SHA512 bed0f7794ff7898557a4854d8634a96f9be5368b0264558d980e70664fe1f02a35b05a96b5e92acd40e2b741373ca4a312e31ad4f69c4d639c817cce3988f382 DIST zfs-2.2.9.tar.gz.asc 858 BLAKE2B caf76646bb3cba75b65b9b93b63f698d172806d60480785938ca3112a67d3e6d9a9b123217df4c92ad682b695292d9e674c4cba819b94276d154aba11e8dcc7d SHA512 ff3a1789154382b06e778b1847519188d520d5037f8c78089309c1d532e8496f682ead1648991bb9eb58dbdedd0007fa7d3157a8887a525470c9220bab3eb4e2 -DIST zfs-2.3.3.tar.gz 34360540 BLAKE2B 4861ddfc91b941448d13d43bb2a023273917064b29880f87d91dbe6424b3f1fc7b0409e13a514d5b3f18f70a383c5d1c462ec5d7b8a7c82b2b076ecd363cecdd SHA512 0a18615da052989c19e889758972f14173e790710a2615fc186212d02f9909f0bf62debc19d85ff5c58411d8ef82aa85aff20804c3fbe2446913cd293a18b80d -DIST zfs-2.3.3.tar.gz.asc 224 BLAKE2B 79cad3883b2ac9dd13b4898f48ef2b637a580e18c65d6f83b834489a35cb31da5ed58cc24afabf3331904e8df54a7f7a825826570470f312ff2370c7fc8f95fc SHA512 07aab3d14ba3f06df2992f08cc68bed3dbf57d59cb151e0a769eeea3dc74c82084be0242b80f5075b59bb036d9277dfd726361422b35e3ed01877317634911b7 DIST zfs-2.3.4.tar.gz 34386899 BLAKE2B e7619445a9138475e51e1578cb4e85032570830faba5aab44013a652596a07e49cf602acfe7fd0e5411199d11614d4686cc3f14fddf3062695ce3da922075efd SHA512 56b90960de6aa94b76f8efc3c84993454a8d544bd47e1270e02caa8d96569e866102e17ef1f16056722bf5f6624fad0bbe7f9ef0e94bc0c3fc16e61b681db815 DIST zfs-2.3.4.tar.gz.asc 858 BLAKE2B 2537afa40b48c07b8ad61a4f6973e40a78b5863afbb6b75674fb7a5950ba2dda22dfa93a180190332d234b0b2e2ce14ed61cb34bc0f56e609dad3cdb805ab5c2 SHA512 cc50fb915d4e8a7eb894bdf919940a8c68828e48a5e1f2a08b08a5e75c0eb8a9cd4feaa84742b65d6b2d85ee839ac2b7d565ed7958006ff079d751145463243b -DIST zfs-2.3.5.tar.gz 34379136 BLAKE2B 4ae090c76e13f2d3d76e481b9950db1319534e47b357e4818bfc4db84cc0a5089de1e46319a36f02010ac27e3ab5cf74a56979b94864d38dcc41c86721841e54 SHA512 72d62e28dc868aba720755685d5e8020d3165d04d0ae55f33e97ed6c503637c476563d23ea6e991784ab1c2e6886d785e2f15f5a71d4d3f69700bbb26eda3dad -DIST zfs-2.3.5.tar.gz.asc 858 BLAKE2B 96edcd3eb5b1a9d33ed50b2526d6a69b5e3dd4d1450205ed7342352aa3ac7014fc813b703ae97a29380da16f452c5491ddf68c05621479b7559f8907cc3b90de SHA512 fc69ab416499ef03cc3721c9f0017e792fc857d045e7f5902a5bf41eb31bbe192e850c1d01482401f06a53926649a1798fc2f7f6fc058fe8c6727b8630c56cdd DIST zfs-2.3.6.tar.gz 34410022 BLAKE2B 9d83e296cb4e78c67cb9d30ba79b74b4b53c9fd4b0b58cd7a9e1e7b0fafc2c5a49b002c1023d07736c1a6149c61963ccb45e9a82d25944c0a7bd4486ea7fcde8 SHA512 789f534124173693ad461f0fcd5df442588225d5f42420f658fe5c7cb57549417aa472ae95658c90c9dad6818f91d8fb0cbd1fcef2395d167b3ded38477e18c7 DIST zfs-2.3.6.tar.gz.asc 858 BLAKE2B 88e9344ed51d9906011f6f381364aeb8bfe3360b0c12a18ec45c8a8d42725f345e61c0ad63037ace51bdd04276567cd90ba2311c971c6b2f10501ffb0363be84 SHA512 fe1b7977a8ae564fe639ca824a557a1600c3e22df0af3e750464a3c960b9709c289c07e42ef40173e153453c5641c442c660c804ea21370d77d9819c13b655b1 -DIST zfs-2.4.0.tar.gz 34476567 BLAKE2B f98d940925ba74222ad4976af767bc5c40bdd29bbc0c5eca6ba43a6109f35e773260e946ef01a556732caf44f968e89d296c925602e252af1ece9597753f24d5 SHA512 5f4460707cc24c55900a08d106e549ecc9eb42bc7b64e0fb613d85ba2054c3bc834fb10c34822ef14406dfcfc07b38b7ca668a02086eecb0f107d2ffce66a998 -DIST zfs-2.4.0.tar.gz.asc 858 BLAKE2B 8f86f94db68e1bb3b14eec4a342c0315f547fd4df965d14662a8432e577fcea531a0a17ccebee050b9e3d5bf89a2758b25934f192f09ba564d0e30d88111e862 SHA512 2b6726db66fec218e9eef39f7c07753d1566894e0559a1d09d0da3e498d9073c1260c0062efbafad5de5eea4ec4b078f7546c530c2aeed91e8b6851fb2af9188 +DIST zfs-2.3.7.tar.gz 34431113 BLAKE2B 8b11b1bd69861426d82fa4c25a320082ab1b1250931de6cd26f30ad1f26cec2e830cc76f49875305583e473013e8ed15048a74dd9c847da077c12b6ac4c6ec0c SHA512 801ff38a7babe204f5dd5e159cf228b2c35b627f41fb33e6ae1e38751829ccbc486ea84725286d5d69c099fca9c7d063f9532d95a8a0c19f50fe0d40895225f2 +DIST zfs-2.3.7.tar.gz.asc 858 BLAKE2B 775f7d82e47e8664a0e285f3470e59b4ab8338826d0226267cb669e114cd128354266d5797714629a9474c01049c35b04d00cef81086c66131a603ece32188d3 SHA512 6a945170563ee7dd4df2ce0131596418a52905e0915e65a4b2b55ee13d7020a0a7ea03abcb5651b0b84459656691bb339ef20748022c2bafdb643bb0df56235b +DIST zfs-2.3.8.tar.gz 34456706 BLAKE2B 74b3270d5daddfcb46947564aa544859247ca5b6c3298f42c5bf4554f717b14f99fafe230e6c0c62d1fd295203c38c29440dcf2204b55b4bcdf615f01221f410 SHA512 4a993588505259eccb99ff9b763eb4ebf92045fa18b528d308ca8f8f9e74effc7df53f80d0e31520f2353726baa531821dc02288115835eb557f4948b36d986f +DIST zfs-2.3.8.tar.gz.asc 858 BLAKE2B 269ee57e28ccbadebd6e7c17d4400adee8387235a53422c05acdf2646fda42a2a7b3598cbeb30f84b66b5a3b0dbc23458c806904f477579b7107204e3dd46ce7 SHA512 a8c644e70bf591223dc653086684bca8ebf3db54531254612e6b274118905789005fe17f3d00ac42aebc4af734584e792e279bdf803be97c274fb61ff9586987 DIST zfs-2.4.1.tar.gz 34498270 BLAKE2B dc7eedb989297ae13d42c1f7c3b55b393d47f1706a029c38801381675909069c6c2112ca545ac395cb2e7bcbaf225fa79982e3c6f3adeca0d30828b88da0f58b SHA512 15ef20ed8fb976dd123e1f5dca8f0f71a754a3be6edf826bf1d744a28cc8400969d33b79be90a4b5bef95dd200caaca942876f4462b7749667a9e4a225d82676 DIST zfs-2.4.1.tar.gz.asc 858 BLAKE2B aeeacec46bd3ac439f53eb24aedfd449bc647c1cc1d93c17d0d8be07f0e01490d33586e47d60ab9250915d514b1140f8d8d1958c8c627e0e887f7ab640d58fa3 SHA512 0d8f9c9eba22aacd122066d4a9a64808b74630f15bb511e35fa0f3100f143f6ef39d1d564cf5b257444066eac4796236da7e8c2fc8627f3088ebb31cba1f833a +DIST zfs-2.4.2.tar.gz 34522136 BLAKE2B 265a711156f726ec6d14a20c26f435336ae37ff23de79d69ea05a55b1455e25b7f48774cd54c877c18a0be2be8249772e4138d1fc32c9d0918d8b27d300e48c1 SHA512 833cc076ae65a4ac6acc27c6c62f60568af0c291b9a1091a1835543861a291606e314b09ca14558cbed11239bb613e3f1f7f9e7fedeea6635e27aacde8c22378 +DIST zfs-2.4.2.tar.gz.asc 858 BLAKE2B bc8b29ab3d4d0e5cc8a72a035d7140296a6a1d0199ff0791c1e123cc852b6ecc259d95ae7243308df5f3d183ad03a4331b61ecc2700ec5d8fd8e9c4c2bae466e SHA512 eb77cc7695e6a9f009d6ea618401d070c5c22c3a6a24722fadb5a414a7c18b375e793085157f2c307629e9bda0fd9a16b37429979e27986caa2bae30a8b24179 +DIST zfs-2.4.3.tar.gz 34545847 BLAKE2B 9f9c58c31a99bc50cfa93a8a924c09a278e96706986afe09bd1fd02e3ce82fa6bee5d4b27542db76134e014ee09ce7c2c723eda5c98c7c6dab5f63aedb83ed47 SHA512 343fbb19c0ca5f91254d216b6113fb8a7b028bdafc976ba9cb1ff6b7d3442a6a0fbf2cc4bde4f2fcc7cb7293cc17a1914664a943e5c798d261d00b22a0e56989 +DIST zfs-2.4.3.tar.gz.asc 858 BLAKE2B 4163ff53218a3c5b146135cdffebea94b4e02f1a44c42a7990e86d7deeb119b05cd47e86663d0f3b6362ee2cb3334e822a0c90b70e6688b232dbe0fea18dce87 SHA512 c429fcaa2ef7a31f22734fb4282ede274a79017ab5b9a76553d61c6090fbf36e5ff7b37f7945a08aea98fb7bdc618343801747a7c07f1abc1fb1cab8ac9490d8 diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/zfs/files/2.4.2-gcc16-earlyclobber-fix.patch b/sdk_container/src/third_party/portage-stable/sys-fs/zfs/files/2.4.2-gcc16-earlyclobber-fix.patch new file mode 100644 index 00000000000..3a2421c1dec --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/zfs/files/2.4.2-gcc16-earlyclobber-fix.patch @@ -0,0 +1,68 @@ +From be04f4acfa83261571dad5c9c4bfda9fe38063ff Mon Sep 17 00:00:00 2001 +From: Brian Behlendorf +Date: Wed, 13 May 2026 17:55:23 +0000 +Subject: [PATCH] Fix aarch64 build failure by removing earlyclobber +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The UVR macros used "+&w" (read-write + earlyclobber) as the +constraint for NEON register operands that are declared as explicit +hard-register variables via: + +register unsigned char wN asm("vN") __attribute__((vector_size(16))); + +The + modifier implicitly makes the operand also an input (reading the +register before the asm runs). The & (earlyclobber) modifier says "this +output may be written before all inputs are consumed." Having an +earlyclobber output on the same hard-register that is simultaneously +an input is a contradiction — GCC 16 now strictly diagnoses this. + +The fix removes the & from "+&w", yielding "+w". The earlyclobber +was both incorrect (contradicts the implicit input) and unnecessary +(the physical registers are already hard-bound, so the compiler has no +freedom to assign conflicting registers anyway). + +Co-Authored-by: Claude Sonnet 4.6 +Signed-off-by: Brian Behlendorf +Issue #18525 +--- + .../zfs/vdev_raidz_math_aarch64_neon_common.h | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +diff --git a/module/zfs/vdev_raidz_math_aarch64_neon_common.h b/module/zfs/vdev_raidz_math_aarch64_neon_common.h +index 1ec4d0218bb0..3c3370290c88 100644 +--- a/module/zfs/vdev_raidz_math_aarch64_neon_common.h ++++ b/module/zfs/vdev_raidz_math_aarch64_neon_common.h +@@ -102,14 +102,14 @@ + + #define WVR(X) [w##X] "=w" (w##X) + +-#define UVR0_(REG, ...) [w##REG] "+&w" (w##REG) +-#define UVR1_(_1, REG, ...) [w##REG] "+&w" (w##REG) +-#define UVR2_(_1, _2, REG, ...) [w##REG] "+&w" (w##REG) +-#define UVR3_(_1, _2, _3, REG, ...) [w##REG] "+&w" (w##REG) +-#define UVR4_(_1, _2, _3, _4, REG, ...) [w##REG] "+&w" (w##REG) +-#define UVR5_(_1, _2, _3, _4, _5, REG, ...) [w##REG] "+&w" (w##REG) +-#define UVR6_(_1, _2, _3, _4, _5, _6, REG, ...) [w##REG] "+&w" (w##REG) +-#define UVR7_(_1, _2, _3, _4, _5, _6, _7, REG, ...) [w##REG] "+&w" (w##REG) ++#define UVR0_(REG, ...) [w##REG] "+w" (w##REG) ++#define UVR1_(_1, REG, ...) [w##REG] "+w" (w##REG) ++#define UVR2_(_1, _2, REG, ...) [w##REG] "+w" (w##REG) ++#define UVR3_(_1, _2, _3, REG, ...) [w##REG] "+w" (w##REG) ++#define UVR4_(_1, _2, _3, _4, REG, ...) [w##REG] "+w" (w##REG) ++#define UVR5_(_1, _2, _3, _4, _5, REG, ...) [w##REG] "+w" (w##REG) ++#define UVR6_(_1, _2, _3, _4, _5, _6, REG, ...) [w##REG] "+w" (w##REG) ++#define UVR7_(_1, _2, _3, _4, _5, _6, _7, REG, ...) [w##REG] "+w" (w##REG) + + #define UVR0(r...) UVR0_(r) + #define UVR1(r...) UVR1_(r) +@@ -120,7 +120,7 @@ + #define UVR6(r...) UVR6_(r, 36, 35, 34, 33, 32, 31) + #define UVR7(r...) UVR7_(r, 36, 35, 34, 33, 32, 31, 30) + +-#define UVR(X) [w##X] "+&w" (w##X) ++#define UVR(X) [w##X] "+w" (w##X) + + #define R_01(REG1, REG2, ...) REG1, REG2 + #define _R_23(_0, _1, REG2, REG3, ...) REG2, REG3 diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/zfs/files/2.4.2-properly_apply_ro_rw_mount_option_to_superblock.patch b/sdk_container/src/third_party/portage-stable/sys-fs/zfs/files/2.4.2-properly_apply_ro_rw_mount_option_to_superblock.patch new file mode 100644 index 00000000000..b29d1e741c0 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/zfs/files/2.4.2-properly_apply_ro_rw_mount_option_to_superblock.patch @@ -0,0 +1,566 @@ +From dbbef111623ff38efdb0fabcb26848c7a7c08789 Mon Sep 17 00:00:00 2001 +From: Rob Norris +Date: Tue, 19 May 2026 12:50:39 +1000 +Subject: [PATCH 1/3] ZTS/zfs_mount: lift & update helpers from + zfs_mount_remount + +zfs_mount_remount has some nice helpers for checking the claimed and +actual read-only/read-write state of a mount. I wanted to use them for +another test but they weren't exactly what I wanted. + +This adds separate functions for the different kinds of mounts the +zfs_mount_remount test wants to use, mostly to avoid the assymetry of +sometimes calling a helper function and sometimes doing it direct. It +also separates the code to get the current ro/rw mount option from +actually asserting it. + +Test has been updated to use the new functions, but the logic and +structure has not changed. + +Sponsored-by: TrueNAS +Signed-off-by: Rob Norris +--- + .../cli_root/zfs_mount/zfs_mount.kshlib | 128 ++++++++++++++++++ + .../cli_root/zfs_mount/zfs_mount_remount.ksh | 103 ++++---------- + 2 files changed, 156 insertions(+), 75 deletions(-) + +diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.kshlib b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.kshlib +index 08795a7ea257..5d7ceb971123 100644 +--- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.kshlib ++++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount.kshlib +@@ -27,6 +27,8 @@ + + # + # Copyright (c) 2017 by Delphix. All rights reserved. ++# Copyright 2017, loli10K . All rights reserved. ++# Copyright (c) 2026, TrueNAS. + # + + . $STF_SUITE/include/libtest.shlib +@@ -131,3 +133,129 @@ function verify_mount_display + done + return 0 + } ++ ++# Helper functions to call the system mount(8) with various options ++function mount_default # ++{ ++ typeset opts= ++ if is_freebsd; then ++ opts="-t zfs" ++ else ++ opts="-t zfs" ++ fi ++ ++ mount $opts "$@" ++ return $? ++} ++ ++function mount_ro # ++{ ++ typeset opts= ++ if is_freebsd; then ++ opts="-t zfs -r" ++ else ++ opts="-t zfs -o ro" ++ fi ++ ++ mount $opts "$@" ++ return $? ++} ++ ++function mount_rw # ++{ ++ typeset opts= ++ if is_freebsd; then ++ opts="-t zfs -w" ++ else ++ opts="-t zfs -o rw" ++ fi ++ ++ mount $opts "$@" ++ return $? ++} ++ ++function remount_ro # ++{ ++ typeset opts= ++ if is_freebsd; then ++ opts="-t zfs -ur" ++ else ++ opts="-o remount,ro" ++ fi ++ ++ mount $opts "$@" ++ return $? ++} ++ ++function remount_rw # ++{ ++ typeset opts= ++ if is_freebsd; then ++ opts="-t zfs -uw" ++ else ++ opts="-o remount,rw" ++ fi ++ ++ mount $opts "$@" ++ return $? ++} ++ ++# ++# Verify that $mountpoint is mounted readonly ++# This is preferred over "log_mustnot touch $fs" because we actually want to ++# verify the error returned is EROFS ++# ++function mount_is_ro # mountpoint ++{ ++ typeset mountpoint="$1" ++ ++ file_write -o create -f $mountpoint/file.dat ++ ret=$? ++ if [[ $ret != 30 ]]; then ++ log_fail "Writing to $mountpoint did not return EROFS ($ret)." ++ fi ++} ++ ++function mount_is_rw # mountpoint ++{ ++ typeset mountpoint="$1" ++ log_must touch $mountpoint/file.dat ++} ++ ++# Get the read-only/read-write option for $mountpoint ++# Prints either "ro" or "rw", or nothing if $mountpoint is not in the mount ++# table, or is not a ZFS mount. ++function mount_get_ro_rw # mountpoint ++{ ++ typeset mountpoint="$1" ++ ++ if is_freebsd; then ++ # tank/hello /tank/hello zfs rw,nfsv4acls 0 0 ++ mount -p | \ ++ awk -v mountpoint="$mountpoint" ' ++ $2 != mountpoint || $3 != "zfs" { next } ++ $4 ~ /(^|,)ro(,|$)/ { print "ro" } ++ $4 ~ /(^|,)rw(,|$)/ { print "rw" }' ++ else ++ # tank/hello /tank/hello zfs rw,relatime,xattr,noacl,casesensitive 0 0 ++ awk -v mountpoint="$mountpoint" ' ++ $2 != mountpoint || $3 != "zfs" { next } ++ $4 ~ /(^|,)ro(,|$)/ { print "ro" } ++ $4 ~ /(^|,)rw(,|$)/ { print "rw" }' /proc/mounts ++ fi ++} ++ ++# Verify that $mountpoint is mounted with a "read-only" option ++function mount_has_ro_option # mountpoint ++{ ++ typeset ropt=$(mount_get_ro_rw "$1") ++ log_must test $ropt == "ro" ++} ++ ++# Verify that $mountpoint is mounted with a "read-write" option ++function mount_has_rw_option # mountpoint ++{ ++ typeset ropt=$(mount_get_ro_rw "$1") ++ log_must test $ropt == "rw" ++} ++ +diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_remount.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_remount.ksh +index c54128f7b9e7..a16d17a12291 100755 +--- a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_remount.ksh ++++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_remount.ksh +@@ -23,6 +23,7 @@ + + # + # Copyright 2017, loli10K . All rights reserved. ++# Copyright (c) 2026, TrueNAS. + # + + . $STF_SUITE/include/libtest.shlib +@@ -54,54 +55,6 @@ function cleanup + return 0 + } + +-if is_freebsd; then +- typeset RO="-t zfs -ur" +- typeset RW="-t zfs -uw" +-else +- typeset RO="-o remount,ro" +- typeset RW="-o remount,rw" +-fi +- +-# +-# Verify the $filesystem is mounted readonly +-# This is preferred over "log_mustnot touch $fs" because we actually want to +-# verify the error returned is EROFS +-# +-function readonlyfs # filesystem +-{ +- typeset filesystem="$1" +- +- file_write -o create -f $filesystem/file.dat +- ret=$? +- if [[ $ret != 30 ]]; then +- log_fail "Writing to $filesystem did not return EROFS ($ret)." +- fi +-} +- +-# +-# Verify $dataset is mounted with $option +-# +-function checkmount # dataset option +-{ +- typeset dataset="$1" +- typeset option="$2" +- typeset options="" +- +- if is_freebsd; then +- options=$(mount -p | awk -v ds="$dataset" '$1 == ds { print $4 }') +- else +- options=$(awk -v ds="$dataset" '$1 == ds { print $4 }' /proc/mounts) +- fi +- if [[ "$options" == '' ]]; then +- log_fail "Dataset $dataset is not mounted" +- elif [[ ! -z "${options##*$option*}" ]]; then +- log_fail "Dataset $dataset is not mounted with expected "\ +- "option $option ($options)" +- else +- log_note "Dataset $dataset is mounted with option $option" +- fi +-} +- + log_assert "Verify remount functionality on both filesystem and snapshots" + + log_onexit cleanup +@@ -117,35 +70,35 @@ MNTPSNAP="$TESTDIR/zfs_snap_mount" + log_must mkdir -p $MNTPSNAP + + # 2. Verify we can (re)mount the dataset readonly/read-write +-log_must touch $MNTPFS/file.dat +-checkmount $TESTFS 'rw' +-log_must mount $RO $TESTFS $MNTPFS +-readonlyfs $MNTPFS +-checkmount $TESTFS 'ro' +-log_must mount $RW $TESTFS $MNTPFS +-log_must touch $MNTPFS/file.dat +-checkmount $TESTFS 'rw' ++mount_is_rw $MNTPFS ++mount_has_rw_option $MNTPFS ++log_must remount_ro $TESTFS $MNTPFS ++mount_is_ro $MNTPFS ++mount_has_ro_option $MNTPFS ++log_must remount_rw $TESTFS $MNTPFS ++mount_is_rw $MNTPFS ++mount_has_rw_option $MNTPFS + + if is_linux; then + # 3. Verify we can (re)mount the snapshot readonly +- log_must mount -t zfs $TESTSNAP $MNTPSNAP +- readonlyfs $MNTPSNAP +- checkmount $TESTSNAP 'ro' +- log_must mount $RO $TESTSNAP $MNTPSNAP +- readonlyfs $MNTPSNAP +- checkmount $TESTSNAP 'ro' ++ log_must mount_default $TESTSNAP $MNTPSNAP ++ mount_is_ro $MNTPSNAP ++ mount_has_ro_option $MNTPSNAP ++ log_must remount_ro $TESTSNAP $MNTPSNAP ++ mount_is_ro $MNTPSNAP ++ mount_has_ro_option $MNTPSNAP + log_must umount $MNTPSNAP + fi + + # 4. Verify we can't remount a snapshot read-write + # The "mount -o rw" command will succeed but the snapshot is mounted readonly. + # The "mount -o remount,rw" command must fail with an explicit error. +-log_must mount -t zfs -o rw $TESTSNAP $MNTPSNAP +-readonlyfs $MNTPSNAP +-checkmount $TESTSNAP 'ro' +-log_mustnot mount $RW $TESTSNAP $MNTPSNAP +-readonlyfs $MNTPSNAP +-checkmount $TESTSNAP 'ro' ++log_must mount_rw $TESTSNAP $MNTPSNAP ++mount_is_ro $MNTPSNAP ++mount_has_ro_option $MNTPSNAP ++log_mustnot remount_rw $TESTSNAP $MNTPSNAP ++mount_is_ro $MNTPSNAP ++mount_has_ro_option $MNTPSNAP + log_must umount $MNTPSNAP + + # 5. Verify we can remount a dataset readonly and unmount it with +@@ -153,8 +106,8 @@ log_must umount $MNTPSNAP + log_must eval "echo 'password' | zfs create -o sync=disabled \ + -o encryption=on -o keyformat=passphrase $TESTFS/crypt" + CRYPT_MNTPFS="$(get_prop mountpoint $TESTFS/crypt)" +-log_must touch $CRYPT_MNTPFS/file.dat +-log_must mount $RO $TESTFS/crypt $CRYPT_MNTPFS ++mount_is_rw $CRYPT_MNTPFS ++log_must remount_ro $TESTFS/crypt $CRYPT_MNTPFS + log_must umount -f $CRYPT_MNTPFS + sync_pool $TESTPOOL + +@@ -163,10 +116,10 @@ log_must zpool export $TESTPOOL + log_must zpool import -o readonly=on $TESTPOOL + + # 7. Verify we can't remount its filesystem read-write +-readonlyfs $MNTPFS +-checkmount $TESTFS 'ro' +-log_mustnot mount $RW $MNTPFS +-readonlyfs $MNTPFS +-checkmount $TESTFS 'ro' ++mount_is_ro $MNTPFS ++mount_has_ro_option $MNTPFS ++log_mustnot remount_rw $MNTPFS ++mount_is_ro $MNTPFS ++mount_has_ro_option $MNTPFS + + log_pass "Both filesystem and snapshots can be remounted correctly." + +From b8216fb774a831042c321d13ce748d455df82936 Mon Sep 17 00:00:00 2001 +From: Rob Norris +Date: Tue, 19 May 2026 14:27:12 +1000 +Subject: [PATCH 2/3] ZTS/zfs_mount: test that ro/rw mount methods remain + consistent + +Whether a mount ends up as read-only or read-write depends on a +combination of platform, readonly= filesystem property, mount method +(system mount(8) or zfs-mount(8)) and mount option provided (ro, rw or +none). + +This tests all combinations, and ensures they match what has +traditionally been expected on this platform, so we'll know if we +accidentally changed it. + +Sponsored-by: TrueNAS +Signed-off-by: Rob Norris +--- + tests/runfiles/common.run | 4 +- + tests/runfiles/sanity.run | 2 +- + tests/zfs-tests/tests/Makefile.am | 1 + + .../cli_root/zfs_mount/zfs_mount_ro_rw.ksh | 130 ++++++++++++++++++ + 4 files changed, 134 insertions(+), 3 deletions(-) + create mode 100755 tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_ro_rw.ksh + +diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run +index 82a2d1e815e4..6e62b552a0db 100644 +--- a/tests/runfiles/common.run ++++ b/tests/runfiles/common.run +@@ -271,8 +271,8 @@ tests = ['zfs_mount_001_pos', 'zfs_mount_002_pos', 'zfs_mount_003_pos', + 'zfs_mount_004_pos', 'zfs_mount_005_pos', 'zfs_mount_007_pos', + 'zfs_mount_009_neg', 'zfs_mount_010_neg', 'zfs_mount_011_neg', + 'zfs_mount_012_pos', 'zfs_mount_all_001_pos', 'zfs_mount_encrypted', +- 'zfs_mount_remount', 'zfs_mount_all_fail', 'zfs_mount_all_mountpoints', +- 'zfs_mount_test_race', 'zfs_mount_recursive'] ++ 'zfs_mount_remount', 'zfs_mount_ro_rw', 'zfs_mount_all_fail', ++ 'zfs_mount_all_mountpoints', 'zfs_mount_test_race', 'zfs_mount_recursive'] + tags = ['functional', 'cli_root', 'zfs_mount'] + + [tests/functional/cli_root/zfs_program] +diff --git a/tests/runfiles/sanity.run b/tests/runfiles/sanity.run +index d62f8f3fb161..0deaa038a31f 100644 +--- a/tests/runfiles/sanity.run ++++ b/tests/runfiles/sanity.run +@@ -156,7 +156,7 @@ tests = ['zfs_mount_001_pos', 'zfs_mount_002_pos', 'zfs_mount_003_pos', + 'zfs_mount_004_pos', 'zfs_mount_005_pos', 'zfs_mount_007_pos', + 'zfs_mount_009_neg', 'zfs_mount_010_neg', 'zfs_mount_011_neg', + 'zfs_mount_012_pos', 'zfs_mount_encrypted', 'zfs_mount_remount', +- 'zfs_mount_all_fail', 'zfs_mount_all_mountpoints', ++ 'zfs_mount_ro_rw', 'zfs_mount_all_fail', 'zfs_mount_all_mountpoints', + 'zfs_mount_test_race', 'zfs_mount_recursive'] + tags = ['functional', 'cli_root', 'zfs_mount'] + +diff --git a/tests/zfs-tests/tests/Makefile.am b/tests/zfs-tests/tests/Makefile.am +index 85f00f28b0f9..98f392538821 100644 +--- a/tests/zfs-tests/tests/Makefile.am ++++ b/tests/zfs-tests/tests/Makefile.am +@@ -814,6 +814,7 @@ nobase_dist_datadir_zfs_tests_tests_SCRIPTS += \ + functional/cli_root/zfs_mount/zfs_mount_encrypted.ksh \ + functional/cli_root/zfs_mount/zfs_mount_recursive.ksh \ + functional/cli_root/zfs_mount/zfs_mount_remount.ksh \ ++ functional/cli_root/zfs_mount/zfs_mount_ro_rw.ksh \ + functional/cli_root/zfs_mount/zfs_mount_test_race.ksh \ + functional/cli_root/zfs_mount/zfs_multi_mount.ksh \ + functional/cli_root/zfs_program/cleanup.ksh \ +diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_ro_rw.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_ro_rw.ksh +new file mode 100755 +index 000000000000..15e78e6fd88c +--- /dev/null ++++ b/tests/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_ro_rw.ksh +@@ -0,0 +1,130 @@ ++#!/bin/ksh -p ++# SPDX-License-Identifier: CDDL-1.0 ++# ++# CDDL HEADER START ++# ++# The contents of this file are subject to the terms of the ++# Common Development and Distribution License (the "License"). ++# You may not use this file except in compliance with the License. ++# ++# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE ++# or https://opensource.org/licenses/CDDL-1.0. ++# See the License for the specific language governing permissions ++# and limitations under the License. ++# ++# When distributing Covered Code, include this CDDL HEADER in each ++# file and include the License file at usr/src/OPENSOLARIS.LICENSE. ++# If applicable, add the following below this CDDL HEADER, with the ++# fields enclosed by brackets "[]" replaced with your own identifying ++# information: Portions Copyright [yyyy] [name of copyright owner] ++# ++# CDDL HEADER END ++# ++ ++# ++# Copyright (c) 2026, TrueNAS. ++# ++ ++. $STF_SUITE/include/libtest.shlib ++. $STF_SUITE/tests/functional/cli_root/zfs_mount/zfs_mount.kshlib ++ ++# ++# we set up and mount multiple times, with these combinations: ++# - readonly property: on, off ++# - mount method: mount(8) (mountpoint=legacy), zfs-mount(8) (mountpoint=path) ++# - mount option: [none], ro, rw ++# ++# after each mount, we check whether we ended up mounting read-only or ++# read-write, and note the result. once we've done them all, we compare the ++# result set to the "correct" set for this platform (by observation). the ++# test passes if they match, fail if they don't ++# ++# readonly | on | off | ++# mount method | legacy | path | legacy | path | ++# mount option | -- ro rw | -- ro rw | -- ro rw | -- ro rw | ++typeset -a rs_linux=( rw ro rw ro ro rw rw ro rw rw ro rw ) ++typeset -a rs_freebsd=( ro ro ro ro ro rw rw ro rw rw ro rw ) ++ ++if is_linux ; then ++ typeset -n rs_wanted=rs_linux ++elif is_freebsd ; then ++ typeset -n rs_wanted=rs_freebsd ++else ++ log_unsupported "no result set defined for this platform" ++fi ++ ++verify_runnable "both" ++ ++testfs=$TESTPOOL/$TESTFS ++testmnt=$TESTDIR/mountpoint ++ ++function cleanup ++{ ++ log_must zfs inherit -S canmount $testfs ++ log_must zfs inherit readonly $testfs ++ log_must zfs inherit mountpoint $testfs ++ log_must rm -rf $testmnt ++} ++ ++log_assert "Verify combinations of readonly/readwrite produce correct mount." ++ ++log_onexit cleanup ++ ++ ++# setup ++log_must datasetexists $testfs ++log_must zfs set canmount=noauto $testfs ++umount $testfs ++ ++ ++typeset -a rs=() ++ ++for readonly in on off ; do ++ for method in legacy path ; do ++ for option in default ro rw ; do ++ ++ log_must zfs set readonly=$readonly $testfs ++ ++ if [[ $method == 'legacy' ]] ; then ++ log_must zfs set mountpoint=legacy $testfs ++ else ++ log_must zfs set mountpoint=$testmnt $testfs ++ fi ++ ++ # recreate the mountpoint. even if it wasn't mounted, ++ # changing the mountpoint property can remove it ++ log_must mkdir -p $testmnt ++ ++ # issue the mount with the wanted method and option ++ case $method in ++ legacy) ++ case $option in ++ default) log_must mount_default $testfs $testmnt ;; ++ ro) log_must mount_ro $testfs $testmnt ;; ++ rw) log_must mount_rw $testfs $testmnt ;; ++ esac ++ ;; ++ path) ++ case $option in ++ default) log_must zfs mount $testfs ;; ++ ro) log_must zfs mount -o ro $testfs ;; ++ rw) log_must zfs mount -o rw $testfs ;; ++ esac ++ ;; ++ esac ++ ++ result=$(mount_get_ro_rw $testmnt) ++ rs+=($result) ++ log_note "result: $result" ++ ++ log_must umount $testfs ++ done ++ done ++done ++ ++log_note "results: ${rs[@]}" ++log_note "wanted: ${rs_wanted[@]}" ++ ++log_must test "${rs[*]}" == "${rs_wanted[*]}" ++ ++log_pass "All mounts correct for this platform." + +From 2ecaacff41d6cc9c08c65530d3d7401500a9c817 Mon Sep 17 00:00:00 2001 +From: Rob Norris +Date: Wed, 20 May 2026 09:42:19 +1000 +Subject: [PATCH 3/3] linux/super: properly apply ro/rw mount option to + superblock + +f5a9e3a622 changed how SB_RDONLY was applied to the new mount in a way +that was too simplistic - it only sets readonly on the filesystem if the +mount was 'ro', but it never clears it if the mount was 'rw'. This +causes the 'rw' option to effectively be ignored, and so the readonly= +property wins out. + +This fixes it by doing it the right way: checking the flags mask to see +if it was actually provided as an option at all, and then setting or +clearing it as appropriate. + +Sponsored-by: TrueNAS +Signed-off-by: Rob Norris +--- + module/os/linux/zfs/zpl_super.c | 11 ++++++++--- + 1 file changed, 8 insertions(+), 3 deletions(-) + +diff --git a/module/os/linux/zfs/zpl_super.c b/module/os/linux/zfs/zpl_super.c +index c1460edd16d0..e1fa0f8e88e8 100644 +--- a/module/os/linux/zfs/zpl_super.c ++++ b/module/os/linux/zfs/zpl_super.c +@@ -883,9 +883,14 @@ zpl_get_tree(struct fs_context *fc) + if (sb->s_root == NULL) { + vfs_t *vfs = fc->fs_private; + +- /* Apply readonly flag as mount option */ +- if (fc->sb_flags & SB_RDONLY) { +- vfs->vfs_readonly = B_TRUE; ++ /* ++ * If SB_RDONLY was set/cleared from mount options, update ++ * them in the options struct so we set up the filesystem ++ * in the proper state. ++ */ ++ if (fc->sb_flags_mask & SB_RDONLY) { ++ vfs->vfs_readonly = ++ (fc->sb_flags & SB_RDONLY) ? B_TRUE : B_FALSE; + vfs->vfs_do_readonly = B_TRUE; + } + diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.2.10.ebuild b/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.2.10.ebuild new file mode 100644 index 00000000000..f72dfb4e56f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.2.10.ebuild @@ -0,0 +1,305 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_OPTIONAL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{12..14} ) + +inherit autotools bash-completion-r1 dist-kernel-utils distutils-r1 flag-o-matic linux-info +inherit pam systemd udev usr-ldscript + +DESCRIPTION="Userland utilities for ZFS Linux kernel module" +HOMEPAGE="https://github.com/openzfs/zfs" + +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/openzfs/zfs.git" +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/openzfs.asc + inherit verify-sig + + MY_P="${P/_rc/-rc}" + SRC_URI="https://github.com/openzfs/${PN}/releases/download/${MY_P}/${MY_P}.tar.gz" + SRC_URI+=" verify-sig? ( https://github.com/openzfs/${PN}/releases/download/${MY_P}/${MY_P}.tar.gz.asc )" + S="${WORKDIR}/${MY_P}" + + if [[ ${PV} != *_rc* ]]; then + KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~sparc" + fi +fi + +LICENSE="BSD-2 CDDL MIT" +# just libzfs soname major for now. +# possible candidates: libuutil, libzpool, libnvpair. Those do not provide stable abi, but are considered. +# see libsoversion_check() below as well +SLOT="0/5" +IUSE="custom-cflags debug dist-kernel kernel-builtin minimal nls pam python +rootfs selinux test-suite unwind" + +DEPEND=" + dev-libs/openssl:= + net-libs/libtirpc:= + sys-apps/util-linux + virtual/zlib:= + virtual/libudev:= + !minimal? ( ${PYTHON_DEPS} ) + pam? ( sys-libs/pam ) + python? ( + $(python_gen_cond_dep 'dev-python/cffi[${PYTHON_USEDEP}]' 'python*') + ) + unwind? ( sys-libs/libunwind:= ) +" + +BDEPEND=" + app-alternatives/awk + virtual/pkgconfig + nls? ( sys-devel/gettext ) + python? ( + ${DISTUTILS_DEPS} + || ( + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/distlib[${PYTHON_USEDEP}] + ) + ) +" + +if [[ ${PV} != "9999" ]] ; then + BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-openzfs )" +fi + +# awk is used for some scripts, completions, and the Dracut module +RDEPEND=" + ${DEPEND} + !kernel-builtin? ( ~sys-fs/zfs-kmod-${PV}:= ) + !prefix? ( virtual/udev ) + app-alternatives/awk + sys-fs/udev-init-scripts + dist-kernel? ( virtual/dist-kernel:= ) + rootfs? ( + app-alternatives/cpio + app-misc/pax-utils + ) + selinux? ( sec-policy/selinux-zfs ) + test-suite? ( + app-shells/ksh + sys-apps/kmod[tools] + sys-apps/util-linux + app-alternatives/bc + sys-block/parted + sys-fs/lsscsi + sys-fs/mdadm + sys-process/procps + ) +" + +# PDEPEND in this form is needed to trick portage suggest +# enabling dist-kernel if only 1 package have it set, without suggesting to disable +PDEPEND="dist-kernel? ( ~sys-fs/zfs-kmod-${PV}[dist-kernel] )" + +REQUIRED_USE=" + !minimal? ( ${PYTHON_REQUIRED_USE} ) + python? ( !minimal ) + test-suite? ( !minimal ) +" + +RESTRICT="test" + +pkg_pretend() { + use rootfs || return 0 + + if has_version virtual/dist-kernel && ! use dist-kernel; then + ewarn "You have virtual/dist-kernel installed, but" + ewarn "USE=\"dist-kernel\" is not enabled for ${CATEGORY}/${PN}" + ewarn "It's recommended to globally enable dist-kernel USE flag" + ewarn "to auto-trigger initrd rebuilds with kernel updates" + fi +} + +pkg_setup() { + if use kernel_linux; then + linux-info_pkg_setup + + if ! linux_config_exists; then + ewarn "Cannot check the linux kernel configuration." + else + if use test-suite; then + if linux_chkconfig_present BLK_DEV_LOOP; then + eerror "The ZFS test suite requires loop device support enabled." + eerror "Please enable it:" + eerror " CONFIG_BLK_DEV_LOOP=y" + eerror "in /usr/src/linux/.config or" + eerror " Device Drivers --->" + eerror " Block devices --->" + eerror " [X] Loopback device support" + fi + fi + fi + fi +} + +libsoversion_check() { + local bugurl libzfs_sover + bugurl="https://bugs.gentoo.org/enter_bug.cgi?form_name=enter_bug&product=Gentoo+Linux&component=Current+packages" + + libzfs_sover="$(grep 'libzfs_la_LDFLAGS += -version-info' lib/libzfs/Makefile.am \ + | grep -Eo '[0-9]+:[0-9]+:[0-9]+')" + libzfs_sover="${libzfs_sover%%:*}" + + if [[ ${libzfs_sover} -ne $(ver_cut 2 ${SLOT}) ]]; then + echo + eerror "BUG BUG BUG BUG BUG BUG BUG BUG" + eerror "ebuild subslot does not match libzfs soversion!" + eerror "libzfs soversion: ${libzfs_sover}" + eerror "ebuild value: $(ver_cut 2 ${SLOT})" + eerror "This is a bug in the ebuild, please use the following URL to report it" + eerror "${bugurl}&short_desc=${CATEGORY}%2F${P}+update+subslot" + echo + # we want to abort for releases, but just print a warning for live ebuild + # to keep package installable + [[ ${PV} == "9999" ]] || die + fi +} + +src_prepare() { + default + libsoversion_check + + # Run unconditionally (bug #792627) + eautoreconf + + if [[ ${PV} != "9999" ]]; then + # Set revision number + sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" META || die "Could not set Gentoo release" + fi + + if use python; then + pushd contrib/pyzfs >/dev/null || die + distutils-r1_src_prepare + popd >/dev/null || die + fi + + # Tries to use /etc/conf.d which we reserve for OpenRC + sed -i -e '/EnvironmentFile/d' etc/systemd/system/zfs*.in || die + + # prevent errors showing up on zfs-mount stop, #647688 + # openrc will unmount all filesystems anyway. + sed -i "/^ZFS_UNMOUNT=/ s/yes/no/" "etc/default/zfs.in" || die +} + +src_configure() { + use custom-cflags || strip-flags + use minimal || python_setup + + local myconf=( + --bindir="${EPREFIX}/bin" + --enable-shared + --enable-sysvinit + --localstatedir="${EPREFIX}/var" + --sbindir="${EPREFIX}/sbin" + --with-config=user + --with-dracutdir="${EPREFIX}/usr/lib/dracut" + --with-linux="${KV_DIR}" + --with-linux-obj="${KV_OUT_DIR}" + --with-udevdir="$(get_udevdir)" + --with-pamconfigsdir="${EPREFIX}/unwanted_files" + --with-pammoduledir="$(getpam_mod_dir)" + --with-systemdunitdir="$(systemd_get_systemunitdir)" + --with-systemdpresetdir="$(systemd_get_systempresetdir)" + --with-vendor=gentoo + # Building zfs-mount-generator.c on musl breaks as strndupa + # isn't available. But systemd doesn't support musl anyway, so + # just disable building it. + # UPDATE: it has been fixed since, + # https://github.com/openzfs/zfs/commit/1f19826c9ac85835cbde61a7439d9d1fefe43a4a + # but we still leave it as this for now. + $(use_enable !elibc_musl systemd) + $(use_enable debug) + $(use_enable nls) + $(use_enable pam) + $(use_enable python pyzfs) + $(use_with unwind libunwind) + --disable-static + $(usex minimal --without-python --with-python="${EPYTHON}") + ) + + econf "${myconf[@]}" +} + +src_compile() { + default + if use python; then + pushd contrib/pyzfs >/dev/null || die + distutils-r1_src_compile + popd >/dev/null || die + fi +} + +src_install() { + default + + gen_usr_ldscript -a nvpair uutil zfsbootenv zfs zfs_core zpool + + use pam && { rm -rv "${ED}/unwanted_files" || die ; } + + use test-suite || { rm -r "${ED}"/usr/share/zfs/{test-runner,zfs-tests,runfiles,*sh} || die ; } + + find "${ED}" -name '*.la' -delete || die + + dobashcomp contrib/bash_completion.d/zfs + bashcomp_alias zfs zpool + + # strip executable bit from conf.d file + fperms 0644 /etc/conf.d/zfs + + if use python; then + pushd contrib/pyzfs >/dev/null || die + distutils-r1_src_install + popd >/dev/null || die + fi + + # enforce best available python implementation + use minimal || python_fix_shebang "${ED}/bin" +} + +pkg_postinst() { + udev_reload + + # we always need userspace utils in sync with zfs-kmod + # so force initrd update for userspace as well, to avoid + # situation when zfs-kmod trigger initrd rebuild before + # userspace component is rebuilt + # KV_* variables are provided by linux-info.eclass + if [[ -z ${ROOT} ]] && use dist-kernel; then + dist-kernel_reinstall_initramfs "${KV_DIR}" "${KV_FULL}" + fi + + if use rootfs; then + if ! has_version sys-kernel/genkernel && ! has_version sys-kernel/dracut; then + elog "Root on zfs requires an initramfs to boot" + elog "The following packages provide one and are tested on a regular basis:" + elog " sys-kernel/dracut ( preferred, module maintained by zfs developers )" + elog " sys-kernel/genkernel" + fi + fi + + if systemd_is_booted || has_version sys-apps/systemd; then + einfo "Please refer to $(systemd_get_systempresetdir)/50-zfs.preset" + einfo "for default zfs systemd service configuration" + else + [[ -e "${EROOT}/etc/runlevels/boot/zfs-import" ]] || \ + einfo "You should add zfs-import to the boot runlevel." + [[ -e "${EROOT}/etc/runlevels/boot/zfs-load-key" ]] || \ + einfo "You should add zfs-load-key to the boot runlevel." + [[ -e "${EROOT}/etc/runlevels/boot/zfs-mount" ]]|| \ + einfo "You should add zfs-mount to the boot runlevel." + [[ -e "${EROOT}/etc/runlevels/default/zfs-share" ]] || \ + einfo "You should add zfs-share to the default runlevel." + [[ -e "${EROOT}/etc/runlevels/default/zfs-zed" ]] || \ + einfo "You should add zfs-zed to the default runlevel." + fi +} + +pkg_postrm() { + udev_reload +} diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.3.5.ebuild b/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.3.7.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.3.5.ebuild rename to sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.3.7.ebuild index 26d3bfe4091..3a9bd604cca 100644 --- a/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.3.5.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.3.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,7 @@ EAPI=8 DISTUTILS_OPTIONAL=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{11..15} ) inherit autotools bash-completion-r1 dist-kernel-utils distutils-r1 flag-o-matic linux-info pam systemd udev usr-ldscript @@ -111,7 +111,6 @@ RESTRICT="test" PATCHES=( "${FILESDIR}"/2.1.5-dracut-zfs-missing.patch - "${FILESDIR}"/2.3.4-musl.patch ) pkg_pretend() { diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.3.3.ebuild b/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.3.8.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.3.3.ebuild rename to sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.3.8.ebuild index 1a51f9669f8..5a445a51984 100644 --- a/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.3.3.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.3.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,7 @@ EAPI=8 DISTUTILS_OPTIONAL=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_COMPAT=( python3_{12..15} ) inherit autotools bash-completion-r1 dist-kernel-utils distutils-r1 flag-o-matic linux-info pam systemd udev usr-ldscript @@ -30,7 +30,7 @@ else S="${WORKDIR}/${MY_P}" if [[ ${PV} != *_rc* ]]; then - KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv ~sparc" + KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~sparc" fi fi @@ -110,7 +110,7 @@ REQUIRED_USE=" RESTRICT="test" PATCHES=( - "${FILESDIR}"/2.1.5-dracut-zfs-missing.patch + "${FILESDIR}"/${PN}-2.1.11-gentoo.patch ) pkg_pretend() { diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.4.1.ebuild b/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.4.1.ebuild index 0b1b1cee58f..db1820a241f 100644 --- a/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.4.1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.4.1.ebuild @@ -81,17 +81,6 @@ BDEPEND=" ) " -if [[ ${PV} != "9999" ]] ; then - BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-openzfs )" - - IUSE+=" +dist-kernel-cap" - RDEPEND=" - dist-kernel-cap? ( dist-kernel? ( - 5.15, and still supports override. + ZFS_KERNEL_DEP="${ZFS_KERNEL_COMPAT_OVERRIDE:-${ZFS_KERNEL_COMPAT}}" + ZFS_KERNEL_DEP="${ZFS_KERNEL_DEP%%.*}.$(( ${ZFS_KERNEL_DEP##*.} + 1))" + + if [[ ${PV} != *_rc* ]]; then + KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~sparc" + fi +fi + +LICENSE="BSD-2 CDDL MIT modules? ( debug? ( GPL-2+ ) )" +# just libzfs soname major for now. +# possible candidates: libuutil, libzpool, libnvpair. Those do not provide stable abi, but are considered. +# see libsoversion_check() below as well +SLOT="0/7" +IUSE="custom-cflags debug dist-kernel minimal nls pam python +rootfs selinux test-suite unwind" + +DEPEND=" + dev-libs/openssl:= + net-libs/libtirpc:= + sys-apps/util-linux + virtual/zlib:= + virtual/libudev:= + !minimal? ( ${PYTHON_DEPS} ) + pam? ( sys-libs/pam ) + python? ( + $(python_gen_cond_dep 'dev-python/cffi[${PYTHON_USEDEP}]' 'python*') + ) + unwind? ( sys-libs/libunwind:= ) +" + +BDEPEND=" + app-alternatives/awk + virtual/pkgconfig + modules? ( dev-lang/perl ) + nls? ( sys-devel/gettext ) + python? ( + ${DISTUTILS_DEPS} + || ( + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/distlib[${PYTHON_USEDEP}] + ) + ) +" + +# awk is used for some scripts, completions, and the Dracut module +RDEPEND=" + ${DEPEND} + !prefix? ( virtual/udev ) + app-alternatives/awk + sys-fs/udev-init-scripts + dist-kernel? ( virtual/dist-kernel:= ) + rootfs? ( + app-alternatives/cpio + app-misc/pax-utils + ) + selinux? ( sec-policy/selinux-zfs ) + test-suite? ( + app-shells/ksh + sys-apps/kmod[tools] + sys-apps/util-linux + app-alternatives/bc + sys-block/parted + sys-fs/lsscsi + sys-fs/mdadm + sys-process/procps + ) + !" + eerror " Block devices --->" + eerror " [X] Loopback device support" + fi + fi + fi + fi +} + +libsoversion_check() { + local bugurl libzfs_sover + bugurl="https://bugs.gentoo.org/enter_bug.cgi?form_name=enter_bug&product=Gentoo+Linux&component=Current+packages" + + libzfs_sover="$(grep 'libzfs_la_LDFLAGS += -version-info' lib/libzfs/Makefile.am \ + | grep -Eo '[0-9]+:[0-9]+:[0-9]+')" + libzfs_sover="${libzfs_sover%%:*}" + + if [[ ${libzfs_sover} -ne $(ver_cut 2 ${SLOT}) ]]; then + echo + eerror "BUG BUG BUG BUG BUG BUG BUG BUG" + eerror "ebuild subslot does not match libzfs soversion!" + eerror "libzfs soversion: ${libzfs_sover}" + eerror "ebuild value: $(ver_cut 2 ${SLOT})" + eerror "This is a bug in the ebuild, please use the following URL to report it" + eerror "${bugurl}&short_desc=${CATEGORY}%2F${P}+update+subslot" + echo + # we want to abort for releases, but just print a warning for live ebuild + # to keep package installable + [[ ${PV} == "9999" ]] || die + fi +} + +src_prepare() { + default + libsoversion_check + + # Run unconditionally (bug #792627) + eautoreconf + + if [[ ${PV} != "9999" ]]; then + # Set revision number + sed -i "s/\(Release:\)\(.*\)1/\1\2${PR}-gentoo/" META || die "Could not set Gentoo release" + fi + + if use python; then + pushd contrib/pyzfs >/dev/null || die + distutils-r1_src_prepare + popd >/dev/null || die + fi + + # Tries to use /etc/conf.d which we reserve for OpenRC + sed -i -e '/EnvironmentFile/d' etc/systemd/system/zfs*.in || die + + # prevent errors showing up on zfs-mount stop, #647688 + # openrc will unmount all filesystems anyway. + sed -i "/^ZFS_UNMOUNT=/ s/yes/no/" "etc/default/zfs.in" || die +} + +src_configure() { + use custom-cflags || strip-flags + use minimal || python_setup + + local myconf=( + --bindir="${EPREFIX}/bin" + --sbindir="${EPREFIX}/sbin" + --enable-shared + --enable-sysvinit + --localstatedir="${EPREFIX}/var" + --sbindir="${EPREFIX}/sbin" + --with-config="$(usex modules all user)" + --with-dracutdir="${EPREFIX}/usr/lib/dracut" + --with-linux="${KV_DIR}" + --with-linux-obj="${KV_OUT_DIR}" + --with-udevdir="$(get_udevdir)" + --with-pamconfigsdir="${EPREFIX}/unwanted_files" + --with-pammoduledir="$(getpam_mod_dir)" + --with-systemdunitdir="$(systemd_get_systemunitdir)" + --with-systemdpresetdir="$(systemd_get_systempresetdir)" + --with-vendor=gentoo + # Building zfs-mount-generator.c on musl breaks as strndupa + # isn't available. But systemd doesn't support musl anyway, so + # just disable building it. + # UPDATE: it has been fixed since, + # https://github.com/openzfs/zfs/commit/1f19826c9ac85835cbde61a7439d9d1fefe43a4a + # but we still leave it as this for now. + $(use_enable !elibc_musl systemd) + $(use_enable debug) + $(use_enable nls) + $(use_enable pam) + $(use_enable python pyzfs) + $(use_with unwind libunwind) + --disable-static + $(usex minimal --without-python --with-python="${EPYTHON}") + + # See gentoo.patch + GENTOO_MAKEARGS_EVAL="${MODULES_MAKEARGS[*]@Q}" + TEST_JOBS="$(makeopts_jobs)" + ) + + econf "${myconf[@]}" +} + +src_compile() { + if use modules; then + emake "${MODULES_MAKEARGS[@]}" + else + default + fi + + if use python; then + pushd contrib/pyzfs >/dev/null || die + distutils-r1_src_compile + popd >/dev/null || die + fi +} + +src_install() { + DOCS=( AUTHORS COPYRIGHT META README.md ) + + if use modules; then + emake "${MODULES_MAKEARGS[@]}" DESTDIR="${ED}" install + modules_post_process + einstalldocs + else + default + fi + # distutils-r1_src_install tries to run einstalldocs as well + # bug #965156 + unset DOCS + + gen_usr_ldscript -a nvpair uutil zfsbootenv zfs zfs_core zpool + + use pam && { rm -rv "${ED}/unwanted_files" || die ; } + + use test-suite || { rm -r "${ED}"/usr/share/zfs/{test-runner,zfs-tests,runfiles,*sh} || die ; } + + find "${ED}" -name '*.la' -delete || die + + dobashcomp contrib/bash_completion.d/zfs + bashcomp_alias zfs zpool + + # strip executable bit from conf.d file + fperms 0644 /etc/conf.d/zfs + + if use python; then + pushd contrib/pyzfs >/dev/null || die + distutils-r1_src_install + popd >/dev/null || die + fi + + # enforce best available python implementation + use minimal || python_fix_shebang "${ED}/bin" +} + +_old_layout_cleanup() { + # new files are just extra/{spl,zfs}.ko with no subdirs. + local olddir=( + avl/zavl + icp/icp + lua/zlua + nvpair/znvpair + spl/spl + unicode/zunicode + zcommon/zcommon + zfs/zfs + zstd/zzstd + ) + + # kernel/module/Kconfig contains possible compressed extentions. + local kext kextfiles + for kext in .ko{,.{gz,xz,zst}}; do + kextfiles+=( "${olddir[@]/%/${kext}}" ) + done + + local oldfile oldpath + for oldfile in "${kextfiles[@]}"; do + oldpath="${EROOT}/lib/modules/${KV_FULL}/extra/${oldfile}" + if [[ -f "${oldpath}" ]]; then + ewarn "Found obsolete zfs module ${oldfile} for current kernel ${KV_FULL}, removing." + rm -rv "${oldpath}" || die + # we do not remove non-empty directories just for safety in case there's something else. + # also it may fail if there are both compressed and uncompressed modules installed. + rmdir -v --ignore-fail-on-non-empty "${oldpath%/*.*}" || die + fi + done +} + +pkg_postinst() { + udev_reload + + if use modules; then + # Check for old module layout before doing anything else. + # only attempt layout cleanup if new .ko location is used. + local newko=( "${EROOT}/lib/modules/${KV_FULL}/extra"/{zfs,spl}.ko* ) + # We check first array member, if glob above did not exand, it will be "zfs.ko*" and -f will return false. + # if glob expanded -f will do correct file precense check. + [[ -f ${newko[0]} ]] && _old_layout_cleanup + + linux-mod-r1_pkg_postinst + + if use x86 || use arm ; then + ewarn "32-bit kernels will likely require increasing vmalloc to" + ewarn "at least 256M and decreasing zfs_arc_max to some value less than that." + fi + + if has_version sys-boot/grub ; then + ewarn "This version of OpenZFS includes support for new feature flags" + ewarn "that are incompatible with previous versions. GRUB2 support for" + ewarn "/boot with the new feature flags is not yet available." + ewarn "Do *NOT* upgrade root pools to use the new feature flags." + ewarn "Any new pools will be created with the new feature flags by default" + ewarn "and will not be compatible with older versions of OpenZFS. To" + ewarn "create a new pool that is backward compatible wih GRUB2, use " + ewarn + ewarn "zpool create -o compatibility=grub2 ..." + ewarn + ewarn "Refer to /usr/share/zfs/compatibility.d/grub2 for list of features." + fi + fi + + if use rootfs; then + if ! has_version sys-kernel/genkernel && ! has_version sys-kernel/dracut; then + elog "Root on zfs requires an initramfs to boot" + elog "The following packages provide one and are tested on a regular basis:" + elog " sys-kernel/dracut ( preferred, module maintained by zfs developers )" + elog " sys-kernel/genkernel" + fi + fi + + if systemd_is_booted || has_version sys-apps/systemd; then + einfo "Please refer to $(systemd_get_systempresetdir)/50-zfs.preset" + einfo "for default zfs systemd service configuration" + else + [[ -e "${EROOT}/etc/runlevels/boot/zfs-import" ]] || \ + einfo "You should add zfs-import to the boot runlevel." + [[ -e "${EROOT}/etc/runlevels/boot/zfs-load-key" ]] || \ + einfo "You should add zfs-load-key to the boot runlevel." + [[ -e "${EROOT}/etc/runlevels/boot/zfs-mount" ]]|| \ + einfo "You should add zfs-mount to the boot runlevel." + [[ -e "${EROOT}/etc/runlevels/default/zfs-share" ]] || \ + einfo "You should add zfs-share to the default runlevel." + [[ -e "${EROOT}/etc/runlevels/default/zfs-zed" ]] || \ + einfo "You should add zfs-zed to the default runlevel." + fi +} + +pkg_postrm() { + udev_reload +} diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.4.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.4.3.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.4.0.ebuild rename to sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.4.3.ebuild index 4a4ca52e939..274e57f560d 100644 --- a/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.4.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-fs/zfs/zfs-2.4.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,7 @@ EAPI=8 DISTUTILS_OPTIONAL=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{12..15} ) MODULES_INITRAMFS_IUSE=+initramfs MODULES_OPTIONAL_IUSE=+modules @@ -21,7 +21,7 @@ inherit linux-mod-r1 multiprocessing pam systemd udev usr-ldscript DESCRIPTION="Linux kernel module and userland utilities for ZFS" HOMEPAGE="https://github.com/openzfs/zfs" -MODULES_KERNEL_MAX=6.18 +MODULES_KERNEL_MAX=7.0 MODULES_KERNEL_MIN=4.18 if [[ ${PV} == "9999" ]]; then @@ -81,17 +81,6 @@ BDEPEND=" ) " -if [[ ${PV} != "9999" ]] ; then - BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-openzfs )" - - IUSE+=" +dist-kernel-cap" - RDEPEND=" - dist-kernel-cap? ( dist-kernel? ( - Date: Mon, 6 Jul 2026 08:42:09 +0000 Subject: [PATCH 203/243] sys-fs/zfs-kmod: Sync with Gentoo It's from Gentoo commit 499ff8641c037b0be2a645f51d1fed7cbeb7ce08. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-fs/zfs-kmod/Manifest | 10 +- .../files/2.4.2-gcc16-earlyclobber-fix.patch | 68 ++++++ ...od-2.3.5.ebuild => zfs-kmod-2.2.10.ebuild} | 4 +- ...mod-2.3.3.ebuild => zfs-kmod-2.3.7.ebuild} | 7 +- .../sys-fs/zfs-kmod/zfs-kmod-2.3.8.ebuild | 207 ++++++++++++++++++ 5 files changed, 286 insertions(+), 10 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/files/2.4.2-gcc16-earlyclobber-fix.patch rename sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/{zfs-kmod-2.3.5.ebuild => zfs-kmod-2.2.10.ebuild} (98%) rename sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/{zfs-kmod-2.3.3.ebuild => zfs-kmod-2.3.7.ebuild} (97%) create mode 100644 sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/zfs-kmod-2.3.8.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/Manifest b/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/Manifest index d6652f6d83b..c75b91888f8 100644 --- a/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/Manifest @@ -1,14 +1,16 @@ DIST zfs-2.1.16.tar.gz 35187215 BLAKE2B 8bb90903f3747589fff94a810584de54d7f598b0aa9d0b364cc679779d401a9a76f6914cbfbdd007e2066f02230ed4cac4f3735830ea70eb3bcc449af8229c5d SHA512 68e62015e44eeb997166418bf769afa3e96c037a9282dcfd08a8f01d935fa48076483158f628d70b0aed258427510996d4c4ee7d2644ff561163c76f776635d2 DIST zfs-2.1.16.tar.gz.asc 836 BLAKE2B b46614399ca63d9c88216c55bb2177cc0c28f4da2cb6be3ee361efca994309abff46fdf6ad6b0bad448c44e9e84ee40e2183d1b482e04844317f14744bab5c1f SHA512 d2d94a4e3ffe182e86fa3319cb9661688125f378ffa1e5768ee89033f796a1f52f877c382588fb1f434686e30bc4e65e3f08ceac0dd3dd7f8f751ba6182c3317 +DIST zfs-2.2.10.tar.gz 33889026 BLAKE2B 47d11f1e515e7028ef548d5167bfca26135dc331dccaaf69c3b5095bb49788574f628949f19c423c5ca6cff2c5e6defb6a4575298821ab73a18964335fa3e1a6 SHA512 e15cd145072ebb444d15cbec11c770e28c5642ee7b8e7371f1cff968c32c0b121c591ae61a0d70a1f7dba312ac6ae25bd68af2f0b80b4debf1fa6ea05b60b5de +DIST zfs-2.2.10.tar.gz.asc 858 BLAKE2B 3c44fa8ff580388ce8b2d915a2f89ed065179d483ade01e4607a428ba37c42275d7c3ec5e251ab24381f743bb20a81c3b44fb1593dd76244396ca295bf9e6e8a SHA512 a2e6d9e22b41dfc995dfaceb1f1adf7d75fea01b0ec3c66c255a121f7faa0d60e445df4ff0fb6cc85e5a4d68d7d3152923f48fe870ebe16a0c69187a9adbe52e DIST zfs-2.2.8.tar.gz 33852494 BLAKE2B 9e338544488d00a57594d638138896635ea62b80341ad9289b9faad7b899012206fef22e5742e1f5681c58d61d264127ed1e2dfe5aa9b2e9aac2243421c60b11 SHA512 95c203a97032b8ae46cc84e0e6fd68d61e42fb6c6fde7102b04ac85291579c18b1d52b3e93e345a3bc5491bef8bf07b8e7edcbf69cb6222c5d8454a3c83adb11 DIST zfs-2.2.8.tar.gz.asc 224 BLAKE2B c3a06953c22d1b485fbd030c93ad0e744c50a91e51bbed5bef56090a1da57b02ec580499a419201f365c99ade53af5d6f545876e6d0da25ee7870fc86786288b SHA512 fcd6fe2412b5a2e83ad2609d56993ed4ad61e10c4f77f1e94a66403adf66ac90604fb567e7cde6420fe0b6a604abfd817a63e744f7c4fe8452b862c1d8cc4df3 DIST zfs-2.2.9.tar.gz 33864041 BLAKE2B abafd4da0c98cf93a2648150c859ffc6847aa2f5bfa59f3b6cc1619a2313a1600923c7a07c9e647c6c0f40eda21fb0985de81a436c44513a5bd99984a18329a5 SHA512 bed0f7794ff7898557a4854d8634a96f9be5368b0264558d980e70664fe1f02a35b05a96b5e92acd40e2b741373ca4a312e31ad4f69c4d639c817cce3988f382 DIST zfs-2.2.9.tar.gz.asc 858 BLAKE2B caf76646bb3cba75b65b9b93b63f698d172806d60480785938ca3112a67d3e6d9a9b123217df4c92ad682b695292d9e674c4cba819b94276d154aba11e8dcc7d SHA512 ff3a1789154382b06e778b1847519188d520d5037f8c78089309c1d532e8496f682ead1648991bb9eb58dbdedd0007fa7d3157a8887a525470c9220bab3eb4e2 -DIST zfs-2.3.3.tar.gz 34360540 BLAKE2B 4861ddfc91b941448d13d43bb2a023273917064b29880f87d91dbe6424b3f1fc7b0409e13a514d5b3f18f70a383c5d1c462ec5d7b8a7c82b2b076ecd363cecdd SHA512 0a18615da052989c19e889758972f14173e790710a2615fc186212d02f9909f0bf62debc19d85ff5c58411d8ef82aa85aff20804c3fbe2446913cd293a18b80d -DIST zfs-2.3.3.tar.gz.asc 224 BLAKE2B 79cad3883b2ac9dd13b4898f48ef2b637a580e18c65d6f83b834489a35cb31da5ed58cc24afabf3331904e8df54a7f7a825826570470f312ff2370c7fc8f95fc SHA512 07aab3d14ba3f06df2992f08cc68bed3dbf57d59cb151e0a769eeea3dc74c82084be0242b80f5075b59bb036d9277dfd726361422b35e3ed01877317634911b7 DIST zfs-2.3.4.tar.gz 34386899 BLAKE2B e7619445a9138475e51e1578cb4e85032570830faba5aab44013a652596a07e49cf602acfe7fd0e5411199d11614d4686cc3f14fddf3062695ce3da922075efd SHA512 56b90960de6aa94b76f8efc3c84993454a8d544bd47e1270e02caa8d96569e866102e17ef1f16056722bf5f6624fad0bbe7f9ef0e94bc0c3fc16e61b681db815 DIST zfs-2.3.4.tar.gz.asc 858 BLAKE2B 2537afa40b48c07b8ad61a4f6973e40a78b5863afbb6b75674fb7a5950ba2dda22dfa93a180190332d234b0b2e2ce14ed61cb34bc0f56e609dad3cdb805ab5c2 SHA512 cc50fb915d4e8a7eb894bdf919940a8c68828e48a5e1f2a08b08a5e75c0eb8a9cd4feaa84742b65d6b2d85ee839ac2b7d565ed7958006ff079d751145463243b -DIST zfs-2.3.5.tar.gz 34379136 BLAKE2B 4ae090c76e13f2d3d76e481b9950db1319534e47b357e4818bfc4db84cc0a5089de1e46319a36f02010ac27e3ab5cf74a56979b94864d38dcc41c86721841e54 SHA512 72d62e28dc868aba720755685d5e8020d3165d04d0ae55f33e97ed6c503637c476563d23ea6e991784ab1c2e6886d785e2f15f5a71d4d3f69700bbb26eda3dad -DIST zfs-2.3.5.tar.gz.asc 858 BLAKE2B 96edcd3eb5b1a9d33ed50b2526d6a69b5e3dd4d1450205ed7342352aa3ac7014fc813b703ae97a29380da16f452c5491ddf68c05621479b7559f8907cc3b90de SHA512 fc69ab416499ef03cc3721c9f0017e792fc857d045e7f5902a5bf41eb31bbe192e850c1d01482401f06a53926649a1798fc2f7f6fc058fe8c6727b8630c56cdd DIST zfs-2.3.6.tar.gz 34410022 BLAKE2B 9d83e296cb4e78c67cb9d30ba79b74b4b53c9fd4b0b58cd7a9e1e7b0fafc2c5a49b002c1023d07736c1a6149c61963ccb45e9a82d25944c0a7bd4486ea7fcde8 SHA512 789f534124173693ad461f0fcd5df442588225d5f42420f658fe5c7cb57549417aa472ae95658c90c9dad6818f91d8fb0cbd1fcef2395d167b3ded38477e18c7 DIST zfs-2.3.6.tar.gz.asc 858 BLAKE2B 88e9344ed51d9906011f6f381364aeb8bfe3360b0c12a18ec45c8a8d42725f345e61c0ad63037ace51bdd04276567cd90ba2311c971c6b2f10501ffb0363be84 SHA512 fe1b7977a8ae564fe639ca824a557a1600c3e22df0af3e750464a3c960b9709c289c07e42ef40173e153453c5641c442c660c804ea21370d77d9819c13b655b1 +DIST zfs-2.3.7.tar.gz 34431113 BLAKE2B 8b11b1bd69861426d82fa4c25a320082ab1b1250931de6cd26f30ad1f26cec2e830cc76f49875305583e473013e8ed15048a74dd9c847da077c12b6ac4c6ec0c SHA512 801ff38a7babe204f5dd5e159cf228b2c35b627f41fb33e6ae1e38751829ccbc486ea84725286d5d69c099fca9c7d063f9532d95a8a0c19f50fe0d40895225f2 +DIST zfs-2.3.7.tar.gz.asc 858 BLAKE2B 775f7d82e47e8664a0e285f3470e59b4ab8338826d0226267cb669e114cd128354266d5797714629a9474c01049c35b04d00cef81086c66131a603ece32188d3 SHA512 6a945170563ee7dd4df2ce0131596418a52905e0915e65a4b2b55ee13d7020a0a7ea03abcb5651b0b84459656691bb339ef20748022c2bafdb643bb0df56235b +DIST zfs-2.3.8.tar.gz 34456706 BLAKE2B 74b3270d5daddfcb46947564aa544859247ca5b6c3298f42c5bf4554f717b14f99fafe230e6c0c62d1fd295203c38c29440dcf2204b55b4bcdf615f01221f410 SHA512 4a993588505259eccb99ff9b763eb4ebf92045fa18b528d308ca8f8f9e74effc7df53f80d0e31520f2353726baa531821dc02288115835eb557f4948b36d986f +DIST zfs-2.3.8.tar.gz.asc 858 BLAKE2B 269ee57e28ccbadebd6e7c17d4400adee8387235a53422c05acdf2646fda42a2a7b3598cbeb30f84b66b5a3b0dbc23458c806904f477579b7107204e3dd46ce7 SHA512 a8c644e70bf591223dc653086684bca8ebf3db54531254612e6b274118905789005fe17f3d00ac42aebc4af734584e792e279bdf803be97c274fb61ff9586987 diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/files/2.4.2-gcc16-earlyclobber-fix.patch b/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/files/2.4.2-gcc16-earlyclobber-fix.patch new file mode 100644 index 00000000000..3a2421c1dec --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/files/2.4.2-gcc16-earlyclobber-fix.patch @@ -0,0 +1,68 @@ +From be04f4acfa83261571dad5c9c4bfda9fe38063ff Mon Sep 17 00:00:00 2001 +From: Brian Behlendorf +Date: Wed, 13 May 2026 17:55:23 +0000 +Subject: [PATCH] Fix aarch64 build failure by removing earlyclobber +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The UVR macros used "+&w" (read-write + earlyclobber) as the +constraint for NEON register operands that are declared as explicit +hard-register variables via: + +register unsigned char wN asm("vN") __attribute__((vector_size(16))); + +The + modifier implicitly makes the operand also an input (reading the +register before the asm runs). The & (earlyclobber) modifier says "this +output may be written before all inputs are consumed." Having an +earlyclobber output on the same hard-register that is simultaneously +an input is a contradiction — GCC 16 now strictly diagnoses this. + +The fix removes the & from "+&w", yielding "+w". The earlyclobber +was both incorrect (contradicts the implicit input) and unnecessary +(the physical registers are already hard-bound, so the compiler has no +freedom to assign conflicting registers anyway). + +Co-Authored-by: Claude Sonnet 4.6 +Signed-off-by: Brian Behlendorf +Issue #18525 +--- + .../zfs/vdev_raidz_math_aarch64_neon_common.h | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +diff --git a/module/zfs/vdev_raidz_math_aarch64_neon_common.h b/module/zfs/vdev_raidz_math_aarch64_neon_common.h +index 1ec4d0218bb0..3c3370290c88 100644 +--- a/module/zfs/vdev_raidz_math_aarch64_neon_common.h ++++ b/module/zfs/vdev_raidz_math_aarch64_neon_common.h +@@ -102,14 +102,14 @@ + + #define WVR(X) [w##X] "=w" (w##X) + +-#define UVR0_(REG, ...) [w##REG] "+&w" (w##REG) +-#define UVR1_(_1, REG, ...) [w##REG] "+&w" (w##REG) +-#define UVR2_(_1, _2, REG, ...) [w##REG] "+&w" (w##REG) +-#define UVR3_(_1, _2, _3, REG, ...) [w##REG] "+&w" (w##REG) +-#define UVR4_(_1, _2, _3, _4, REG, ...) [w##REG] "+&w" (w##REG) +-#define UVR5_(_1, _2, _3, _4, _5, REG, ...) [w##REG] "+&w" (w##REG) +-#define UVR6_(_1, _2, _3, _4, _5, _6, REG, ...) [w##REG] "+&w" (w##REG) +-#define UVR7_(_1, _2, _3, _4, _5, _6, _7, REG, ...) [w##REG] "+&w" (w##REG) ++#define UVR0_(REG, ...) [w##REG] "+w" (w##REG) ++#define UVR1_(_1, REG, ...) [w##REG] "+w" (w##REG) ++#define UVR2_(_1, _2, REG, ...) [w##REG] "+w" (w##REG) ++#define UVR3_(_1, _2, _3, REG, ...) [w##REG] "+w" (w##REG) ++#define UVR4_(_1, _2, _3, _4, REG, ...) [w##REG] "+w" (w##REG) ++#define UVR5_(_1, _2, _3, _4, _5, REG, ...) [w##REG] "+w" (w##REG) ++#define UVR6_(_1, _2, _3, _4, _5, _6, REG, ...) [w##REG] "+w" (w##REG) ++#define UVR7_(_1, _2, _3, _4, _5, _6, _7, REG, ...) [w##REG] "+w" (w##REG) + + #define UVR0(r...) UVR0_(r) + #define UVR1(r...) UVR1_(r) +@@ -120,7 +120,7 @@ + #define UVR6(r...) UVR6_(r, 36, 35, 34, 33, 32, 31) + #define UVR7(r...) UVR7_(r, 36, 35, 34, 33, 32, 31, 30) + +-#define UVR(X) [w##X] "+&w" (w##X) ++#define UVR(X) [w##X] "+w" (w##X) + + #define R_01(REG1, REG2, ...) REG1, REG2 + #define _R_23(_0, _1, REG2, REG3, ...) REG2, REG3 diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/zfs-kmod-2.3.5.ebuild b/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/zfs-kmod-2.2.10.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/zfs-kmod-2.3.5.ebuild rename to sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/zfs-kmod-2.2.10.ebuild index bc1d54a9629..3a0d5105c82 100644 --- a/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/zfs-kmod-2.3.5.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/zfs-kmod-2.2.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -61,7 +61,7 @@ PDEPEND="dist-kernel? ( ~sys-fs/zfs-${PV}[dist-kernel] )" PATCHES=( "${FILESDIR}"/${PN}-2.1.11-gentoo.patch - "${FILESDIR}"/${PN}-2.3.3-bdev-interface.patch + "${FILESDIR}"/2.4.2-gcc16-earlyclobber-fix.patch ) pkg_pretend() { diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/zfs-kmod-2.3.3.ebuild b/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/zfs-kmod-2.3.7.ebuild similarity index 97% rename from sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/zfs-kmod-2.3.3.ebuild rename to sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/zfs-kmod-2.3.7.ebuild index f3849b11b6c..9f6d26d4bc4 100644 --- a/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/zfs-kmod-2.3.3.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/zfs-kmod-2.3.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,7 +9,7 @@ inherit autotools flag-o-matic linux-mod-r1 multiprocessing DESCRIPTION="Linux ZFS kernel module for sys-fs/zfs" HOMEPAGE="https://github.com/openzfs/zfs" -MODULES_KERNEL_MAX=6.15 +MODULES_KERNEL_MAX=7.0 MODULES_KERNEL_MIN=4.18 if [[ ${PV} == 9999 ]] ; then @@ -31,7 +31,7 @@ else ZFS_KERNEL_DEP="${ZFS_KERNEL_DEP%%.*}.$(( ${ZFS_KERNEL_DEP##*.} + 1))" if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="amd64 arm64 ~loong ppc64 ~riscv ~sparc" + KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~sparc" fi fi @@ -61,7 +61,6 @@ PDEPEND="dist-kernel? ( ~sys-fs/zfs-${PV}[dist-kernel] )" PATCHES=( "${FILESDIR}"/${PN}-2.1.11-gentoo.patch - "${FILESDIR}"/${PN}-2.3.3-bdev-interface.patch ) pkg_pretend() { diff --git a/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/zfs-kmod-2.3.8.ebuild b/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/zfs-kmod-2.3.8.ebuild new file mode 100644 index 00000000000..9f6d26d4bc4 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-fs/zfs-kmod/zfs-kmod-2.3.8.ebuild @@ -0,0 +1,207 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MODULES_INITRAMFS_IUSE=+initramfs +inherit autotools flag-o-matic linux-mod-r1 multiprocessing + +DESCRIPTION="Linux ZFS kernel module for sys-fs/zfs" +HOMEPAGE="https://github.com/openzfs/zfs" + +MODULES_KERNEL_MAX=7.0 +MODULES_KERNEL_MIN=4.18 + +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://github.com/openzfs/zfs.git" + inherit git-r3 + unset MODULES_KERNEL_MAX +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/openzfs.asc + inherit verify-sig + + MY_PV=${PV/_rc/-rc} + SRC_URI="https://github.com/openzfs/zfs/releases/download/zfs-${MY_PV}/zfs-${MY_PV}.tar.gz" + SRC_URI+=" verify-sig? ( https://github.com/openzfs/zfs/releases/download/zfs-${MY_PV}/zfs-${MY_PV}.tar.gz.asc )" + S="${WORKDIR}/zfs-${MY_PV}" + + ZFS_KERNEL_COMPAT="${MODULES_KERNEL_MAX}" + # Increments minor eg 5.14 -> 5.15, and still supports override. + ZFS_KERNEL_DEP="${ZFS_KERNEL_COMPAT_OVERRIDE:-${ZFS_KERNEL_COMPAT}}" + ZFS_KERNEL_DEP="${ZFS_KERNEL_DEP%%.*}.$(( ${ZFS_KERNEL_DEP##*.} + 1))" + + if [[ ${PV} != *_rc* ]] ; then + KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~sparc" + fi +fi + +LICENSE="CDDL MIT debug? ( GPL-2+ )" +SLOT="0/${PVR}" +IUSE="custom-cflags debug +rootfs" +RESTRICT="test" + +BDEPEND=" + app-alternatives/awk + dev-lang/perl +" + +if [[ ${PV} != 9999 ]] ; then + BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-openzfs )" + + IUSE+=" +dist-kernel-cap" + RDEPEND=" + dist-kernel-cap? ( dist-kernel? ( + Date: Mon, 6 Jul 2026 08:42:09 +0000 Subject: [PATCH 204/243] sys-kernel/dracut: Sync with Gentoo It's from Gentoo commit da7f63648583818550ecc7f19f7b9615102f1871. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-kernel/dracut/Manifest | 1 - .../sys-kernel/dracut/dracut-108-r6.ebuild | 255 ------------------ ...dracut-111.ebuild => dracut-111-r1.ebuild} | 3 +- .../dracut/files/dracut-111-dash-printf.patch | 39 +++ 4 files changed, 41 insertions(+), 257 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-108-r6.ebuild rename sdk_container/src/third_party/portage-stable/sys-kernel/dracut/{dracut-111.ebuild => dracut-111-r1.ebuild} (98%) create mode 100644 sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/dracut-111-dash-printf.patch diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/Manifest b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/Manifest index 92b9ff9b523..fbf1436969f 100644 --- a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/Manifest @@ -1,3 +1,2 @@ -DIST dracut-108-r1.tar.gz 552754 BLAKE2B 1bfa7beaba0f631c279442c8ab670556ce3df20213d81d6060d608e44285f9f5d07541f9855ff82b4e057b55b65396b61778049af8b27d1036db00c7cc8b658b SHA512 2fa6edf8d018b3205c19e34e560de74b2319d59522f1c3891c44a895a8da43344ac5c020078abb821147e607ff4b45d5add417592055f9d166934f2d4de267ea DIST dracut-110-r1.tar.gz 573549 BLAKE2B d7b92773d732b8cee60e2625caac2f69b47438a7f8b30b889165253cfcf94b2364be3b10bb2b9b477e957a6d284cf195581905df0ad4365ebe03483ff2a61d1f SHA512 8e2ed2d3b35e3e82d1ffa809e1cf87cb8108402a66dad25000b0fd21f24dcda2eb5fd944b55edf108a4e37793d0d98814413382e554e808cd2e1a2a5bb8a420e DIST dracut-111.tar.gz 586307 BLAKE2B 1def3957013c1508cf70018b4b5aeae333b459e50a7fc2945cd0c7a99f1c6942c8280888239273b62cdcfa3471a980d74b3769b5e3d0536be4f1729d102074f0 SHA512 4c8a3e1e82bfc1dbe155241564bc93bedc2b321566002ccc643697b50173b8e564d03b1bbff4f49602e0cb7abbee21dfb14aadc453ac9703a846c160d070b4bc diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-108-r6.ebuild b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-108-r6.ebuild deleted file mode 100644 index e8af6875fed..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-108-r6.ebuild +++ /dev/null @@ -1,255 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -CARGO_OPTIONAL=1 - -inherit cargo flag-o-matic bash-completion-r1 edo optfeature systemd toolchain-funcs - -if [[ ${PV} == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/dracut-ng/dracut" -else - if [[ "${PV}" != *_rc* ]]; then - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~sparc x86" - fi - SRC_URI="https://github.com/dracut-ng/dracut/archive/refs/tags/${PV}.tar.gz -> ${P}-r1.tar.gz" -fi - -DESCRIPTION="Generic initramfs generation tool" -HOMEPAGE="https://github.com/dracut-ng/dracut-ng/wiki" - -LICENSE="GPL-2" -SLOT="0" -IUSE="dracut-cpio selinux systemd test" -RESTRICT="test" -PROPERTIES="test? ( test_privileged test_network )" - -COMMON_DEPEND=" - >=sys-apps/kmod-23 - systemd? ( >=sys-apps/systemd-257:= ) -" -RDEPEND="${COMMON_DEPEND} - app-alternatives/cpio - >=app-shells/bash-4.0:0 - sys-apps/coreutils[xattr(-)] - >=sys-apps/kmod-23[tools] - || ( - >=sys-apps/sysvinit-2.87-r3 - sys-apps/openrc[sysv-utils(-),selinux?] - sys-apps/systemd[sysv-utils(+)] - sys-apps/s6-linux-init[sysv-utils(-)] - ) - >=sys-apps/util-linux-2.21 - virtual/pkgconfig[native-symlinks(+)] - virtual/udev - - elibc_musl? ( sys-libs/fts-standalone ) - selinux? ( - sec-policy/selinux-dracut - sys-libs/libselinux - sys-libs/libsepol - ) -" -DEPEND="${COMMON_DEPEND} - elibc_musl? ( sys-libs/fts-standalone ) -" - -BDEPEND=" - || ( - dev-ruby/asciidoctor - app-text/asciidoc - ) - app-text/docbook-xml-dtd:4.5 - >=app-text/docbook-xsl-stylesheets-1.75.2 - >=dev-libs/libxslt-1.1.26 - virtual/pkgconfig - dracut-cpio? ( ${RUST_DEPEND} ) - test? ( - net-nds/rpcbind - net-fs/nfs-utils - sys-block/open-iscsi - sys-fs/btrfs-progs - sys-fs/dmraid - sys-fs/lvm2[lvm,thin] - sys-fs/mdadm - sys-fs/multipath-tools - alpha? ( app-emulation/qemu[qemu_softmmu_targets_alpha] ) - amd64? ( app-emulation/qemu[qemu_softmmu_targets_x86_64] ) - arm? ( app-emulation/qemu[qemu_softmmu_targets_arm] ) - arm64? ( app-emulation/qemu[qemu_softmmu_targets_aarch64] ) - hppa? ( app-emulation/qemu[qemu_softmmu_targets_hppa] ) - loong? ( app-emulation/qemu[qemu_softmmu_targets_loongarch64] ) - mips? ( || ( - app-emulation/qemu[qemu_softmmu_targets_mips] - app-emulation/qemu[qemu_softmmu_targets_mips64] - app-emulation/qemu[qemu_softmmu_targets_mips64el] - ) ) - ppc? ( app-emulation/qemu[qemu_softmmu_targets_ppc] ) - ppc64? ( app-emulation/qemu[qemu_softmmu_targets_ppc64] ) - riscv? ( || ( - app-emulation/qemu[qemu_softmmu_targets_riscv32] - app-emulation/qemu[qemu_softmmu_targets_riscv64] - ) ) - sparc? ( || ( - app-emulation/qemu[qemu_softmmu_targets_sparc] - app-emulation/qemu[qemu_softmmu_targets_sparc64] - ) ) - x86? ( app-emulation/qemu[qemu_softmmu_targets_i386] ) - ) -" - -QA_MULTILIB_PATHS="usr/lib/dracut/.*" - -PATCHES=( - "${FILESDIR}"/gentoo-ldconfig-paths-r1.patch - # Gentoo specific acct-user and acct-group conf adjustments - "${FILESDIR}"/${PN}-108-acct-user-group-gentoo.patch - # https://github.com/dracut-ng/dracut-ng/pull/1447 - "${FILESDIR}"/${PN}-108-respect-objcopy-and-objdump.patch - # https://github.com/dracut-ng/dracut-ng/pull/1538 - "${FILESDIR}"/${PN}-108-elf-parsing-fixes.patch - # https://github.com/dracut-ng/dracut-ng/pull/1122#issuecomment-3192110686 - "${FILESDIR}"/${PN}-108-disable-ukify-magic.patch - # https://github.com/dracut-ng/dracut-ng/pull/1562 - "${FILESDIR}"/${PN}-108-hostonly_cmdline-default-yes.patch -) - -pkg_setup() { - use dracut-cpio && rust_pkg_setup -} - -src_configure() { - local myconf=( - --prefix="${EPREFIX}/usr" - --sysconfdir="${EPREFIX}/etc" - --bashcompletiondir="$(get_bashcompdir)" - --systemdsystemunitdir="$(systemd_get_systemunitdir)" - --disable-dracut-cpio - ) - - if ! has_version -b dev-ruby/asciidoctor; then - myconf+=( --disable-asciidoctor ) - fi - - # this emulates what the build system would be doing without us - append-cflags -D_FILE_OFFSET_BITS=64 - - tc-export CC PKG_CONFIG - - # https://bugs.gentoo.org/968765 - use systemd || export SYSTEMD_CFLAGS= SYSTEMD_LIBS= - - edo ./configure "${myconf[@]}" - if use dracut-cpio; then - cargo_gen_config - cargo_src_configure - fi -} - -src_compile() { - default - if use dracut-cpio; then - pushd src/dracut-cpio >/dev/null || die - cargo_src_compile - popd >/dev/null || die - fi -} - -src_test() { - addwrite /dev/kvm - # Translate ARCH so run-qemu can find the correct qemu-system-ARCH - local qemu_arch - if use amd64; then - qemu_arch=x86_64 - elif use arm64; then - qemu_arch=aarch64 - elif use loong; then - qemu_arch=loongarch64 - elif use x86; then - qemu_arch=i386 - else - qemu_arch=$(tc-arch) - fi - ARCH=${qemu_arch} emake -C test check -} - -src_install() { - local DOCS=( - AUTHORS - NEWS.md - README.md - ) - default - if use dracut-cpio; then - exeinto /usr/lib/dracut - doexe "src/dracut-cpio/$(cargo_target_dir)/dracut-cpio" - fi - - # Use our own from sys-kernel/installkernel[dracut] - rm -r "${ED}/usr/lib/kernel" || die -} - -pkg_preinst() { - # Remove directory/symlink conflicts - # https://bugs.gentoo.org/943007 - local save_nullglob=$(shopt -p nullglob) - shopt -s nullglob - local module - for module in "${EROOT}"/usr/lib/dracut/modules.d/{80test,80test-makeroot,80test-root}; do - if [[ ! -L ${module} && -d ${module} ]]; then - rm -rv "${module}" || die - fi - local backups=( "${module}".backup.* ) - if [[ ${#backups[@]} -gt 0 ]]; then - rm -v "${backups[@]}" || die - fi - done - eval "${save_nullglob}" -} - -pkg_postinst() { - optfeature "Networking support" net-misc/networkmanager - optfeature "Legacy networking support" net-misc/curl "net-misc/dhcp[client]" \ - sys-apps/iproute2 "net-misc/iputils[arping]" - optfeature "Scan for Btrfs on block devices" sys-fs/btrfs-progs - optfeature "Load kernel modules and drop this privilege for real init" \ - sys-libs/libcap - optfeature "Support CIFS" net-fs/cifs-utils - optfeature "Decrypt devices encrypted with cryptsetup/LUKS" \ - "sys-fs/cryptsetup[-static-libs]" - optfeature "Support for GPG-encrypted keys for crypt module" \ - "app-alternatives/gpg[reference]" "app-alternatives/gpg[freepg(-)]" - optfeature \ - "Allows use of dash instead of default bash (on your own risk)" \ - app-shells/dash - optfeature \ - "Allows use of busybox instead of default bash (on your own risk)" \ - sys-apps/busybox - optfeature "Support iSCSI" sys-block/open-iscsi - optfeature "Support Logical Volume Manager" sys-fs/lvm2[lvm] - optfeature "Support MD devices, also known as software RAID devices" \ - sys-fs/mdadm sys-fs/dmraid - optfeature "Support Device Mapper multipathing" sys-fs/multipath-tools - optfeature "Plymouth boot splash" '>=sys-boot/plymouth-0.8.5-r5' - optfeature "Support network block devices" sys-block/nbd - optfeature "Support NFS" net-fs/nfs-utils net-nds/rpcbind - optfeature \ - "Install ssh and scp along with config files and specified keys" \ - virtual/openssh - optfeature "Enable logging with rsyslog" app-admin/rsyslog - optfeature "Support Squashfs" sys-fs/squashfs-tools - optfeature "Support TPM 2.0 TSS" app-crypt/tpm2-tools - optfeature "Support Bluetooth (experimental)" net-wireless/bluez - optfeature "Support BIOS-given device names" sys-apps/biosdevname - optfeature "Support network NVMe" sys-apps/nvme-cli app-misc/jq - optfeature \ - "Enable rngd service to help generating entropy early during boot" \ - sys-apps/rng-tools - optfeature "building Unified Kernel Images with dracut (--uefi)" \ - "sys-apps/systemd[boot]" "sys-apps/systemd-utils[boot]" - optfeature "automatically generating an initramfs on each kernel installation" \ - "sys-kernel/installkernel[dracut]" - optfeature "automatically generating an UKI on each kernel installation" \ - "sys-kernel/installkernel[dracut,uki]" -} diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-111.ebuild b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-111-r1.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-111.ebuild rename to sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-111-r1.ebuild index a5c18279a98..3660b3e2e34 100644 --- a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-111.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/dracut-111-r1.ebuild @@ -11,7 +11,7 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/dracut-ng/dracut" else if [[ "${PV}" != *_rc* ]]; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" fi SRC_URI="https://github.com/dracut-ng/dracut/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" fi @@ -103,6 +103,7 @@ QA_MULTILIB_PATHS="usr/lib/dracut/.*" PATCHES=( "${FILESDIR}"/gentoo-ldconfig-paths-r1.patch + "${FILESDIR}"/${PN}-111-dash-printf.patch ) pkg_setup() { diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/dracut-111-dash-printf.patch b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/dracut-111-dash-printf.patch new file mode 100644 index 00000000000..a4564d01023 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/dracut/files/dracut-111-dash-printf.patch @@ -0,0 +1,39 @@ +https://bugs.gentoo.org/971601 +https://github.com/dracut-ng/dracut/pull/2453 + +From cd2b33734f3cbead1e0f728ac838252cf16535f4 Mon Sep 17 00:00:00 2001 +From: fiftydinar <65243233+fiftydinar@users.noreply.github.com> +Date: Thu, 28 May 2026 17:07:19 +0200 +Subject: [PATCH] fix(base): use printf instead of echo for hook variable + +Use printf instead of echo in list_hooks() to avoid dash's echo interpreting \x2f hex escapes, which corrupts hook file paths containing escaped slashes. + +1. parse-root.sh creates a hook file with \x2f-escaped device paths via str_replace() +2. list_hooks() finds the file via glob but outputs it with echo, which dash interprets as hex escapes +3. The corrupted path causes check_finished() to never find the real hook, looping until timeout (~5 min boot delay) +--- + modules.d/80base/dracut-lib.sh | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/modules.d/80base/dracut-lib.sh b/modules.d/80base/dracut-lib.sh +index 339567d9a..09b20bf5b 100755 +--- a/modules.d/80base/dracut-lib.sh ++++ b/modules.d/80base/dracut-lib.sh +@@ -378,14 +378,14 @@ list_hooks() { + # priority, '/etc/dracut/hooks' comes after and '/usr/lib/dracut/hooks' is the + # least priviliged location. + for hook in "/var/lib/dracut/hooks/$dir/"$pattern; do +- [ -f "$hook" ] && echo "$hook" ++ [ -f "$hook" ] && printf '%s\n' "$hook" + done + for hook in "/etc/dracut/hooks/$dir/"$pattern; do +- [ -f "$hook" ] && [ ! -f "/var/lib/dracut/hooks/$dir/${hook##*/}" ] && echo "$hook" ++ [ -f "$hook" ] && [ ! -f "/var/lib/dracut/hooks/$dir/${hook##*/}" ] && printf '%s\n' "$hook" + done + for hook in "/usr/lib/dracut/hooks/$dir/"$pattern; do + [ -f "$hook" ] && [ ! -f "/var/lib/dracut/hooks/$dir/${hook##*/}" ] \ +- && [ ! -f "/etc/dracut/hooks/$dir/${hook##*/}" ] && echo "$hook" ++ && [ ! -f "/etc/dracut/hooks/$dir/${hook##*/}" ] && printf '%s\n' "$hook" + done + } + From 4350ddb4f987130847b6f0386561f74f396dd86a Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:09 +0000 Subject: [PATCH 205/243] sys-kernel/linux-headers: Sync with Gentoo It's from Gentoo commit 9e182abf5c9d32945c777f897f5cd3b7062bd051. Signed-off-by: Flatcar Buildbot --- .../sys-kernel/linux-headers/Manifest | 4 ++ .../linux-headers/linux-headers-7.0.ebuild | 53 +++++++++++++++++++ .../linux-headers/linux-headers-7.1.ebuild | 53 +++++++++++++++++++ 3 files changed, 110 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/sys-kernel/linux-headers/linux-headers-7.0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-kernel/linux-headers/linux-headers-7.1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/linux-headers/Manifest b/sdk_container/src/third_party/portage-stable/sys-kernel/linux-headers/Manifest index 667ad7f3d21..1057ed57024 100644 --- a/sdk_container/src/third_party/portage-stable/sys-kernel/linux-headers/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/linux-headers/Manifest @@ -21,6 +21,8 @@ DIST gentoo-headers-6.19-1.tar.xz 1868 BLAKE2B 5796f9b45aae0c03a4d31e873713db448 DIST gentoo-headers-6.6-1.tar.xz 1172 BLAKE2B 626bb33b42f48bceca2ba6a0a9c0b043a8607bb391d3b541e98d2af42eacfabeda3a5a3d48b7bee1fd0a2a8ad0b6173bde49d3827ea087e501eb0e91d18c4ab7 SHA512 09bcda97d9d17ee3f66ee46d9c00b8ac4fba5b9662fa24e4e2754bd9e4e7b3f097e5f2d52281eeb7a671dfe303aabe15c8fd66f117fddf29fb094e28d8c603b3 DIST gentoo-headers-6.8-1.tar.xz 1164 BLAKE2B 43283b61fc35057c7f703108d6e4aead901329106e4c297cdfc261e8f9cb1f2ec9370b7367432b9eabe9fcc4358da745170b1f4ec6079d373f50de1fde148778 SHA512 c43e18ce1b39a60e163c2e0f824b1402bcbda84f20b2ae38d53681ff517713c42fd876954fab0ab8044b66e28e32f9ee93fc61ecbbc9c2bb5a9932a0616e570c DIST gentoo-headers-6.9-1.tar.xz 1164 BLAKE2B fd385a2c39e9528f60dee582f153485842e76a8a9ad87fd8a11179b8ad2558df23e3c7fb7476f3f1011536e26da50f625a660d2a8ae01954300085f8b3f1bb01 SHA512 3fad4602e453a9aae24cc640ee6c70b06f221c78262f5befe794ca5eb48c352aff335715b5033760ca690bdef55e6a6acb5d3d2351bae885f3023098b5c6ecb1 +DIST gentoo-headers-7.0-1.tar.xz 1176 BLAKE2B c9cc851c29a99d244b3a63742cf0aacc75ad3bf26949ef2e4ccbdbb95a8130a22dcfb3a904cf6881c8123eff45946e15881333da96867a067264b13bd1a4dbc5 SHA512 2a40a0fc95b353bde74abe1e5d98640c224e7d918ba6a914d0228faf2325cbd0f16d88c9d0afc9990be90a4f1a934fd92aeff2ad55a8c17123fcd3de7f8721f8 +DIST gentoo-headers-7.1-1.tar.xz 1172 BLAKE2B 660a98eef1af3ca330475d4f2a71c7799f75f96d38411698ec47861dc39ec1e51da907ed5c1881dabc1df5c7605dd3645c1fa147d797da724cb3a57192bf945d SHA512 6a0efe654eb2d3a620b68b61f7480e1963abf968aaad3974ec5ac8492867f86fb2765de7c9ad56a62e31107ad3910cca8d138b3f608f42f621408ca228ae49b9 DIST gentoo-headers-base-3.18.tar.xz 3776668 BLAKE2B 837a675ecf05ec270549d0ba6b9dcb98fb0e40f22007ebfa3e430152b7149dcfa29c8bbe38c737add07f75642234f1633c1d5ae0170788e8d4f765faf00bbdbe SHA512 6615c604e5e618d26fff5a61691f7827bb05be9790db6c9f8e16e3842bce8f056f9928f85ae5714710b75743b0d0804faba4ba9c76e934e1de22dc03ef6d5535 DIST gentoo-headers-base-4.14.tar.xz 8017944 BLAKE2B e967a3f26fa002f62af72c165cf960e855f5d84dd105b3f136e5ae24f4cdfc9e5f8b217a83955b325ca4bd6bda0a9d4c4de02d8d79fd4aa72191bc63db96183a SHA512 2a4e83a9ee36ffa85b59ebac1e12f4f1c572825b767928a42c4748d924d04f0536bab4d9375ca68c11ad867c226f386c40c7c4d0158d1ab00c838eb5b2f9f21a DIST gentoo-headers-base-4.19.tar.xz 7956220 BLAKE2B 5b6868188b6cb505556b8f307972be6b27c0201e8287f6a2c4d0ac8bf16cfe048cb05afacf879731ba81de5e2a8c5afc4adad007e00b12efb8b2a158a666f4dd SHA512 ef0f159cb31651bf8e00c31d8ac807e64413c7bf88807e1ab4779524db10eec4726b65af0fad034a0cb2e000cd61a6008bcc174828061ffaf633c170dd09645c @@ -43,3 +45,5 @@ DIST linux-6.19.tar.xz 156067644 BLAKE2B d1551c058e9a1201a0fa769b427255f13bb0d73 DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35 DIST linux-6.8.tar.xz 142502100 BLAKE2B c6f17f816cea16e629f63e9379b98888713f57b2c5173306926471f139a9d612a0c74e119341f8075390e55e203d787d9edeb4ad5a064b18870f6f0f7ffaafb2 SHA512 5c4eb4aa1d3f7d1ea01c0f7ddeadacdece6e144fd4bdfc16b2b925d3e10dc04de3a6db69320b79a96c3560052616f001d2c09e7a1bb4f7b731e2380a7ecce068 DIST linux-6.9.tar.xz 144034416 BLAKE2B 4cf86c3cfe6e6534745d42dfaeca59b17ea1168c4e8b615c80e6d8aac735f11283cd85fa992b440b5d4452917e94b9f08397a64af0be5894e3df23c68892377e SHA512 fed3b4cd1fbfb4d94618587c1934273d2ecc8b6e42a3d586ff8a5f24980be930f2ef803aa2923ca3bfa5e4e619f967f3af315368f24fa76f610b10443624a579 +DIST linux-7.0.tar.xz 157143652 BLAKE2B 3d9795083c8938f80f480de0d10bfd9c525640e59d5c7f22983de3f12ee42c84c31be902cafb05579ddb1c32bac5ed06b0d4953f9705450be185bd2d9ab08f89 SHA512 8c85b708342f8f09ca25b2234b22e93b62b144a9ef919fbb21827f52fa47498e778c79db1559524dd7fb360f95b2ce174171443c1859656c281be41d2b6c5a0b +DIST linux-7.1.tar.xz 158304768 BLAKE2B 5199b2057fd1b89f0275bdaff9d81035cf5e1e8e64318a4a67467399245628a0f8c5e82f9d80dfc54b094349a8cfcdc892b7a4ad4bdf5dd1daa268ff30c1cf38 SHA512 d4d9c45261813559341c67ea53d4a47f5a04d1ad15e3c2b8222a09b5483380d2bfd31b8c675e144db2eb91f560d6cb28f66187a5ea4f24f6dfb82a4ad48064cc diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/linux-headers/linux-headers-7.0.ebuild b/sdk_container/src/third_party/portage-stable/sys-kernel/linux-headers/linux-headers-7.0.ebuild new file mode 100644 index 00000000000..10349e1bbe4 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/linux-headers/linux-headers-7.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Notes at https://wiki.gentoo.org/wiki/Project:Toolchain/sys-kernel/linux-headers + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arc arm arm64 csky hexagon hppa loong m68k microblaze mips nios2 openrisc ppc ppc64 riscv s390 sh sparc x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_PV=${PV} # to ease testing new versions against not existing patches +PATCH_VER="1" +SRC_URI=" + ${KERNEL_URI} + ${PATCH_VER:+https://distfiles.gentoo.org/pub/proj/toolchain/linux-headers/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz} +" +S="${WORKDIR}/linux-${PV}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + app-arch/xz-utils + dev-lang/perl + net-misc/rsync +" + +src_unpack() { + # Avoid kernel-2_src_unpack + default +} + +src_prepare() { + local PATCHES=() + [[ -n ${PATCH_VER} ]] && PATCHES+=( "${WORKDIR}"/${PATCH_PV} ) + + # TODO: May need forward porting to newer versions + use elibc_musl && PATCHES+=( + "${FILESDIR}"/${PN}-5.15-remove-inclusion-sysinfo.h.patch + ) + + # Avoid kernel-2_src_prepare + default +} + +src_install() { + kernel-2_src_install + + find "${ED}" \( -name '.install' -o -name '*.cmd' \) -delete || die + # Delete empty directories + find "${ED}" -empty -type d -delete || die +} diff --git a/sdk_container/src/third_party/portage-stable/sys-kernel/linux-headers/linux-headers-7.1.ebuild b/sdk_container/src/third_party/portage-stable/sys-kernel/linux-headers/linux-headers-7.1.ebuild new file mode 100644 index 00000000000..10349e1bbe4 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-kernel/linux-headers/linux-headers-7.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Notes at https://wiki.gentoo.org/wiki/Project:Toolchain/sys-kernel/linux-headers + +ETYPE="headers" +H_SUPPORTEDARCH="alpha amd64 arc arm arm64 csky hexagon hppa loong m68k microblaze mips nios2 openrisc ppc ppc64 riscv s390 sh sparc x86 xtensa" +inherit kernel-2 +detect_version + +PATCH_PV=${PV} # to ease testing new versions against not existing patches +PATCH_VER="1" +SRC_URI=" + ${KERNEL_URI} + ${PATCH_VER:+https://distfiles.gentoo.org/pub/proj/toolchain/linux-headers/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz} +" +S="${WORKDIR}/linux-${PV}" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + app-arch/xz-utils + dev-lang/perl + net-misc/rsync +" + +src_unpack() { + # Avoid kernel-2_src_unpack + default +} + +src_prepare() { + local PATCHES=() + [[ -n ${PATCH_VER} ]] && PATCHES+=( "${WORKDIR}"/${PATCH_PV} ) + + # TODO: May need forward porting to newer versions + use elibc_musl && PATCHES+=( + "${FILESDIR}"/${PN}-5.15-remove-inclusion-sysinfo.h.patch + ) + + # Avoid kernel-2_src_prepare + default +} + +src_install() { + kernel-2_src_install + + find "${ED}" \( -name '.install' -o -name '*.cmd' \) -delete || die + # Delete empty directories + find "${ED}" -empty -type d -delete || die +} From 8f853f1a46b1c6d98abf032b99a53cce81b0b19c Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:10 +0000 Subject: [PATCH 206/243] sys-libs/binutils-libs: Sync with Gentoo It's from Gentoo commit 09f707864b3bca2731f791fbdb4474e8cae449de. Signed-off-by: Flatcar Buildbot --- .../sys-libs/binutils-libs/Manifest | 4 + .../binutils-libs-2.46.1-r1.ebuild | 263 +++++++++++++++++ .../binutils-libs/binutils-libs-2.46.1.ebuild | 266 ++++++++++++++++++ .../binutils-libs/binutils-libs-9999.ebuild | 22 +- 4 files changed, 547 insertions(+), 8 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/binutils-libs/binutils-libs-2.46.1-r1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/binutils-libs/binutils-libs-2.46.1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/binutils-libs/Manifest b/sdk_container/src/third_party/portage-stable/sys-libs/binutils-libs/Manifest index a4c2f073c63..4780068275e 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/binutils-libs/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-libs/binutils-libs/Manifest @@ -27,3 +27,7 @@ DIST binutils-2.45.1.tar.xz 27962312 BLAKE2B 1ccab38659ec47f9100b61322627345fe79 DIST binutils-2.45.tar.xz 27868232 BLAKE2B 1ce72346b1f531c89feb86b407e2c649151b506ffbd1a02d413411d36f7ede98fa9a1adf75dd941c01df5fe7e6bf151828b269eeb7c278315ca8004bff22eb7f SHA512 c7b10a7466d9fd398d7a0b3f2a43318432668d714f2ec70069a31bdc93c86d28e0fe83792195727167743707fbae45337c0873a0786416db53bbf22860c16ce7 DIST binutils-2.46.0-patches-1.tar.xz 6620 BLAKE2B ef5ae8ded0b635c6d85fd5220e23f1b79081369704d82edf2c7d3fc2000adae5899e0920a1fdc64bf1c518bdbeaef09aabff8abecaf3cec0e51596604162f6dd SHA512 b8f555e1ef01a23aa138c9f67b55a70c929d7cd5ec8993c9c7ab1d02d604e51e710713dbea31298291dd0afe3b8c7db85630b6314c2117861e47bd2e9c9d74a9 DIST binutils-2.46.0.tar.xz 28548776 BLAKE2B 9f4fd8897d237eb5003bdf439537dfc5f8c681e9ff939fb06bb8235ed298031ea4cc91611edb640ffc432199d5791289d003fe0d07acce80327dc40595a5eb9e SHA512 32f880bb4f69351f4ae54a5d00359625c6c49d8e76624fb5cffdf174c79c8d3212f66225b81c12933c6ed59604ab652560773dd92fab384b930c97a9d4e1fdf2 +DIST binutils-2.46.1-patches-1.tar.xz 6916 BLAKE2B 4588923757470819d7d0f344b8c1472bad7fc5f53e776a7843d11112a74a71dcaf6849b88685368503fac0315897c662ccd99f94ca7ee8a2e1d1382ddc0b7b44 SHA512 b0fe0aa0c7ac11a1152d05733c939ccf0a51b4295c90bb80fc25db882adbef1d5f50eafab7f9b68d15ac664b9b941e46bc4e7d8577ee9233558c6bb0a0c451ee +DIST binutils-2.46.1-patches-2.tar.xz 9852 BLAKE2B e024d51fc049e71ce215024ed39c4dae2d459f97f83ed1c6dec9cea9da923462150bf830712e1be17b12f804e19454f13d6a663dd2c5724474ac78e46f16068f SHA512 221000686c65e31a1727aba2dd3c2f23172b3423fa0f1d6b277ec0ba01f8846ad85c51483e292cbd5c44f206639e222d34246cefb7660e2c1c4730f421715487 +DIST binutils-2.46.1.tar.xz 28636456 BLAKE2B a5a0578281d6315a43437ccf7636b3b91185c2706f1582b22af6973f55a86f5b4bc7eb03aa9ceaec547070152c08c982bc40ee9ce07679f2e3bb49e050bae76c SHA512 a5c65e56e400ed3fb8906a995dbb93eb5bea54b16344244653d7f44ef29ceb60270da263b19d25302c37759784e14fcb4b9421b29e0e2c7f450bd99f6bb4595c +DIST binutils-2.46.1.tar.xz.sig 395 BLAKE2B 5c8d5fc9fd3abf8de72e603d5f529d8fdef2345851d6af6644e443e95e50558a6b2006914edf54094178075b1ed9e51a630773b7c74e7b421eacba4bb8028a29 SHA512 e7746a14c74a04cee1a7b82bd463ff42f304e3646e4808a03ac7ee8d367a61627297c30816f008b919b8db7cc706062d927f424a787e0f1da3ad432ec18cfa0f diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/binutils-libs/binutils-libs-2.46.1-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/binutils-libs/binutils-libs-2.46.1-r1.ebuild new file mode 100644 index 00000000000..17998eed616 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/binutils-libs/binutils-libs-2.46.1-r1.ebuild @@ -0,0 +1,263 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dot-a flag-o-matic libtool toolchain-funcs multilib-minimal + +DESCRIPTION="Core binutils libraries (libbfd, libopcodes, libiberty) for external packages" +HOMEPAGE="https://sourceware.org/binutils/" + +LICENSE="|| ( GPL-3 LGPL-3 )" +IUSE="64-bit-bfd cet multitarget nls static-libs test" + +# Variables that can be set here (ignored for live ebuilds) +# PATCH_VER - the patchset version +# Default: empty, no patching +# PATCH_BINUTILS_VER - the binutils version in the patchset name +# - Default: PV + +PATCH_VER=2 + +MY_PN=binutils +MY_P=${MY_PN}-${PV} + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + SLOT="0/${PV}" +elif [[ ${PV} == *9999 ]]; then + inherit git-r3 + SLOT="0/$(ver_cut 1-2)" +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/binutils.asc + inherit verify-sig + PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}} + SRC_URI=" + mirror://gnu/binutils/${MY_P}.tar.xz + verify-sig? ( mirror://gnu/binutils/${MY_P}.tar.xz.sig ) + " + [[ -z ${PATCH_VER} ]] || SRC_URI+=" https://distfiles.gentoo.org/pub/proj/toolchain/${MY_PN}/patches/${MY_PN}-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz" + SLOT="0/${PV}" + KEYWORDS="~alpha" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-binutils )" +fi + +BDEPEND+=" + nls? ( sys-devel/gettext ) + test? ( dev-util/dejagnu ) +" +DEPEND="virtual/zlib:=[${MULTILIB_USEDEP}]" +# Need a newer binutils-config that'll reset include/lib symlinks for us. +RDEPEND="${DEPEND} + >=sys-devel/binutils-config-5 +" + +RESTRICT="!test? ( test )" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/bfd.h +) + +src_unpack() { + if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/toolchain/binutils-patches.git + https://github.com/gentoo/binutils-patches + " + EGIT_CHECKOUT_DIR=${WORKDIR}/patches-git + git-r3_src_unpack + mv patches-git/9999 patches || die + + if [[ ${PV} != 9999 ]] ; then + EGIT_BRANCH=binutils-$(ver_cut 1)_$(ver_cut 2)-branch + fi + EGIT_REPO_URI=" + https://sourceware.org/git/binutils-gdb.git + https://git.sr.ht/~sourceware/binutils-gdb + https://gitlab.com/x86-binutils/binutils-gdb.git + " + S=${WORKDIR}/binutils + EGIT_CHECKOUT_DIR=${S} + git-r3_src_unpack + else + use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${MY_P/-hppa64/}.tar.xz{,.sig} + unpack ${MY_P}.tar.xz + + cd "${WORKDIR}" || die + unpack binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz + + # _p patch versions are Gentoo specific tarballs ... + local dir=${MY_P} + dir=${dir/-hppa64/} + + S=${WORKDIR}/${dir} + fi + + cd "${WORKDIR}" || die +} + +src_prepare() { + if [[ -n ${PATCH_VER} ]] ; then + einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset ${PATCH_VER}" + eapply "${WORKDIR}/patches" + fi + + # Fix cross-compile relinking issue, bug #626402 + elibtoolize + + if [[ ${CHOST} == *-darwin* ]] ; then + # somehow libtool/configure is messed up and (custom patch at + # upstream?) and misdetects (basically assumes) nm can be called + # with -B arg -- can't run eautoreconf (fails), so patch up + # manually, this would break any target that needs -B to nm + sed -i -e 's/lt_cv_path_NM="$tmp_nm -B"/lt_cv_path_NM="$tmp_nm"/' \ + libctf/configure || die + fi + + # See https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html + # Avoid really confusing logs from subconfigure spam, makes logs far + # more legible. + export MAKEOPTS="--output-sync=line ${MAKEOPTS}" + + default +} + +pkgversion() { + printf "Gentoo ${PVR}" + [[ -n ${PATCHVER} ]] && printf " p${PATCHVER}" +} + +src_configure() { + lto-guarantee-fat + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myconf=( + # portage's econf() does not detect presence of --d-d-t + # because it greps only top-level ./configure. But not + # libiberty's or bfd's configure. + --disable-dependency-tracking + --disable-silent-rules + --enable-obsolete + --enable-shared + --enable-threads + # Newer versions (>=2.24) make this an explicit option. #497268 + --enable-install-libiberty + --disable-werror + --with-bugurl="https://bugs.gentoo.org/" + --with-pkgversion="$(pkgversion)" + $(use_enable static-libs static) + # The binutils eclass enables this flag for all bi-arch builds, + # but other tools often don't care about that support. Put it + # beyond a flag if people really want it, but otherwise leave + # it disabled as it can slow things down on 32bit arches. #438522 + $(use_enable 64-bit-bfd) + # This only disables building in the zlib subdir. + # For binutils itself, it'll use the system version. #591516 + --without-zlib + --with-system-zlib + # We only care about the libs, so disable programs. #528088 + --disable-{binutils,etc,ld,gas,gprof,gprofng} + # Disable modules that are in a combined binutils/gdb tree. #490566 + --disable-{gdb,gdbserver,libbacktrace,libdecnumber,readline,sim} + # Strip out broken static link flags. + # https://gcc.gnu.org/PR56750 + --without-stage1-ldflags + # We pull in all USE-flags that change ABI in an incompatible + # way. #666100 + # USE=multitarget change size of global arrays + # USE=64-bit-bfd changes data structures of exported API + --with-extra-soversion-suffix=gentoo-${CATEGORY}-${PN}-$(usex multitarget mt st)-$(usex 64-bit-bfd 64 def) + + # Avoid automagic dependency on (currently prefix) systems + # with debuginfod library, bug #754753 + --without-debuginfod + + # Revisit if it's useful, we do have binutils[zstd] though + --without-zstd + + # Allow user to opt into CET for host libraries. + # Ideally we would like automagic-or-disabled here. + # But the check does not quite work on i686: bug #760926. + $(use_enable cet) + ) + + # mips can't do hash-style=gnu ... + if [[ $(tc-arch) != mips ]] ; then + myconf+=( --enable-default-hash-style=gnu ) + fi + + use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd ) + + use nls \ + && myconf+=( --without-included-gettext ) \ + || myconf+=( --disable-nls ) + + if [[ ${CHOST} == *-darwin* ]] && use nls ; then + # fix underlinking in opcodes + sed -i -e 's/@SHARED_LDFLAGS@/@SHARED_LDFLAGS@ -lintl/' \ + "${S}"/opcodes/Makefile.in || die + fi + + ECONF_SOURCE="${S}" econf "${myconf[@]}" + + # Prevent makeinfo from running as we don't build docs here. + # bug #622652 + sed -i \ + -e '/^MAKEINFO/s:=.*:= true:' \ + Makefile || die +} + +multilib_src_test() { + ( + # Tests don't expect LTO + filter-lto + + # If we have e.g. -mfpmath=sse -march=pentium4 in CFLAGS, + # we'll get lto1 warnings for some tests which cause + # spurious failures because -mfpmath isn't passed at + # link-time. Filter accordingly. + # + # Alternatively, we could pass C{C,XX}_FOR_TARGET with + # some (ideally not all, surely would break some tests) + # stuffed in. + filter-flags '-mfpmath=*' + + # lto-wrapper warnings which confuse tests + filter-flags '-Wa,*' + + # bug #637066 + filter-flags -Wall -Wreturn-type + + # Note that we need 'check' explicitly if ever cleaning this + # up: the default `src_test` check for the 'check' target + # with `-n` may fail with parallel make and silently skip tests (bug #955595) + emake -k check \ + CFLAGS_FOR_TARGET="${CFLAGS_FOR_TARGET:-${CFLAGS}}" \ + CXXFLAGS_FOR_TARGET="${CXXFLAGS_FOR_TARGET:-${CXXFLAGS}}" \ + LDFLAGS_FOR_TARGET="${LDFLAGS_FOR_TARGET:-${LDFLAGS}}" \ + CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS}" + ) +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + # Provided by dev-debug/gdb instead + if [[ ${PV} != 9999 ]] ; then + rm "${ED}"/usr/share/info/sframe-spec.info || die + fi + + # Provide libiberty.h directly. + dosym libiberty/libiberty.h /usr/include/libiberty.h +} + +multilib_src_install_all() { + use static-libs || find "${ED}"/usr -name '*.la' -delete + # Explicit "${ED}" as we need it to do things even w/ USE=-static-libs + strip-lto-bytecode "${ED}" +} diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/binutils-libs/binutils-libs-2.46.1.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/binutils-libs/binutils-libs-2.46.1.ebuild new file mode 100644 index 00000000000..68624167535 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/binutils-libs/binutils-libs-2.46.1.ebuild @@ -0,0 +1,266 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dot-a flag-o-matic libtool toolchain-funcs multilib-minimal + +DESCRIPTION="Core binutils libraries (libbfd, libopcodes, libiberty) for external packages" +HOMEPAGE="https://sourceware.org/binutils/" + +LICENSE="|| ( GPL-3 LGPL-3 )" +IUSE="64-bit-bfd cet multitarget nls static-libs test" + +# Variables that can be set here (ignored for live ebuilds) +# PATCH_VER - the patchset version +# Default: empty, no patching +# PATCH_BINUTILS_VER - the binutils version in the patchset name +# - Default: PV +# PATCH_DEV - Use download URI https://dev.gentoo.org/~{PATCH_DEV}/distfiles/... +# for the patchsets + +PATCH_VER=1 + +MY_PN=binutils +MY_P=${MY_PN}-${PV} + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + SLOT="0/${PV}" +elif [[ ${PV} == *9999 ]]; then + inherit git-r3 + SLOT="0/$(ver_cut 1-2)" +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/binutils.asc + inherit verify-sig + PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}} + PATCH_DEV=${PATCH_DEV:-dilfridge} + SRC_URI=" + mirror://gnu/binutils/${MY_P}.tar.xz + verify-sig? ( mirror://gnu/binutils/${MY_P}.tar.xz.sig ) + " + [[ -z ${PATCH_VER} ]] || SRC_URI+=" https://distfiles.gentoo.org/pub/proj/toolchain/${MY_PN}/patches/${MY_PN}-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz" + SLOT="0/${PV}" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-binutils )" +fi + +BDEPEND+=" + nls? ( sys-devel/gettext ) + test? ( dev-util/dejagnu ) +" +DEPEND="virtual/zlib:=[${MULTILIB_USEDEP}]" +# Need a newer binutils-config that'll reset include/lib symlinks for us. +RDEPEND="${DEPEND} + >=sys-devel/binutils-config-5 +" + +RESTRICT="!test? ( test )" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/bfd.h +) + +src_unpack() { + if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/toolchain/binutils-patches.git + https://github.com/gentoo/binutils-patches + " + EGIT_CHECKOUT_DIR=${WORKDIR}/patches-git + git-r3_src_unpack + mv patches-git/9999 patches || die + + if [[ ${PV} != 9999 ]] ; then + EGIT_BRANCH=binutils-$(ver_cut 1)_$(ver_cut 2)-branch + fi + EGIT_REPO_URI=" + https://sourceware.org/git/binutils-gdb.git + https://git.sr.ht/~sourceware/binutils-gdb + https://gitlab.com/x86-binutils/binutils-gdb.git + " + S=${WORKDIR}/binutils + EGIT_CHECKOUT_DIR=${S} + git-r3_src_unpack + else + use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${MY_P/-hppa64/}.tar.xz{,.sig} + unpack ${MY_P}.tar.xz + + cd "${WORKDIR}" || die + unpack binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz + + # _p patch versions are Gentoo specific tarballs ... + local dir=${MY_P} + dir=${dir/-hppa64/} + + S=${WORKDIR}/${dir} + fi + + cd "${WORKDIR}" || die +} + +src_prepare() { + if [[ -n ${PATCH_VER} ]] ; then + einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset ${PATCH_VER}" + eapply "${WORKDIR}/patches" + fi + + # Fix cross-compile relinking issue, bug #626402 + elibtoolize + + if [[ ${CHOST} == *-darwin* ]] ; then + # somehow libtool/configure is messed up and (custom patch at + # upstream?) and misdetects (basically assumes) nm can be called + # with -B arg -- can't run eautoreconf (fails), so patch up + # manually, this would break any target that needs -B to nm + sed -i -e 's/lt_cv_path_NM="$tmp_nm -B"/lt_cv_path_NM="$tmp_nm"/' \ + libctf/configure || die + fi + + # See https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html + # Avoid really confusing logs from subconfigure spam, makes logs far + # more legible. + export MAKEOPTS="--output-sync=line ${MAKEOPTS}" + + default +} + +pkgversion() { + printf "Gentoo ${PVR}" + [[ -n ${PATCHVER} ]] && printf " p${PATCHVER}" +} + +src_configure() { + lto-guarantee-fat + multilib-minimal_src_configure +} + +multilib_src_configure() { + local myconf=( + # portage's econf() does not detect presence of --d-d-t + # because it greps only top-level ./configure. But not + # libiberty's or bfd's configure. + --disable-dependency-tracking + --disable-silent-rules + --enable-obsolete + --enable-shared + --enable-threads + # Newer versions (>=2.24) make this an explicit option. #497268 + --enable-install-libiberty + --disable-werror + --with-bugurl="https://bugs.gentoo.org/" + --with-pkgversion="$(pkgversion)" + $(use_enable static-libs static) + # The binutils eclass enables this flag for all bi-arch builds, + # but other tools often don't care about that support. Put it + # beyond a flag if people really want it, but otherwise leave + # it disabled as it can slow things down on 32bit arches. #438522 + $(use_enable 64-bit-bfd) + # This only disables building in the zlib subdir. + # For binutils itself, it'll use the system version. #591516 + --without-zlib + --with-system-zlib + # We only care about the libs, so disable programs. #528088 + --disable-{binutils,etc,ld,gas,gprof,gprofng} + # Disable modules that are in a combined binutils/gdb tree. #490566 + --disable-{gdb,gdbserver,libbacktrace,libdecnumber,readline,sim} + # Strip out broken static link flags. + # https://gcc.gnu.org/PR56750 + --without-stage1-ldflags + # We pull in all USE-flags that change ABI in an incompatible + # way. #666100 + # USE=multitarget change size of global arrays + # USE=64-bit-bfd changes data structures of exported API + --with-extra-soversion-suffix=gentoo-${CATEGORY}-${PN}-$(usex multitarget mt st)-$(usex 64-bit-bfd 64 def) + + # Avoid automagic dependency on (currently prefix) systems + # with debuginfod library, bug #754753 + --without-debuginfod + + # Revisit if it's useful, we do have binutils[zstd] though + --without-zstd + + # Allow user to opt into CET for host libraries. + # Ideally we would like automagic-or-disabled here. + # But the check does not quite work on i686: bug #760926. + $(use_enable cet) + ) + + # mips can't do hash-style=gnu ... + if [[ $(tc-arch) != mips ]] ; then + myconf+=( --enable-default-hash-style=gnu ) + fi + + use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd ) + + use nls \ + && myconf+=( --without-included-gettext ) \ + || myconf+=( --disable-nls ) + + if [[ ${CHOST} == *-darwin* ]] && use nls ; then + # fix underlinking in opcodes + sed -i -e 's/@SHARED_LDFLAGS@/@SHARED_LDFLAGS@ -lintl/' \ + "${S}"/opcodes/Makefile.in || die + fi + + ECONF_SOURCE="${S}" econf "${myconf[@]}" + + # Prevent makeinfo from running as we don't build docs here. + # bug #622652 + sed -i \ + -e '/^MAKEINFO/s:=.*:= true:' \ + Makefile || die +} + +multilib_src_test() { + ( + # Tests don't expect LTO + filter-lto + + # If we have e.g. -mfpmath=sse -march=pentium4 in CFLAGS, + # we'll get lto1 warnings for some tests which cause + # spurious failures because -mfpmath isn't passed at + # link-time. Filter accordingly. + # + # Alternatively, we could pass C{C,XX}_FOR_TARGET with + # some (ideally not all, surely would break some tests) + # stuffed in. + filter-flags '-mfpmath=*' + + # lto-wrapper warnings which confuse tests + filter-flags '-Wa,*' + + # bug #637066 + filter-flags -Wall -Wreturn-type + + # Note that we need 'check' explicitly if ever cleaning this + # up: the default `src_test` check for the 'check' target + # with `-n` may fail with parallel make and silently skip tests (bug #955595) + emake -k check \ + CFLAGS_FOR_TARGET="${CFLAGS_FOR_TARGET:-${CFLAGS}}" \ + CXXFLAGS_FOR_TARGET="${CXXFLAGS_FOR_TARGET:-${CXXFLAGS}}" \ + LDFLAGS_FOR_TARGET="${LDFLAGS_FOR_TARGET:-${LDFLAGS}}" \ + CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS}" + ) +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + # Provided by dev-debug/gdb instead + if [[ ${PV} != 9999 ]] ; then + rm "${ED}"/usr/share/info/sframe-spec.info || die + fi + + # Provide libiberty.h directly. + dosym libiberty/libiberty.h /usr/include/libiberty.h +} + +multilib_src_install_all() { + use static-libs || find "${ED}"/usr -name '*.la' -delete + # Explicit "${ED}" as we need it to do things even w/ USE=-static-libs + strip-lto-bytecode "${ED}" +} diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/binutils-libs/binutils-libs-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/binutils-libs/binutils-libs-9999.ebuild index 6e454872800..85277b247d1 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/binutils-libs/binutils-libs-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/binutils-libs/binutils-libs-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,6 @@ IUSE="64-bit-bfd cet multitarget nls static-libs test" # for the patchsets PATCH_VER=1 -PATCH_DEV=dilfridge MY_PN=binutils MY_P=${MY_PN}-${PV} @@ -32,16 +31,22 @@ elif [[ ${PV} == *9999 ]]; then inherit git-r3 SLOT="0/$(ver_cut 1-2)" else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/binutils.asc + inherit verify-sig PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}} PATCH_DEV=${PATCH_DEV:-dilfridge} - SRC_URI="mirror://gnu/binutils/${MY_P}.tar.xz - https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${MY_P}.tar.xz - https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${MY_PN}-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz" + SRC_URI=" + mirror://gnu/binutils/${MY_P}.tar.xz + verify-sig? ( mirror://gnu/binutils/${MY_P}.tar.xz.sig ) + " + [[ -z ${PATCH_VER} ]] || SRC_URI+=" https://distfiles.gentoo.org/pub/proj/toolchain/${MY_PN}/patches/${MY_PN}-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz" SLOT="0/${PV}" #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-binutils )" fi -BDEPEND=" +BDEPEND+=" nls? ( sys-devel/gettext ) test? ( dev-util/dejagnu ) " @@ -65,7 +70,7 @@ src_unpack() { " EGIT_CHECKOUT_DIR=${WORKDIR}/patches-git git-r3_src_unpack - mv patches-git/9999 patch || die + mv patches-git/9999 patches || die if [[ ${PV} != 9999 ]] ; then EGIT_BRANCH=binutils-$(ver_cut 1)_$(ver_cut 2)-branch @@ -79,6 +84,7 @@ src_unpack() { EGIT_CHECKOUT_DIR=${S} git-r3_src_unpack else + use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${MY_P/-hppa64/}.tar.xz{,.sig} unpack ${MY_P}.tar.xz cd "${WORKDIR}" || die @@ -97,7 +103,7 @@ src_unpack() { src_prepare() { if [[ -n ${PATCH_VER} ]] ; then einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset ${PATCH_VER}" - eapply "${WORKDIR}/patch"/*.patch + eapply "${WORKDIR}/patches" fi # Fix cross-compile relinking issue, bug #626402 From 14dd68b6bb15a512b75ab480e7f0bbc26b66444d Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:16 +0000 Subject: [PATCH 207/243] sys-libs/glibc: Sync with Gentoo It's from Gentoo commit db069c7c2db421b522475c231f79252f7e40cfa1. Signed-off-by: Flatcar Buildbot --- .../sys-libs/glibc/glibc-2.31-r7.ebuild | 2 +- .../sys-libs/glibc/glibc-2.32-r8.ebuild | 2 +- .../sys-libs/glibc/glibc-2.33-r14.ebuild | 2 +- .../sys-libs/glibc/glibc-2.34-r14.ebuild | 2 +- .../sys-libs/glibc/glibc-2.35-r11.ebuild | 2 +- .../sys-libs/glibc/glibc-2.36-r8.ebuild | 2 +- .../sys-libs/glibc/glibc-2.37-r10.ebuild | 2 +- .../sys-libs/glibc/glibc-2.42-r5.ebuild | 1 + .../sys-libs/glibc/glibc-2.42-r6.ebuild | 1 + .../sys-libs/glibc/glibc-2.42-r7.ebuild | 3 +- .../sys-libs/glibc/glibc-2.43-r1.ebuild | 1 + .../sys-libs/glibc/glibc-2.43-r2.ebuild | 22 +- .../sys-libs/glibc/glibc-2.43.9999.ebuild | 1920 +++++++++++++++++ .../sys-libs/glibc/glibc-2.43.ebuild | 1 + .../sys-libs/glibc/glibc-9999.ebuild | 20 + 15 files changed, 1974 insertions(+), 9 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43.9999.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.31-r7.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.31-r7.ebuild index 5c8e1155590..d480ace57ec 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.31-r7.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.31-r7.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{11..12} ) TMPFILES_OPTIONAL=1 inherit python-any-r1 prefix toolchain-funcs flag-o-matic gnuconfig \ diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.32-r8.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.32-r8.ebuild index 6732449ae93..24363ae75f0 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.32-r8.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.32-r8.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{11..12} ) TMPFILES_OPTIONAL=1 inherit python-any-r1 prefix toolchain-funcs flag-o-matic gnuconfig \ diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.33-r14.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.33-r14.ebuild index 6ad3f062de7..cfbf610dc4b 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.33-r14.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.33-r14.ebuild @@ -6,7 +6,7 @@ EAPI=7 # Bumping notes: https://wiki.gentoo.org/wiki/Project:Toolchain/sys-libs/glibc # Please read & adapt the page as necessary if obsolete. -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{11..12} ) TMPFILES_OPTIONAL=1 inherit python-any-r1 prefix preserve-libs toolchain-funcs flag-o-matic gnuconfig \ diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.34-r14.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.34-r14.ebuild index 83fc40498f7..b38aef9fad6 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.34-r14.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.34-r14.ebuild @@ -6,7 +6,7 @@ EAPI=7 # Bumping notes: https://wiki.gentoo.org/wiki/Project:Toolchain/sys-libs/glibc # Please read & adapt the page as necessary if obsolete. -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{11..12} ) TMPFILES_OPTIONAL=1 inherit python-any-r1 prefix preserve-libs toolchain-funcs flag-o-matic gnuconfig \ diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.35-r11.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.35-r11.ebuild index c280366ce32..50ed02f6c63 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.35-r11.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.35-r11.ebuild @@ -6,7 +6,7 @@ EAPI=7 # Bumping notes: https://wiki.gentoo.org/wiki/Project:Toolchain/sys-libs/glibc # Please read & adapt the page as necessary if obsolete. -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{11..12} ) TMPFILES_OPTIONAL=1 inherit python-any-r1 prefix preserve-libs toolchain-funcs flag-o-matic gnuconfig \ diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.36-r8.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.36-r8.ebuild index 8683474125b..0a3f4ac003c 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.36-r8.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.36-r8.ebuild @@ -6,7 +6,7 @@ EAPI=7 # Bumping notes: https://wiki.gentoo.org/wiki/Project:Toolchain/sys-libs/glibc # Please read & adapt the page as necessary if obsolete. -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{11..12} ) TMPFILES_OPTIONAL=1 inherit python-any-r1 prefix preserve-libs toolchain-funcs flag-o-matic gnuconfig \ diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.37-r10.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.37-r10.ebuild index dfb068aad6b..9b8ec6b2e62 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.37-r10.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.37-r10.ebuild @@ -6,7 +6,7 @@ EAPI=8 # Bumping notes: https://wiki.gentoo.org/wiki/Project:Toolchain/sys-libs/glibc # Please read & adapt the page as necessary if obsolete. -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{11..12} ) TMPFILES_OPTIONAL=1 inherit python-any-r1 prefix preserve-libs toolchain-funcs flag-o-matic gnuconfig \ diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.42-r5.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.42-r5.ebuild index 25e5fab9392..4aa40f80a75 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.42-r5.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.42-r5.ebuild @@ -185,6 +185,7 @@ XFAIL_TEST_LIST=( # Fails with certain PORTAGE_NICENESS/PORTAGE_SCHEDULING_POLICY tst-sched1 tst-sched_setattr + tst-sched_setattr-thread # Fails regularly, unreliable tst-valgrind-smoke diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.42-r6.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.42-r6.ebuild index 9330989caee..980ea27506f 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.42-r6.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.42-r6.ebuild @@ -185,6 +185,7 @@ XFAIL_TEST_LIST=( # Fails with certain PORTAGE_NICENESS/PORTAGE_SCHEDULING_POLICY tst-sched1 tst-sched_setattr + tst-sched_setattr-thread # Fails regularly, unreliable tst-valgrind-smoke diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.42-r7.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.42-r7.ebuild index 45930e159c8..4f1fad51ab3 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.42-r7.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.42-r7.ebuild @@ -43,7 +43,7 @@ HOMEPAGE="https://www.gnu.org/software/libc/" if [[ ${PV} == *9999 ]]; then inherit git-r3 else - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" SRC_URI="mirror://gnu/glibc/${P}.tar.xz" SRC_URI+=" https://distfiles.gentoo.org/pub/proj/toolchain/glibc/patches/${P}-patches-${PATCH_VER}.tar.xz" SRC_URI+=" verify-sig? ( mirror://gnu/glibc/${P}.tar.xz.sig )" @@ -185,6 +185,7 @@ XFAIL_TEST_LIST=( # Fails with certain PORTAGE_NICENESS/PORTAGE_SCHEDULING_POLICY tst-sched1 tst-sched_setattr + tst-sched_setattr-thread # Fails regularly, unreliable tst-valgrind-smoke diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43-r1.ebuild index 644f936b169..4d8fe312db3 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43-r1.ebuild @@ -196,6 +196,7 @@ XFAIL_TEST_LIST=( # Fails with certain PORTAGE_NICENESS/PORTAGE_SCHEDULING_POLICY tst-sched1 tst-sched_setattr + tst-sched_setattr-thread # Fails regularly, unreliable tst-valgrind-smoke diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43-r2.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43-r2.ebuild index ee1e20f9b41..2a8c6e1984c 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43-r2.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43-r2.ebuild @@ -43,7 +43,7 @@ HOMEPAGE="https://www.gnu.org/software/libc/" if [[ ${PV} == *9999 ]]; then inherit git-r3 else - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" SRC_URI="mirror://gnu/glibc/${P}.tar.xz" SRC_URI+=" https://distfiles.gentoo.org/pub/proj/toolchain/glibc/patches/${P}-patches-${PATCH_VER}.tar.xz" SRC_URI+=" verify-sig? ( mirror://gnu/glibc/${P}.tar.xz.sig )" @@ -196,6 +196,7 @@ XFAIL_TEST_LIST=( # Fails with certain PORTAGE_NICENESS/PORTAGE_SCHEDULING_POLICY tst-sched1 tst-sched_setattr + tst-sched_setattr-thread # Fails regularly, unreliable tst-valgrind-smoke @@ -222,6 +223,7 @@ XFAIL_NSPAWN_TEST_LIST=( tst-aarch64-pkey tst-bz21269 tst-mlock2 + tst-mseal-pkey tst-ntp_gettime tst-ntp_gettime-time64 tst-ntp_gettimex @@ -355,6 +357,21 @@ setup_target_flags() { just_headers && return 0 case $(tc-arch) in + alpha) + # glibc selects its hand-written assembly mem*/str* routines by the + # host triplet's machine prefix (sysdeps/alpha/preconfigure does + # machine=alpha/$machine), NOT by the -mcpu codegen flag. With the + # bare alpha-*-* CHOST only the generic C is built. Map -mcpu to the + # most specific sysdeps/alpha/alphaev* dir that exists (Implies chain + # alphaev67 -> alphaev6 -> alphaev5) so the tuned asm is selected. + local cpu + case $(get-flag mcpu) in + 21264a|ev67) cpu="alphaev67" ;; + 21264|ev6) cpu="alphaev6" ;; + 21164*|ev5|ev56|pca56) cpu="alphaev5" ;; + esac + [[ -n ${cpu} ]] && CTARGET_OPT="${cpu}-${CTARGET#*-}" + ;; x86) # -march needed for #185404 #199334 # TODO: When creating the first glibc cross-compile, this test will @@ -1370,6 +1387,9 @@ glibc_src_test() { done fi + # https://inbox.sourceware.org/libc-alpha/lhuikb5ibey.fsf@oldenburg.str.redhat.com/ + local -x GAWK_GNU_MATCHERS=1 + # sandbox does not understand unshare() and prevents # writes to /proc/, which makes many tests fail diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43.9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43.9999.ebuild new file mode 100644 index 00000000000..c7ecedbebdc --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43.9999.ebuild @@ -0,0 +1,1920 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Bumping notes: https://wiki.gentoo.org/wiki/Project:Toolchain/sys-libs/glibc +# Please read & adapt the page as necessary if obsolete. + +PYTHON_COMPAT=( python3_{11..14} ) +TMPFILES_OPTIONAL=1 + +EMULTILIB_PKG="true" + +# Gentoo patchset (ignored for live ebuilds) +PATCH_VER=1 + +# gcc mulitilib bootstrap files version +GCC_BOOTSTRAP_VER=20201208 + +# systemd integration version +GLIBC_SYSTEMD_VER=20210729 + +# Minimum kernel version that glibc requires +MIN_KERN_VER="3.2.0" + +# Minimum pax-utils version needed (which contains any new syscall changes for +# its seccomp filter!). Please double check this! +MIN_PAX_UTILS_VER="1.3.3" + +# Minimum systemd version needed (which contains any new syscall changes for +# its seccomp filter!). Please double check this! +MIN_SYSTEMD_VER="254.9-r1" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/glibc.asc + +inherit python-any-r1 prefix preserve-libs toolchain-funcs flag-o-matic gnuconfig \ + multilib systemd multiprocessing tmpfiles eapi9-ver verify-sig + +DESCRIPTION="GNU libc C library" +HOMEPAGE="https://www.gnu.org/software/libc/" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 +else + #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + SRC_URI="mirror://gnu/glibc/${P}.tar.xz" + SRC_URI+=" https://distfiles.gentoo.org/pub/proj/toolchain/glibc/patches/${P}-patches-${PATCH_VER}.tar.xz" + SRC_URI+=" verify-sig? ( mirror://gnu/glibc/${P}.tar.xz.sig )" +fi + +SRC_URI+=" multilib-bootstrap? ( https://dev.gentoo.org/~dilfridge/distfiles/gcc-multilib-bootstrap-${GCC_BOOTSTRAP_VER}.tar.xz )" +SRC_URI+=" systemd? ( https://gitweb.gentoo.org/proj/toolchain/glibc-systemd.git/snapshot/glibc-systemd-${GLIBC_SYSTEMD_VER}.tar.gz )" + +LICENSE="LGPL-2.1+ BSD HPND ISC inner-net rc PCRE" +SLOT="2.2" +IUSE="audit caps cet clang compile-locales custom-cflags doc gd hash-sysv-compat headers-only +multiarch multilib multilib-bootstrap nscd perl profile selinux sframe +ssp stack-realign +static-libs suid systemd systemtap test vanilla" + +# Here's how the cross-compile logic breaks down ... +# CTARGET - machine that will target the binaries +# CHOST - machine that will host the binaries +# CBUILD - machine that will build the binaries +# If CTARGET != CHOST, it means you want a libc for cross-compiling. +# If CHOST != CBUILD, it means you want to cross-compile the libc. +# CBUILD = CHOST = CTARGET - native build/install +# CBUILD != (CHOST = CTARGET) - cross-compile a native build +# (CBUILD = CHOST) != CTARGET - libc for cross-compiler +# CBUILD != CHOST != CTARGET - cross-compile a libc for a cross-compiler +# For install paths: +# CHOST = CTARGET - install into / +# CHOST != CTARGET - install into /usr/CTARGET/ +# +export CBUILD=${CBUILD:-${CHOST}} +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} ]] ; then + if [[ ${CATEGORY} == cross-* ]] ; then + export CTARGET=${CATEGORY#cross-} + fi +fi + +# Note [Disable automatic stripping] +# Disabling automatic stripping for a few reasons: +# - portage's attempt to strip breaks non-native binaries at least on +# arm: bug #697428 +# - portage's attempt to strip libpthread.so.0 breaks gdb thread +# enumeration: bug #697910. This is quite subtle: +# * gdb uses glibc's libthread_db-1.0.so to enumerate threads. +# * libthread_db-1.0.so needs access to libpthread.so.0 local symbols +# via 'ps_pglobal_lookup' symbol defined in gdb. +# * 'ps_pglobal_lookup' uses '.symtab' section table to resolve all +# known symbols in 'libpthread.so.0'. Specifically 'nptl_version' +# (unexported) is used to sanity check compatibility before enabling +# debugging. +# Also see https://sourceware.org/gdb/wiki/FAQ#GDB_does_not_see_any_threads_besides_the_one_in_which_crash_occurred.3B_or_SIGTRAP_kills_my_program_when_I_set_a_breakpoint +# * normal 'strip' command trims '.symtab' +# Thus our main goal here is to prevent 'libpthread.so.0' from +# losing it's '.symtab' entries. +# - similarly, valgrind requires knowledge about symbols in ld.so: +# bug #920753 +# As Gentoo's strip does not allow us to pass less aggressive stripping +# options and does not check the machine target we strip selectively. + +# We need a new-enough binutils/gcc to match upstream baseline. +# Also we need to make sure our binutils/gcc supports TLS, +# and that gcc already contains the hardened patches. +# Lastly, let's avoid some openssh nastiness, bug 708224, as +# convenience to our users. + +IDEPEND=" + !compile-locales? ( sys-apps/locale-gen ) +" +BDEPEND=" + ${PYTHON_DEPS} + >=app-misc/pax-utils-${MIN_PAX_UTILS_VER} + sys-devel/bison + compile-locales? ( sys-apps/locale-gen ) + doc? ( + dev-lang/perl + sys-apps/texinfo + ) + sframe? ( >=sys-devel/binutils-2.45 ) + test? ( + dev-lang/perl + >=net-dns/libidn2-2.3.0 + sys-apps/gawk[mpfr] + ) + verify-sig? ( sec-keys/openpgp-keys-glibc ) +" +COMMON_DEPEND=" + gd? ( media-libs/gd:2= ) + nscd? ( selinux? ( + audit? ( sys-process/audit ) + caps? ( sys-libs/libcap ) + ) ) + suid? ( caps? ( sys-libs/libcap ) ) + selinux? ( sys-libs/libselinux ) + systemtap? ( dev-debug/systemtap ) +" +DEPEND="${COMMON_DEPEND} +" +RDEPEND="${COMMON_DEPEND} + !/dev/null + + rm -f glibc-test* + printf '%b' "$*" > glibc-test.c + + # We assume CC is already set up. + nonfatal emake glibc-test + ret=$? + + popd >/dev/null + + CFLAGS=${save_cflags} + return ${ret} +} + +do_run_test() { + local ret + + if [[ ${MERGE_TYPE} == "binary" ]] ; then + # ignore build failures when installing a binary package #324685 + CC="${glibc__ORIG_CC}" CXX="${glibc__ORIG_CXX}" CPP="${glibc__ORIG_CPP}" \ + CFLAGS="-O2" LDFLAGS="" do_compile_test "" "$@" 2>/dev/null || return 0 + else + ebegin "Performing simple compile test for ABI=${ABI}" + if ! do_compile_test "" "$@" ; then + ewarn "Simple build failed ... assuming this is desired #324685" + eend 1 + return 0 + else + eend 0 + fi + fi + + pushd "${T}" >/dev/null + + ./glibc-test + ret=$? + rm -f glibc-test* + + popd >/dev/null + + return ${ret} +} + +setup_target_flags() { + # This largely mucks with compiler flags. None of which should matter + # when building up just the headers. + just_headers && return 0 + + case $(tc-arch) in + alpha) + # glibc selects its hand-written assembly mem*/str* routines by the + # host triplet's machine prefix (sysdeps/alpha/preconfigure does + # machine=alpha/$machine), NOT by the -mcpu codegen flag. With the + # bare alpha-*-* CHOST only the generic C is built. Map -mcpu to the + # most specific sysdeps/alpha/alphaev* dir that exists (Implies chain + # alphaev67 -> alphaev6 -> alphaev5) so the tuned asm is selected. + local cpu + case $(get-flag mcpu) in + 21264a|ev67) cpu="alphaev67" ;; + 21264|ev6) cpu="alphaev6" ;; + 21164*|ev5|ev56|pca56) cpu="alphaev5" ;; + esac + [[ -n ${cpu} ]] && CTARGET_OPT="${cpu}-${CTARGET#*-}" + ;; + x86) + # -march needed for #185404 #199334 + # TODO: When creating the first glibc cross-compile, this test will + # always fail as it does a full link which in turn requires glibc. + # Probably also applies when changing multilib profile settings (e.g. + # enabling x86 when the profile was amd64-only previously). + # We could change main to _start and pass -nostdlib here so that we + # only test the gcc code compilation. Or we could do a compile and + # then look for the symbol via scanelf. + if ! do_compile_test "" 'void f(int i, void *p) {if (__sync_fetch_and_add(&i, 1)) f(i, p);}\nint main(){return 0;}\n'; then + local t=${CTARGET_OPT:-${CTARGET}} + t=${t%%-*} + filter-flags '-march=*' + export CFLAGS="-march=${t} ${CFLAGS}" + einfo "Auto adding -march=${t} to CFLAGS #185404" + fi + # For compatibility with older binaries at slight performance cost. + use stack-realign && export CFLAGS+=" -mstackrealign" + ;; + amd64) + # -march needed for #185404 #199334 + # TODO: See cross-compile issues listed above for x86. + if [[ ${ABI} == x86 ]]; then + if ! do_compile_test "${CFLAGS_x86}" 'void f(int i, void *p) {if (__sync_fetch_and_add(&i, 1)) f(i, p);}\nint main(){return 0;}\n'; then + local t=${CTARGET_OPT:-${CTARGET}} + t=${t%%-*} + # Normally the target is x86_64-xxx, so turn that into the -march that + # gcc actually accepts. #528708 + [[ ${t} == "x86_64" ]] && t="x86-64" + filter-flags '-march=*' + # ugly, ugly, ugly. ugly. + CFLAGS_x86=$( + CFLAGS=${CFLAGS_x86} + filter-flags '-march=*' + is-flagq '-mfpmath=sse' && append-cflags -msse + echo "${CFLAGS}" + ) + export CFLAGS_x86="${CFLAGS_x86} -march=${t}" + einfo "Auto adding -march=${t} to CFLAGS_x86 #185404 (ABI=${ABI})" + fi + # For compatibility with older binaries at slight performance cost. + use stack-realign && export CFLAGS_x86+=" -mstackrealign" + fi + + if is_hurd ; then + # doesnt build with -march=native and probably other values, debugging required + filter-flags '-march=*' + fi + ;; + mips) + # The mips abi cannot support the GNU style hashes. #233233 + filter-ldflags -Wl,--hash-style=gnu -Wl,--hash-style=both + ;; + ppc|ppc64) + # Many arch-specific implementations do not work on ppc with + # cache-block not equal to 128 bytes. This breaks memset: + # https://sourceware.org/PR26522 + # https://bugs.gentoo.org/737996 + # Use default -mcpu=. For ppc it means non-multiarch setup. + filter-flags '-mcpu=*' + ;; + sparc) + # Both sparc and sparc64 can use -fcall-used-g6. -g7 is bad, though. + filter-flags "-fcall-used-g7" + append-flags "-fcall-used-g6" + + local cpu + case ${CTARGET} in + sparc64-*) + cpu="sparc64" + case $(get-flag mcpu) in + v9) + # We need to force at least v9a because the base build doesn't + # work with just v9. + # https://sourceware.org/bugzilla/show_bug.cgi?id=19477 + append-flags "-Wa,-xarch=v9a" + ;; + esac + ;; + sparc-*) + case $(get-flag mcpu) in + v8|supersparc|hypersparc|leon|leon3) + cpu="sparcv8" + ;; + *) + cpu="sparcv9" + ;; + esac + ;; + esac + [[ -n ${cpu} ]] && CTARGET_OPT="${cpu}-${CTARGET#*-}" + ;; + esac +} + +setup_flags() { + # Make sure host make.conf doesn't pollute us + if is_crosscompile || tc-is-cross-compiler ; then + CHOST=${CTARGET} strip-unsupported-flags + fi + + # Store our CFLAGS because it's changed depending on which CTARGET + # we are building when pulling glibc on a multilib profile + CFLAGS_BASE=${CFLAGS_BASE-${CFLAGS}} + CFLAGS=${CFLAGS_BASE} + CXXFLAGS_BASE=${CXXFLAGS_BASE-${CXXFLAGS}} + CXXFLAGS=${CXXFLAGS_BASE} + ASFLAGS_BASE=${ASFLAGS_BASE-${ASFLAGS}} + ASFLAGS=${ASFLAGS_BASE} + + # Allow users to explicitly avoid flag sanitization via + # USE=custom-cflags. + if ! use custom-cflags; then + # Over-zealous CFLAGS can often cause problems. What may work for one + # person may not work for another. To avoid a large influx of bugs + # relating to failed builds, we strip most CFLAGS out to ensure as few + # problems as possible. + strip-flags + + # Allow -O2 and -O3, but nothing else for now. + # TODO: Test -Os, -Oz. + if ! is-flagq '-O@(2|3)' ; then + # Lock glibc at -O2. We want to be conservative here. + filter-flags '-O?' + append-flags -O2 + fi + fi + + strip-unsupported-flags + filter-lto + filter-flags -m32 -m64 '-mabi=*' + + # glibc aborts if rpath is set by LDFLAGS + filter-ldflags '-Wl,-rpath=*' + + # ld can't use -r & --relax at the same time, bug #788901 + # https://sourceware.org/PR27837 + filter-ldflags '-Wl,--relax' + + # Flag added for cross-prefix, but causes ldconfig to segfault. Not needed + # anyway because glibc already handles this by itself. + filter-ldflags '-Wl,--dynamic-linker=*' + + # Fails to link (bug #940709) in some cases but even if it manages to, + # subtle runtime breakage will occur because the linker scripts need + # adaptation. Mentioned in PR21557#c0. + filter-ldflags '-Wl,--gc-sections' + + # some weird software relies on sysv hashes in glibc, bug 863863, bug 864100 + # we have to do that here already so mips can filter it out again :P + if use hash-sysv-compat ; then + append-ldflags '-Wl,--hash-style=both' + fi + + # clang warns about linker flags unused during compilation, but we don't + # want that to turn into errors! + # Let's turn the warning off entirely since it spams. + append-flags -Wno-unused-command-line-argument + + # #492892 + filter-flags -frecord-gcc-switches + + # #898098 + filter-flags -fno-builtin + + # #798774 + filter-flags -fno-semantic-interposition + + # #829583 + filter-lfs-flags + + case ${CTARGET} in + *-linux*) + ;; + *-gnu) + # -g3 confuses MIG which relies on preprocessed input + replace-flags -ggdb[3-9] -ggdb2 + replace-flags -g3 -g + ;; + esac + + unset CBUILD_OPT CTARGET_OPT + if use multilib ; then + CTARGET_OPT=$(get_abi_CTARGET) + [[ -z ${CTARGET_OPT} ]] && CTARGET_OPT=$(get_abi_CHOST) + fi + + setup_target_flags + + if [[ -n ${CTARGET_OPT} && ${CBUILD} == ${CHOST} ]] && ! is_crosscompile; then + CBUILD_OPT=${CTARGET_OPT} + fi + + # glibc's headers disallow -O0 and fail at build time: + # include/libc-symbols.h:75:3: #error "glibc cannot be compiled without optimization" + # https://sourceware.org/glibc/wiki/FAQ#Why_do_I_get:.60.23error_.22glibc_cannot_be_compiled_without_optimization.22.27.2C_when_trying_to_compile_GNU_libc_with_GNU_CC.3F + replace-flags -O0 -O1 + + # Similar issues as with SSP. Can't inject yourself that early. + filter-flags '-fsanitize=*' + + # See end of bug #830454; we handle this via USE=cet + filter-flags '-fcf-protection=*' + + # When bootstrapping, we may have a situation where + # CET-enabled gcc from seed is used to build CET-disabled + # glibc. As such, gcc implicitly enables CET if no + # -fcf-protection flag is passed. For a typical package it + # should not be a problem, but for glibc it matters as it is + # dealing with CET in ld.so. So if CET is supposed to be + # disabled for glibc, be explicit about it. + if ! use cet; then + case ${ABI}-${CTARGET} in + amd64-x86_64-*|x32-x86_64-*-*-gnux32) + append-flags '-fcf-protection=none' + ;; + arm64-aarch64*) + append-flags '-mbranch-protection=none' + ;; + esac + fi +} + +use_multiarch() { + # Allow user to disable runtime arch detection in multilib. + use multiarch || return 1 + # Make sure binutils is new enough to support indirect functions, + # #336792. This funky sed supports gold and bfd linkers. + local bver nver + bver=$($(tc-getLD ${CTARGET}) -v | sed -n -r '1{s:[^0-9]*::;s:^([0-9.]*).*:\1:;p}') + case $(tc-arch ${CTARGET}) in + amd64|x86) nver="2.20" ;; + arm) nver="2.22" ;; + hppa) nver="2.23" ;; + ppc|ppc64) nver="2.20" ;; + # ifunc support was added in 2.23, but glibc also needs + # machinemode which is in 2.24. + s390) nver="2.24" ;; + sparc) nver="2.21" ;; + *) return 1 ;; + esac + ver_test ${bver} -ge ${nver} +} + +# Setup toolchain variables that had historically been defined in the +# profiles for these archs. +setup_env() { + # silly users + unset LD_RUN_PATH + unset LD_ASSUME_KERNEL + + if is_crosscompile || tc-is-cross-compiler ; then + multilib_env ${CTARGET_OPT:-${CTARGET}} + + if ! use multilib ; then + MULTILIB_ABIS=${DEFAULT_ABI} + else + MULTILIB_ABIS=${MULTILIB_ABIS:-${DEFAULT_ABI}} + fi + + # If the user has CFLAGS_ in their make.conf, use that, + # and fall back on CFLAGS. + local VAR=CFLAGS_${CTARGET//[-.]/_} + CFLAGS=${!VAR-${CFLAGS}} + einfo " $(printf '%15s' 'Manual CFLAGS:') ${CFLAGS}" + fi + + setup_flags + + export ABI=${ABI:-${DEFAULT_ABI:-default}} + + if just_headers ; then + # Avoid mixing host's CC and target's CFLAGS_${ABI}: + # At this bootstrap stage we have only binutils for + # target but not compiler yet. + einfo "Skip CC ABI injection. We can't use (cross-)compiler yet." + return 0 + fi + + # glibc does not work with non-bfd (for various reasons): + # * gold (bug #269274) + # * mold (bug #860900) + tc-ld-force-bfd + + if use doc ; then + export MAKEINFO=makeinfo + else + export MAKEINFO=/dev/null + fi + + # Reset CC and CXX to the value at start of emerge + export CC=${glibc__ORIG_CC:-${CC:-$(tc-getCC ${CTARGET})}} + export CXX=${glibc__ORIG_CXX:-${CXX:-$(tc-getCXX ${CTARGET})}} + export CPP=${glibc__ORIG_CPP:-${CPP:-$(tc-getCPP ${CTARGET})}} + + # and make sure glibc__ORIG_CC and glibc__ORIG_CXX is defined now. + export glibc__ORIG_CC=${CC} + export glibc__ORIG_CXX=${CXX} + export glibc__ORIG_CPP=${CPP} + + if tc-is-clang && ! ( use clang || use custom-cflags ) && ! is_crosscompile ; then + export glibc__force_gcc=yes + # once this is toggled on, it needs to stay on, since with CPP manipulated + # tc-is-clang does not work correctly anymore... + fi + + if [[ ${glibc__force_gcc} == "yes" ]] ; then + # If we are running in an otherwise clang/llvm environment, we need to + # recover the proper gcc and binutils settings here, at least until glibc + # is finally building with clang. So let's override everything that is + # set in the clang profiles. + # Want to shoot yourself into the foot? Set USE="clang" or USE="custom-cflags". + # Also, if you are crosscompiling, let's assume you know what you are doing. + # Hopefully. + # Last, we need the settings of the *build* environment, not of the + # target environment... + + local current_binutils_path=$(env CHOST="${CBUILD}" ROOT="${BROOT}" binutils-config -B "${CTARGET}") + local current_gcc_path=$(env ROOT="${BROOT}" gcc-config -B) + einfo "Overriding clang configuration, since it won't work here" + + export CC="${current_gcc_path}/${CTARGET}-gcc" + export CPP="${current_gcc_path}/${CTARGET}-cpp" + export CXX="${current_gcc_path}/${CTARGET}-g++" + export LD="${current_binutils_path}/ld.bfd" + export AR="${current_binutils_path}/ar" + export AS="${current_binutils_path}/as" + export NM="${current_binutils_path}/nm" + export STRIP="${current_binutils_path}/strip" + export RANLIB="${current_binutils_path}/ranlib" + export OBJCOPY="${current_binutils_path}/objcopy" + export STRINGS="${current_binutils_path}/strings" + export OBJDUMP="${current_binutils_path}/objdump" + export READELF="${current_binutils_path}/readelf" + export ADDR2LINE="${current_binutils_path}/addr2line" + + # do we need to also do flags munging here? yes! at least... + filter-flags '-fuse-ld=*' + filter-flags '-D_FORTIFY_SOURCE=*' + + else + # this is the "normal" case + + # Always use tuple-prefixed toolchain. For non-native ABI glibc's configure + # can't detect them automatically due to ${CHOST} mismatch and fallbacks + # to unprefixed tools. Similar to multilib.eclass:multilib_toolchain_setup(). + export CC="$(tc-getCC ${CTARGET})" + export CXX="$(tc-getCXX ${CTARGET})" + export CPP="$(tc-getCPP ${CTARGET})" + export NM="$(tc-getNM ${CTARGET})" + export READELF="$(tc-getREADELF ${CTARGET})" + + fi + + # We need to move CFLAGS with abi information into CC etc per glibc upstream + # requirement. Keep around the original clean value to avoid appending + # multiple ABIs on top of each other. + export glibc__GLIBC_CC=${CC} + export glibc__GLIBC_CXX=${CXX} + export glibc__GLIBC_CPP=${CPP} + + export glibc__abi_CFLAGS="$(get_abi_CFLAGS)" + + # CFLAGS can contain ABI-specific flags like -mfpu=neon, see bug #657760 + # To build .S (assembly) files with the same ABI-specific flags + # upstream currently recommends adding CFLAGS to CC/CXX: + # https://sourceware.org/PR23273 + # Note: Passing CFLAGS via CPPFLAGS overrides glibc's arch-specific CFLAGS + # and breaks multiarch support. See 659030#c3 for an example. + # The glibc configure script doesn't properly use LDFLAGS all the time. + export CC="${glibc__GLIBC_CC} ${glibc__abi_CFLAGS} ${CFLAGS} ${LDFLAGS}" + + # Some of the tests are written in C++, so we need to force our multlib abis in, bug 623548 + export CXX="${glibc__GLIBC_CXX} ${glibc__abi_CFLAGS} ${CFLAGS}" + + export CPP="${glibc__GLIBC_CPP} ${glibc__abi_CFLAGS} ${CFLAGS}" + + if is_crosscompile; then + # Assume worst-case bootstrap: glibc is built for the first time + # with ${CTARGET}-g++ not available yet. We avoid + # building auxiliary programs that require C++: bug #683074 + # It should not affect final result. + export libc_cv_cxx_link_ok=no + # The line above has the same effect. We set CXX explicitly + # to make build logs less confusing. + export CXX= + fi +} + +foreach_abi() { + setup_env + + local ret=0 + local abilist="" + if use multilib ; then + abilist=$(get_install_abis) + else + abilist=${DEFAULT_ABI} + fi + local -x ABI + for ABI in ${abilist:-default} ; do + setup_env + einfo "Running $1 for ABI ${ABI}" + $1 + : $(( ret |= $? )) + done + return ${ret} +} + +glibc_banner() { + local b="Gentoo ${PVR}" + [[ -n ${PATCH_VER} ]] && ! use vanilla && b+=" (patchset ${PATCH_VER})" + echo "${b}" +} + +# The following Kernel version handling functions are mostly copied from portage +# source. It's better not to use linux-info.eclass here since a) it adds too +# much magic, see bug 326693 for some of the arguments, and b) some of the +# functions are just not provided. + +g_get_running_KV() { + uname -r + return $? +} + +g_KV_major() { + [[ -z $1 ]] && return 1 + local KV=$@ + echo "${KV%%.*}" +} + +g_KV_minor() { + [[ -z $1 ]] && return 1 + local KV=$@ + KV=${KV#*.} + echo "${KV%%.*}" +} + +g_KV_micro() { + [[ -z $1 ]] && return 1 + local KV=$@ + KV=${KV#*.*.} + echo "${KV%%[^[:digit:]]*}" +} + +g_KV_to_int() { + [[ -z $1 ]] && return 1 + local KV_MAJOR=$(g_KV_major "$1") + local KV_MINOR=$(g_KV_minor "$1") + local KV_MICRO=$(g_KV_micro "$1") + local KV_int=$(( KV_MAJOR * 65536 + KV_MINOR * 256 + KV_MICRO )) + + # We make version 2.2.0 the minimum version we will handle as + # a sanity check ... if its less, we fail ... + if [[ ${KV_int} -ge 131584 ]] ; then + echo "${KV_int}" + return 0 + fi + return 1 +} + +g_int_to_KV() { + local version=$1 major minor micro + major=$((version / 65536)) + minor=$(((version % 65536) / 256)) + micro=$((version % 256)) + echo ${major}.${minor}.${micro} +} + +get_kheader_version() { + printf '#include \nLINUX_VERSION_CODE\n' | \ + $(tc-getCPP ${CTARGET}) -I "${ESYSROOT}$(alt_headers)" - | \ + tail -n 1 +} + +# We collect all sanity checks here. Consistency is not guranteed between +# pkg_ and src_ phases, so we call this function both in pkg_pretend and in +# src_unpack. +sanity_prechecks() { + # Prevent native builds from downgrading + if [[ ${MERGE_TYPE} != "buildonly" ]] && \ + [[ -z ${ROOT} ]] && \ + [[ ${CBUILD} == ${CHOST} ]] && \ + [[ ${CHOST} == ${CTARGET} ]] ; then + + # The high rev # is to allow people to downgrade between -r# + # versions. We want to block 2.20->2.19, but 2.20-r3->2.20-r2 + # should be fine. Hopefully we never actually use a r# this + # high. + if has_version ">${CATEGORY}/${P}-r10000" ; then + eerror "Sanity check to keep you from breaking your system:" + eerror " Downgrading glibc is not supported and a sure way to destruction." + [[ ${I_ALLOW_TO_BREAK_MY_SYSTEM} = yes ]] || die "Aborting to save your system." + fi + + if is_linux && ! do_run_test '#include \n#include \nint main(){return syscall(1000)!=-1;}\n' ; then + eerror "Your old kernel is broken. You need to update it to a newer" + eerror "version as syscall() will break. See bug 279260." + [[ ${I_ALLOW_TO_BREAK_MY_SYSTEM} = yes ]] || die "Old and broken kernel." + fi + fi + + if [[ ${CTARGET} == i386-* ]] ; then + eerror "i386 CHOSTs are no longer supported." + eerror "Chances are you don't actually want/need i386." + eerror "Please read https://www.gentoo.org/doc/en/change-chost.xml" + die "Please fix your CHOST" + fi + + if [[ -e /proc/xen ]] && [[ $(tc-arch) == "x86" ]] && ! is-flag -mno-tls-direct-seg-refs ; then + ewarn "You are using Xen but don't have -mno-tls-direct-seg-refs in your CFLAGS." + ewarn "This will result in a 50% performance penalty when running with a 32bit" + ewarn "hypervisor, which is probably not what you want." + fi + + # ABI-specific checks follow here. Hey, we have a lot more specific conditions that + # we test for... + if ! is_crosscompile && ! tc-is-cross-compiler ; then + if use amd64 && use multilib && [[ ${MERGE_TYPE} != "binary" ]] ; then + ebegin "Checking if the system can execute 32-bit binaries" + echo 'int main(){return 0;}' > "${T}/check-ia32-emulation.c" + local STAT + if ${CC-${CHOST}-gcc} ${CFLAGS_x86} "${T}/check-ia32-emulation.c" -o "${T}/check-ia32-emulation.elf32"; then + "${T}/check-ia32-emulation.elf32" + STAT=$? + else + # Don't fail here to allow single->multi ABI switch + # or recover from breakage like bug #646424 + ewarn "Failed to compile the ABI test. Broken host glibc?" + STAT=0 + fi + rm -f "${T}/check-ia32-emulation.elf32" + eend $STAT + if [[ $STAT -ne 0 ]]; then + eerror "Ensure that CONFIG_IA32_EMULATION is enabled in the kernel." + eerror "Seek support otherwise." + die "Unable to execute 32-bit binaries" + fi + fi + + fi + + # When we actually have to compile something... + if ! just_headers && [[ ${MERGE_TYPE} != "binary" ]] ; then + if [[ -d "${ESYSROOT}"/usr/lib/include ]] ; then + # bug #833620, bug #643302 + eerror "Found ${ESYSROOT}/usr/lib/include directory!" + eerror "This is known to break glibc's build." + eerror "Please backup its contents then remove the directory." + die "Found directory (${ESYSROOT}/usr/lib/include) which will break build (bug #833620)!" + fi + + if is_linux ; then + local run_kv build_kv want_kv + + run_kv=$(g_get_running_KV) + build_kv=$(g_int_to_KV $(get_kheader_version)) + want_kv=${MIN_KERN_VER} + + if ! is_crosscompile && ! tc-is-cross-compiler ; then + # Building fails on an non-supporting kernel + ebegin "Checking running kernel version (${run_kv} >= ${want_kv})" + if ! [[ $(g_KV_to_int ${run_kv}) -ge $(g_KV_to_int ${want_kv}) ]] ; then + eend 1 + echo + eerror "You need a kernel of at least ${want_kv}!" + die "Kernel version too low!" + fi + eend 0 + fi + + # Do not run this check for pkg_pretend, just pkg_setup and friends (if we ever get used there). + # It's plausible (seen it in the wild) that Portage will (correctly) schedule a linux-headers + # upgrade before glibc, but because pkg_pretend gets run before any packages are merged at all (not + # just glibc), the whole emerge gets aborted without a good reason. We probably don't + # need to run this check at all given we have a dependency on the right headers, + # but let's leave it as-is for now. + if [[ ${EBUILD_PHASE_FUNC} != pkg_pretend ]] ; then + ebegin "Checking linux-headers version (${build_kv} >= ${want_kv})" + if ! [[ $(g_KV_to_int ${build_kv}) -ge $(g_KV_to_int ${want_kv}) ]] ; then + eend 1 + echo + eerror "You need linux-headers of at least ${want_kv}!" + die "linux-headers version too low!" + fi + eend 0 + fi + fi + fi +} + +upgrade_warning() { + is_crosscompile && return + + if [[ ${MERGE_TYPE} != buildonly && -n ${REPLACING_VERSIONS} && -z ${ROOT} ]]; then + if ver_replacing -lt $(ver_cut 1-2 ${PV}); then + ewarn "After upgrading glibc, please restart all running processes." + ewarn "Be sure to include init (telinit u) or systemd (systemctl daemon-reexec)." + ewarn "Alternatively, reboot your system." + ewarn "(See bug #660556, bug #741116, bug #823756, etc)" + fi + fi +} + +# +# the phases +# + +# pkg_pretend + +pkg_pretend() { + upgrade_warning +} + +# pkg_setup + +pkg_setup() { + # see bug 682570 + [[ -z ${BOOTSTRAP_RAP} ]] && python-any-r1_pkg_setup +} + +# src_unpack + +src_unpack() { + setup_env + + einfo "Checking general environment sanity." + sanity_prechecks + + use multilib-bootstrap && unpack gcc-multilib-bootstrap-${GCC_BOOTSTRAP_VER}.tar.xz + + if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/toolchain/glibc-patches.git + https://github.com/gentoo/glibc-patches.git + " + EGIT_CHECKOUT_DIR=${WORKDIR}/patches-git + git-r3_src_unpack + mv patches-git/9999 patches || die + EGIT_REPO_URI=" + https://sourceware.org/git/glibc.git + https://git.sr.ht/~sourceware/glibc + https://gitlab.com/x86-glibc/glibc.git + " + EGIT_CHECKOUT_DIR=${S} + [[ ${PV} == *.*.9999 ]] && EGIT_BRANCH=release/${PV%.*}/master + git-r3_src_unpack + else + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}/${P}.tar.xz" "${DISTDIR}/${P}.tar.xz.sig" + fi + unpack ${P}.tar.xz + + cd "${WORKDIR}" || die + unpack ${P}-patches-${PATCH_VER}.tar.xz + fi + + cd "${WORKDIR}" || die + use systemd && unpack glibc-systemd-${GLIBC_SYSTEMD_VER}.tar.gz +} + +# src_prepare + +src_prepare() { + local patchsetname + if ! use vanilla ; then + if [[ ${PV} == 9999* ]] ; then + patchsetname="from git master" + else + patchsetname="${PV}-${PATCH_VER}" + fi + einfo "Applying Gentoo Glibc patchset ${patchsetname}" + eapply "${WORKDIR}"/patches + einfo "Done." + + # Patches we should apply only for Hurd to be conservative + if is_hurd ; then + eapply "${FILESDIR}"/glibc-2.43-hurd-CLOCK_MONOTONIC.patch + fi + fi + + case ${CTARGET} in + m68*-aligned-*) + einfo "Applying utmp format fix for m68k with -maligned-int" + eapply "${FILESDIR}/glibc-2.41-m68k-malign.patch" + ;; + *) + ;; + esac + + default + + gnuconfig_update + + cd "${WORKDIR}" || die + find . -name configure -exec touch {} + + + # Fix permissions on some of the scripts. + chmod u+x "${S}"/scripts/*.sh + + cd "${S}" || die +} + +# src_configure + +glibc_do_configure() { + dump_build_environment + + local myconf=() + + # Use '=strong' instead of '=all' to protect only functions + # worth protecting from stack smashes. + myconf+=( --enable-stack-protector=$(usex ssp strong no) ) + + # Keep a whitelist of targets supporting IFUNC. glibc's ./configure + # is not robust enough to detect proper support: + # https://bugs.gentoo.org/641216 + # https://sourceware.org/PR22634#c0 + case $(tc-arch ${CTARGET}) in + # Keep whitelist of targets where autodetection mostly works. + amd64|x86|sparc|ppc|ppc64|arm|arm64|s390|riscv|loong) ;; + # Blacklist everywhere else + *) myconf+=( libc_cv_ld_gnu_indirect_function=no ) ;; + esac + + case ${ABI}-${CTARGET} in + amd64-x86_64-*|x32-x86_64-*-*-gnux32) myconf+=( $(use_enable cet) ) ;; + *) ;; + esac + + case ${ABI}-${CTARGET} in + amd64-x86_64-*|arm64-aarch64-*) myconf+=( $(use_enable sframe) ) ;; + *) ;; + esac + + [[ $(tc-is-softfloat) == "yes" ]] && myconf+=( --without-fp ) + + myconf+=( --enable-kernel=${MIN_KERN_VER} ) + + # Since SELinux support is only required for nscd, only enable it if: + # 1. USE selinux + # 2. only for the primary ABI on multilib systems + # 3. Not a crosscompile + if ! is_crosscompile && use selinux ; then + if use multilib ; then + if is_final_abi ; then + myconf+=( --with-selinux ) + else + myconf+=( --without-selinux ) + fi + else + myconf+=( --with-selinux ) + fi + else + myconf+=( --without-selinux ) + fi + + # Force a few tests where we always know the answer but + # configure is incapable of finding it. + if is_crosscompile ; then + export \ + libc_cv_c_cleanup=yes \ + libc_cv_forced_unwind=yes + fi + + myconf+=( + --disable-werror + --enable-bind-now + --enable-fortify-source + --build=${CBUILD_OPT:-${CBUILD}} + --host=${CTARGET_OPT:-${CTARGET}} + $(use_enable profile) + $(use_with gd) + --with-headers="${ESYSROOT}$(alt_headers)" + --prefix="$(host_eprefix)/usr" + --sysconfdir="$(host_eprefix)/etc" + --localstatedir="$(host_eprefix)/var" + --libdir='$(prefix)'/$(get_libdir) + --mandir='$(prefix)'/share/man + --infodir='$(prefix)'/share/info + --libexecdir='$(libdir)'/misc/glibc + --with-bugurl=https://bugs.gentoo.org/ + --with-pkgversion="$(glibc_banner)" + $(use_multiarch || echo --disable-multi-arch) + $(use_enable nscd) + + # /usr/bin/mtrace has a Perl shebang. Gentoo Prefix QA checks fail if + # Perl hasn't been installed inside the prefix yet and configure picks + # up a Perl from outside the prefix instead. configure will fail to + # execute Perl during configure if we're cross-compiling a prefix, but + # it will just disable mtrace in that case. + # Note: mtrace is needed by the test suite. + ac_cv_path_PERL="$(usex perl "${EPREFIX}"/usr/bin/perl $(usex test "${EPREFIX}"/usr/bin/perl $(usex doc "${EPREFIX}"/usr/bin/perl no)))" + + # locale data is arch-independent + # https://bugs.gentoo.org/753740 + libc_cv_complocaledir='${exec_prefix}/lib/locale' + + # On aarch64 there is no way to override -mcpu=native, and if + # the current cpu does not support SVE configure fails. + # Let's boldly assume our toolchain can always build SVE instructions. + libc_cv_aarch64_sve_asm=yes + + ${EXTRA_ECONF} + ) + + # We rely on sys-libs/timezone-data for timezone tools normally. + myconf+=( $(use_enable vanilla timezone-tools) ) + + if is_crosscompile ; then + myconf+=( --disable-systemtap ) + else + myconf+=( $(use_enable systemtap) ) + fi + + # These libs don't have configure flags. + ac_cv_lib_audit_audit_log_user_avc_message=$(usex audit || echo no) + ac_cv_lib_cap_cap_init=$(usex caps || echo no) + + # There is no configure option for this and we need to export it + # since the glibc build will re-run configure on itself + export libc_cv_rootsbindir="$(host_eprefix)/sbin" + export libc_cv_slibdir="$(host_eprefix)/$(get_libdir)" + + local builddir=$(builddir nptl) + mkdir -p "${builddir}" + cd "${builddir}" + set -- "${S}"/configure "${myconf[@]}" + echo "$@" + "$@" || die "failed to configure glibc" + + # If we're trying to migrate between ABI sets, we need + # to lie and use a local copy of gcc. Like if the system + # is built with MULTILIB_ABIS="amd64 x86" but we want to + # add x32 to it, gcc/glibc don't yet support x32. + # + if [[ -n ${GCC_BOOTSTRAP_VER} ]] && use multilib-bootstrap ; then + echo 'int main(void){}' > "${T}"/test.c || die + if ! $(tc-getCC ${CTARGET}) ${CFLAGS} ${LDFLAGS} "${T}"/test.c -Wl,-emain -lgcc 2>/dev/null ; then + sed -i -e '/^CC = /s:$: -B$(objdir)/../'"gcc-multilib-bootstrap-${GCC_BOOTSTRAP_VER}/${ABI}:" config.make || die + fi + fi +} + +glibc_headers_configure() { + export ABI=default + + local builddir=$(builddir "headers") + mkdir -p "${builddir}" + cd "${builddir}" + + # if we don't have a compiler yet, we can't really test it now ... + # hopefully they don't affect header generation, so let's hope for + # the best here ... + local v vars=( + ac_cv_header_cpuid_h=yes + libc_cv_{386,390,alpha,arm,hppa,mips,{powerpc,sparc}{,32,64},sh,x86_64}_tls=yes + libc_cv_asm_cfi_directives=yes + libc_cv_broken_visibility_attribute=no + libc_cv_c_cleanup=yes + libc_cv_compiler_powerpc64le_binary128_ok=yes + libc_cv_forced_unwind=yes + libc_cv_gcc___thread=yes + libc_cv_mlong_double_128=yes + libc_cv_mlong_double_128ibm=yes + libc_cv_ppc_machine=yes + libc_cv_ppc_rel16=yes + libc_cv_predef_fortify_source=no + libc_cv_target_power8_ok=yes + libc_cv_visibility_attribute=yes + libc_cv_z_combreloc=yes + libc_cv_z_execstack=yes + libc_cv_z_initfirst=yes + libc_cv_z_nodelete=yes + libc_cv_z_nodlopen=yes + libc_cv_z_relro=yes + libc_mips_abi=${ABI} + libc_mips_float=$([[ $(tc-is-softfloat) == "yes" ]] && echo soft || echo hard) + # These libs don't have configure flags. + ac_cv_lib_audit_audit_log_user_avc_message=no + ac_cv_lib_cap_cap_init=no + ) + + einfo "Forcing cached settings:" + for v in "${vars[@]}" ; do + einfo " ${v}" + export ${v} + done + + local headers_only_arch_CPPFLAGS=() + + # Blow away some random CC settings that screw things up. #550192 + if [[ -d ${S}/sysdeps/mips ]]; then + pushd "${S}"/sysdeps/mips >/dev/null + sed -i -e '/^CC +=/s:=.*:= -D_MIPS_SZPTR=32:' mips32/Makefile mips64/n32/Makefile || die + sed -i -e '/^CC +=/s:=.*:= -D_MIPS_SZPTR=64:' mips64/n64/Makefile || die + + # Force the mips ABI to the default. This is OK because the set of + # installed headers in this phase is the same between the 3 ABIs. + # If this ever changes, this hack will break, but that's unlikely + # as glibc discourages that behavior. + # https://crbug.com/647033 + sed -i -e 's:abiflag=.*:abiflag=_ABIO32:' preconfigure || die + + popd >/dev/null + fi + + local myconf=() + + case ${CTARGET} in + aarch64*) + # The configure checks fail during cross-build, so disable here + # for headers-only + myconf+=( + --disable-mathvec + ) ;; + riscv*) + # RISC-V interrogates the compiler to determine which target to + # build. If building the headers then we don't strictly need a + # RISC-V compiler, so the built-in definitions that are provided + # along with all RISC-V compiler might not exist. This causes + # glibc's RISC-V preconfigure script to blow up. Since we're just + # building the headers any value will actually work here, so just + # pick the standard one (rv64g/lp64d) to make the build scripts + # happy for now -- the headers are all the same anyway so it + # doesn't matter. + headers_only_arch_CPPFLAGS+=( + -D__riscv_xlen=64 + -D__riscv_flen=64 + -D__riscv_float_abi_double=1 + -D__riscv_atomic=1 + ) ;; + esac + + myconf+=( + --disable-sanity-checks + --enable-hacker-mode + --disable-werror + --enable-bind-now + --build=${CBUILD_OPT:-${CBUILD}} + --host=${CTARGET_OPT:-${CTARGET}} + --with-headers="${ESYSROOT}$(alt_headers)" + --prefix="$(host_eprefix)/usr" + ${EXTRA_ECONF} + ) + + # Nothing is compiled here which would affect the headers for the target. + # So forcing CC/CFLAGS is sane. + local headers_only_CC=$(tc-getBUILD_CC) + local headers_only_CFLAGS="-O1 -pipe" + local headers_only_CPPFLAGS="-U_FORTIFY_SOURCE ${headers_only_arch_CPPFLAGS[*]}" + local headers_only_LDFLAGS="" + set -- "${S}"/configure "${myconf[@]}" + echo \ + "CC=${headers_only_CC}" \ + "CFLAGS=${headers_only_CFLAGS}" \ + "CPPFLAGS=${headers_only_CPPFLAGS}" \ + "LDFLAGS=${headers_only_LDFLAGS}" \ + "$@" + CC=${headers_only_CC} \ + CFLAGS=${headers_only_CFLAGS} \ + CPPFLAGS=${headers_only_CPPFLAGS} \ + LDFLAGS="" \ + "$@" || die "failed to configure glibc" +} + +do_src_configure() { + if just_headers ; then + glibc_headers_configure + else + glibc_do_configure nptl + fi +} + +src_configure() { + foreach_abi do_src_configure +} + +# src_compile + +do_src_compile() { + emake -C "$(builddir nptl)" +} + +src_compile() { + if just_headers ; then + return + fi + + foreach_abi do_src_compile +} + +# src_test + +glibc_src_test() { + cd "$(builddir nptl)" + + local myxfailparams="" + if [[ "${GENTOO_GLIBC_XFAIL_TESTS}" == "yes" ]] ; then + local virt=$(systemd-detect-virt 2>/dev/null) + if [[ ${virt} == systemd-nspawn ]] ; then + ewarn "Skipping extra tests because in systemd-nspawn container" + XFAIL_TEST_LIST+=( "${XFAIL_NSPAWN_TEST_LIST[@]}" ) + fi + if [[ "$(nice)" == "19" ]] ; then + # Expects to be able to increase niceness, which it can't do if + # already at the highest nice value + XFAIL_TEST_LIST+=( "tst-nice" ) + fi + + for myt in ${XFAIL_TEST_LIST[@]} ; do + myxfailparams+="test-xfail-${myt}=yes " + done + fi + + # https://inbox.sourceware.org/libc-alpha/lhuikb5ibey.fsf@oldenburg.str.redhat.com/ + local -x GAWK_GNU_MATCHERS=1 + + # sandbox does not understand unshare() and prevents + # writes to /proc/, which makes many tests fail + + # we give the tests a bit more time to avoid spurious + # bug reports on slow arches + + SANDBOX_ON=0 LD_PRELOAD= TIMEOUTFACTOR=16 nonfatal emake ${myxfailparams} check +} + +src_test() { + if just_headers ; then + return + fi + + # glibc_src_test uses nonfatal so that we can run tests for all ABIs + # and fail at the end instead. + foreach_abi glibc_src_test || die "tests failed" +} + +# src_install + +run_locale_gen() { + local fatal=$1 prefix=$2 + local user_config action config stderr noun ret + local -a hasversion_opts localegen_args + + if [[ ${EBUILD_PHASE_FUNC} == src_install ]]; then + hasversion_opts=( -b ) + fi + + if has_version "${hasversion_opts[@]}" '>=sys-apps/locale-gen-3'; then + localegen_args=( --prefix "${prefix}" ) + else + config="${prefix}/usr/share/i18n/SUPPORTED" + user_config="${prefix}/etc/locale.gen" + if [[ ${EBUILD_PHASE_FUNC} == src_install ]]; then + # For USE=compile-locales, all locales should be built. + mkdir -p -- "${prefix}/usr/lib/locale" || die + elif locale-gen --list --config "${user_config}" | read -r; then + config=${user_config} + fi + localegen_args=( --config "${config}" --destdir "${prefix}" ) + fi + + # bug 736794: we need to be careful with the parallelization... the + # number of processors saved in the environment of a binary package may + # differ strongly from the number of processes available during postinst + if [[ ${EMERGE_FROM} != binary ]]; then + localegen_args+=( --jobs "$(get_makeopts_jobs)" ) + fi + + printf 'Executing: locale-gen %s\n' "${localegen_args[*]@Q}" >&2 + { stderr=$(locale-gen "${localegen_args[@]}" 2>&1 >&3); } 3>&1 + ret=$? + action="ewarn" + if (( ret == 0 )); then + noun="warning" + else + noun="error" + if (( fatal )); then + action="die" + fi + fi + # Convey warnings/errors so that they can be reseen upon emerge exiting. + if [[ ${stderr} ]]; then + ewarn "locale-gen(8) issued the following ${noun}s:" + while read -r; do + ewarn "$REPLY" + done <<<"${stderr}" + fi + if (( ret != 0 )); then + "${action}" "locale-gen(8) unexpectedly failed during the ${EBUILD_PHASE_FUNC} phase" + fi +} + +glibc_do_src_install() { + local builddir=$(builddir nptl) + cd "${builddir}" + + emake install_root="${D}/$(build_eprefix)$(alt_prefix)" install + + # This version (2.26) provides some compatibility libraries for the NIS/NIS+ support + # which come without headers etc. Only needed for binary packages since the + # external net-libs/libnsl has increased soversion. Keep only versioned libraries. + find "${D}" -name "libnsl.a" -delete + find "${D}" -name "libnsl.so" -delete + + # Normally upstream_pv is ${PV}. Live ebuilds are exception, there we need + # to infer upstream version: + # '#define VERSION "2.26.90"' -> '2.26.90' + local upstream_pv=$(sed -n -r 's/#define VERSION "(.*)"/\1/p' "${S}"/version.h) + + # Avoid stripping binaries not targeted by ${CHOST}. Or else + # ${CHOST}-strip would break binaries build for ${CTARGET}. + is_crosscompile && dostrip -x / + + # gdb thread introspection relies on local libpthreads symbols. stripping breaks it + # See Note [Disable automatic stripping] + dostrip -x $(alt_libdir)/libpthread-${upstream_pv}.so + # valgrind requires knowledge about ld.so symbols. + dostrip -x $(alt_libdir)/ld-*.so* + + if [[ -e ${ED}/$(alt_usrlibdir)/libm-${upstream_pv}.a ]] ; then + # Move versioned .a file out of libdir to evade portage QA checks + # instead of using gen_usr_ldscript(). We fix ldscript as: + # "GROUP ( /usr/lib64/libm-.a ..." -> "GROUP ( /usr/lib64/glibc-/libm-.a ..." + sed -i "s@\(libm-${upstream_pv}.a\)@${P}/\1@" \ + "${ED}"/$(alt_usrlibdir)/libm.a || die + dodir $(alt_usrlibdir)/${P} + mv "${ED}"/$(alt_usrlibdir)/libm-${upstream_pv}.a \ + "${ED}"/$(alt_usrlibdir)/${P}/libm-${upstream_pv}.a || die + fi + + # We configure toolchains for standalone prefix systems with a sysroot, + # which is prepended to paths in ld scripts, so strip the prefix from these. + # Before: GROUP ( /foo/lib64/libc.so.6 /foo/usr/lib64/libc_nonshared.a AS_NEEDED ( /foo/lib64/ld-linux-x86-64.so.2 ) ) + # After: GROUP ( /lib64/libc.so.6 /usr/lib64/libc_nonshared.a AS_NEEDED ( /lib64/ld-linux-x86-64.so.2 ) ) + if [[ -n $(host_eprefix) ]] ; then + local file + grep -lZIF "ld script" "${ED}/$(alt_usrlibdir)"/lib*.{a,so} 2>/dev/null | while read -rd '' file ; do + sed -i "s|$(host_eprefix)/|/|g" "${file}" || die + done + fi + + # We'll take care of the cache ourselves + rm -f "${ED}"/etc/ld.so.cache + + # Everything past this point just needs to be done once ... + is_final_abi || return 0 + + # Make sure the non-native interp can be found on multilib systems even + # if the main library set isn't installed into the right place. Maybe + # we should query the active gcc for info instead of hardcoding it ? + local i ldso_abi ldso_name + if is_linux ; then + local ldso_abi_list=( + # x86 + amd64 /lib64/ld-linux-x86-64.so.2 + x32 /libx32/ld-linux-x32.so.2 + x86 /lib/ld-linux.so.2 + # mips + o32 /lib/ld.so.1 + n32 /lib32/ld.so.1 + n64 /lib64/ld.so.1 + # powerpc + ppc /lib/ld.so.1 + # riscv + ilp32d /lib/ld-linux-riscv32-ilp32d.so.1 + ilp32 /lib/ld-linux-riscv32-ilp32.so.1 + lp64d /lib/ld-linux-riscv64-lp64d.so.1 + lp64 /lib/ld-linux-riscv64-lp64.so.1 + # s390 + s390 /lib/ld.so.1 + s390x /lib/ld64.so.1 + # sparc + sparc32 /lib/ld-linux.so.2 + sparc64 /lib64/ld-linux.so.2 + ) + case $(tc-endian) in + little) + ldso_abi_list+=( + # arm + arm64 /lib/ld-linux-aarch64.so.1 + # ELFv2 (glibc does not support ELFv1 on LE) + ppc64 /lib64/ld64.so.2 + ) + ;; + big) + ldso_abi_list+=( + # arm + arm64 /lib/ld-linux-aarch64_be.so.1 + # ELFv1 (glibc does not support ELFv2 on BE) + ppc64 /lib64/ld64.so.1 + ) + ;; + esac + else + # we must be using hurd then + local ldso_abi_list=( + # x86 + amd64 /lib64/ld-x86-64.so.1 + x86 /lib/ld.so.1 + ) + fi + if [[ ${SYMLINK_LIB} == "yes" ]] && [[ ! -e ${ED}/$(alt_prefix)/lib ]] ; then + dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) $(alt_prefix)/lib + fi + for (( i = 0; i < ${#ldso_abi_list[@]}; i += 2 )) ; do + ldso_abi=${ldso_abi_list[i]} + has ${ldso_abi} $(get_install_abis) || continue + + ldso_name="$(alt_prefix)${ldso_abi_list[i+1]}" + if [[ ! -L ${ED}/${ldso_name} && ! -e ${ED}/${ldso_name} ]] ; then + dosym ../$(get_abi_LIBDIR ${ldso_abi})/${ldso_name##*/} ${ldso_name} + fi + done + + if is_linux ; then + # In the LSB 5.0 definition, someone had the excellent idea to "standardize" + # the runtime loader name, see also https://xkcd.com/927/ + # Normally, in Gentoo one should never come across executables that require this. + # However, binary commercial packages are known to adhere to weird practices. + # https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-AMD64/LSB-Core-AMD64.html#BASELIB + local lsb_ldso_name native_ldso_name lsb_ldso_abi + local lsb_ldso_abi_list=( + # x86 + amd64 ld-linux-x86-64.so.2 ld-lsb-x86-64.so.3 + ) + for (( i = 0; i < ${#lsb_ldso_abi_list[@]}; i += 3 )) ; do + lsb_ldso_abi=${lsb_ldso_abi_list[i]} + native_ldso_name=${lsb_ldso_abi_list[i+1]} + lsb_ldso_name=${lsb_ldso_abi_list[i+2]} + has ${lsb_ldso_abi} $(get_install_abis) || continue + + if [[ ! -L ${ED}/$(get_abi_LIBDIR ${lsb_ldso_abi})/${lsb_ldso_name} && ! -e ${ED}/$(get_abi_LIBDIR ${lsb_ldso_abi})/${lsb_ldso_name} ]] ; then + dosym ${native_ldso_name} "$(alt_prefix)/$(get_abi_LIBDIR ${lsb_ldso_abi})/${lsb_ldso_name}" + fi + done + fi + + # On Hurd, glibc and (unpatched) gcc tend to disagree about the proper location for + # the dynamic loader. Which is maximally stupid since this one information is hardcoded + # into every single binary, and even if we were to fix *our* gcc it could still prevent + # us from running binaries prepared anywhere else... + + if is_hurd && has amd64 $(get_install_abis) ; then + # First, let's check for sanity + if [[ -f "${D}/$(alt_prefix)/lib/ld-x86-64.so.1" ]] ; then + die "Somehow your amd64 hurd glibc installed /lib/ld-x86-64.so.1 ... this should not happen." + fi + + # Then make a compatibility symlink. + dosym ../lib64/ld-x86-64.so.1 "$(alt_prefix)/lib/ld-x86-64.so.1" + fi + + if is_hurd && has x86 $(get_install_abis) ; then + # First, let's check for sanity + if [[ -f "${D}/$(alt_prefix)/$(get_abi_LIBDIR x86)/ld.so" ]] ; then + die "Somehow your x86 hurd glibc installed ld.so ... this should not happen." + fi + + # Then make a compatibility symlink. + dosym ld.so.1 "$(alt_prefix)/$(get_abi_LIBDIR x86)/ld.so" + fi + + # With devpts under Linux mounted properly, we do not need the pt_chown + # binary to be setuid. This is because the default owners/perms will be + # exactly what we want. + if ! use suid ; then + find "${ED}" -name pt_chown -exec chmod -s {} + + fi + + ################################################################# + # EVERYTHING AFTER THIS POINT IS FOR NATIVE GLIBC INSTALLS ONLY # + ################################################################# + + # Make sure we install some symlink hacks so that when we build + # a 2nd stage cross-compiler, gcc finds the target system + # headers correctly. See gcc/doc/gccinstall.info + if is_crosscompile ; then + # We need to make sure that /lib and /usr/lib always exists. + # gcc likes to use relative paths to get to its multilibs like + # /usr/lib/../lib64/. So while we don't install any files into + # /usr/lib/, we do need it to exist. + keepdir $(alt_prefix)/lib + keepdir $(alt_prefix)/usr/lib + + dosym usr/include $(alt_prefix)/sys-include + return 0 + fi + + # Files for Debian-style locale updating + dodir /usr/share/i18n + sed \ + -e "/^#/d" \ + -e "/SUPPORTED-LOCALES=/d" \ + -e "s: \\\\::g" -e "s:/: :g" \ + "${S}"/localedata/SUPPORTED > "${ED}"/usr/share/i18n/SUPPORTED \ + || die "generating /usr/share/i18n/SUPPORTED failed" + + cd "${S}" || die + + # Install misc network config files + insinto /etc + doins posix/gai.conf + + if use systemd ; then + doins "${WORKDIR}/glibc-systemd-${GLIBC_SYSTEMD_VER}/gentoo-config/nsswitch.conf" + else + doins nss/nsswitch.conf + fi + + # Gentoo-specific + newins "${FILESDIR}"/host.conf-1 host.conf + + if use nscd ; then + doins nscd/nscd.conf + + newinitd "$(prefixify_ro "${FILESDIR}"/nscd-1)" nscd + + local nscd_args=( + -e "s:@PIDFILE@:$(strings "${ED}"/usr/sbin/nscd | grep nscd.pid):" + ) + + sed -i "${nscd_args[@]}" "${ED}"/etc/init.d/nscd + + use systemd && systemd_dounit nscd/nscd.service + newtmpfiles nscd/nscd.tmpfiles nscd.conf + fi + + echo 'LDPATH="include ld.so.conf.d/*.conf"' > "${T}"/00glibc + doenvd "${T}"/00glibc + + for d in BUGS ChangeLog CONFORMANCE FAQ NEWS NOTES PROJECTS README* ; do + [[ -s ${d} ]] && dodoc ${d} + done + dodoc -r ChangeLog.old + + # Prevent overwriting of the /etc/localtime symlink. We'll handle the + # creation of the "factory" symlink in pkg_postinst(). + rm -f "${ED}"/etc/localtime + + # Generate all locales if this is a native build as locale generation + if use compile-locales && ! is_crosscompile; then + run_locale_gen 1 "${ED}" + fi +} + +glibc_headers_install() { + local builddir=$(builddir "headers") + cd "${builddir}" + emake install_root="${D}/$(build_eprefix)$(alt_prefix)" install-headers + + insinto $(alt_headers)/gnu + doins "${S}"/include/gnu/stubs.h + + # Make sure we install the sys-include symlink so that when + # we build a 2nd stage cross-compiler, gcc finds the target + # system headers correctly. See gcc/doc/gccinstall.info + dosym usr/include $(alt_prefix)/sys-include +} + +src_install() { + if just_headers ; then + export ABI=default + glibc_headers_install + return + fi + + foreach_abi glibc_do_src_install + + if ! use static-libs ; then + einfo "Not installing static glibc libraries" + find "${ED}" -name "*.a" -and -not -name "*_nonshared.a" -delete + fi +} + +# Simple test to make sure our new glibc isn't completely broken. +# Make sure we don't test with statically built binaries since +# they will fail. Also, skip if this glibc is a cross compiler. +# +# If coreutils is built with USE=multicall, some of these files +# will just be wrapper scripts, not actual ELFs we can test. +glibc_sanity_check() { + cd / #228809 + + # We enter ${ED} so to avoid trouble if the path contains + # special characters; for instance if the path contains the + # colon character (:), then the linker will try to split it + # and look for the libraries in an unexpected place. This can + # lead to unsafe code execution if the generated prefix is + # within a world-writable directory. + # (e.g. /var/tmp/portage:${HOSTNAME}) + pushd "${ED}"/$(get_libdir) >/dev/null + + # first let's find the actual dynamic linker here + # symlinks may point to the wrong abi + local newldso=$(find . -maxdepth 1 -name 'ld*so.?' -type f -print -quit) + + einfo Last-minute run tests with ${newldso} in /$(get_libdir) ... + + local x striptest + for x in cal date env free ls true uname uptime ; do + x=$(type -p ${x}) + [[ -z ${x} || ${x} != ${EPREFIX}/* ]] && continue + striptest=$(LC_ALL="C" file -L ${x} 2>/dev/null) || continue + case ${striptest} in + *"statically linked"*) continue;; + *"ASCII text"*) continue;; + esac + # We need to clear the locale settings as the upgrade might want + # incompatible locale data. This test is not for verifying that. + LC_ALL=C \ + ${newldso} --library-path . ${x} > /dev/null \ + || die "simple run test (${x}) failed" + done + + popd >/dev/null +} + +pkg_preinst() { + # nothing to do if just installing headers + just_headers && return + + einfo "Checking general environment sanity." + sanity_prechecks + + # prepare /etc/ld.so.conf.d/ for files + mkdir -p "${EROOT}"/etc/ld.so.conf.d + + # Default /etc/hosts.conf:multi to on for systems with small dbs. + if [[ $(wc -l < "${EROOT}"/etc/hosts) -lt 1000 ]] ; then + sed -i '/^multi off/s:off:on:' "${ED}"/etc/host.conf + einfo "Defaulting /etc/host.conf:multi to on" + fi + + [[ -n ${ROOT} ]] && return 0 + [[ -d ${ED}/$(get_libdir) ]] || return 0 + [[ -z ${BOOTSTRAP_RAP} ]] && glibc_sanity_check + + if [[ -L ${EROOT}/usr/lib/locale ]]; then + # Help portage migrate this to a directory + # https://bugs.gentoo.org/753740 + rm "${EROOT}"/usr/lib/locale || die + fi + + # Keep around libcrypt so that Perl doesn't break when merging libxcrypt + # (libxcrypt is the new provider for now of libcrypt.so.{1,2}). + # bug #802207 + if has_version "${CATEGORY}/${PN}[crypt]" && ! has preserve-libs ${FEATURES}; then + PRESERVED_OLD_LIBCRYPT=1 + cp -p "${EROOT}/$(get_libdir)/libcrypt$(get_libname 1)" \ + "${T}/libcrypt$(get_libname 1)" || die + else + PRESERVED_OLD_LIBCRYPT=0 + fi +} + +glibc_refresh_ldconfig() { + if [[ ${MERGE_TYPE} == buildonly ]]; then + return + fi + + # Version check could be added to avoid unnecessary work, but ldconfig + # should finish quickly enough to not matter. + ebegin "Refreshing ld.so.cache" + ldconfig -i + if ! eend $?; then + ewarn "Failed to refresh the ld.so.cache for you. Some programs may be broken" + ewarn "before you manually do so (ldconfig -i)." + fi +} + +pkg_postinst() { + # nothing to do if just installing headers + just_headers && return + + if ! tc-is-cross-compiler && [[ -x ${EROOT}/usr/sbin/iconvconfig ]] ; then + # Generate fastloading iconv module configuration file. + "${EROOT}"/usr/sbin/iconvconfig --prefix="${ROOT}/" + fi + + if ! is_crosscompile && [[ -z ${ROOT} ]] ; then + # glibc-2.38+ on loong has ldconfig support added, but the ELF e_flags + # handling has changed as well, which means stale ldconfig auxiliary + # cache entries and failure to lookup libgcc_s / libstdc++ (breaking + # every C++ application) / libgomp etc., among other breakages. + # + # To fix this, simply refresh the ld.so.cache without using the + # auxiliary cache if we're natively installing on loong. This should + # be done relatively soon because we want to minimize the breakage + # window for the affected programs. + use loong && glibc_refresh_ldconfig + + if ! use compile-locales; then + run_locale_gen 0 "${EROOT}" + fi + + # If fixincludes was/is active for a particular GCC slot, we + # must refresh it. See bug #933282 and GCC's documentation: + # https://gcc.gnu.org/onlinedocs/gcc/Fixed-Headers.html + # + # TODO: Could this be done for cross? Some care would be needed + # to pass the right arguments. + while IFS= read -r -d $'\0' slot ; do + local mkheaders_path="${BROOT}"/usr/libexec/gcc/${CBUILD}/${slot##*/}/install-tools/mkheaders + local pthread_h="${BROOT}"/usr/lib/gcc/${CBUILD}/${slot##*/}/include-fixed/pthread.h + if [[ -x ${mkheaders_path} ]] ; then + ebegin "Refreshing fixincludes for ${CBUILD} with gcc-${slot##*/}" + ${mkheaders_path} -v + eend $? + elif [[ -f ${pthread_h} ]] ; then + # fixincludes might have been enabled in the past for this + # GCC slot but not since we fixed toolchain.eclass to install + # mkheaders, so we need to manually delete pthread.h at least. + ebegin "Deleting stale fixincludes'd pthread.h for ${CBUILD} with gcc-${slot##*/}" + mv -v "${pthread_h}" "${pthread_h}.bak" + eend $? + fi + done < <(find "${BROOT}"/usr/libexec/gcc/${CBUILD}/ -mindepth 1 -maxdepth 1 -type d -print0) + fi + + upgrade_warning + + # Check for sanity of /etc/nsswitch.conf, take 2 + if [[ -e ${EROOT}/etc/nsswitch.conf ]] && ! has_version sys-auth/libnss-nis ; then + local entry + for entry in passwd group shadow; do + if grep -E -q "^[ \t]*${entry}:.*nis" "${EROOT}"/etc/nsswitch.conf; then + ewarn "" + ewarn "Your ${EROOT}/etc/nsswitch.conf uses NIS. Support for that has been" + ewarn "removed from glibc and is now provided by the package" + ewarn " sys-auth/libnss-nis" + ewarn "Install it now to keep your NIS setup working." + ewarn "" + fi + done + fi + + if [[ ${PRESERVED_OLD_LIBCRYPT} -eq 1 ]] ; then + cp -p "${T}/libcrypt$(get_libname 1)" "${EROOT}/$(get_libdir)/libcrypt$(get_libname 1)" || die + preserve_old_lib_notify /$(get_libdir)/libcrypt$(get_libname 1) + + elog "Please ignore a possible later error message about a file collision involving" + elog "${EROOT}/$(get_libdir)/libcrypt$(get_libname 1). We need to preserve this file for the moment to keep" + elog "the upgrade working, but it also needs to be overwritten when" + elog "sys-libs/libxcrypt is installed. See bug 802210 for more details." + fi +} diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43.ebuild index bf4c22c9eff..9b913086e6f 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-2.43.ebuild @@ -196,6 +196,7 @@ XFAIL_TEST_LIST=( # Fails with certain PORTAGE_NICENESS/PORTAGE_SCHEDULING_POLICY tst-sched1 tst-sched_setattr + tst-sched_setattr-thread # Fails regularly, unreliable tst-valgrind-smoke diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-9999.ebuild index c7c394439e3..c7ecedbebdc 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/glibc/glibc-9999.ebuild @@ -195,6 +195,7 @@ XFAIL_TEST_LIST=( # Fails with certain PORTAGE_NICENESS/PORTAGE_SCHEDULING_POLICY tst-sched1 tst-sched_setattr + tst-sched_setattr-thread # Fails regularly, unreliable tst-valgrind-smoke @@ -221,6 +222,7 @@ XFAIL_NSPAWN_TEST_LIST=( tst-aarch64-pkey tst-bz21269 tst-mlock2 + tst-mseal-pkey tst-ntp_gettime tst-ntp_gettime-time64 tst-ntp_gettimex @@ -354,6 +356,21 @@ setup_target_flags() { just_headers && return 0 case $(tc-arch) in + alpha) + # glibc selects its hand-written assembly mem*/str* routines by the + # host triplet's machine prefix (sysdeps/alpha/preconfigure does + # machine=alpha/$machine), NOT by the -mcpu codegen flag. With the + # bare alpha-*-* CHOST only the generic C is built. Map -mcpu to the + # most specific sysdeps/alpha/alphaev* dir that exists (Implies chain + # alphaev67 -> alphaev6 -> alphaev5) so the tuned asm is selected. + local cpu + case $(get-flag mcpu) in + 21264a|ev67) cpu="alphaev67" ;; + 21264|ev6) cpu="alphaev6" ;; + 21164*|ev5|ev56|pca56) cpu="alphaev5" ;; + esac + [[ -n ${cpu} ]] && CTARGET_OPT="${cpu}-${CTARGET#*-}" + ;; x86) # -march needed for #185404 #199334 # TODO: When creating the first glibc cross-compile, this test will @@ -1369,6 +1386,9 @@ glibc_src_test() { done fi + # https://inbox.sourceware.org/libc-alpha/lhuikb5ibey.fsf@oldenburg.str.redhat.com/ + local -x GAWK_GNU_MATCHERS=1 + # sandbox does not understand unshare() and prevents # writes to /proc/, which makes many tests fail From c0c80a34b82cda059b7653cbbd08735fc05e929e Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:16 +0000 Subject: [PATCH 208/243] sys-libs/libcap: Sync with Gentoo It's from Gentoo commit 36ad238daebe26f2773e22a21d7017a968e5dabc. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-libs/libcap/Manifest | 1 - .../sys-libs/libcap/libcap-2.77.ebuild | 96 ------------------- 2 files changed, 97 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/libcap/libcap-2.77.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libcap/Manifest b/sdk_container/src/third_party/portage-stable/sys-libs/libcap/Manifest index 9fba8e77bbe..c003059c3c6 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libcap/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-libs/libcap/Manifest @@ -1,2 +1 @@ -DIST libcap-2.77.tar.xz 199688 BLAKE2B 9725a5f886907f718a7149841003ac04aced8d322ae190b7035873dc823098c58311f15b9fe7e2a3fec683de6e2eeea108cd008f5f79e8dba24bb20595351812 SHA512 c783cb43ffb40eb005fb880efe18e72667c743af79d647f67ee3201d5ff1e64446f9c850cced935a04b63a8ee3380bbf28dd91e2dfbcbddb561c8d096da610d0 DIST libcap-2.78.tar.xz 201040 BLAKE2B 60b1afed4df471e9bbb631deca850920408710fb166335d5640feadf5e2feced0bccae10ba4010eca0dfb0cbb5cd41e255c2e4ac232dc3d18b7d269df9f1e72a SHA512 a156a8708dd59f13400f701f4e1ddc81f915fe4e7b32f93a328f7d6f030b7a004fb985fa9ac60812dfffeb8ad860d2e1f59895485497350250efd9378682626b diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libcap/libcap-2.77.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/libcap/libcap-2.77.ebuild deleted file mode 100644 index c3a81ac19ab..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libcap/libcap-2.77.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dot-a multilib-minimal toolchain-funcs pam - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/libcap/libcap.git" -else - SRC_URI="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${P}.tar.xz" - - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -fi - -DESCRIPTION="POSIX 1003.1e capabilities" -HOMEPAGE="https://sites.google.com/site/fullycapable/" - -LICENSE="|| ( GPL-2 BSD ) pam? ( || ( LGPL-2+ BSD ) )" -SLOT="0" -IUSE="pam static-libs tools" - -# While the build system optionally uses gperf, we don't DEPEND on it because -# the build automatically falls back when it's unavailable. #604802 -PDEPEND="pam? ( sys-libs/pam[${MULTILIB_USEDEP}] )" -DEPEND="${PDEPEND} - sys-kernel/linux-headers" -BDEPEND=" - sys-apps/diffutils - tools? ( dev-lang/go )" - -QA_FLAGS_IGNORED="sbin/captree" # go binaries don't use LDFLAGS - -PATCHES=( - "${FILESDIR}"/${PN}-2.62-ignore-RAISE_SETFCAP-install-failures.patch -) - -src_prepare() { - default - multilib_copy_sources -} - -run_emake() { - local args=( - AR="$(tc-getAR)" - CC="$(tc-getCC)" - OBJCOPY="$(tc-getOBJCOPY)" - RANLIB="$(tc-getRANLIB)" - exec_prefix="${EPREFIX}" - lib_prefix="${EPREFIX}/usr" - lib="$(get_libdir)" - prefix="${EPREFIX}/usr" - PAM_CAP="$(usex pam yes no)" - DYNAMIC=yes - GOLANG="$(multilib_native_usex tools yes no)" - ) - emake "${args[@]}" "$@" -} - -src_configure() { - use static-libs && lto-guarantee-fat - tc-export_build_env BUILD_CC - multilib-minimal_src_configure -} - -multilib_src_compile() { - run_emake -} - -multilib_src_test() { - run_emake test -} - -multilib_src_install() { - # no configure, needs explicit install line #444724#c3 - run_emake DESTDIR="${D}" install - - if use static-libs ; then - strip-lto-bytecode - else - rm "${ED}"/usr/$(get_libdir)/lib{cap,psx}.a || die - fi - - # install pam plugins ourselves - rm -rf "${ED}"/usr/$(get_libdir)/security || die - - if use pam ; then - dopammod pam_cap/pam_cap.so - dopamsecurity '' pam_cap/capability.conf - fi -} - -multilib_src_install_all() { - dodoc CHANGELOG README doc/capability.md -} From 03ee031fd96b5b60cf5f2fde90a4abe5af8b140b Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:17 +0000 Subject: [PATCH 209/243] sys-libs/libcap-ng: Sync with Gentoo It's from Gentoo commit 70637f4dd58ff047f25f7a7219750998d9f4c926. Signed-off-by: Flatcar Buildbot --- .../sys-libs/libcap-ng/libcap-ng-0.9.3.ebuild | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libcap-ng/libcap-ng-0.9.3.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/libcap-ng/libcap-ng-0.9.3.ebuild index 9399d1d526f..01862336005 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libcap-ng/libcap-ng-0.9.3.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/libcap-ng/libcap-ng-0.9.3.ebuild @@ -6,7 +6,7 @@ EAPI=8 # Keep an eye on Fedora's packaging (https://src.fedoraproject.org/rpms/libcap-ng/tree/rawhide) for patches # Same maintainer in Fedora as upstream PYTHON_COMPAT=( python3_{11..14} ) -inherit autotools dot-a flag-o-matic out-of-source-utils python-r1 +inherit autotools dot-a flag-o-matic linux-info out-of-source-utils python-r1 DESCRIPTION="POSIX 1003.1e capabilities" HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/" @@ -51,6 +51,25 @@ pkg_pretend() { err+=" without which BPF cannot work. Please build with USE=-bpf or reconfigure your kernel." die "${err}" fi + + # check required kernel flags as documented at: + # https://github.com/stevegrubb/libcap-ng/blob/master/README.md + local CONFIG_CHECK=" + ~BPF + ~BPF_SYSCALL + ~BPF_EVENTS + ~DEBUG_INFO_BTF + ~FTRACE_SYSCALLS + ~KPROBES + ~KRETPROBES + ~KPROBE_EVENTS + ~PERF_EVENTS + ~STACKTRACE + ~TRACEPOINTS + ~TRACING + " + + linux-info_pkg_setup fi } From 60dd093fb1fa4e7f27850446a837061ab2ee40ad Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:17 +0000 Subject: [PATCH 210/243] sys-libs/libnvme: Sync with Gentoo It's from Gentoo commit e85f382512a3bdcb20d8f25c314d0b1bd8220c89. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-libs/libnvme/Manifest | 6 +- .../libnvme-1.14-remove-glibc-include.patch | 29 ----- .../sys-libs/libnvme/libnvme-1.11.1-r1.ebuild | 76 ------------- .../sys-libs/libnvme/libnvme-1.12-r1.ebuild | 77 ------------- .../sys-libs/libnvme/libnvme-1.13-r1.ebuild | 77 ------------- .../sys-libs/libnvme/libnvme-1.14.ebuild | 106 ------------------ ...nvme-1.15.ebuild => libnvme-1.16.2.ebuild} | 4 +- .../sys-libs/libnvme/metadata.xml | 1 - 8 files changed, 3 insertions(+), 373 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/libnvme/files/libnvme-1.14-remove-glibc-include.patch delete mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.11.1-r1.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.12-r1.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.13-r1.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.14.ebuild rename sdk_container/src/third_party/portage-stable/sys-libs/libnvme/{libnvme-1.15.ebuild => libnvme-1.16.2.ebuild} (94%) diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/Manifest b/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/Manifest index 6e017a19387..e4d466c6f67 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/Manifest @@ -1,6 +1,2 @@ -DIST libnvme-1.11.1.gh.tar.gz 740327 BLAKE2B eb9a731ce4886e7a76170d4be916e850548710dbbc135bbe94c5ff0c2f3da5e2cb162a6c8ea857d6b9b609ffafba34487cd3419fc4981e9e549419c2bb757568 SHA512 8720f2907a3d13af44fb3deec883cd6eb247d5861c4459b5fe0e67ff9ecfb565462a5faf39d43e08b5284f3e8ca8e72d41b333984beaa45d3287b1a258f3e59d -DIST libnvme-1.12.gh.tar.gz 775030 BLAKE2B b6c9da012c39ec0b5ce671f498fd55b904ea9f0c34f8358eed166e08f9ef12c760707aa693a0123267cfb256812650f0afb5d017f4c8a940b61e18f9998d8b9e SHA512 6681f476c36d077d1481336ca66327cfed9b910e75309334a1eb1fa8ccfba7982d96c7b3ae5d587f306923247a716c5d70f4b71c26716e6be6020b470f9c1077 -DIST libnvme-1.13.gh.tar.gz 776674 BLAKE2B a0b9190a2350e28ccbe4bed69eb23140bf6863688c977a023333309cdcca8398d6c024197429454c003ebbc642d492f88737d27cea368345768cf181fad8ce8d SHA512 7c56cb4a531c77e7024126c3dde4ffe629944be93a3102b09bc7a16031bdd64dac5cb19834c586609c5e3c186f805532d739f960abc4ba22114f36c6bc710264 -DIST libnvme-1.14.gh.tar.gz 805970 BLAKE2B a7d4acd4f28d2bca223fc788962fc62ab31e2f60010bd05254c44e3c59a60e42ecfe25c6aea13ac99341695340084d3c3034d8a3f822df7c51551c839d41fe95 SHA512 96a1bbd6cea1e77381254e242e781b023416abfbf44c82a0aa6eb0b316b30316d32d0b91f441089a317cbae5b511f6b3eaab570624cbda2178f9dce4cb5dd288 -DIST libnvme-1.15.gh.tar.gz 811291 BLAKE2B 6b1f8f873eb173ac5e8593fed7825cd39a3fe501c5d51f23e8bf3ae4f403709d35a0d893e5f190cced73426bf6fa532f8c0a75f8f9c34834f6a1aa849be7673f SHA512 7357685b3f47eda445387965420e7885a326a6b60b3da5af4a8bb942d4f924534babbde3d4aae8468c8a2f0ee4971f2896fadc133f4c387d59f9f620ed2450aa DIST libnvme-1.16.1.gh.tar.gz 838564 BLAKE2B 0dd86188f5165e86fda84b76c7e197b7ea558ab1ed57ff106435af81cfcfc2d1af0cb3fa4e199e7dc147cf4af3d4ee72502cf7df87746a60d8e9d28ad25f224e SHA512 92113cd62af53366fb63f2f385c2059dede171fef4d9a240fa941382e338d2941e90aeb40ae2d202311d7b531e41181839f45f8ab4da1b3a79ce4b597fcd4993 +DIST libnvme-1.16.2.gh.tar.gz 838790 BLAKE2B 0ae3287bd89c881d9fc5f0594c934fc6e25f2045dce0e5500457123a2085b361770786c074ba5afc667f9e04d24f6972dcca8603bf7dc7ce0d5cce9b6a593492 SHA512 e3a4b6d4906e7dc5f894042adc6490bc7e71bf096d39f216c8c742bc5c527a701a87cb3ee8eea305fa557d1b312513c3394f7d6030000e320a2d668c53215fb5 diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/files/libnvme-1.14-remove-glibc-include.patch b/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/files/libnvme-1.14-remove-glibc-include.patch deleted file mode 100644 index 725bb8237e3..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/files/libnvme-1.14-remove-glibc-include.patch +++ /dev/null @@ -1,29 +0,0 @@ -https://bugs.gentoo.org/956710 -https://github.com/linux-nvme/libnvme/pull/1016 -https://github.com/linux-nvme/libnvme/commit/9b3ab852075f6da64648145b2d2e56e34354bf45 - -From 9b3ab852075f6da64648145b2d2e56e34354bf45 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Daniel=20N=C3=A9ri?= -Date: Fri, 23 May 2025 12:36:44 +0200 -Subject: [PATCH] examples: remove unnecessary include of -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The header files are GNU libc specific, and should not be -used directly from application code. This one in particular is already -included by on glibc. - -Fixes build on musl. - -Signed-off-by: Daniel Néri ---- a/examples/mi-mctp-csi-test.c -+++ b/examples/mi-mctp-csi-test.c -@@ -21,7 +21,6 @@ - - #include - #include --#include - - void fhexdump(FILE *fp, const unsigned char *buf, int len) - { diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.11.1-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.11.1-r1.ebuild deleted file mode 100644 index e353c83f59d..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.11.1-r1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} python3_13t ) -inherit python-r1 meson - -DESCRIPTION="C Library for NVM Express on Linux" -HOMEPAGE="https://github.com/linux-nvme/libnvme" -SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0/1" -KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" -IUSE="dbus +json keyutils python ssl test +uuid" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -DEPEND=" - json? ( dev-libs/json-c:= ) - keyutils? ( sys-apps/keyutils:= ) - dbus? ( sys-apps/dbus:= ) - python? ( ${PYTHON_DEPS} ) - ssl? ( >=dev-libs/openssl-1.1:= ) - uuid? ( sys-apps/util-linux:= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - python? ( dev-lang/swig ) -" - -src_configure() { - local emesonargs=( - -Dpython=disabled - $(meson_use test tests) - $(meson_feature json json-c) - $(meson_feature dbus libdbus) - $(meson_feature keyutils) - $(meson_feature ssl openssl) - ) - meson_src_configure -} - -python_compile() { - local emesonargs=( - -Dpython=enabled - ) - meson_src_configure --reconfigure - meson_src_compile -} - -src_compile() { - meson_src_compile - - if use python; then - python_copy_sources - python_foreach_impl python_compile - fi -} - -python_install() { - meson_src_install - use python && python_optimize -} - -src_install() { - use python && python_foreach_impl python_install - - meson_src_install -} diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.12-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.12-r1.ebuild deleted file mode 100644 index 1692114985b..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.12-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} python3_13t ) -inherit python-r1 meson - -DESCRIPTION="C Library for NVM Express on Linux" -HOMEPAGE="https://github.com/linux-nvme/libnvme" -SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0/1" -KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" -IUSE="dbus io-uring +json keyutils python ssl test" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -DEPEND=" - json? ( dev-libs/json-c:= ) - keyutils? ( sys-apps/keyutils:= ) - dbus? ( sys-apps/dbus:= ) - python? ( ${PYTHON_DEPS} ) - ssl? ( >=dev-libs/openssl-1.1:= ) - io-uring? ( sys-libs/liburing:= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - python? ( dev-lang/swig ) -" - -src_configure() { - local emesonargs=( - -Dpython=disabled - $(meson_use test tests) - $(meson_feature json json-c) - $(meson_feature dbus libdbus) - $(meson_feature keyutils) - $(meson_feature ssl openssl) - $(meson_feature io-uring liburing) - ) - meson_src_configure -} - -python_compile() { - local emesonargs=( - -Dpython=enabled - ) - meson_src_configure --reconfigure - meson_src_compile -} - -src_compile() { - meson_src_compile - - if use python; then - python_copy_sources - python_foreach_impl python_compile - fi -} - -python_install() { - meson_src_install - use python && python_optimize -} - -src_install() { - use python && python_foreach_impl python_install - - meson_src_install -} diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.13-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.13-r1.ebuild deleted file mode 100644 index 74e5be635be..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.13-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} python3_13t ) -inherit python-r1 meson - -DESCRIPTION="C Library for NVM Express on Linux" -HOMEPAGE="https://github.com/linux-nvme/libnvme" -SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0/1" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="dbus io-uring +json keyutils python ssl test" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -DEPEND=" - json? ( dev-libs/json-c:= ) - keyutils? ( sys-apps/keyutils:= ) - dbus? ( sys-apps/dbus:= ) - python? ( ${PYTHON_DEPS} ) - ssl? ( >=dev-libs/openssl-1.1:= ) - io-uring? ( sys-libs/liburing:= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - python? ( dev-lang/swig ) -" - -src_configure() { - local emesonargs=( - -Dpython=disabled - $(meson_use test tests) - $(meson_feature json json-c) - $(meson_feature dbus libdbus) - $(meson_feature keyutils) - $(meson_feature ssl openssl) - $(meson_feature io-uring liburing) - ) - meson_src_configure -} - -python_compile() { - local emesonargs=( - -Dpython=enabled - ) - meson_src_configure --reconfigure - meson_src_compile -} - -src_compile() { - meson_src_compile - - if use python; then - python_copy_sources - python_foreach_impl python_compile - fi -} - -python_install() { - meson_src_install - use python && python_optimize -} - -src_install() { - use python && python_foreach_impl python_install - - meson_src_install -} diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.14.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.14.ebuild deleted file mode 100644 index 4159e6d31b6..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.14.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..14} ) -DISTUTILS_OPTIONAL=1 -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=meson-python -inherit distutils-r1 meson - -DESCRIPTION="C Library for NVM Express on Linux" -HOMEPAGE="https://github.com/linux-nvme/libnvme" -SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0/1" -KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" -IUSE="dbus io-uring +json keyutils python ssl test" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - python? ( ${PYTHON_REQUIRED_USE} ) -" - -DEPEND=" - json? ( dev-libs/json-c:= ) - keyutils? ( sys-apps/keyutils:= ) - dbus? ( sys-apps/dbus:= ) - python? ( ${PYTHON_DEPS} ) - ssl? ( >=dev-libs/openssl-1.1:= ) - io-uring? ( sys-libs/liburing:= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - python? ( - ${DISTUTILS_DEPS} - dev-lang/swig - dev-python/meson-python[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests unittest - -PATCHES=( - "${FILESDIR}"/libnvme-1.14-remove-glibc-include.patch -) - -src_prepare() { - default - use python && distutils-r1_src_prepare -} - -src_configure() { - local emesonargs=( - -Dpython=disabled - $(meson_use test tests) - $(meson_feature json json-c) - $(meson_feature dbus libdbus) - $(meson_feature keyutils) - $(meson_feature ssl openssl) - $(meson_feature io-uring liburing) - ) - meson_src_configure - use python && distutils-r1_src_configure -} - -python_compile() { - local emesonargs=( - -Dpython=enabled - ) - meson_src_configure --reconfigure - distutils-r1_python_compile -} - -src_compile() { - meson_src_compile - - use python && distutils-r1_src_compile -} - -src_test() { - meson_src_test - use python && distutils-r1_src_test -} - -python_test() { - local -A test_args=( - ["test-nbft.py"]="--filename=${S}/libnvme/tests/NBFT" - ) - pushd "${BUILD_DIR}" >/dev/null || die - local testfile - for testfile in "${S}"/libnvme/tests/*.py; do - PYTHONPATH="${BUILD_DIR}" "${EPYTHON}" "${testfile}" \ - ${test_args[${testfile##*/}]} \ - || die "test ${testfile##*/} failed with ${EPYTHON}" - done - popd >/dev/null || die -} - -src_install() { - meson_src_install - use python && distutils-r1_src_install -} diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.15.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.16.2.ebuild similarity index 94% rename from sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.15.ebuild rename to sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.16.2.ebuild index 22c63031a2b..e06ee0e8982 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.15.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/libnvme-1.16.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ SRC_URI="https://github.com/linux-nvme/libnvme/archive/refs/tags/v${PV}.tar.gz - LICENSE="LGPL-2.1+" SLOT="0/1" -KEYWORDS="~alpha amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="dbus examples io-uring +json keyutils python ssl test" RESTRICT="!test? ( test )" diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/metadata.xml b/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/metadata.xml index b8882391c6f..fe52877517c 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/sys-libs/libnvme/metadata.xml @@ -8,7 +8,6 @@ Support JSON output via dev-libs/json-c Add support for sys-apps/keyutils - UUID support via sys-apps/util-linux linux-nvme/libnvme From 908d8638f08785292951c2f76eb4b6b26259e0db Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:18 +0000 Subject: [PATCH 211/243] sys-libs/libselinux: Sync with Gentoo It's from Gentoo commit 9b69315dc97506964f2a93ffc89e5212f136d951. Signed-off-by: Flatcar Buildbot --- .../sys-libs/libselinux/Manifest | 1 + .../libselinux/libselinux-3.10-r2.ebuild | 207 ++++++++++++++++++ ...-3.10-r1.ebuild => libselinux-3.11.ebuild} | 3 +- .../sys-libs/libselinux/libselinux-3.9.ebuild | 38 +--- .../libselinux/libselinux-9999.ebuild | 3 +- 5 files changed, 213 insertions(+), 39 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-3.10-r2.ebuild rename sdk_container/src/third_party/portage-stable/sys-libs/libselinux/{libselinux-3.10-r1.ebuild => libselinux-3.11.ebuild} (98%) diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/Manifest b/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/Manifest index 566ca4d7647..247ed326e0a 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/Manifest @@ -1,3 +1,4 @@ DIST libselinux-3.10.tar.gz 205800 BLAKE2B 81cba6d7266141719021c3bc9fc4a6f76c304c7b175430a208c4b3cffacf6131ddeea821263410478160146433ea9438b4c321e3c3e3e4c06afaa66cb4e8d589 SHA512 5783f737675eb94e0bdff082013589e5bddfa0669a357df185eb89f4f88cec8b90779e86c4b17b58f5c248175da0208c80cc2642046e348c7384dd799f1ba4c1 +DIST libselinux-3.11.tar.gz 208732 BLAKE2B 64abf63b86ec3c7ca7519ecb8932ba3f58400919f3a1271803f4dfa92d464a4c178c0a67ce507e63aadf6e89d1a01f6069b19b8d29847aaac4add9e31cb0000b SHA512 49eb0b180b77b4b61505117ecd98ab9fdd79a36801b6d2216813ea370a02ba4f58a0f87a18e92a2d4eeffc11d9df67e4692d2d8f5d3ee77a2abd3f606196aaad DIST libselinux-3.8.1.tar.gz 204411 BLAKE2B f0508b3cf9c0fa2c315cab7b8048980a5a40188411ffd7790c5272e643742de073f0a8da44086e558c1b65ccb55e65cd559aad95e8da3cbfefd6adc9a5e09214 SHA512 646a31dff3b670a530adb9fc2fdc3ca9fe34a58e67e0fac52cc33bc7a01fa63c175987ef254c6c3bc7299cef137bc6f258dc378f4d70ae5c0fa0ece3bef42ab4 DIST libselinux-3.9.tar.gz 205334 BLAKE2B 01ed24734ce72f7c1bbe866ef0482ca05d7ef6c7702764706c12ea76ca2eef575f4d7cab11c91f7a5ec9c56bc563edc7c5a171f3ae7ff8e5091b3697bcf82bf4 SHA512 a91942e7d16673396610d969f2471173989995a048edacf6076f6df3200a0d541a1c9932a7632d70aa7c728de7e7d3c62712e5aab6c0b763826e7ffef808cadb diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-3.10-r2.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-3.10-r2.ebuild new file mode 100644 index 00000000000..9ea9803d160 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-3.10-r2.ebuild @@ -0,0 +1,207 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_EXT=1 +DISTUTILS_OPTIONAL=1 +PYTHON_COMPAT=( python3_{11..14} ) +USE_RUBY="ruby32 ruby33" + +# No, I am not calling ruby-ng +inherit distutils-r1 dot-a flag-o-matic toolchain-funcs multilib-minimal + +MY_PV="${PV//_/-}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="SELinux userland library" +HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git" + S="${WORKDIR}/${P}/${PN}" +else + SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz" + KEYWORDS="amd64 arm arm64 ~mips ~riscv x86" + S="${WORKDIR}/${MY_P}" +fi + +LICENSE="public-domain" +SLOT="0" +IUSE="python ruby static-libs ruby_targets_ruby32 ruby_targets_ruby33" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="dev-libs/libpcre2:=[static-libs?,${MULTILIB_USEDEP}] + >=sys-libs/libsepol-${PV}:=[${MULTILIB_USEDEP},static-libs(+)] + python? ( ${PYTHON_DEPS} ) + ruby? ( + ruby_targets_ruby32? ( dev-lang/ruby:3.2 ) + ruby_targets_ruby33? ( dev-lang/ruby:3.3 ) + ) + elibc_musl? ( sys-libs/fts-standalone )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + python? ( + >=dev-lang/swig-2.0.9 + ${PYTHON_DEPS} + ${DISTUTILS_DEPS} + ) + ruby? ( >=dev-lang/swig-2.0.9 )" + +src_prepare() { + eapply_user + + if use python; then + distutils-r1_src_prepare + fi + + multilib_copy_sources +} + +src_configure() { + # bug #926520 + # https://github.com/SELinuxProject/selinux/issues/461 + # https://github.com/SELinuxProject/selinux/issues/512 + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + + use static-libs && lto-guarantee-fat + + multilib-minimal_src_configure +} + +multilib_src_configure() { + default + if multilib_is_native_abi; then + if use python; then + distutils-r1_src_configure + fi + fi +} + +multilib_src_compile() { + tc-export AR CC PKG_CONFIG RANLIB + + local -x CFLAGS="${CFLAGS} -fno-semantic-interposition" + + emake \ + LIBDIR="\$(PREFIX)/$(get_libdir)" \ + SHLIBDIR="/$(get_libdir)" \ + LDFLAGS="-fPIC ${LDFLAGS} -pthread" \ + USE_PCRE2=y \ + USE_LFS=y \ + FTS_LDLIBS="$(usex elibc_musl '-lfts' '')" \ + all + + if multilib_is_native_abi; then + if use python; then + pushd src >/dev/null || die + distutils-r1_src_compile + popd >/dev/null || die + fi + if use ruby; then + building() { + einfo "Calling rubywrap for ${1}" + # Clean up .lo file to force rebuild + rm -f src/selinuxswig_ruby_wrap.lo || die + emake \ + RUBY=${1} \ + LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \ + LIBDIR="\$(PREFIX)/$(get_libdir)" \ + SHLIBDIR="/$(get_libdir)" \ + USE_LFS=y \ + USE_PCRE2=y \ + FTS_LDLIBS="$(usex elibc_musl '-lfts' '')" \ + rubywrap + } + for RUBYTARGET in ${USE_RUBY}; do + use ruby_targets_${RUBYTARGET} || continue + + building ${RUBYTARGET} + done + fi + fi +} + +multilib_src_test() { + default + + if multilib_is_native_abi; then + if use python; then + distutils-r1_src_test + fi + fi +} + +multilib_src_install() { + emake DESTDIR="${D}" \ + LIBDIR="\$(PREFIX)/$(get_libdir)" \ + SHLIBDIR="/$(get_libdir)" \ + USE_LFS=y \ + USE_PCRE2=y \ + install + + if multilib_is_native_abi; then + if use python; then + pushd src >/dev/null || die + mv selinux.py __init__.py || die + distutils-r1_src_install + popd >/dev/null || die + fi + if use ruby; then + installation() { + einfo "Calling install-rubywrap for ${1}" + # Forcing (re)build here as otherwise the resulting SO file is used for all ruby versions + rm src/selinuxswig_ruby_wrap.lo + emake DESTDIR="${D}" \ + LIBDIR="\$(PREFIX)/$(get_libdir)" \ + SHLIBDIR="/$(get_libdir)" \ + RUBY=${1} \ + USE_LFS=y \ + USE_PCRE2=y \ + install-rubywrap + } + for RUBYTARGET in ${USE_RUBY}; do + use ruby_targets_${RUBYTARGET} || continue + + installation ${RUBYTARGET} + done + fi + fi + + if use static-libs; then + strip-lto-bytecode + else + rm "${ED}"/usr/$(get_libdir)/*.a || die + fi +} + +python_install() { + # this installs the C extensions only + distutils-r1_python_install + + # now explicitly install the python package + python_moduleinto selinux + python_domodule __init__.py + + # install the C extension symlink + local pycext="$(python -c 'import importlib.machinery;print(importlib.machinery.EXTENSION_SUFFIXES[0])' || die)" + dosym -r "$(python_get_sitedir)/selinux/_selinux${pycext}" "$(python_get_sitedir)/_selinux${pycext}" +} + +pkg_postinst() { + # Fix bug 473502 + for POLTYPE in ${POLICY_TYPES}; + do + mkdir -p "${ROOT}/etc/selinux/${POLTYPE}/contexts/files" || die + touch "${ROOT}/etc/selinux/${POLTYPE}/contexts/files/file_contexts.local" || die + # Fix bug 516608 + for EXPRFILE in file_contexts file_contexts.homedirs file_contexts.local ; do + if [[ -f "${ROOT}/etc/selinux/${POLTYPE}/contexts/files/${EXPRFILE}" ]]; then + sefcontext_compile "${ROOT}/etc/selinux/${POLTYPE}/contexts/files/${EXPRFILE}" \ + || die "Failed to recompile contexts" + fi + done + done +} diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-3.10-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-3.11.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-3.10-r1.ebuild rename to sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-3.11.ebuild index 8facd61db7f..f7d79ca5744 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-3.10-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-3.11.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools DISTUTILS_EXT=1 DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{12..15} ) USE_RUBY="ruby32 ruby33" # No, I am not calling ruby-ng @@ -45,7 +45,6 @@ DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig python? ( >=dev-lang/swig-2.0.9 - dev-python/pip[${PYTHON_USEDEP}] ${PYTHON_DEPS} ${DISTUTILS_DEPS} ) diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-3.9.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-3.9.ebuild index aea0eec53da..c0123bf4c53 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-3.9.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-3.9.ebuild @@ -5,12 +5,11 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools DISTUTILS_EXT=1 -DISTUTILS_OPTIONAL=1 PYTHON_COMPAT=( python3_{11..14} ) USE_RUBY="ruby32 ruby33" # No, I am not calling ruby-ng -inherit distutils-r1 dot-a flag-o-matic toolchain-funcs multilib-minimal +inherit distutils-r1 flag-o-matic toolchain-funcs multilib-minimal MY_PV="${PV//_/-}" MY_P="${PN}-${MY_PV}" @@ -46,18 +45,12 @@ BDEPEND="virtual/pkgconfig python? ( >=dev-lang/swig-2.0.9 dev-python/pip[${PYTHON_USEDEP}] - ${PYTHON_DEPS} - ${DISTUTILS_DEPS} - ) +) ruby? ( >=dev-lang/swig-2.0.9 )" src_prepare() { eapply_user - if use python; then - distutils-r1_src_prepare - fi - multilib_copy_sources } @@ -67,20 +60,9 @@ src_configure() { # https://github.com/SELinuxProject/selinux/issues/512 append-ldflags $(test-flags-CCLD -Wl,--undefined-version) - use static-libs && lto-guarantee-fat - multilib-minimal_src_configure } -multilib_src_configure() { - default - if multilib_is_native_abi; then - if use python; then - distutils-r1_src_configure - fi - fi -} - multilib_src_compile() { tc-export AR CC PKG_CONFIG RANLIB @@ -125,16 +107,6 @@ multilib_src_compile() { fi } -multilib_src_test() { - default - - if multilib_is_native_abi; then - if use python; then - distutils-r1_src_test - fi - fi -} - multilib_src_install() { emake DESTDIR="${D}" \ LIBDIR="\$(PREFIX)/$(get_libdir)" \ @@ -171,11 +143,7 @@ multilib_src_install() { fi fi - if use static-libs; then - strip-lto-bytecode - else - rm "${ED}"/usr/$(get_libdir)/*.a || die - fi + use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die } python_install() { diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-9999.ebuild index 8facd61db7f..f7d79ca5744 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/libselinux/libselinux-9999.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools DISTUTILS_EXT=1 DISTUTILS_OPTIONAL=1 -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{12..15} ) USE_RUBY="ruby32 ruby33" # No, I am not calling ruby-ng @@ -45,7 +45,6 @@ DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig python? ( >=dev-lang/swig-2.0.9 - dev-python/pip[${PYTHON_USEDEP}] ${PYTHON_DEPS} ${DISTUTILS_DEPS} ) From 20fb2c764edbcbb659a48b616e22d6c2ca8740d0 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:18 +0000 Subject: [PATCH 212/243] sys-libs/libsepol: Sync with Gentoo It's from Gentoo commit 3da5769f62aa9afe8691ab5218438953a1a0378d. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-libs/libsepol/Manifest | 1 + .../sys-libs/libsepol/libsepol-3.10.ebuild | 4 +- .../sys-libs/libsepol/libsepol-3.11.ebuild | 62 +++++++++++++++++++ .../sys-libs/libsepol/libsepol-9999.ebuild | 4 +- 4 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/sys-libs/libsepol/libsepol-3.11.ebuild diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libsepol/Manifest b/sdk_container/src/third_party/portage-stable/sys-libs/libsepol/Manifest index 3372e501915..2598867e8c2 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libsepol/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-libs/libsepol/Manifest @@ -1,3 +1,4 @@ DIST libsepol-3.10.tar.gz 514545 BLAKE2B 4c9b416a1cb0fcadc831b517444c2d60bc647d5f19c15d33885ce70653c274d51d6d31d504d23e5f75e367da9cb58e916078e142599c1a83d8cdec5e9da0f97e SHA512 95a12779a41577d02a13922d1a484954a6b041b3be9a76836e179ab3a4e4b83b90df63e3a3f32b0862466ed8748280fa9b820f8dc96a3887bcdde081947e7450 +DIST libsepol-3.11.tar.gz 533422 BLAKE2B d9c3d076c04ffec9bb0f7d19f076364697c8d5374f788ec9f4733db4d1f5f4859a09b7b02625e75e45ec0bc51b1b3e2ad4b3e441024527ac7b9283c3a8bbd07b SHA512 38335292be8b8ce8b22bb2a0e481f92e2bbf532d9a2ee5319ada0b3fd294df487e5eba8041bac2a09ef7b048fee13ca0520c34cb3283fea1f95fcc5752f66b81 DIST libsepol-3.8.1.tar.gz 513830 BLAKE2B f1877499a31289af941e36b80c1c25ca2b32205684d958c4a8b04e05006346138046e3f263e73db3889f918e2ff93818f4d6176de5d17669b863c853d04928e0 SHA512 6a66fbbc25f4ca5f58b07d19a70f3f6c233594ea5bc5a9f5d9f008eb03a83cea84ae0f03329f340b95e4f7135981d06cb9e66a7b3ca2f1494a71bbdcb5a01665 DIST libsepol-3.9.tar.gz 515726 BLAKE2B 646bdb23fa249660208201c1a286eb42da0877cf38c3422afe7dab60d48b05a4db806bc54eb8a5c7f3a5f23eb75b448bac16a76a3c0c9d6368ec1fbcc1e5118b SHA512 9a198fb0b7f4981939e6556ba690892bda77446785c2015cdf4178fa303095186f255dfbebe04e6749a139379718a012349aa7a70fac94a860a3745c0536afe9 diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libsepol/libsepol-3.10.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/libsepol/libsepol-3.10.ebuild index bf077cd2cb0..67fb105623f 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libsepol/libsepol-3.10.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/libsepol/libsepol-3.10.ebuild @@ -17,7 +17,7 @@ if [[ ${PV} == 9999 ]]; then S="${WORKDIR}/${P}/${PN}" else SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~mips ~riscv ~x86" + KEYWORDS="amd64 arm arm64 ~mips ~riscv x86" S="${WORKDIR}/${MY_P}" fi @@ -25,6 +25,8 @@ LICENSE="GPL-2" SLOT="0/2" IUSE="+static-libs" +BDEPEND="sys-devel/flex" + # tests are not meant to be run outside of the full SELinux userland repo RESTRICT="test" diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libsepol/libsepol-3.11.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/libsepol/libsepol-3.11.ebuild new file mode 100644 index 00000000000..182d088894f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-libs/libsepol/libsepol-3.11.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit dot-a toolchain-funcs multilib-minimal + +MY_PV="${PV//_/-}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="SELinux binary policy representation library" +HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git" + S="${WORKDIR}/${P}/${PN}" +else + SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~mips ~riscv ~x86" + S="${WORKDIR}/${MY_P}" +fi + +LICENSE="GPL-2" +SLOT="0/2" +IUSE="+static-libs" + +BDEPEND="sys-devel/flex" + +# tests are not meant to be run outside of the full SELinux userland repo +RESTRICT="test" + +src_prepare() { + eapply_user + multilib_copy_sources +} + +my_make() { + use static-libs && lto-guarantee-fat + emake \ + PREFIX="${EPREFIX}/usr" \ + LIBDIR="\$(PREFIX)/$(get_libdir)" \ + SHLIBDIR="${EPREFIX}/$(get_libdir)" \ + "${@}" +} + +multilib_src_compile() { + tc-export CC AR RANLIB + + local -x CFLAGS="${CFLAGS} -fno-semantic-interposition" + + my_make +} + +multilib_src_install() { + my_make DESTDIR="${D}" install + if use static-libs; then + strip-lto-bytecode + else + rm "${ED}"/usr/$(get_libdir)/*.a || die + fi +} diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libsepol/libsepol-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/libsepol/libsepol-9999.ebuild index ec76ef1ec0a..182d088894f 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libsepol/libsepol-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/libsepol/libsepol-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" @@ -25,6 +25,8 @@ LICENSE="GPL-2" SLOT="0/2" IUSE="+static-libs" +BDEPEND="sys-devel/flex" + # tests are not meant to be run outside of the full SELinux userland repo RESTRICT="test" From 19d3949f507d71f650503e6db448d396f05a34f5 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:18 +0000 Subject: [PATCH 213/243] sys-libs/libunwind: Sync with Gentoo It's from Gentoo commit 4e83d9e3fb1a9ebb94fd478375b0c4f931d9de21. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-libs/libunwind/libunwind-1.8.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libunwind/libunwind-1.8.3.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/libunwind/libunwind-1.8.3.ebuild index e867a578c73..9ddf3c008d5 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libunwind/libunwind-1.8.3.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/libunwind/libunwind-1.8.3.ebuild @@ -31,7 +31,7 @@ else S="${WORKDIR}"/${P/_rc/-rc} if [[ ${PV} != *_rc* ]] ; then - KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 -sparc ~x86" + KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ~ppc64 ~riscv ~s390 -sparc x86" fi fi From 67ed0f7821c4fff35eae82a7dc7f0acc5fe8ca17 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:19 +0000 Subject: [PATCH 214/243] sys-libs/liburing: Sync with Gentoo It's from Gentoo commit d55a935d4f7a00b6850aca85d0bb92c7ed8cd004. Signed-off-by: Flatcar Buildbot --- .../sys-libs/liburing/liburing-2.10-r1.ebuild | 7 +++---- .../portage-stable/sys-libs/liburing/liburing-2.11.ebuild | 7 +++---- .../portage-stable/sys-libs/liburing/liburing-2.12.ebuild | 7 +++---- .../portage-stable/sys-libs/liburing/liburing-2.13.ebuild | 5 ++--- .../portage-stable/sys-libs/liburing/liburing-2.14.ebuild | 4 ++-- .../portage-stable/sys-libs/liburing/liburing-2.9.ebuild | 7 +++---- .../portage-stable/sys-libs/liburing/liburing-9999.ebuild | 7 +++---- 7 files changed, 19 insertions(+), 25 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.10-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.10-r1.ebuild index b64277e2026..9a36218265b 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.10-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.10-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,10 +23,9 @@ fi S="${WORKDIR}"/liburing-${P} LICENSE="MIT" SLOT="0/2" # liburing.so major version - IUSE="examples static-libs test" -# fsync test hangs forever -RESTRICT="!test? ( test )" +# https://lore.kernel.org/io-uring/13d5c94e-9f3c-4a0e-a468-562e78155ba5@kernel.dk/ +RESTRICT="!test? ( test ) test" # At least installed headers need , bug #802516 DEPEND=">=sys-kernel/linux-headers-5.1" diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.11.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.11.ebuild index 94dacec3668..551dfdc540c 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.11.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.11.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,10 +21,9 @@ fi S="${WORKDIR}"/liburing-${P} LICENSE="MIT" SLOT="0/2" # liburing.so major version - IUSE="examples static-libs test" -# fsync test hangs forever -RESTRICT="!test? ( test )" +# https://lore.kernel.org/io-uring/13d5c94e-9f3c-4a0e-a468-562e78155ba5@kernel.dk/ +RESTRICT="!test? ( test ) test" # At least installed headers need , bug #802516 DEPEND=">=sys-kernel/linux-headers-5.1" diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.12.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.12.ebuild index 5dd4c11e074..1a8d69915c0 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.12.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.12.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,10 +22,9 @@ fi LICENSE="MIT" SLOT="0/2" # liburing.so major version - IUSE="examples static-libs test" -# fsync test hangs forever -RESTRICT="!test? ( test )" +# https://lore.kernel.org/io-uring/13d5c94e-9f3c-4a0e-a468-562e78155ba5@kernel.dk/ +RESTRICT="!test? ( test ) test" # At least installed headers need , bug #802516 DEPEND=">=sys-kernel/linux-headers-5.1" diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.13.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.13.ebuild index d49bf312622..1a8d69915c0 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.13.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.13.ebuild @@ -22,10 +22,9 @@ fi LICENSE="MIT" SLOT="0/2" # liburing.so major version - IUSE="examples static-libs test" -# fsync test hangs forever -RESTRICT="!test? ( test )" +# https://lore.kernel.org/io-uring/13d5c94e-9f3c-4a0e-a468-562e78155ba5@kernel.dk/ +RESTRICT="!test? ( test ) test" # At least installed headers need , bug #802516 DEPEND=">=sys-kernel/linux-headers-5.1" diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.14.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.14.ebuild index 1713d3a5211..e4c4db2b409 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.14.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.14.ebuild @@ -22,9 +22,9 @@ fi LICENSE="MIT" SLOT="0/2" # liburing.so major version - IUSE="examples static-libs test" -RESTRICT="!test? ( test )" +# https://lore.kernel.org/io-uring/13d5c94e-9f3c-4a0e-a468-562e78155ba5@kernel.dk/ +RESTRICT="!test? ( test ) test" # At least installed headers need , bug #802516 DEPEND=">=sys-kernel/linux-headers-5.1" diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.9.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.9.ebuild index 75b52b64412..a45406a2a8c 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.9.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-2.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,10 +19,9 @@ fi S="${WORKDIR}"/liburing-${P} LICENSE="MIT" SLOT="0/2" # liburing.so major version - IUSE="examples static-libs test" -# fsync test hangs forever -RESTRICT="!test? ( test )" +# https://lore.kernel.org/io-uring/13d5c94e-9f3c-4a0e-a468-562e78155ba5@kernel.dk/ +RESTRICT="!test? ( test ) test" # At least installed headers need , bug #802516 DEPEND=">=sys-kernel/linux-headers-5.1" diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-9999.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-9999.ebuild index e4b4d0bd2e1..3d52769f11b 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-9999.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/liburing/liburing-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,10 +25,9 @@ fi LICENSE="MIT" SLOT="0/2" # liburing.so major version - IUSE="examples static-libs test" -# fsync test hangs forever -RESTRICT="!test? ( test )" +# https://lore.kernel.org/io-uring/13d5c94e-9f3c-4a0e-a468-562e78155ba5@kernel.dk/ +RESTRICT="!test? ( test ) test" # At least installed headers need , bug #802516 DEPEND=">=sys-kernel/linux-headers-5.1" From f57f17c467bd6630f0a1b21551ba08d0df25f703 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:19 +0000 Subject: [PATCH 215/243] sys-libs/libxcrypt: Sync with Gentoo It's from Gentoo commit 07d0c5fed261c18de4e131896210cc478163ec1e. Signed-off-by: Flatcar Buildbot --- .../sys-libs/libxcrypt/libxcrypt-4.4.38-r1.ebuild | 6 +++--- .../sys-libs/libxcrypt/libxcrypt-4.4.38.ebuild | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libxcrypt/libxcrypt-4.4.38-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/libxcrypt/libxcrypt-4.4.38-r1.ebuild index bc5a4a4029c..5a7ef496091 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libxcrypt/libxcrypt-4.4.38-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/libxcrypt/libxcrypt-4.4.38-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{12..14} ) # NEED_BOOTSTRAP is for developers to quickly generate a tarball # for publishing to the tree. NEED_BOOTSTRAP="no" @@ -41,11 +41,11 @@ RDEPEND="${DEPEND} " BDEPEND=" dev-lang/perl - test? ( $(python_gen_any_dep 'dev-python/passlib[${PYTHON_USEDEP}]') ) + test? ( $(python_gen_any_dep 'dev-python/libpass[${PYTHON_USEDEP}]') ) " python_check_deps() { - python_has_version "dev-python/passlib[${PYTHON_USEDEP}]" + python_has_version "dev-python/libpass[${PYTHON_USEDEP}]" } pkg_pretend() { diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/libxcrypt/libxcrypt-4.4.38.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/libxcrypt/libxcrypt-4.4.38.ebuild index 6f5efded7e8..d9ecd270d96 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/libxcrypt/libxcrypt-4.4.38.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/libxcrypt/libxcrypt-4.4.38.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{12..14} ) # NEED_BOOTSTRAP is for developers to quickly generate a tarball # for publishing to the tree. NEED_BOOTSTRAP="no" @@ -39,11 +39,11 @@ DEPEND=" RDEPEND="${DEPEND}" BDEPEND=" dev-lang/perl - test? ( $(python_gen_any_dep 'dev-python/passlib[${PYTHON_USEDEP}]') ) + test? ( $(python_gen_any_dep 'dev-python/libpass[${PYTHON_USEDEP}]') ) " python_check_deps() { - python_has_version "dev-python/passlib[${PYTHON_USEDEP}]" + python_has_version "dev-python/libpass[${PYTHON_USEDEP}]" } pkg_pretend() { From 6b91f47d0d2cc47d481b011a418f7a35216ffb5c Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:22 +0000 Subject: [PATCH 216/243] sys-libs/talloc: Sync with Gentoo It's from Gentoo commit 732500c58ff7fb02052257bfbc73530cb0c4bd03. Signed-off-by: Flatcar Buildbot --- .../portage-stable/sys-libs/talloc/talloc-2.4.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/talloc/talloc-2.4.4.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/talloc/talloc-2.4.4.ebuild index 393ee87d431..d143929312f 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/talloc/talloc-2.4.4.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/talloc/talloc-2.4.4.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://www.samba.org/ftp/${PN}/${P}.tar.gz" LICENSE="GPL-3 LGPL-3+ LGPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris" IUSE="compat +python test valgrind" REQUIRED_USE="${PYTHON_REQUIRED_USE}" From 668129eef73c2ffa5d381f84211415ac8ba69449 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:23 +0000 Subject: [PATCH 217/243] sys-libs/tdb: Sync with Gentoo It's from Gentoo commit 2fdcd825df2299b3e5843564ddeeb25fa34e24ac. Signed-off-by: Flatcar Buildbot --- .../third_party/portage-stable/sys-libs/tdb/tdb-1.4.15.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/tdb/tdb-1.4.15.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/tdb/tdb-1.4.15.ebuild index 93bf856ea6d..18fc349d6af 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/tdb/tdb-1.4.15.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/tdb/tdb-1.4.15.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://samba.org/ftp/tdb/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" IUSE="python test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" From ae0c49cf2abd199bb0f8901ea198bf016da4da03 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:24 +0000 Subject: [PATCH 218/243] sys-libs/timezone-data: Sync with Gentoo It's from Gentoo commit bcedc9fb5686f93abc5ad160e3070e4c65d6f956. Signed-off-by: Flatcar Buildbot --- .../sys-libs/timezone-data/timezone-data-2026b.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/sys-libs/timezone-data/timezone-data-2026b.ebuild b/sdk_container/src/third_party/portage-stable/sys-libs/timezone-data/timezone-data-2026b.ebuild index 782a7c56448..92ec75a9da5 100644 --- a/sdk_container/src/third_party/portage-stable/sys-libs/timezone-data/timezone-data-2026b.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-libs/timezone-data/timezone-data-2026b.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}"/tzdb-${PV} LICENSE="BSD public-domain" 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="nls leaps-timezone zic-slim" DEPEND="nls? ( virtual/libintl )" From e17530e3c540a54db54235fc5bf923361063be09 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:29 +0000 Subject: [PATCH 219/243] sys-process/audit: Sync with Gentoo It's from Gentoo commit afbba4d0f4788d66986e9c4ad63762f6aa9155f6. Signed-off-by: Flatcar Buildbot --- .../sys-process/audit/audit-4.1.4-r2.ebuild | 194 ------------------ ...-4.1.4-r1.ebuild => audit-4.1.4-r4.ebuild} | 16 +- .../files/audit-4.0.1-musl-basename.patch | 2 + .../audit/files/auditd-init.d-2.4.3 | 90 -------- 4 files changed, 11 insertions(+), 291 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/sys-process/audit/audit-4.1.4-r2.ebuild rename sdk_container/src/third_party/portage-stable/sys-process/audit/{audit-4.1.4-r1.ebuild => audit-4.1.4-r4.ebuild} (92%) delete mode 100644 sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-init.d-2.4.3 diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-4.1.4-r2.ebuild b/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-4.1.4-r2.ebuild deleted file mode 100644 index 5564faa73a6..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-4.1.4-r2.ebuild +++ /dev/null @@ -1,194 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# As with sys-libs/libcap-ng, same maintainer in Fedora as upstream, so -# check Fedora's packaging (https://src.fedoraproject.org/rpms/audit/tree/rawhide) -# on bumps (or if hitting a bug) to see what they've done there. - -PYTHON_COMPAT=( python3_{11..14} ) - -inherit autotools multilib-minimal toolchain-funcs python-r1 linux-info systemd tmpfiles usr-ldscript - -DESCRIPTION="Userspace utilities for storing and processing auditing records" -HOMEPAGE="https://people.redhat.com/sgrubb/audit/" -SRC_URI="https://github.com/linux-audit/audit-userspace/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz" - -S="${WORKDIR}/audit-userspace-${PV}" -LICENSE="GPL-2+ LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="gssapi io-uring ldap python static-libs" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - sys-libs/libcap-ng - gssapi? ( virtual/krb5 ) - ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] ) - python? ( ${PYTHON_DEPS} ) -" -DEPEND=" - ${RDEPEND} - >=sys-kernel/linux-headers-5 -" -BDEPEND=" - python? ( - dev-lang/swig - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ' python3_12) - ) -" - -CONFIG_CHECK="~AUDIT" - -QA_CONFIG_IMPL_DECL_SKIP=( - # missing on musl. Uses handrolled AC_LINK_IFELSE but fails at link time - # for older compilers regardless. bug #898828 - strndupa -) - -PATCHES=( - "${FILESDIR}/${PN}-4.0.1-musl-basename.patch" -) - -src_prepare() { - # audisp-remote moved in multilib_src_install_all - sed -i \ - -e "s,/sbin/audisp-remote,${EPREFIX}/usr/sbin/audisp-remote," \ - audisp/plugins/remote/au-remote.conf || die - - # Disable installing sample rules so they can be installed as docs. - echo -e '%:\n\t:' | tee rules/Makefile.{am,in} >/dev/null || die - - default - eautoreconf -} - -multilib_src_configure() { - local myeconfargs=( - --sbindir="${EPREFIX}"/sbin - --localstatedir="${EPREFIX}"/var - --runstatedir="${EPREFIX}"/run - $(use_enable gssapi gssapi-krb5) - $(use_enable ldap zos-remote) - $(use_enable static-libs static) - $(use_with arm) - $(use_with arm64 aarch64) - $(use_with io-uring io_uring) - --without-golang - --without-libwrap - --without-python3 - ) - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" - - if multilib_is_native_abi && use python; then - python_configure() { - mkdir -p "${BUILD_DIR}" || die - pushd "${BUILD_DIR}" &>/dev/null || die - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" --with-python3 - find . -type f -name 'Makefile' -exec sed -i "s;-I/usr/include/python;-I${SYSROOT}/usr/include/python;g" {} + - - popd &>/dev/null || die - } - - python_foreach_impl python_configure - fi - - # Make target bindings/python/auparse_python.c doesn't get copied to ${BUILD_DIR}. bug #944338 - ln -s "${S}/bindings/python/auparse_python.c" "${BUILD_DIR}/bindings/python/auparse_python.c" || die -} - -src_configure() { - tc-export_build_env BUILD_{CC,CPP} - - local -x CC_FOR_BUILD="${BUILD_CC}" - local -x CPP_FOR_BUILD="${BUILD_CPP}" - - multilib-minimal_src_configure -} - -multilib_src_compile() { - default - - if multilib_is_native_abi; then - local native_build="${BUILD_DIR}" - - python_compile() { - emake -C "${BUILD_DIR}"/bindings/swig top_builddir="${native_build}" - emake -C "${BUILD_DIR}"/bindings/python/python3 top_builddir="${native_build}" - } - - use python && python_foreach_impl python_compile - fi -} - -multilib_src_install() { - emake DESTDIR="${D}" initdir="$(systemd_get_systemunitdir)" install - - if multilib_is_native_abi; then - local native_build="${BUILD_DIR}" - - python_install() { - emake -C "${BUILD_DIR}"/bindings/swig DESTDIR="${D}" top_builddir="${native_build}" install - emake -C "${BUILD_DIR}"/bindings/python/python3 DESTDIR="${D}" top_builddir="${native_build}" install - python_optimize - } - - use python && python_foreach_impl python_install - - # Things like shadow use this so we need to be in / - gen_usr_ldscript -a audit auparse - fi -} - -multilib_src_install_all() { - dodoc AUTHORS ChangeLog README* THANKS - docinto contrib - dodoc contrib/avc_snap - docinto contrib/plugin - dodoc contrib/plugin/* - docinto rules - dodoc rules/*rules - - newinitd "${FILESDIR}"/auditd-init.d-4.1.4 auditd - newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd - - if [[ -f "${ED}"/sbin/audisp-remote ]] ; then - dodir /usr/sbin - mv "${ED}"/{sbin,usr/sbin}/audisp-remote || die - fi - - # Gentoo rules - insinto /etc/audit - newins "${FILESDIR}"/audit.rules-2.1.3 audit.rules - doins "${FILESDIR}"/audit.rules.stop* - keepdir /etc/audit/rules.d - - # audit logs go here - keepdir /var/log/audit - - find "${ED}" -type f -name '*.la' -delete || die - - # Security - lockdown_perms "${ED}" -} - -pkg_postinst() { - lockdown_perms "${EROOT}" - tmpfiles_process audit.conf -} - -lockdown_perms() { - # Upstream wants these to have restrictive perms. - # Should not || die as not all paths may exist. - local basedir="${1}" - chmod 0750 "${basedir}"/sbin/au{ditctl,ditd,report,search,trace} 2>/dev/null - chmod 0750 "${basedir}"/var/log/audit 2>/dev/null - chmod 0640 "${basedir}"/etc/audit/{auditd.conf,audit*.rules*} 2>/dev/null -} diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-4.1.4-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-4.1.4-r4.ebuild similarity index 92% rename from sdk_container/src/third_party/portage-stable/sys-process/audit/audit-4.1.4-r1.ebuild rename to sdk_container/src/third_party/portage-stable/sys-process/audit/audit-4.1.4-r4.ebuild index d90ce74e888..ce3952705c2 100644 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-4.1.4-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-process/audit/audit-4.1.4-r4.ebuild @@ -7,7 +7,8 @@ EAPI=8 # check Fedora's packaging (https://src.fedoraproject.org/rpms/audit/tree/rawhide) # on bumps (or if hitting a bug) to see what they've done there. -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{12..15} ) +TMPFILES_OPTIONAL=1 inherit autotools multilib-minimal toolchain-funcs python-r1 linux-info systemd tmpfiles usr-ldscript @@ -20,7 +21,7 @@ S="${WORKDIR}/audit-userspace-${PV}" LICENSE="GPL-2+ LGPL-2.1+" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="gssapi io-uring ldap python static-libs" +IUSE="build gssapi io-uring ldap python static-libs" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" @@ -37,11 +38,10 @@ DEPEND=" BDEPEND=" python? ( dev-lang/swig - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ' python3_12) + dev-python/setuptools[${PYTHON_USEDEP}] ) " +IDEPEND="!build? ( virtual/tmpfiles )" CONFIG_CHECK="~AUDIT" @@ -116,6 +116,8 @@ src_configure() { multilib_src_compile() { default + # We could copy this for tests but the only thing the bindings do + # in check-local is rebuild (!) with -Wl,--no-undefined. if multilib_is_native_abi; then local native_build="${BUILD_DIR}" @@ -156,7 +158,7 @@ multilib_src_install_all() { docinto rules dodoc rules/*rules - newinitd "${FILESDIR}"/auditd-init.d-2.4.3 auditd + newinitd "${FILESDIR}"/auditd-init.d-4.1.4 auditd newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd if [[ -f "${ED}"/sbin/audisp-remote ]] ; then @@ -181,7 +183,7 @@ multilib_src_install_all() { pkg_postinst() { lockdown_perms "${EROOT}" - tmpfiles_process audit.conf + ! use build && tmpfiles_process audit.conf } lockdown_perms() { diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-4.0.1-musl-basename.patch b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-4.0.1-musl-basename.patch index 08b74caf8ac..cacaa49894a 100644 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-4.0.1-musl-basename.patch +++ b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/audit-4.0.1-musl-basename.patch @@ -1,3 +1,5 @@ +https://github.com/linux-audit/audit-userspace/commit/b6e0c6eb88a4d866bc8316706277dbc33670022a + Since musl 1.2.5, basename(3) is strict-POSIX compliant, and needs #include , instead of the GNU version included with diff --git a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-init.d-2.4.3 b/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-init.d-2.4.3 deleted file mode 100644 index c952554df2f..00000000000 --- a/sdk_container/src/third_party/portage-stable/sys-process/audit/files/auditd-init.d-2.4.3 +++ /dev/null @@ -1,90 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -extra_started_commands='reload reload_auditd reload_rules' -description='Linux Auditing System' -description_reload='Reload daemon configuration and rules' -description_reload_rules='Reload daemon rules' -description_reload_auditd='Reload daemon configuration' - -name='auditd' -pidfile='/var/run/auditd.pid' -command='/sbin/auditd' - -start_auditd() { - # Env handling taken from the upstream init script - if [ -z "$AUDITD_LANG" -o "$AUDITD_LANG" = "none" -o "$AUDITD_LANG" = "NONE" ]; then - unset LANG LC_TIME LC_ALL LC_MESSAGES LC_NUMERIC LC_MONETARY LC_COLLATE - else - LANG="$AUDITD_LANG" - LC_TIME="$AUDITD_LANG" - LC_ALL="$AUDITD_LANG" - LC_MESSAGES="$AUDITD_LANG" - LC_NUMERIC="$AUDITD_LANG" - LC_MONETARY="$AUDITD_LANG" - LC_COLLATE="$AUDITD_LANG" - export LANG LC_TIME LC_ALL LC_MESSAGES LC_NUMERIC LC_MONETARY LC_COLLATE - fi - unset HOME MAIL USER USERNAME - - ebegin "Starting ${name}" - start-stop-daemon \ - --start --quiet --pidfile ${pidfile} \ - --exec ${command} -- ${EXTRAOPTIONS} - local ret=$? - eend $ret - return $ret -} - -stop_auditd() { - ebegin "Stopping ${name}" - start-stop-daemon --stop --quiet --pidfile ${pidfile} - local ret=$? - eend $ret - return $ret -} - -loadfile() { - local rules="$1" - if [ -n "${rules}" -a -f "${rules}" ]; then - einfo "Loading audit rules from ${rules}" - /sbin/auditctl -R "${rules}" >/dev/null - return $? - else - return 0 - fi -} - -start() { - start_auditd - local ret=$? - if [ $ret -eq 0 -a "${RC_CMD}" != "restart" ]; then - loadfile "${RULEFILE_STARTUP}" - fi - return $ret -} - -reload_rules() { - loadfile "${RULEFILE_STARTUP}" -} - -reload_auditd() { - ebegin "Reloading ${SVCNAME}" - start-stop-daemon --signal HUP \ - --exec "${command}" --pidfile "${pidfile}" - eend $? -} - -reload() { - reload_auditd - reload_rules -} - -stop() { - [ "${RC_CMD}" != "restart" ] && loadfile "${RULEFILE_STOP_PRE}" - stop_auditd - local ret=$? - [ "${RC_CMD}" != "restart" ] && loadfile "${RULEFILE_STOP_POST}" - return $ret -} From d67d64af2af3a7ff53fe8422039b709c4d8be854 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:41 +0000 Subject: [PATCH 220/243] virtual/ldb: Sync with Gentoo It's from Gentoo commit 54148558b8ab1bbd294e5ef38a94ab77b88c8620. Signed-off-by: Flatcar Buildbot --- .../portage-stable/virtual/ldb/ldb-2.10.0.ebuild | 11 ----------- .../portage-stable/virtual/ldb/ldb-2.11.0.ebuild | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/virtual/ldb/ldb-2.10.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/virtual/ldb/ldb-2.10.0.ebuild b/sdk_container/src/third_party/portage-stable/virtual/ldb/ldb-2.10.0.ebuild deleted file mode 100644 index 568d14f3777..00000000000 --- a/sdk_container/src/third_party/portage-stable/virtual/ldb/ldb-2.10.0.ebuild +++ /dev/null @@ -1,11 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Virtual for samba project's ldb" - -SLOT="0/2.10.0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86" - -RDEPEND="net-fs/samba:${SLOT}" diff --git a/sdk_container/src/third_party/portage-stable/virtual/ldb/ldb-2.11.0.ebuild b/sdk_container/src/third_party/portage-stable/virtual/ldb/ldb-2.11.0.ebuild index 2d385749e9e..b33c287c20e 100644 --- a/sdk_container/src/third_party/portage-stable/virtual/ldb/ldb-2.11.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/virtual/ldb/ldb-2.11.0.ebuild @@ -6,6 +6,6 @@ EAPI=8 DESCRIPTION="Virtual for samba project's ldb" SLOT="0/2.11.0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~sparc x86" RDEPEND="net-fs/samba:${SLOT}" From 541dbf25b275784fd97b5afd4e39faff060976c0 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:48 +0000 Subject: [PATCH 221/243] virtual/libudev: Sync with Gentoo It's from Gentoo commit 612914d2a780416363e64c7f3ac2158ff2d160c4. Signed-off-by: Flatcar Buildbot --- .../virtual/libudev/libudev-257.ebuild | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/virtual/libudev/libudev-257.ebuild diff --git a/sdk_container/src/third_party/portage-stable/virtual/libudev/libudev-257.ebuild b/sdk_container/src/third_party/portage-stable/virtual/libudev/libudev-257.ebuild new file mode 100644 index 00000000000..6801cef67ad --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/virtual/libudev/libudev-257.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-build + +DESCRIPTION="Virtual for libudev providers" + +SLOT="0/1" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +IUSE="systemd" + +RDEPEND=" + !systemd? ( >=sys-apps/systemd-utils-${PV}[udev,${MULTILIB_USEDEP}] ) + systemd? ( >=sys-apps/systemd-${PV}:0/2[${MULTILIB_USEDEP}] ) +" From 5d10e65889e40bc1098a13efc9f1d6f8a8874c9a Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:58 +0000 Subject: [PATCH 222/243] virtual/perl-Carp: Sync with Gentoo It's from Gentoo commit 168345b84de46b6435ee562cc76be2709b7e3dff. Signed-off-by: Flatcar Buildbot --- ...erl-Carp-1.540.0-r2.ebuild => perl-Carp-1.540.0-r3.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename sdk_container/src/third_party/portage-stable/virtual/perl-Carp/{perl-Carp-1.540.0-r2.ebuild => perl-Carp-1.540.0-r3.ebuild} (68%) diff --git a/sdk_container/src/third_party/portage-stable/virtual/perl-Carp/perl-Carp-1.540.0-r2.ebuild b/sdk_container/src/third_party/portage-stable/virtual/perl-Carp/perl-Carp-1.540.0-r3.ebuild similarity index 68% rename from sdk_container/src/third_party/portage-stable/virtual/perl-Carp/perl-Carp-1.540.0-r2.ebuild rename to sdk_container/src/third_party/portage-stable/virtual/perl-Carp/perl-Carp-1.540.0-r3.ebuild index f65834b444f..a1eeb391f91 100644 --- a/sdk_container/src/third_party/portage-stable/virtual/perl-Carp/perl-Carp-1.540.0-r2.ebuild +++ b/sdk_container/src/third_party/portage-stable/virtual/perl-Carp/perl-Carp-1.540.0-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" RDEPEND=" - || ( =dev-lang/perl-5.42* =dev-lang/perl-5.40* =dev-lang/perl-5.38* ~perl-core/${PN#perl-}-${PV} ) + || ( =dev-lang/perl-5.44* =dev-lang/perl-5.42* =dev-lang/perl-5.40* =dev-lang/perl-5.38* ~perl-core/${PN#perl-}-${PV} ) dev-lang/perl:= !perl-core/${PN#perl-}-${PV}-r999 From c187e602f90e7f4bd336c4e735e303f84115428e Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:58 +0000 Subject: [PATCH 223/243] virtual/perl-Encode: Sync with Gentoo It's from Gentoo commit e1d4ac4c50c75c923499ad5cb7dbead74e84fa11. Signed-off-by: Flatcar Buildbot --- .../perl-Encode/perl-Encode-3.240.0.ebuild | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/virtual/perl-Encode/perl-Encode-3.240.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/virtual/perl-Encode/perl-Encode-3.240.0.ebuild b/sdk_container/src/third_party/portage-stable/virtual/perl-Encode/perl-Encode-3.240.0.ebuild new file mode 100644 index 00000000000..7046096fead --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/virtual/perl-Encode/perl-Encode-3.240.0.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Virtual for ${PN#perl-}" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + || ( =dev-lang/perl-5.44* ~perl-core/${PN#perl-}-${PV} ) + dev-lang/perl:= + !perl-core/${PN#perl-}-${PV}-r999 +" From fdab540ca715dd8239c9fa2715abbdd8121f6091 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:59 +0000 Subject: [PATCH 224/243] virtual/perl-Exporter: Sync with Gentoo It's from Gentoo commit 0716c249b93a1f7ebf99b27c9cbe0f026b3b4dc6. Signed-off-by: Flatcar Buildbot --- ...xporter-5.790.0.ebuild => perl-Exporter-5.790.0-r1.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename sdk_container/src/third_party/portage-stable/virtual/perl-Exporter/{perl-Exporter-5.790.0.ebuild => perl-Exporter-5.790.0-r1.ebuild} (75%) diff --git a/sdk_container/src/third_party/portage-stable/virtual/perl-Exporter/perl-Exporter-5.790.0.ebuild b/sdk_container/src/third_party/portage-stable/virtual/perl-Exporter/perl-Exporter-5.790.0-r1.ebuild similarity index 75% rename from sdk_container/src/third_party/portage-stable/virtual/perl-Exporter/perl-Exporter-5.790.0.ebuild rename to sdk_container/src/third_party/portage-stable/virtual/perl-Exporter/perl-Exporter-5.790.0-r1.ebuild index 81e5def98b7..66b6d6e6be9 100644 --- a/sdk_container/src/third_party/portage-stable/virtual/perl-Exporter/perl-Exporter-5.790.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/virtual/perl-Exporter/perl-Exporter-5.790.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" RDEPEND=" - || ( =dev-lang/perl-5.42* ~perl-core/${PN#perl-}-${PV} ) + || ( =dev-lang/perl-5.44* =dev-lang/perl-5.42* ~perl-core/${PN#perl-}-${PV} ) dev-lang/perl:= !perl-core/${PN#perl-}-${PV}-r999 From 16cc6cca296bbc16492ba297b95f79fad02db78c Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:42:59 +0000 Subject: [PATCH 225/243] virtual/perl-ExtUtils-MakeMaker: Sync with Gentoo It's from Gentoo commit 972d8eb5c2ba108abf691c34ed6390f70d2b9f3f. Signed-off-by: Flatcar Buildbot --- .../perl-ExtUtils-MakeMaker-7.780.0.ebuild | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/virtual/perl-ExtUtils-MakeMaker/perl-ExtUtils-MakeMaker-7.780.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/virtual/perl-ExtUtils-MakeMaker/perl-ExtUtils-MakeMaker-7.780.0.ebuild b/sdk_container/src/third_party/portage-stable/virtual/perl-ExtUtils-MakeMaker/perl-ExtUtils-MakeMaker-7.780.0.ebuild new file mode 100644 index 00000000000..7046096fead --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/virtual/perl-ExtUtils-MakeMaker/perl-ExtUtils-MakeMaker-7.780.0.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Virtual for ${PN#perl-}" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" + +RDEPEND=" + || ( =dev-lang/perl-5.44* ~perl-core/${PN#perl-}-${PV} ) + dev-lang/perl:= + !perl-core/${PN#perl-}-${PV}-r999 +" From 83646273bc4729263cbb308e0f2087017d0e9af5 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 6 Jul 2026 08:43:10 +0000 Subject: [PATCH 226/243] x11-drivers/nvidia-drivers: Sync with Gentoo It's from Gentoo commit ca710fab419025bf44086eff9be091fc378faf92. Signed-off-by: Flatcar Buildbot --- .../x11-drivers/nvidia-drivers/Manifest | 40 +- .../nvidia-drivers/files/nvidia-610.conf | 44 ++ .../nvidia-drivers-470.256.02-r2.ebuild | 8 +- .../nvidia-drivers-535.309.01.ebuild | 8 +- .../nvidia-drivers-580.159.04.ebuild | 12 +- ...build => nvidia-drivers-580.173.02.ebuild} | 12 +- .../nvidia-drivers-595.44.09.ebuild | 10 +- .../nvidia-drivers-595.71.05.ebuild | 10 +- .../nvidia-drivers-595.80.ebuild | 556 +++++++++++++++++ .../nvidia-drivers-595.84.ebuild | 556 +++++++++++++++++ .../nvidia-drivers-610.43.02-r1.ebuild | 557 ++++++++++++++++++ 11 files changed, 1775 insertions(+), 38 deletions(-) create mode 100644 sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/files/nvidia-610.conf rename sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/{nvidia-drivers-580.159.03-r1.ebuild => nvidia-drivers-580.173.02.ebuild} (98%) create mode 100644 sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-595.80.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-595.84.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-610.43.02-r1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/Manifest b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/Manifest index 0756c9acf43..22b0d5ff489 100644 --- a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/Manifest +++ b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/Manifest @@ -1,47 +1,71 @@ DIST NVIDIA-Linux-aarch64-535.309.01.run 270033799 BLAKE2B 3f5ce5f024d0bb35707034f41211d0c60a3711643dbae8d8f29830c9029c9c66a1e232651c9a5b9c1fb699078ab6aef0c3f2df476a14eee7cd1258e0c8141971 SHA512 ee2f59716d06652dc9083376d758a1f1ba60a11139534d67c39d8b6a4abd2290017d97cc2c8b1ed8bf5ef659e075ccd1a546125a3ce57b6ddd61ada5ba7e6cf2 -DIST NVIDIA-Linux-aarch64-580.159.03.run 314175977 BLAKE2B 20b0446d8870c2a667f25d9d68c906bbe159bd5f2095c975fba468e1407448052467c32a9b6eb96e9073d3f2121420be4e3ff1173d26816d862dd026249baf2e SHA512 0213dff7afc53733ef0ec9d8d24b20f8f577aa3225470fa2b86bf74939075683eefa9cd12aef94b8239ba8366aacdec605ee13b8259da9a1393761d853c3e453 DIST NVIDIA-Linux-aarch64-580.159.04.run 313659746 BLAKE2B be22824e065d565301435cdb8d22139ae1a52654830c1350cf9bb43d1bb14294cf3e37e05fb4cc2c8e121cfd860b0221943b85ae4a96cff293803c0ec4c6b214 SHA512 2c23269305b59563924dfae85d4eb49a88bf391b77d5edf05026d33f4ff1b504b51847cae0404c6885dc543303889ae665e1c08258fc52737b7b610ec5135521 +DIST NVIDIA-Linux-aarch64-580.173.02.run 315169067 BLAKE2B 18864723e8f75cb84ee8edcb69213d03f9720760c5a89843abe78c43d1aae5923c9d7986573aae8d3fbc7a6d579f72d683fb78f90f87e62dd8ab24eac6ee04b5 SHA512 4bf8b21898c83fe31d1588c8f57d322584efb995b4d2706f8fd5029fe0f451b888046c439569c0d76b48fb279c11b3c4d20b57d37e9ee6da3b2ef4b050c0b40b DIST NVIDIA-Linux-aarch64-595.71.05.run 316744636 BLAKE2B 8a3c0179701342ef649cc9d247688cd6ae3a6be88920830ca8f81dd7b2e1862e497164698acf484bb145b04002e3903b1aa8116abd4530c7200f0d9ae525159c SHA512 a2d4ee2c260e34c16b7e04e9dbbe3a8ca486279e7743fb2b95ffa02cedb5e42ad7c5dc4c26fead86cd3a7d7ccf7467439d93691e0e0ce66e8425e622a07bf050 +DIST NVIDIA-Linux-aarch64-595.80.run 317098210 BLAKE2B b7857052b4d03b7e041f2dc364c3a257bef711f2e6c094be441236449f1b0f9a099002024437521ecf0b4299997ed816b096f22ee78ec25f8a60222a2255ba08 SHA512 2d5a7b21199223f7b5f41a64c05155586cda9e54e9444c2602c742442bfb278653db8f282e705dddd5f5774e25b5e4e3ff4b24acd5137d9e28ce4f569a1d63dc +DIST NVIDIA-Linux-aarch64-595.84.run 317751308 BLAKE2B b8682656e2fd75878b8990acf1d056d52bd4cd81e70d90928575e26e3fb93b21cbdc18aeed3b75eb0d2d40fe87584c29f93ea32087045ce532b188334c021085 SHA512 089eebe32cf97108514948edbbf2bc6e3bb73afb5e8ce9a8300b1d1c0a85f5b014f9910874be24fe41f58d7b232538668204eef0aecef222d0739b4011b1b043 +DIST NVIDIA-Linux-aarch64-610.43.02.run 354603118 BLAKE2B 2db0cb1fb486d3919edccf0047d1db4f0feb8258103016995aac8314dcb1408807cd029bcdb33570ac729c9c23a984f94ad17fa894ef48554a7e6f273011de02 SHA512 fe44af192ec259793b2f05e53da25481fae5a9fe01131b3b4f7893858c9f788b5d031cd83b7439bf3f1ee1be48c629548d61d8f611153324ba5b46583846a1a4 DIST NVIDIA-Linux-x86-390.157.run 49417041 BLAKE2B 435b5e0e60468cc74b41cc5d9b5bb0105d29c11a2d408457835212a96519c9334ecf19278b36749d3ff7f498f5b0ae45a2efae2d428703dac21245c62f1efebe SHA512 dae9ac2c12f9ad90f7441e00e01a984147c577892421911d7f67f6a31e616ac1cb7d434bc9c7f58fbd9b8ae909521b5bece607a63c79588c0bb9d99c6bad5fb0 DIST NVIDIA-Linux-x86_64-390.157.run 85835541 BLAKE2B 44b855cd11f3b2f231f9fb90492ae2e67a67ea3ea83c413e7c90956d38c9730a8bd0321281ae03c6afce633d102f5b499aed25622b9bfd31bdd2c98f0717e95b SHA512 4780503a4cff0180b1b1f37d20a6ba3438dd78b51fa7f69b98d35521835e5d61099129746929d51d63afa2d47b672b3e145e1e1897584dc3799e7f822c5b3a0a DIST NVIDIA-Linux-x86_64-470.256.02.run 272850014 BLAKE2B 0fdc867f92b82b2a60810c3b43751cad7ac2c39928c92c6c343c0c6044f4d7d923d93b8599db3f7c999c0ee7d16940e65d991a61cbb30e1d9e49c5639ac6bdc8 SHA512 a837946dd24d7945c1962a695f1f31965f3ceb6927f52cd08fd51b8db138b7a888bbeab69243f5c8468a7bd7ccd47f5dbdb48a1ca81264866c1ebb7d88628f88 DIST NVIDIA-Linux-x86_64-535.309.01.run 341945818 BLAKE2B dc7bca19eee348648ed6ded096ed9eedc953d7e5be84bb812baf98230096c9f3a92421abb9adfcd0c257dc63a31d9f4fe4a02c7bdc4be65975229941fc39fa5a SHA512 16a505fb053d514b98bed816559279cbe2962eef8a3d64cce7aaf859b2d27602ac9018bb099a56ab4223532f70e00984e5468a4ba9c2914dc68dcbe0d8b2d64d -DIST NVIDIA-Linux-x86_64-580.159.03.run 398016015 BLAKE2B 6ac3bb48c17bdd9a143fd3483913784d14cc7fb7120b20c0d74de7aebb9569c945d693af4e7c2e2f50fca97e67c26ac91e4943d21ff636a30e372888cff02d94 SHA512 658c7bee6289f9e3d4d04fabc9fee5692ec2a61242d05dddbad61d5d667fbc47ea2cb57802079b6f139c240d9119da4b462548a79a03483dfac53de797ffb5cf DIST NVIDIA-Linux-x86_64-580.159.04.run 397162548 BLAKE2B ee0dd051341955d8eab23a12b4a1b81a4977346b2324db175522c07e252ac6c9cea179810ba1535095796ad89ccd92826506dc73954496130249b1c355cb4288 SHA512 50cc5f58ef733f8f196c71dd7b7756fc1e2f163533d9333af4341aa1379b4b68fe5a4afc5698494b2e0928fc970e902d32e6e3f8f6795d03657842c1c6434fe4 +DIST NVIDIA-Linux-x86_64-580.173.02.run 398312209 BLAKE2B 8d5c322fc8267fabf4096d649bf2e98b0e844ec74430dd8a4a2c0bf08e4e5fd209524639a0f1578a953216ae5b16a34dd6a349fa5a83059fb608a69e2bdd0125 SHA512 ca394b1e3f6c3403dc7ffe5d5fd7301bb06607fdbf75c9ffd338d7641c06d1878790c629108162adf4289ae829568973a48b7557183dbf7588e668f6d8edf3b3 DIST NVIDIA-Linux-x86_64-595.44.09.run 423549686 BLAKE2B eb3f959b4103895db808743f6986036a275689fabadeb16be5f9e496ccc7a963447568c8d8b248ca9bd2e8843e32c676a4e63d360dcfbde5df7a32405284b59b SHA512 835f22e562d0ac362473cd6425a9065a05a360d6c9d85e4973d34e2005468b75e177283cac8140c725f5146db3e748065eb9b93787936692fd54a8ab80939f9b DIST NVIDIA-Linux-x86_64-595.71.05.run 423133031 BLAKE2B 770af0e6228c300de069b2e87467d030d199dcd9f9c6e32c583291eaac7196974f72f1e25902b8e38056897cff99f845adf73e3eab6dedfce8339b21b76b1042 SHA512 75d22994ba963223300d3c57fdc05803ddf7d8630fb5aee3ba92017d6f614e4a7019dc09f0f02b02ec28d6d5607e284d4e6de2cd506eeda604f75a2d4177028a +DIST NVIDIA-Linux-x86_64-595.80.run 423049323 BLAKE2B 8713689690a3e8144f82e83bfb1df0db7b4a4276b5580ddf47c970590b2a211dfd7171f3fdb3eaa66e16b56e87667ceb48a8549d832518874a99d9ab45425879 SHA512 2294c8e1f2d6a3bbc116bf6b2a4c84b26c23c4c1f413ff86259c2aff1ac2f0f66a44350b0c796dd66438b0013b3e8f3a8f15d3513f4876c104a6d570b68b649a +DIST NVIDIA-Linux-x86_64-595.84.run 423524924 BLAKE2B 0ec68935d5e79097aaee1a85b6d69a4cfa6d8186fae2a449380c5c24497849b2940e525084db9bb74f12392d2da92ee1ac624098d3618277f4fcef51994cdfa4 SHA512 37df09d4cb711e6c46e03dfdd549c07e2d3f88aef23e89db468e92200e57895083bbed86491f4c519da61ba9b21f82d8cf74c8c95bba066812c253111ae39614 +DIST NVIDIA-Linux-x86_64-610.43.02.run 461616501 BLAKE2B 9b55b3e7fd756c1979ce86901654bab5cb05680b7ea525c7fc3c22f2d200cd3fdbec1eaac435cfb9cbe036e6659a97e4edcac79275de8b3803dcd673f20f0110 SHA512 aa626828964bd9b68dffd07865d2fb05de09b0fe944d6ff8af20412601fc72459186eee580e290c379e1a2b74f8e88c6ee406016814850952cf9330e64ab3032 DIST NVIDIA-kernel-module-source-535.309.01.tar.xz 12537052 BLAKE2B 2bff6a129c7c407de95d140fefefd50c266c7c8dcf938a71690545cff65b3502872645e79d47f9091deac54b7e140bd93a321b18af0b9cb24ca958f033461c53 SHA512 5bd08038823f3f9c39307b441cadc6231d71195adf1835f33e5af794df24be8abed83d3b246edbf5cbaae2379b52ecdd5c975c722001e19fc96054528bada773 -DIST NVIDIA-kernel-module-source-580.159.03.tar.xz 22253960 BLAKE2B 31245291564c734c5facc49e866b345f92d4fc08baabda4a9d49ea2073e62fbcbae9f4a39dfb430533ed0bef2acbf36d4546d9cce3a3da582b2cfbaed0ddfbce SHA512 8deb20e9d5b65cc9d701cacf1470187dd72765a291ff6c7ed3b6c6dda32287271befbb88d0bb6cab736958eca96b4e093182848274ca2cfd901ae65bcac06abf DIST NVIDIA-kernel-module-source-580.159.04.tar.xz 22255440 BLAKE2B b293f941ead331674b235a6d75961b13eb488c306e22a2afb50cfaa965e65fc0768cb9642fc82a16ce1b6383ccf7c252b729ec305a39db3dec38284e4fb7191b SHA512 f0ef07705510aad25344b51129c2a62d6a36a0eac02e5a60b36dc47c88cfb91d875e0298369c3bca97208deccd3f2f0d1a595abf9e01b6433bf194c778f134e9 +DIST NVIDIA-kernel-module-source-580.173.02.tar.xz 22260432 BLAKE2B 523f7cdbbc3819897358b120cd92f2f07499f5a72d0a82222aa4a9f788681223a28e895df8fb332edd4b556f79cb73ff16485eef8eebf9ea0a5254563095b55c SHA512 8af3226a43eda8c03e8773d6efe080e0cf85aecbab121d7b29cd82ab0cb13bdbb3b9b239827faef27b1e12c92b6b7bc77129b17537c715ddc020574c5fa4c45e DIST NVIDIA-kernel-module-source-595.71.05.tar.xz 23778996 BLAKE2B 45361ac9830c16c748688545501124647859c247c5cf7dc6ab4508fe614425715c7299cf88728a3da4111c7fbf6f9eab8a1c77b039ebd868dc7a6367b5e97ff8 SHA512 dc417fd79ac6fa388e8c66ecb55e8207ddf19f4f98b5a04a574aad9a100753e9930e29cae08c4d36721cf56863b107ace4695207c6c91f4a831ebc3f0108e1cf +DIST NVIDIA-kernel-module-source-595.80.tar.xz 23777372 BLAKE2B 1bfd80d07a12f5224b232e2cfcbc4b5ae04cbf1cbd6411d1e5c67ea71dca2c90b615355c9fd664ba94c11fd120b84340baf7ea68357c3faaec40f73e0d3f6668 SHA512 2ca3461e120af359abc1943ab5c64a71333586d45702db195697329834c6da9e11dd908a180f6bab4905b5492acdea42fb77cdd4126d25e67e0947c8e154fd60 +DIST NVIDIA-kernel-module-source-595.84.tar.xz 23771064 BLAKE2B ab49047db5a5f0d8ce9387a1c963d929cf77b28b9ba0348401d54dbd85b0747593efb860bb81edcd51807bd2075d7b887b9f5992a81cbecaaac99bccc5c9f238 SHA512 fcd7f3e0bcfef8f661e092e3b64a8c2f0635b1262819ed0502a84c6749714a77eaf5b14a137be877428c9053aea4ea497a3ffecba1692ee562ff6b888404eb86 +DIST NVIDIA-kernel-module-source-610.43.02.tar.xz 26167288 BLAKE2B e87b46ff8f33cbe1262cd230012d0f2694194a7c16824a671817d212e1b93c8b3a31d35db75f9b0399693c1f2b6030b99f2f0af70d9c83c3ab9cd1c24e7d90f8 SHA512 a7bead484b396ffb34468d3d94dd87c9d9133a084b0219a275516d9c726a47550b66eb5f80ab71b04db27614c411f102402f66714d8a933fe234c2b3a2776b5e DIST nvidia-installer-390.157.tar.bz2 150323 BLAKE2B 8058ca87a6dea956d564af9f7eab9b1fc82b1f2382bd5cb2f6d97cbe2e19292533522d5f8f2eacbeb16520372715fcb72f8f9b0998962af5d4e75522c8d74524 SHA512 93a7ece648602157496c8e27a88864ede341a100f5328a4c1a25faf8f0b94d252060e5e2f71d0c302fd0566c10773c30b76b3b5f431d8039b71c90a7969f7d7e DIST nvidia-installer-470.256.02.tar.bz2 146269 BLAKE2B 4402e725c8fd0157eb84d4ec140a33f97e873014577487ef1e32fb8921cabe79c60ff46532e5bfaabb2b6ac894f7c80086dbab19e61906e2e27346fb85f98829 SHA512 c962dc17d9696256d1ebedcaeb3010994f2ce3895aedc47987599ebfec132a9b9a249d2ece6502b15bd4a93f9b0106aa13487a7da5f64199c274ce11eba27cfd DIST nvidia-installer-535.309.01.tar.bz2 149086 BLAKE2B 14ed4eed4d3f998bf3c93d7cdcca8748bad9fa4751b81d193ce00dbd9694b9ae38fa865a2e82c5ec78ba58f10a73c0d5120b5aa2069cd418b9d423c3da592aab SHA512 e4a362fc0980e34c984be811570fac7b2b0ace3a7105643f8b3d15122cbc6fb9988d017e22a72659dba40588638b60eaf243bd228a386e8d2d12db0f50f42f0a -DIST nvidia-installer-580.159.03.tar.bz2 169966 BLAKE2B 9f723b18796de0c34eef130e5bd854f55d310351fc13891041d01a55a0b79d2a69e4b36be9dc9d8216442819399b93ab7f4f2581a66ded2de2994b1a4e132018 SHA512 3da64f9039466b95910bc165473d5f6e39bd48ac5c8aef6ab3b196f6054cc177e2182aebc532a285f076b2d277982346cedcd952c3a5487a617bc85db2b351f5 DIST nvidia-installer-580.159.04.tar.bz2 169644 BLAKE2B f01f9da4e7e3ed6524f586706a7167746c88e7033d61d7ee459408748c0eaf75b236667e7177baae282c1e4ac0896abe9ab2e6796ba2638b2db6ad074646eff0 SHA512 00d11f80b8f410d8110a8450ea56a653a5a223bb1e728382e63312121d3926985c815019dc9cd0659ed97ce824f0c29d67d1188b41f1a3120e25881f1403ddce +DIST nvidia-installer-580.173.02.tar.bz2 170003 BLAKE2B 05229520744fd6ab0b57632f7e62aad39737fd8239a32900a19a3844fabf1c3d511a74fc8b9ef702a06fcabb1cad8f8c1f0c1bc739ea7058504338da22536e8e SHA512 262595d41c02a2129d90c077b96b43eaf81d2f6257a00cfd61d6cebab3d645f34de08086a3a6dc897273498a33289f2fa5b552759e1963e25cef85fa2b2c2b90 DIST nvidia-installer-595.71.05.tar.bz2 172399 BLAKE2B fda7ec136805aa7e481162af171206c3e6dd8c641fc60910f1336895b87ec1e4ab7469456d3fe96ec18f763df3ab158e7c707edb89833a628fe24e69ad97080a SHA512 08ebd56a639cad608db8a82cccfc386cad4f2dadb7a01a7318f5cd70b0428e0d62fc51cf6c8fef16d567c226f5cc83c8905fb3bc36404abbc5a6bf36c0b26403 +DIST nvidia-installer-595.80.tar.bz2 172439 BLAKE2B 10b59538c6645a7a6c2ced03bf38f2fabec1cbbf8c6e915240551fcf3217333da0260fc4d50b9ba817a721c49dcf5902a3e32a1de261c1a9d20d2a2afe443bd1 SHA512 17ea2123805458470e463ceef2bc37cab5e22e55e43040ca6d6862acd036ae23c647c2c05fa9eab4eac5a8462fe38a9502648d6720bc3065f75a826fd5208ea5 +DIST nvidia-installer-595.84.tar.bz2 172347 BLAKE2B 4fa015bc1807b6b8379cfc03a34daeba74c8a0a942822546aede7199d486ba2a78bd74976f2d67b4a893025321fb063956ea61df51dc4d59ab28ce71ba0723b8 SHA512 517361cf25ed0640cb8715b3c523004b0ca6539e2e8c54253198c4890c7268324386d1f0f1ebe321c6062052493e8306167ffe80da075d25cc52b039ef4c39e1 +DIST nvidia-installer-610.43.02.tar.bz2 171883 BLAKE2B 7de020021d83b8283c1603bd7351113ff11444db7922593d956589473bef46a0b408208b3aabdb08314880310637c3b0149d30b7547c9973d2fd806fa3d7b946 SHA512 26e43710517192883f41586fbd3806e71e5648bd3f9a531d27d3a4ffb114ee803940d6e1e05d86eb853f69217c4a158d00dc4b7b410828e25856c4ade5ef5bad DIST nvidia-modprobe-390.157.tar.bz2 35306 BLAKE2B 80d202b39c2f95ec0f909712c2e101483af50124092c32efb33bd98ff58ddfb97b737ff07f1ddc941f688c1b4c26a15f392566d522e18506771f10422fcd571c SHA512 109bbe24a3758b568ea65fe1e9d78f69fae6108ec0497b796c885a3912825fe04ffd7389a3e22987f1a10a2926bf6eaa384faabc59478aa3ee244dd3ac91c6d3 DIST nvidia-modprobe-470.256.02.tar.bz2 38769 BLAKE2B 0db444b09b0b6d24c04877fae95249e781d82b3141f90eb05d869b64d2b6e65ad00bf44c4e427c64dbd4765fa99a8699f80a1d95b00c66137a54dc878d7ea298 SHA512 c1cbfa6c8e188e5a5eb5d390b9a903406cbff103d212fc30e611e4023be3fde896ad84e8bb45b030beb5d1bcd8155c9e55a8f9636c45ce1e2a5c03f672989a31 DIST nvidia-modprobe-535.309.01.tar.bz2 40756 BLAKE2B 4c8d41c3f8d811155aad952e7120bed92e44d50e6af3551396f4be73f733f64b72d76d670676adc957efcf4c0e05df6473ca50a7cd378e56a0da52f8dfb2246e SHA512 b39f282034320836cc4424901d0230b5bdeb72050f18e0d024715a89b0085fe5a420ca82425ded4218a25ee3f7e8f6fa1abb37ac37843eb1b9e35aa8a2657a66 -DIST nvidia-modprobe-580.159.03.tar.bz2 41685 BLAKE2B b8df703c509987538e979ed1d65131004dfd2eea3b4d4a9a98c2784a13523f8ea55fda24fb9d3f04a1bcad04d8726ffceb4f5abe9eb19f50fee5c91f8f1db99c SHA512 09d4d1b0474bb35a0e64f6a6b550096b7e5c18bc1746300211d829bc6ef503b301b2ca8909057cbfcd8585a9969ea807ab746bc253ccf2f5f2cc5ec263a989d6 DIST nvidia-modprobe-580.159.04.tar.bz2 41688 BLAKE2B 4600a5ec3428d0340e4268c7b191c5cc872680e3b7cfb2d3886c05b3d9706295b276cea6a957bc5263a21d7e9a60a18f8986efa1f88a9b13d9f22c3b2534bcff SHA512 9577d291a23e8044a1d8caedd5c9a7d900698b7d53f9a2373c9e38a313be0846d7e4965fdecb081d18144f01216159c4bcae7c0741d3210c7e9d8b0f42d91099 +DIST nvidia-modprobe-580.173.02.tar.bz2 41711 BLAKE2B 4524b0a7c8928c3c9a76b3190adc7e1886fa769a55ba824a6970776b1c28d603bd42125d190e8b0aae603f5d2e5786813c58b538d564894e4c4012de0f0ec348 SHA512 54848c4d7c95f66d6c892716615e6ff4a4ac9c94ae822d8124030d82a792aacfb3a32e9b84dce6297cb95efd66de94dfb967f34769476d0b50f91aa83aa3aa9d DIST nvidia-modprobe-595.71.05.tar.bz2 41724 BLAKE2B 23a0fd55e50106341a4196af7bca568c96555c6b0583ae41b860ac73ed4cd6d5222709a88768662fd18a2e4f7686ff092e5603497af71ea7dcbebaf50235c54e SHA512 97fa81a96884f4c2fa6ecdb86d513121b00e8bc955b9bea0947c8ab34271a016458e405df451fb6340e4b8243572980b5e7a4f24af2775310d3cae35a1bcee0b +DIST nvidia-modprobe-595.80.tar.bz2 41701 BLAKE2B 68c12da5284a27a0c5bcdf96e7b791a16fd80e0c425ac51bb42c9b2172f215adc311844f7eec534af928bb25265a480c591d077aa8c2a5352739c8f27335814b SHA512 779c1dc3b4505c197cd6e667225c60445938c9fe6fc1f4914e50755c58c6e9ac7fef51be8b59c7b66d17fdf463b7d87379b48b40a5002604cab6a88e963369c7 +DIST nvidia-modprobe-595.84.tar.bz2 41672 BLAKE2B 0a19de7d2ff1ed81a5bc1ccdf1dc54d2baf192a18bb998ccc9f5aaae2979282a6dd58dac044536bcbd0335036e65fbdfab452a8781c72c2fb0891390037f543b SHA512 96e77e20515121aeac85b1bbcdfcdf12a9dace2335e63ae6a85e6a687e102324c2740e8a6af7fd727a5eee169a26e457eb0b727dcead99a45efbd1b981375753 +DIST nvidia-modprobe-610.43.02.tar.bz2 41751 BLAKE2B 2fc6e0077633acba025ad9728f002f283dcaa4b3ff2802e63e53073f3fd54f4e955d62bea5e0677e9f8a4eef771f0bb35bc4d728e96eb0356eb335ecb9e0c9e5 SHA512 c94f4c820744c183b8584e1b74e2e6f50c752fde52ab133055999c1eedc5096e0d2788ee1bd7476b959c243df1ff6ebb5fae5c56e92f87b99573f2e52ec75ed5 DIST nvidia-persistenced-390.157.tar.bz2 48654 BLAKE2B 2cf6c92da90acff55e8c180a06b0c6a29d48be9fd8ca3c541202fd14f0697220fba6b66452942aa7ae7cc8821f5c5eb9fa8f7a31d2248624e5f9141d83a176b8 SHA512 70f0707ed6f2b877e69ef90cf782f66cbc9d2071db53ca09ceb7b89427b0fe176708517340621fa251539b7d481b238adeeb60261674eed74de1f62db6dbb72e DIST nvidia-persistenced-470.256.02.tar.bz2 46567 BLAKE2B 8f837322a3b88412fd2f6acf38721b49a6cb444fbd842d652519e5596f2e545d8f06bbdf017f46a22301ce87455f96147fab2829ca5fbf26131ec3e4a772e282 SHA512 4fd19258649b7d39945fb5c8578bf11ab118617dd14f3d11cdf15cb3fe77daf7b4719e4ae57af59031b1b809d02f4e8e8afed0ec60b9d0aed4d2488bd3013cd9 DIST nvidia-persistenced-535.309.01.tar.bz2 48569 BLAKE2B 5756b1335d6a1932529babcc401de4f544ea18dd6da271fde258ba046c98584fc736f211e4c5ac485eab70a6d1717b5aac3cb15f818cbf9eda29a64151fbcdf1 SHA512 e49631fbbc1466820c87fe9a7538b7dfaed512690d1b14e4482bfb471c4e144c62d0f2df5bc8dd3aae443475278b0aa1ab9cbe27059a38fce9b82212477b87b1 -DIST nvidia-persistenced-580.159.03.tar.bz2 62211 BLAKE2B be8d6afa3cc3439ce1ff84b4f9100c81247e75572e15f12882f65763497628427b0ccc7b460b95b5c287d9b5170f1917989450277b5d33b1f221745806d4d3e4 SHA512 e81b6eeea182fea9b041d6e7e205332801926c810efd0c32cacbdb23a1d949ac127cb6646e9ac6119fde0a270a882ad3937b79fe0cf5e1cecb342d02e3ffd016 DIST nvidia-persistenced-580.159.04.tar.bz2 62225 BLAKE2B 2d3b4585c9fa0a9b367c73c204f5350088971690fe98019840405645fc90020c6c1a6e985049b191df796f07784604e97337ef9c39311554cfb05353c1429204 SHA512 057537c1641ef3a4d9f594371ee01c4a0fe821561969cd5c1557bdd8c6b4319aaee02cf6bc583f20e47102ecb8fed99666269c5398e31d17024aa0a299505830 +DIST nvidia-persistenced-580.173.02.tar.bz2 62225 BLAKE2B e8f1111175e0447910aebbfce1309c1df1c92c655a957e06ff18fb932b75bbaf42f1b23d5d5507cf87c84e750f8402564daa0400d9203483e493b8c7067221c9 SHA512 9b007c430a92137a914b7b977bc142ad8367e26880102ecf51acc153ecf061c369c94b8dbb87bb23cde5b870aeb31139702a544e7547e00e75bacec4b4a39876 DIST nvidia-persistenced-595.71.05.tar.bz2 62538 BLAKE2B ebf86357c81689d553d0f1f8a602932ec466781f81402a9bcfd1d4155de6ceaa795dec0ae0b9937b3e02ba2605cc11849bad36847df30aae673fbccb52bc2e3a SHA512 a3fa79468d7b3e8eccfab4f52a6e9240e3d65dec9454a10d350f45e5c27781922bc7ceffcbe6d40d9cf63694d84b4a7678c1f1268b72b821f08d22bbd05f7a78 +DIST nvidia-persistenced-595.80.tar.bz2 62512 BLAKE2B 854263b23e7445993eacfaffee7ffd40ab8681dabfb32706a8adb70d6fd66a2b2cdb8ce4947693617397b1e5347017d27bfb4c6ea059ad4ac3abd08d185407ce SHA512 aaad09d17534017a521120673f556a32b492884c8ba49cd5d6229be5e043e8a412699125692ba9d99a2e7a8fad44af4053a2b3bceca3af04c098bb7fec1a08f3 +DIST nvidia-persistenced-595.84.tar.bz2 62533 BLAKE2B 8cd22cb3365987059831b4f319301ee09ec61d78d4ebea9b68719902df95d30aad75a903c0c67048cb9a6b62b8160f3b8448ee1e16b2c80d0c4d200f1c949fb1 SHA512 cf418360022e1ff350c31ff2464e3af43a1ce4b2162da61b56ab0a097cfdd0257f5f7214d6b456d622bbe76c0ad13a3c3a9d50d4f782b08bd675424b3d1e360c +DIST nvidia-persistenced-610.43.02.tar.bz2 63333 BLAKE2B 5b844724f4eb06b23b4844915541f1ee9564d7a377801fdfcbec56b5fb2411b93a526f89a62057fb645d9cb9a45d0ad62fe72353dea818fc2259fec6fbcfed92 SHA512 63075e7ad5f7bd99ccbdc5f83044e977a5856a2a0e27c8342f15a2163c47d70378ddcca7a97641ac6cc43a13595a6a7c0cbb8bc610b4ca99e1c4592520482d19 DIST nvidia-settings-390.157.tar.bz2 1108938 BLAKE2B d9ec1ab5d7f157d74627272adf752a671dd17e2ede02069437b6180b927fe315b15cc6416d584ab2f038b76fe01e5b64514a834f24d88ac16676e55205fdecdd SHA512 b16699009bf56a1ff3b623a528c58061c4f5a2c5c4a373756a07bcd667743a1df7c733a572d2d0baa835a904ac2fda8a5c85890dcc00c3a0f223e0467aea902d DIST nvidia-settings-470.256.02.tar.bz2 1062273 BLAKE2B 8e66201e7861469b12932595ef8f9fd29d4cfd570c2576ae7fbb7383f61c55ac71fe721cc431e79d6d69f86d998b5b4c3cafe531b573f439e6b499b0fc047a19 SHA512 626e66118ae2e62eacfdf44e37529c409b945a6f33637b9690d74abd87a2afb581aaca5f90328d280da99ceb659959d0e5dc5c22ef8013b2205b2b1c72e08007 DIST nvidia-settings-535.309.01.tar.bz2 1094768 BLAKE2B 6a951e7e8e1ccd968a0727d2c8aa5008044d789dac5002f148930ba7ceb07cd3caa59f265c818392a7fd996bf0418729be349bbc1ea0b8870b1a38f5fa9470f1 SHA512 d0d62c3abffe52ad65585f6e88b894efa07cfb9918d2cb628b771d4d8a40149d9097ad7cb66b01a9bc0b4067e63540f2bd67412fe52105348bcca60955f228c8 -DIST nvidia-settings-580.159.03.tar.bz2 1133196 BLAKE2B c36b3e8333eb325b74152a6fbb3f5e5d001b306ea1c6cf9ed9b8c61479f4d0d72b8fca4b7372cef1b66f06b94e7d20e5b69da61a2e0b16f918df504607a3e7dd SHA512 e50ff8850e4405ea7ad8f5725b4787b3c6166b90585b098270e277c45625f4540ae7ef00a460f1eb6da694fbfdd29fb9ec9ad82c797931106db5dfee40a3edd0 DIST nvidia-settings-580.159.04.tar.bz2 1133196 BLAKE2B ebe947f523301a612f3bc87c9d38659052158d6e421339e12a879b6e854f0778a6166b91e71d0e4638961d63eb983e0bd899b9cecc45433b51bd04d010c38319 SHA512 edb4def04272bc663a47ad117e67a91f0b6719bb3a8b6d0c85758275767b945bf430ea025828c9fd121550546f65d253b5c54792c2151090b6ad0e7ae9d02c75 +DIST nvidia-settings-580.173.02.tar.bz2 1133131 BLAKE2B 393e2be8551db1b8c509c446f76086681a89d7dcec3670552cda8b5e84af78a9e091600727a5f0950c78866b282d8f9dc4ba51b85bcc7707288eee9d46c89404 SHA512 4ccb991fa522d5e2833480722bc741905d0abe1226f96f8a2e2a51c99ab1137cf7f5564b50cc55115b3fd535345b11b7bd07fe74c7e356f93b0082b04e880211 DIST nvidia-settings-595.71.05.tar.bz2 1136100 BLAKE2B 8b0af1e7a81b63042c762794c2f8f3094b40c4a9fc845dae9c39b63c02c613ce6893cb2451806ba775df8128b498259435ad49dd4ea27dafccf0c6c7bfcfda6c SHA512 8f7286863e1306cb50860f83aca046bf4743d3c8c72ddb9e6461e240bb741aa7c03e795081d821808832923ba0e736a4676cf137c84adc8ea770c6d0a28d8dc5 +DIST nvidia-settings-595.80.tar.bz2 1136230 BLAKE2B de34d8594c1f5e888e7c941aab1a3222233b56f565559c7a3e96fd8c605390ffd4bba05f319ae9d584b216d7f032d63c86fffa320ebfe52756a986fe5a69ab28 SHA512 46529e60f24ee97f20eba30d242070bbb57599daa7b440c41d7477c8ec2047702367d1e771a722cb69d240185837e9f6b93171ad7013c6c55b691d9c411b8dbb +DIST nvidia-settings-595.84.tar.bz2 1136429 BLAKE2B 2faf98fb0bf6f0f5a07935ecd07dae44c15826f0f41e3221192811e2271d772879577dcc0d547d0aad7960574b999d8f977a22382484ba8df646499a212f3c62 SHA512 ebb79d0bc79d284711e388dbf9c818eaddf18ad9d7e41eecb4e5087a43fc2636b62922960547668274fa3832961f1f7030647bc9c3280a9f3e1e73d8175c8b1c +DIST nvidia-settings-610.43.02.tar.bz2 1138293 BLAKE2B 4d0931334d14b60ed8cf113d1a74d321c12edd1fb2f62c23683f392931f7b65779c9539148e20a9e259d4e2f9d6a6fd2249265e93edf81e49bec25291e174d4b SHA512 e4a5a5ba6f5858f786c98d6bca4f416f0fb160beb0a5329b80d5d03378d68d623e69ed0fea29de81a16b7d819c9e57007d2e690b7dc890cccc04b6298c86f9b7 DIST nvidia-xconfig-390.157.tar.bz2 107399 BLAKE2B 0cbb3b1ba508ddc3ba4a161c290b31bf7a67f67880bdbd01171a962c5fa97ca945b1ef17932403f8589309380743f1da632c728d8accb6d4e56dbd895e7486bb SHA512 50b390811c9bf091b14add41f886925b17496b41006b7d3981d2398caa65cf5db8a579c8cebed78278384bf3acc629befb07b54339c61abcc75852c0dcb8b8ca DIST nvidia-xconfig-470.256.02.tar.bz2 108698 BLAKE2B e468574e4bc57e7279d4120e2b08a201671b50d408be0c530eabe5da7d45daaf21cbf5c7fa31410d0d732fe8ea1551cbfb21d1ae193c1b3f5b5c50c764c9e236 SHA512 9dcec1e0c2b56b4d38a5f2c76086302f8bc0860cc15012cce29c3a5062f801a48b6a2bb78344361b07a2717b58502783441a2daf402d9973a17526175b1f15ca DIST nvidia-xconfig-535.309.01.tar.bz2 111085 BLAKE2B 7a2f55989f93bbfecef0ae0c76113b42cc79c3fefce12f3becb2c3722978115b2408efefa63845ef2f9ef7563f9ce79c5a9cafcc3de4f70605f34aae44d485f5 SHA512 710f279b6e4ac143c39344c44cda5950777c613f193170a76fa948def5a13b5b9177b44651e3b46a2630e7f420a9189671042f76b88c14a31ba6f6dcd78fdb7d -DIST nvidia-xconfig-580.159.03.tar.bz2 111535 BLAKE2B 5ae167c6aae8596e89f1b254ed8cc4c21d20ca4d1ac4d238c79d64458324d5910e9d66b29d8079d9eaa771b2cdc15af3685ac224cf9d1f69dd471838edff783c SHA512 2d34928a5b5f419090742a6592e8c07bbcfc05b037af125c0f20d1267b8685e5a0d4bd8a039192c158579c39c08ac2c49e362d170009db02ba11835f1d8268d1 DIST nvidia-xconfig-580.159.04.tar.bz2 111540 BLAKE2B 95cfd0c4af5e2d171e39c1e53e225ec92cf5ac9ce3c9953c9e558f08a67e314030f5a2b4618706ffd6e598f314eab45b4d3087a8896222dcbf6c1a4b73a2debb SHA512 878a37240de42baf2f9a453cb3f5aaf0a6029cb1f00b3b1567c9e25175a2e1118b5266965163296eba0b39a9e01137b9d815ed29d4dd67f1ee43d5905b373d98 +DIST nvidia-xconfig-580.173.02.tar.bz2 111531 BLAKE2B f0825338455d511bd2a273e7094c9ed7f1f9e21d7fa24c761d241d2db45e8179cc43d2d6888713aaecc866cc1a0c37e2c35e5f7d9b62af5771db1109f35008f7 SHA512 54a1962fa3ba710ca67e38829f12fa6f6128f45d17e5a0a7a1cca47ca6190caf9c9460459a21549d4ccfe71bc0062769818fb824a218d46e284d2b5011f5abfc DIST nvidia-xconfig-595.71.05.tar.bz2 111096 BLAKE2B 8b6f7e043319577f0b21780cc88ce189b99123ee079a4e5188e7c12d7d2859776f5d47efc1625ba70542df300ba88bf555e8d4638816322966d04c9a316b5a56 SHA512 bf705b1916633d8dfd4742d94358607901bc843f1280954391d9ee7be98da36f0f895811057b8666f59ab3b850bc6e5bb2bf80a88923827497cf0b5a852db6fa +DIST nvidia-xconfig-595.80.tar.bz2 110917 BLAKE2B 93b78ac4de45b63ccc7fe16008631abbdaea30cc3e7b5958a2ae54e0a95ab1f492edd00c53af3d543895b3fb9a5f329013b6cb1abb091d778346ad0c1dd4bc0c SHA512 eb2a9221face01763807ee4ee6198f549e89b3f1c8faf37711c7c424503d0e4c8ff70bbf7d487264b9d745d75ed3e55af5d41001b783dedb3cafd8328b76d851 +DIST nvidia-xconfig-595.84.tar.bz2 111532 BLAKE2B c76bb3b2bbbfdb2b9b670c395a721bc546a66619b127d943ff2ba568f2243cdf048ab271cea53e25cfedcbd303106252ade8267e6aac8116a754a4776dbfb206 SHA512 75ab16185ad00f627a2309694fda95d7319b9547d44c21e79b63cfa4504a6b84294f372b0aa2af36a53fa6001e55200e4cb3724cb99b56864cbb1479cab7bba3 +DIST nvidia-xconfig-610.43.02.tar.bz2 111123 BLAKE2B 5ade2f6525b4fc847a28c6d853dd5d829c434ed892cda9060ddb6f66566e440bc11d0f01a2930016000b8f1861bcd5be5c9ca168d4d7ecb91fdfb46e61b2c98f SHA512 c8975ea34bcff52fd19973c28b3c215e847567e0d153ca2dc3b867b55c3bb9325a52a7802e77986f65a0472cd0ac501b872bf2ed05ca9543413ef8dc26af2b2c DIST open-gpu-kernel-modules-595.44.09.tar.gz 24805417 BLAKE2B 0281e825fb55982971499bc4a5284115fd0fdd24eb033bbff17010d1e7ace7c041dac56f98123cfbd5009f1f75b25332e3dfa68acc684c3f59ff740769cd291c SHA512 57a43e94740d31b84671cddb061825d954d1039fbdf82572875f8ca3f94309d7480ac19718e96cf062c9a78e8b2ef3598766928f03e9420fed90ab6f3ab65b7a diff --git a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/files/nvidia-610.conf b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/files/nvidia-610.conf new file mode 100644 index 00000000000..b69054f442b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/files/nvidia-610.conf @@ -0,0 +1,44 @@ +# NVIDIA drivers options +# See /usr/share/doc/nvidia-drivers-*/README.txt* for more information. + +# nvidia-drivers and nouveau / nova cannot be used at same time. +# Comment out the following lines if you wish to allow either. +blacklist nouveau +blacklist nova_core + +# This is a new feature targeting wayland+HDR that not all wayland +# compositors can handle properly yet, this disables it by default +# for now. Feel free to re-enable if it works fine for you as it may +# provide a performance gain when using HDR. +# https://forums.developer.nvidia.com/t/365381 +# https://forums.developer.nvidia.com/t/371356 +options nvidia-drm color_pipeline=0 + +# By default, NVIDIA will handle the console/tty display and allow +# overriding DRM devices such as simpledrm. May or may not cause +# issues like being unable to display/switch tty properly or resume +# from sleep with *some* setups. Try disabling by uncommenting if +# need to troubleshoot issues, and re-enable if unrelated. +#options nvidia-drm fbdev=0 + +# Suspend options. Notifiers=1 implies NVreg_PreserveVideoMemoryAllocations=1 +# which is needed to avoid issues when resuming from suspend esp. on wayland +# (former systemd suspend services are not needed with kernel notifiers). +options nvidia \ + NVreg_UseKernelSuspendNotifiers=1 \ + NVreg_TemporaryFilePath=/var/tmp + +# !!! Security Warning !!! +# Do not change the DeviceFile options unless you know what you are doing. +# Only add trusted users to the 'video' group, these users may be able to +# crash, compromise, or irreparably damage the machine. +options nvidia \ + NVreg_DeviceFileGID=@VIDEOGID@ \ + NVreg_DeviceFileMode=432 \ + NVreg_DeviceFileUID=0 \ + NVreg_ModifyDeviceFiles=1 + +# Should be no need to touch anything below. +alias char-major-195 nvidia +alias /dev/nvidiactl char-major-195 +remove nvidia modprobe -r --ignore-remove nvidia-drm nvidia-modeset nvidia-uvm nvidia diff --git a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r2.ebuild b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r2.ebuild index b707d0ca7be..3c7de626aa8 100644 --- a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r2.ebuild +++ b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-470.256.02-r2.ebuild @@ -465,13 +465,13 @@ pkg_postinst() { ewarn "\nYou are installing a version of ${PN} known not to work" ewarn "with a GPU of the current system. If unwanted, add the mask:" if [[ -d ${EROOT}/etc/portage/package.mask ]]; then - ewarn " echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}" + ewarn "\n echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}" else - ewarn " echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask" + ewarn "\n echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask" fi - ewarn "...then downgrade to a legacy[1] branch if possible (not all old versions" + ewarn "\n...then downgrade to a legacy[1] branch if possible (not all old versions" ewarn "are available or fully functional, may need to consider nouveau[2])." - ewarn "[1] https://www.nvidia.com/object/IO_32667.html" + ewarn "\n[1] https://www.nvidia.com/object/IO_32667.html" ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau" fi diff --git a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-535.309.01.ebuild b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-535.309.01.ebuild index 4ff4047198e..35686cfe16c 100644 --- a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-535.309.01.ebuild +++ b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-535.309.01.ebuild @@ -548,13 +548,13 @@ pkg_postinst() { ewarn "\nYou are installing a version of ${PN} known not to work" ewarn "with a GPU of the current system. If unwanted, add the mask:" if [[ -d ${EROOT}/etc/portage/package.mask ]]; then - ewarn " echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}" + ewarn "\n echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}" else - ewarn " echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask" + ewarn "\n echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask" fi - ewarn "...then downgrade to a legacy[1] branch if possible (not all old versions" + ewarn "\n...then downgrade to a legacy[1] branch if possible (not all old versions" ewarn "are available or fully functional, may need to consider nouveau[2])." - ewarn "[1] https://www.nvidia.com/object/IO_32667.html" + ewarn "\n[1] https://www.nvidia.com/object/IO_32667.html" ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau" fi diff --git a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-580.159.04.ebuild b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-580.159.04.ebuild index 312c04d4e01..78865e013bc 100644 --- a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-580.159.04.ebuild +++ b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-580.159.04.ebuild @@ -7,7 +7,7 @@ MODULES_OPTIONAL_IUSE=+modules inherit desktop dot-a eapi9-pipestatus eapi9-ver flag-o-matic linux-mod-r1 inherit readme.gentoo-r1 systemd toolchain-funcs unpacker user-info -MODULES_KERNEL_MAX=7.0 +MODULES_KERNEL_MAX=7.1 NV_URI="https://download.nvidia.com/XFree86/" DESCRIPTION="NVIDIA Accelerated Graphics Driver" @@ -27,7 +27,7 @@ LICENSE=" curl openssl public-domain " SLOT="0/${PV%%.*}" -KEYWORDS="-* ~amd64 ~arm64" +KEYWORDS="-* amd64 ~arm64" IUSE=" +X abi_x86_32 abi_x86_64 kernel-open persistenced powerd +static-libs +tools wayland @@ -575,13 +575,13 @@ pkg_postinst() { ewarn "\nYou are installing a version of ${PN} known not to work" ewarn "with a GPU of the current system. If unwanted, add the mask:" if [[ -d ${EROOT}/etc/portage/package.mask ]]; then - ewarn " echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}" + ewarn "\n echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}" else - ewarn " echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask" + ewarn "\n echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask" fi - ewarn "...then downgrade to a legacy[1] branch if possible (not all old versions" + ewarn "\n...then downgrade to a legacy[1] branch if possible (not all old versions" ewarn "are available or fully functional, may need to consider nouveau[2])." - ewarn "[1] https://www.nvidia.com/object/IO_32667.html" + ewarn "\n[1] https://www.nvidia.com/object/IO_32667.html" ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau" fi diff --git a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-580.159.03-r1.ebuild b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-580.173.02.ebuild similarity index 98% rename from sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-580.159.03-r1.ebuild rename to sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-580.173.02.ebuild index e9139138152..aa8031fdae5 100644 --- a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-580.159.03-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-580.173.02.ebuild @@ -7,7 +7,7 @@ MODULES_OPTIONAL_IUSE=+modules inherit desktop dot-a eapi9-pipestatus eapi9-ver flag-o-matic linux-mod-r1 inherit readme.gentoo-r1 systemd toolchain-funcs unpacker user-info -MODULES_KERNEL_MAX=7.0 +MODULES_KERNEL_MAX=7.1 NV_URI="https://download.nvidia.com/XFree86/" DESCRIPTION="NVIDIA Accelerated Graphics Driver" @@ -27,7 +27,7 @@ LICENSE=" curl openssl public-domain " SLOT="0/${PV%%.*}" -KEYWORDS="-* amd64 ~arm64" +KEYWORDS="-* ~amd64 ~arm64" IUSE=" +X abi_x86_32 abi_x86_64 kernel-open persistenced powerd +static-libs +tools wayland @@ -575,13 +575,13 @@ pkg_postinst() { ewarn "\nYou are installing a version of ${PN} known not to work" ewarn "with a GPU of the current system. If unwanted, add the mask:" if [[ -d ${EROOT}/etc/portage/package.mask ]]; then - ewarn " echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}" + ewarn "\n echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}" else - ewarn " echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask" + ewarn "\n echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask" fi - ewarn "...then downgrade to a legacy[1] branch if possible (not all old versions" + ewarn "\n...then downgrade to a legacy[1] branch if possible (not all old versions" ewarn "are available or fully functional, may need to consider nouveau[2])." - ewarn "[1] https://www.nvidia.com/object/IO_32667.html" + ewarn "\n[1] https://www.nvidia.com/object/IO_32667.html" ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau" fi diff --git a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-595.44.09.ebuild b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-595.44.09.ebuild index d17b4651e82..4ab800cfc1f 100644 --- a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-595.44.09.ebuild +++ b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-595.44.09.ebuild @@ -7,7 +7,7 @@ MODULES_OPTIONAL_IUSE=+modules inherit desktop dot-a eapi9-pipestatus eapi9-ver flag-o-matic linux-mod-r1 inherit readme.gentoo-r1 systemd toolchain-funcs unpacker user-info -MODULES_KERNEL_MAX=7.0 +MODULES_KERNEL_MAX=7.1 NV_PIN=595.71.05 DESCRIPTION="NVIDIA Accelerated Graphics Driver" @@ -529,13 +529,13 @@ pkg_postinst() { ewarn "\nYou are installing a version of ${PN} known not to work" ewarn "with a GPU of the current system. If unwanted, add the mask:" if [[ -d ${EROOT}/etc/portage/package.mask ]]; then - ewarn " echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}" + ewarn "\n echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}" else - ewarn " echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask" + ewarn "\n echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask" fi - ewarn "...then downgrade to a legacy[1] branch if possible (not all old versions" + ewarn "\n...then downgrade to a legacy[1] branch if possible (not all old versions" ewarn "are available or fully functional, may need to consider nouveau[2])." - ewarn "[1] https://www.nvidia.com/object/IO_32667.html" + ewarn "\n[1] https://www.nvidia.com/object/IO_32667.html" ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau" fi diff --git a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-595.71.05.ebuild b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-595.71.05.ebuild index 6d5cdf9a9fd..c1d78ca7223 100644 --- a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-595.71.05.ebuild +++ b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-595.71.05.ebuild @@ -7,7 +7,7 @@ MODULES_OPTIONAL_IUSE=+modules inherit desktop dot-a eapi9-pipestatus eapi9-ver flag-o-matic linux-mod-r1 inherit readme.gentoo-r1 systemd toolchain-funcs unpacker user-info -MODULES_KERNEL_MAX=7.0 +MODULES_KERNEL_MAX=7.1 NV_URI="https://download.nvidia.com/XFree86/" DESCRIPTION="NVIDIA Accelerated Graphics Driver" @@ -528,13 +528,13 @@ pkg_postinst() { ewarn "\nYou are installing a version of ${PN} known not to work" ewarn "with a GPU of the current system. If unwanted, add the mask:" if [[ -d ${EROOT}/etc/portage/package.mask ]]; then - ewarn " echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}" + ewarn "\n echo '${NV_LEGACY_MASK}' > ${EROOT}/etc/portage/package.mask/${PN}" else - ewarn " echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask" + ewarn "\n echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask" fi - ewarn "...then downgrade to a legacy[1] branch if possible (not all old versions" + ewarn "\n...then downgrade to a legacy[1] branch if possible (not all old versions" ewarn "are available or fully functional, may need to consider nouveau[2])." - ewarn "[1] https://www.nvidia.com/object/IO_32667.html" + ewarn "\n[1] https://www.nvidia.com/object/IO_32667.html" ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau" fi diff --git a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-595.80.ebuild b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-595.80.ebuild new file mode 100644 index 00000000000..935a898367f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-595.80.ebuild @@ -0,0 +1,556 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MODULES_OPTIONAL_IUSE=+modules +inherit desktop dot-a eapi9-pipestatus eapi9-ver flag-o-matic linux-mod-r1 +inherit readme.gentoo-r1 systemd toolchain-funcs unpacker user-info + +MODULES_KERNEL_MAX=7.1 +NV_URI="https://download.nvidia.com/XFree86/" + +DESCRIPTION="NVIDIA Accelerated Graphics Driver" +HOMEPAGE="https://www.nvidia.com/" +SRC_URI=" + amd64? ( ${NV_URI}Linux-x86_64/${PV}/NVIDIA-Linux-x86_64-${PV}.run ) + arm64? ( ${NV_URI}Linux-aarch64/${PV}/NVIDIA-Linux-aarch64-${PV}.run ) + $(printf "${NV_URI}%s/%s-${PV}.tar.bz2 " \ + nvidia-{installer,modprobe,persistenced,settings,xconfig}{,}) + ${NV_URI}NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${PV}.tar.xz +" +# nvidia-installer is unused but here for GPL-2's "distribute sources" +S=${WORKDIR} + +LICENSE=" + NVIDIA-2025 Apache-2.0 Boost-1.0 BSD BSD-2 GPL-2 MIT ZLIB + curl openssl public-domain +" +SLOT="0/${PV%%.*}" +KEYWORDS="-* ~amd64 ~arm64" +IUSE="+X abi_x86_32 abi_x86_64 persistenced powerd +static-libs +tools wayland" + +COMMON_DEPEND=" + acct-group/video + X? ( x11-libs/libpciaccess ) + persistenced? ( + acct-user/nvpd + net-libs/libtirpc:= + ) + tools? ( + >=app-accessibility/at-spi2-core-2.46:2 + dev-libs/glib:2 + dev-libs/jansson:= + media-libs/harfbuzz:= + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3[X] + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXxf86vm + x11-libs/pango + ) +" +# egl-wayland2: nvidia currently ships both versions so, to ensure +# everything works properly, depend on both at same time for now +# (may use one or the other depending on setup) +RDEPEND=" + ${COMMON_DEPEND} + || ( + dev-libs/openssl-compat:3 + dev-libs/openssl:0/3 + ) + sys-libs/glibc + X? ( + media-libs/libglvnd[X,abi_x86_32(-)?] + x11-libs/libX11[abi_x86_32(-)?] + x11-libs/libXext[abi_x86_32(-)?] + ) + powerd? ( sys-apps/dbus[abi_x86_32(-)?] ) + wayland? ( + >=gui-libs/egl-gbm-1.1.1-r2[abi_x86_32(-)?] + >=gui-libs/egl-wayland-1.1.13.1[abi_x86_32(-)?] + gui-libs/egl-wayland2[abi_x86_32(-)?] + X? ( gui-libs/egl-x11[abi_x86_32(-)?] ) + ) +" +DEPEND=" + ${COMMON_DEPEND} + static-libs? ( + x11-base/xorg-proto + x11-libs/libX11 + x11-libs/libXext + ) + tools? ( + dev-util/vulkan-headers + media-libs/libglvnd + sys-apps/dbus + x11-base/xorg-proto + x11-libs/libXrandr + x11-libs/libXv + x11-libs/libvdpau + ) +" +BDEPEND=" + sys-devel/m4 + virtual/pkgconfig +" + +# there is some non-prebuilt exceptions but rather not maintain a list +QA_PREBUILT="lib/firmware/* usr/bin/* usr/lib*" + +PATCHES=( + "${FILESDIR}"/nvidia-modprobe-390.141-uvm-perms.patch + "${FILESDIR}"/nvidia-settings-530.30.02-desktop.patch +) + +pkg_setup() { + use modules && [[ ${MERGE_TYPE} != binary ]] || return + + # do early before linux-mod-r1 so can use chkconfig to setup CONFIG_CHECK + get_version + require_configured_kernel + + local CONFIG_CHECK=" + PROC_FS + ~DRM_KMS_HELPER + ~DRM_FBDEV_EMULATION + ~SYSVIPC + ~!LOCKDEP + ~!PREEMPT_RT + ~!SLUB_DEBUG_ON + !DEBUG_MUTEXES + $(usev amd64 'X86_PAT') + $(usev powerd '~CPU_FREQ') + " + + kernel_is -ge 6 11 && linux_chkconfig_present DRM_FBDEV_EMULATION && + CONFIG_CHECK+=" DRM_TTM_HELPER" + + local drm_helper_msg="Cannot be directly selected in the kernel's config menus, and may need + selection of a DRM device even if unused, e.g. CONFIG_DRM_QXL=m or + DRM_AMDGPU=m (among others, consult the kernel config's help), can + also use DRM_NOUVEAU=m as long as built as module *not* built-in." + local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but is needed for wayland support, + tty takeover (e.g. for simpledrm), and config-less Xorg auto-detection. + ${drm_helper_msg}" + local ERROR_DRM_TTM_HELPER="CONFIG_DRM_TTM_HELPER: is not set but is needed to compile when using + kernel version 6.11.x or newer while DRM_FBDEV_EMULATION is set. + ${drm_helper_msg}" + local ERROR_DRM_FBDEV_EMULATION="CONFIG_DRM_FBDEV_EMULATION: is not set but is needed for + nvidia-drm.fbdev=1 support (see ${EPREFIX}/etc/modprobe.d/nvidia.conf), may + result in a blank console/tty." + local ERROR_PREEMPT_RT="CONFIG_PREEMPT_RT: is set but is unsupported by NVIDIA upstream and + will fail to build unless the env var IGNORE_PREEMPT_RT_PRESENCE=1 is + set. Please do not report issues if run into e.g. kernel panics while + ignoring this." + + linux-mod-r1_pkg_setup +} + +src_prepare() { + # make patches usable across versions + rm nvidia-modprobe && mv nvidia-modprobe{-${PV},} || die + rm nvidia-persistenced && mv nvidia-persistenced{-${PV},} || die + rm nvidia-settings && mv nvidia-settings{-${PV},} || die + rm nvidia-xconfig && mv nvidia-xconfig{-${PV},} || die + mv NVIDIA-kernel-module-source-${PV} kernel-module-source || die + + default + + sed 's/__USER__/nvpd/' \ + nvidia-persistenced/init/systemd/nvidia-persistenced.service.template \ + > "${T}"/nvidia-persistenced.service || die + + # use alternative vulkan icd option if USE=-X (bug #909181) + use X || sed -i 's/"libGLX/"libEGL/' nvidia_{layers,icd}.json || die + + # makefile attempts to install wayland library even if not built + use wayland || sed -i 's/ WAYLAND_LIB_install$//' \ + nvidia-settings/src/Makefile || die +} + +src_compile() { + tc-export AR CC CXX LD OBJCOPY OBJDUMP PKG_CONFIG + + # extra flags for the libXNVCtrl.a static library + local xnvflags=-fPIC #840389 + tc-is-lto && xnvflags+=" $(test-flags-CC -ffat-lto-objects)" + + # same as uname -m + local target_arch + case ${ARCH} in + amd64) target_arch=x86_64;; + arm64) target_arch=aarch64;; + *) die "Unrecognised architecture: ${ARCH}";; + esac + + NV_ARGS=( + PREFIX="${EPREFIX}"/usr + HOST_CC="$(tc-getBUILD_CC)" + HOST_LD="$(tc-getBUILD_LD)" + BUILD_GTK2LIB= + NV_USE_BUNDLED_LIBJANSSON=0 + NV_VERBOSE=1 DO_STRIP= MANPAGE_GZIP= OUTPUTDIR=out + TARGET_ARCH="${target_arch}" + WAYLAND_AVAILABLE=$(usex wayland 1 0) + XNVCTRL_CFLAGS="${xnvflags}" + ) + + if use modules; then + local o_cflags=${CFLAGS} o_cxxflags=${CXXFLAGS} o_ldflags=${LDFLAGS} + + # environment flags are normally unused for modules, but nvidia uses + # them for building the formerly closed "blob" and it is a bit fragile + filter-flags -fno-plt #912949 + filter-lto + CC=${KERNEL_CC} CXX=${KERNEL_CXX} strip-unsupported-flags + LDFLAGS=$(raw-ldflags) + + # the "blob" uses C++ which is an issue if there is debug symbols + # when running pahole, there is a pahole.sh wrapper that tries to + # exclude C++ but it did not seem to be enough last time tried + linux_chkconfig_present DEBUG_INFO_BTF_MODULES && append-flags -g0 + + : video:kernel-module-source:kernel-module-source/kernel-open + local modlist=( nvidia{,-drm,-modeset,-peermem,-uvm}=${_} ) + local modargs=( + IGNORE_CC_MISMATCH=yes NV_VERBOSE=1 + SYSOUT="${KV_OUT_DIR}" SYSSRC="${KV_DIR}" + TARGET_ARCH="${target_arch}" + + # kernel takes "x86" and "x86_64" as meaning the same, but nvidia + # makes the distinction (since 550.135) and is not happy with "x86" + # TODO?: it should be ok/better for tc-arch-kernel to do x86_64 + $(usev amd64 ARCH=x86_64) + ) + + # temporary workaround for bug #914468 + addpredict "${KV_OUT_DIR}" + + linux-mod-r1_src_compile + CFLAGS=${o_cflags} CXXFLAGS=${o_cxxflags} LDFLAGS=${o_ldflags} + fi + + emake "${NV_ARGS[@]}" -C nvidia-modprobe + use persistenced && emake "${NV_ARGS[@]}" -C nvidia-persistenced + use X && emake "${NV_ARGS[@]}" -C nvidia-xconfig + + if use tools; then + # avoid noisy *very* noisy logs with deprecation warnings + CFLAGS="-Wno-deprecated-declarations ${CFLAGS}" \ + emake "${NV_ARGS[@]}" -C nvidia-settings + elif use static-libs; then + # pretend GTK+3 is available, not actually used (bug #880879) + emake "${NV_ARGS[@]}" BUILD_GTK3LIB=1 \ + -C nvidia-settings/src out/libXNVCtrl.a + fi +} + +src_install() { + local libdir=$(get_libdir) libdir32=$(ABI=x86 get_libdir) + + NV_ARGS+=( DESTDIR="${D}" LIBDIR="${ED}"/usr/${libdir} ) + + local -A paths=( + [APPLICATION_PROFILE]=/usr/share/nvidia + [CUDA_ICD]=/etc/OpenCL/vendors + [EGL_EXTERNAL_PLATFORM_JSON]=/usr/share/egl/egl_external_platform.d + [FIRMWARE]=/lib/firmware/nvidia/${PV} + [GBM_BACKEND_LIB_SYMLINK]=/usr/${libdir}/gbm + [GLVND_EGL_ICD_JSON]=/usr/share/glvnd/egl_vendor.d + [OPENGL_DATA]=/usr/share/nvidia + [VULKANSC_ICD_JSON]=/usr/share/vulkansc + [VULKAN_ICD_JSON]=/usr/share/vulkan + [WINE_LIB]=/usr/${libdir}/nvidia/wine + [XORG_OUTPUTCLASS_CONFIG]=/usr/share/X11/xorg.conf.d + + [GLX_MODULE_SHARED_LIB]=/usr/${libdir}/xorg/modules/extensions + [GLX_MODULE_SYMLINK]=/usr/${libdir}/xorg/modules + [XMODULE_SHARED_LIB]=/usr/${libdir}/xorg/modules + ) + + local skip_files=( + $(usev !X "libGLX_nvidia libglxserver_nvidia") + libGLX_indirect # non-glvnd unused fallback + libnvidia-{gtk,wayland-client} nvidia-{settings,xconfig} # from source + libnvidia-egl-gbm 15_nvidia_gbm # gui-libs/egl-gbm + libnvidia-egl-wayland 10_nvidia_wayland # gui-libs/egl-wayland + libnvidia-egl-wayland2 09_nvidia_wayland2 # gui-libs/egl-wayland2 + libnvidia-egl-xcb 20_nvidia_xcb.json # gui-libs/egl-x11 + libnvidia-egl-xlib 20_nvidia_xlib.json # gui-libs/egl-x11 + libnvidia-pkcs11.so # using the openssl3 version instead + ) + local skip_modules=( + $(usev !X "nvfbc vdpau xdriver") + $(usev !modules gsp) + $(usev !powerd nvtopps) + installer nvpd # handled separately / built from source + ) + local skip_types=( + GLVND_LIB GLVND_SYMLINK EGL_CLIENT.\* GLX_CLIENT.\* # media-libs/libglvnd + OPENCL_WRAPPER.\* # virtual/opencl + DOCUMENTATION DOT_DESKTOP .\*_SRC DKMS_CONF SYSTEMD_UNIT # handled separately / unused + ) + + local DOCS=( + README.txt NVIDIA_Changelog supported-gpus/supported-gpus.json + nvidia-settings/doc/{FRAMELOCK,NV-CONTROL-API}.txt + ) + local HTML_DOCS=( html/. ) + einstalldocs + + local DISABLE_AUTOFORMATTING=yes + local DOC_CONTENTS="\ +Trusted users should be in the 'video' group to use NVIDIA devices. +You can add yourself by using: gpasswd -a my-user video\ +$(usev modules " + +Like all out-of-tree kernel modules, it is necessary to rebuild +${PN} after upgrading or rebuilding the Linux kernel +by for example running \`emerge @module-rebuild\`. Alternatively, +if using a distribution kernel (sys-kernel/gentoo-kernel{,-bin}), +this can be automated by setting USE=dist-kernel globally. + +Loaded kernel modules also must not mismatch with the installed +${PN} version (excluding -r revision), meaning should +ensure \`eselect kernel list\` points to the kernel that will be +booted before building and preferably reboot after upgrading +${PN} (the ebuild will emit a warning if mismatching). + +See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options.")\ +$(use amd64 && usev !abi_x86_32 " + +Note that without USE=abi_x86_32 on ${PN}, 32bit applications +(typically using wine / steam) will not be able to use GPU acceleration.") + +For additional information or for troubleshooting issues, please see +https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers and NVIDIA's own +documentation that is installed alongside this README." + readme.gentoo_create_doc + + if use modules; then + linux-mod-r1_src_install + + insinto /etc/modprobe.d + newins "${FILESDIR}"/nvidia-595.conf nvidia.conf + + # used for gpu verification with binpkgs (not kept, see pkg_preinst) + insinto /usr/share/nvidia + doins supported-gpus/supported-gpus.json + fi + + emake "${NV_ARGS[@]}" -C nvidia-modprobe install + fowners :video /usr/bin/nvidia-modprobe #505092 + fperms 4710 /usr/bin/nvidia-modprobe + + if use persistenced; then + emake "${NV_ARGS[@]}" -C nvidia-persistenced install + newconfd "${FILESDIR}"/nvidia-persistenced.confd nvidia-persistenced + newinitd "${FILESDIR}"/nvidia-persistenced.initd nvidia-persistenced + systemd_dounit "${T}"/nvidia-persistenced.service + fi + + if use tools; then + emake "${NV_ARGS[@]}" -C nvidia-settings install + + doicon nvidia-settings/doc/nvidia-settings.png + domenu nvidia-settings/doc/nvidia-settings.desktop + + exeinto /etc/X11/xinit/xinitrc.d + newexe "${FILESDIR}"/95-nvidia-settings-r1 95-nvidia-settings + fi + + if use static-libs; then + dolib.a nvidia-settings/src/out/libXNVCtrl.a + strip-lto-bytecode + + insinto /usr/include/NVCtrl + doins nvidia-settings/src/libXNVCtrl/NVCtrl{Lib,}.h + fi + + use X && emake "${NV_ARGS[@]}" -C nvidia-xconfig install + + # mimic nvidia-installer by reading .manifest to install files + # 0:file 1:perms 2:type 3+:subtype/arguments -:module + local m into + while IFS=' ' read -ra m; do + ! [[ ${#m[@]} -ge 2 && ${m[-1]} =~ MODULE: ]] || + [[ " ${m[0]##*/}" =~ ^(\ ${skip_files[*]/%/.*|\\} )$ ]] || + [[ " ${m[2]}" =~ ^(\ ${skip_types[*]/%/|\\} )$ ]] || + has ${m[-1]#MODULE:} "${skip_modules[@]}" && continue + + case ${m[2]} in + MANPAGE) + gzip -dc ${m[0]} | newman - ${m[0]%.gz} + pipestatus || die + continue + ;; + GBM_BACKEND_LIB_SYMLINK) m[4]=../${m[4]};; # missing ../ + VDPAU_SYMLINK) m[4]=vdpau/; m[5]=${m[5]#vdpau/};; # .so to vdpau/ + esac + + if [[ -v 'paths[${m[2]}]' ]]; then + into=${paths[${m[2]}]} + elif [[ ${m[2]} == EXPLICIT_PATH ]]; then + into=${m[3]} + elif [[ ${m[2]} == *_BINARY ]]; then + into=/usr/bin + elif [[ ${m[3]} == COMPAT32 ]]; then + use abi_x86_32 || continue + into=/usr/${libdir32} + elif [[ ${m[2]} == *_@(LIB|SYMLINK) ]]; then + into=/usr/${libdir} + else + die "No known installation path for ${m[0]}" + fi + [[ ${m[3]: -2} == ?/ ]] && into+=/${m[3]%/} + [[ ${m[4]: -2} == ?/ ]] && into+=/${m[4]%/} + + if [[ ${m[2]} =~ _SYMLINK$ ]]; then + [[ ${m[4]: -1} == / ]] && m[4]=${m[5]} + dosym ${m[4]} ${into}/${m[0]} + continue + fi + # avoid portage warning due to missing soname links in manifest + [[ ${m[0]} =~ ^libnvidia-ngx.so ]] && + dosym ${m[0]} ${into}/${m[0]%.so*}.so.1 + + printf -v m[1] %o $((m[1] | 0200)) # 444->644 + insopts -m${m[1]} + insinto ${into} + doins ${m[0]} + done < .manifest || die + insopts -m0644 # reset + + # MODULE:installer non-skipped extras + # (sleep services skipped, obsoleted by NVreg_UseKernelSuspendNotifiers=1) + dobin nvidia-bug-report.sh + + insinto /usr/share/nvidia/files.d + doins sandboxutils-filelist.json + + # needed with >=systemd-256 or may fail to resume with some setups + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072722 + : "$(systemd_get_systemunitdir)" + local unitdir=${_#"${EPREFIX}"} + insinto "${unitdir}"/systemd-homed.service.d + newins - 10-nvidia.conf <<-EOF + [Service] + Environment=SYSTEMD_HOME_LOCK_FREEZE_SESSION=false + EOF + insinto "${unitdir}"/systemd-suspend.service.d + newins systemd/system/systemd-suspend.service.d/nvidia-suspend-nofreeze.conf 10-nvidia.conf + dosym -r "${unitdir}"/systemd-{suspend,hibernate}.service.d/10-nvidia.conf + dosym -r "${unitdir}"/systemd-{suspend,hybrid-sleep}.service.d/10-nvidia.conf + dosym -r "${unitdir}"/systemd-{suspend,suspend-then-hibernate}.service.d/10-nvidia.conf + + # MODULE:powerd extras + if use powerd; then + newinitd "${FILESDIR}"/nvidia-powerd.initd nvidia-powerd #923117 + systemd_dounit systemd/system/nvidia-powerd.service + + insinto /usr/share/dbus-1/system.d + doins nvidia-dbus.conf + fi + + # symlink non-versioned so nvidia-settings can use it even if misdetected + dosym nvidia-application-profiles-${PV}-key-documentation \ + ${paths[APPLICATION_PROFILE]}/nvidia-application-profiles-key-documentation + + # don't attempt to strip firmware files (silences errors) + dostrip -x ${paths[FIRMWARE]} + + # sandbox issues with /dev/nvidiactl and others (bug #904292,#921578) + # are widespread and sometime affect revdeps of packages built with + # USE=opencl/cuda making it hard to manage in ebuilds (minimal set, + # ebuilds should handle manually if need others or addwrite) + insinto /etc/sandbox.d + newins - 20nvidia <<<'SANDBOX_PREDICT="/dev/nvidiactl:/dev/nvidia-caps:/dev/char"' + + # dracut does not use /etc/modprobe.d if hostonly=no, but want to make sure + # our settings are used for bug 932781#c8 and nouveau blacklist if either + # modules are included (however, just best-effort without initramfs regen) + if use modules; then + echo "install_items+=\" ${EPREFIX}/etc/modprobe.d/nvidia.conf \"" >> \ + "${ED}"/usr/lib/dracut/dracut.conf.d/10-${PN}.conf || die + fi +} + +pkg_preinst() { + use modules || return + + # set video group id based on live system (bug #491414) + local g=$(egetent group video | cut -d: -f3) + [[ ${g} =~ ^[0-9]+$ ]] || die "Failed to determine video group id (got '${g}')" + sed -i "s/@VIDEOGID@/${g}/" "${ED}"/etc/modprobe.d/nvidia.conf || die + + # try to find driver mismatches using temporary supported-gpus.json + for g in $(grep -l 0x10de /sys/bus/pci/devices/*/vendor 2>/dev/null); do + g=$(grep -io "\"devid\":\"$(<${g%vendor}device)\"[^}]*branch\":\"[0-9]*" \ + "${ED}"/usr/share/nvidia/supported-gpus.json 2>/dev/null) + if [[ ${g} ]]; then + g=$((${g##*\"}+1)) + if ver_test -ge ${g}; then + NV_LEGACY_MASK=">=${CATEGORY}/${PN}-${g}" + break + fi + fi + done + rm "${ED}"/usr/share/nvidia/supported-gpus.json || die +} + +pkg_postinst() { + linux-mod-r1_pkg_postinst + + readme.gentoo_print_elog + + if [[ -r /proc/driver/nvidia/version && + $( ${EROOT}/etc/portage/package.mask/${PN}" + else + ewarn "\n echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask" + fi + ewarn "\n...then downgrade to a legacy[1] branch if possible (not all old versions" + ewarn "are available or fully functional, may need to consider nouveau[2])." + ewarn "\n[1] https://www.nvidia.com/object/IO_32667.html" + ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau" + fi + + if ver_replacing -lt 595; then + elog "\n>=${PN}-595 has changes that may or may not need attention:" + elog "1. USE=kernel-open was removed and is now always enabled. If for some" + elog " reason you really need the closed variant (e.g. Runtime D3 on Turing" + elog " GPUs), please use LTS 580.xx instead as Gentoo has no intention to" + elog " support both variants anymore going forward" + elog "2. systemd/elogind sleep services (nvidia-sleep.sh) were tentatively" + elog " removed and replaced by setting NVreg_UseKernelSuspendNotifiers=1 in" + elog " ${EROOT}/etc/modprobe.d/nvidia.conf. If using a non-default custom" + elog " nvidia.conf, please ensure the option is set. Also, systemd users" + elog " may want to ensure that they do not have old sleep/suspend/resume" + elog " *nvidia* files in ${EROOT}/etc/systemd to avoid potential issues." + elog "3. nvidia-drm.modeset=1 was removed from nvidia.conf because it is now" + elog " default enabled regardless (new NVIDIA default)" + fi +} diff --git a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-595.84.ebuild b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-595.84.ebuild new file mode 100644 index 00000000000..c1d78ca7223 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-595.84.ebuild @@ -0,0 +1,556 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MODULES_OPTIONAL_IUSE=+modules +inherit desktop dot-a eapi9-pipestatus eapi9-ver flag-o-matic linux-mod-r1 +inherit readme.gentoo-r1 systemd toolchain-funcs unpacker user-info + +MODULES_KERNEL_MAX=7.1 +NV_URI="https://download.nvidia.com/XFree86/" + +DESCRIPTION="NVIDIA Accelerated Graphics Driver" +HOMEPAGE="https://www.nvidia.com/" +SRC_URI=" + amd64? ( ${NV_URI}Linux-x86_64/${PV}/NVIDIA-Linux-x86_64-${PV}.run ) + arm64? ( ${NV_URI}Linux-aarch64/${PV}/NVIDIA-Linux-aarch64-${PV}.run ) + $(printf "${NV_URI}%s/%s-${PV}.tar.bz2 " \ + nvidia-{installer,modprobe,persistenced,settings,xconfig}{,}) + ${NV_URI}NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${PV}.tar.xz +" +# nvidia-installer is unused but here for GPL-2's "distribute sources" +S=${WORKDIR} + +LICENSE=" + NVIDIA-2025 Apache-2.0 Boost-1.0 BSD BSD-2 GPL-2 MIT ZLIB + curl openssl public-domain +" +SLOT="0/${PV%%.*}" +KEYWORDS="-* amd64 ~arm64" +IUSE="+X abi_x86_32 abi_x86_64 persistenced powerd +static-libs +tools wayland" + +COMMON_DEPEND=" + acct-group/video + X? ( x11-libs/libpciaccess ) + persistenced? ( + acct-user/nvpd + net-libs/libtirpc:= + ) + tools? ( + >=app-accessibility/at-spi2-core-2.46:2 + dev-libs/glib:2 + dev-libs/jansson:= + media-libs/harfbuzz:= + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3[X] + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXxf86vm + x11-libs/pango + ) +" +# egl-wayland2: nvidia currently ships both versions so, to ensure +# everything works properly, depend on both at same time for now +# (may use one or the other depending on setup) +RDEPEND=" + ${COMMON_DEPEND} + || ( + dev-libs/openssl-compat:3 + dev-libs/openssl:0/3 + ) + sys-libs/glibc + X? ( + media-libs/libglvnd[X,abi_x86_32(-)?] + x11-libs/libX11[abi_x86_32(-)?] + x11-libs/libXext[abi_x86_32(-)?] + ) + powerd? ( sys-apps/dbus[abi_x86_32(-)?] ) + wayland? ( + >=gui-libs/egl-gbm-1.1.1-r2[abi_x86_32(-)?] + >=gui-libs/egl-wayland-1.1.13.1[abi_x86_32(-)?] + gui-libs/egl-wayland2[abi_x86_32(-)?] + X? ( gui-libs/egl-x11[abi_x86_32(-)?] ) + ) +" +DEPEND=" + ${COMMON_DEPEND} + static-libs? ( + x11-base/xorg-proto + x11-libs/libX11 + x11-libs/libXext + ) + tools? ( + dev-util/vulkan-headers + media-libs/libglvnd + sys-apps/dbus + x11-base/xorg-proto + x11-libs/libXrandr + x11-libs/libXv + x11-libs/libvdpau + ) +" +BDEPEND=" + sys-devel/m4 + virtual/pkgconfig +" + +# there is some non-prebuilt exceptions but rather not maintain a list +QA_PREBUILT="lib/firmware/* usr/bin/* usr/lib*" + +PATCHES=( + "${FILESDIR}"/nvidia-modprobe-390.141-uvm-perms.patch + "${FILESDIR}"/nvidia-settings-530.30.02-desktop.patch +) + +pkg_setup() { + use modules && [[ ${MERGE_TYPE} != binary ]] || return + + # do early before linux-mod-r1 so can use chkconfig to setup CONFIG_CHECK + get_version + require_configured_kernel + + local CONFIG_CHECK=" + PROC_FS + ~DRM_KMS_HELPER + ~DRM_FBDEV_EMULATION + ~SYSVIPC + ~!LOCKDEP + ~!PREEMPT_RT + ~!SLUB_DEBUG_ON + !DEBUG_MUTEXES + $(usev amd64 'X86_PAT') + $(usev powerd '~CPU_FREQ') + " + + kernel_is -ge 6 11 && linux_chkconfig_present DRM_FBDEV_EMULATION && + CONFIG_CHECK+=" DRM_TTM_HELPER" + + local drm_helper_msg="Cannot be directly selected in the kernel's config menus, and may need + selection of a DRM device even if unused, e.g. CONFIG_DRM_QXL=m or + DRM_AMDGPU=m (among others, consult the kernel config's help), can + also use DRM_NOUVEAU=m as long as built as module *not* built-in." + local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but is needed for wayland support, + tty takeover (e.g. for simpledrm), and config-less Xorg auto-detection. + ${drm_helper_msg}" + local ERROR_DRM_TTM_HELPER="CONFIG_DRM_TTM_HELPER: is not set but is needed to compile when using + kernel version 6.11.x or newer while DRM_FBDEV_EMULATION is set. + ${drm_helper_msg}" + local ERROR_DRM_FBDEV_EMULATION="CONFIG_DRM_FBDEV_EMULATION: is not set but is needed for + nvidia-drm.fbdev=1 support (see ${EPREFIX}/etc/modprobe.d/nvidia.conf), may + result in a blank console/tty." + local ERROR_PREEMPT_RT="CONFIG_PREEMPT_RT: is set but is unsupported by NVIDIA upstream and + will fail to build unless the env var IGNORE_PREEMPT_RT_PRESENCE=1 is + set. Please do not report issues if run into e.g. kernel panics while + ignoring this." + + linux-mod-r1_pkg_setup +} + +src_prepare() { + # make patches usable across versions + rm nvidia-modprobe && mv nvidia-modprobe{-${PV},} || die + rm nvidia-persistenced && mv nvidia-persistenced{-${PV},} || die + rm nvidia-settings && mv nvidia-settings{-${PV},} || die + rm nvidia-xconfig && mv nvidia-xconfig{-${PV},} || die + mv NVIDIA-kernel-module-source-${PV} kernel-module-source || die + + default + + sed 's/__USER__/nvpd/' \ + nvidia-persistenced/init/systemd/nvidia-persistenced.service.template \ + > "${T}"/nvidia-persistenced.service || die + + # use alternative vulkan icd option if USE=-X (bug #909181) + use X || sed -i 's/"libGLX/"libEGL/' nvidia_{layers,icd}.json || die + + # makefile attempts to install wayland library even if not built + use wayland || sed -i 's/ WAYLAND_LIB_install$//' \ + nvidia-settings/src/Makefile || die +} + +src_compile() { + tc-export AR CC CXX LD OBJCOPY OBJDUMP PKG_CONFIG + + # extra flags for the libXNVCtrl.a static library + local xnvflags=-fPIC #840389 + tc-is-lto && xnvflags+=" $(test-flags-CC -ffat-lto-objects)" + + # same as uname -m + local target_arch + case ${ARCH} in + amd64) target_arch=x86_64;; + arm64) target_arch=aarch64;; + *) die "Unrecognised architecture: ${ARCH}";; + esac + + NV_ARGS=( + PREFIX="${EPREFIX}"/usr + HOST_CC="$(tc-getBUILD_CC)" + HOST_LD="$(tc-getBUILD_LD)" + BUILD_GTK2LIB= + NV_USE_BUNDLED_LIBJANSSON=0 + NV_VERBOSE=1 DO_STRIP= MANPAGE_GZIP= OUTPUTDIR=out + TARGET_ARCH="${target_arch}" + WAYLAND_AVAILABLE=$(usex wayland 1 0) + XNVCTRL_CFLAGS="${xnvflags}" + ) + + if use modules; then + local o_cflags=${CFLAGS} o_cxxflags=${CXXFLAGS} o_ldflags=${LDFLAGS} + + # environment flags are normally unused for modules, but nvidia uses + # them for building the formerly closed "blob" and it is a bit fragile + filter-flags -fno-plt #912949 + filter-lto + CC=${KERNEL_CC} CXX=${KERNEL_CXX} strip-unsupported-flags + LDFLAGS=$(raw-ldflags) + + # the "blob" uses C++ which is an issue if there is debug symbols + # when running pahole, there is a pahole.sh wrapper that tries to + # exclude C++ but it did not seem to be enough last time tried + linux_chkconfig_present DEBUG_INFO_BTF_MODULES && append-flags -g0 + + : video:kernel-module-source:kernel-module-source/kernel-open + local modlist=( nvidia{,-drm,-modeset,-peermem,-uvm}=${_} ) + local modargs=( + IGNORE_CC_MISMATCH=yes NV_VERBOSE=1 + SYSOUT="${KV_OUT_DIR}" SYSSRC="${KV_DIR}" + TARGET_ARCH="${target_arch}" + + # kernel takes "x86" and "x86_64" as meaning the same, but nvidia + # makes the distinction (since 550.135) and is not happy with "x86" + # TODO?: it should be ok/better for tc-arch-kernel to do x86_64 + $(usev amd64 ARCH=x86_64) + ) + + # temporary workaround for bug #914468 + addpredict "${KV_OUT_DIR}" + + linux-mod-r1_src_compile + CFLAGS=${o_cflags} CXXFLAGS=${o_cxxflags} LDFLAGS=${o_ldflags} + fi + + emake "${NV_ARGS[@]}" -C nvidia-modprobe + use persistenced && emake "${NV_ARGS[@]}" -C nvidia-persistenced + use X && emake "${NV_ARGS[@]}" -C nvidia-xconfig + + if use tools; then + # avoid noisy *very* noisy logs with deprecation warnings + CFLAGS="-Wno-deprecated-declarations ${CFLAGS}" \ + emake "${NV_ARGS[@]}" -C nvidia-settings + elif use static-libs; then + # pretend GTK+3 is available, not actually used (bug #880879) + emake "${NV_ARGS[@]}" BUILD_GTK3LIB=1 \ + -C nvidia-settings/src out/libXNVCtrl.a + fi +} + +src_install() { + local libdir=$(get_libdir) libdir32=$(ABI=x86 get_libdir) + + NV_ARGS+=( DESTDIR="${D}" LIBDIR="${ED}"/usr/${libdir} ) + + local -A paths=( + [APPLICATION_PROFILE]=/usr/share/nvidia + [CUDA_ICD]=/etc/OpenCL/vendors + [EGL_EXTERNAL_PLATFORM_JSON]=/usr/share/egl/egl_external_platform.d + [FIRMWARE]=/lib/firmware/nvidia/${PV} + [GBM_BACKEND_LIB_SYMLINK]=/usr/${libdir}/gbm + [GLVND_EGL_ICD_JSON]=/usr/share/glvnd/egl_vendor.d + [OPENGL_DATA]=/usr/share/nvidia + [VULKANSC_ICD_JSON]=/usr/share/vulkansc + [VULKAN_ICD_JSON]=/usr/share/vulkan + [WINE_LIB]=/usr/${libdir}/nvidia/wine + [XORG_OUTPUTCLASS_CONFIG]=/usr/share/X11/xorg.conf.d + + [GLX_MODULE_SHARED_LIB]=/usr/${libdir}/xorg/modules/extensions + [GLX_MODULE_SYMLINK]=/usr/${libdir}/xorg/modules + [XMODULE_SHARED_LIB]=/usr/${libdir}/xorg/modules + ) + + local skip_files=( + $(usev !X "libGLX_nvidia libglxserver_nvidia") + libGLX_indirect # non-glvnd unused fallback + libnvidia-{gtk,wayland-client} nvidia-{settings,xconfig} # from source + libnvidia-egl-gbm 15_nvidia_gbm # gui-libs/egl-gbm + libnvidia-egl-wayland 10_nvidia_wayland # gui-libs/egl-wayland + libnvidia-egl-wayland2 09_nvidia_wayland2 # gui-libs/egl-wayland2 + libnvidia-egl-xcb 20_nvidia_xcb.json # gui-libs/egl-x11 + libnvidia-egl-xlib 20_nvidia_xlib.json # gui-libs/egl-x11 + libnvidia-pkcs11.so # using the openssl3 version instead + ) + local skip_modules=( + $(usev !X "nvfbc vdpau xdriver") + $(usev !modules gsp) + $(usev !powerd nvtopps) + installer nvpd # handled separately / built from source + ) + local skip_types=( + GLVND_LIB GLVND_SYMLINK EGL_CLIENT.\* GLX_CLIENT.\* # media-libs/libglvnd + OPENCL_WRAPPER.\* # virtual/opencl + DOCUMENTATION DOT_DESKTOP .\*_SRC DKMS_CONF SYSTEMD_UNIT # handled separately / unused + ) + + local DOCS=( + README.txt NVIDIA_Changelog supported-gpus/supported-gpus.json + nvidia-settings/doc/{FRAMELOCK,NV-CONTROL-API}.txt + ) + local HTML_DOCS=( html/. ) + einstalldocs + + local DISABLE_AUTOFORMATTING=yes + local DOC_CONTENTS="\ +Trusted users should be in the 'video' group to use NVIDIA devices. +You can add yourself by using: gpasswd -a my-user video\ +$(usev modules " + +Like all out-of-tree kernel modules, it is necessary to rebuild +${PN} after upgrading or rebuilding the Linux kernel +by for example running \`emerge @module-rebuild\`. Alternatively, +if using a distribution kernel (sys-kernel/gentoo-kernel{,-bin}), +this can be automated by setting USE=dist-kernel globally. + +Loaded kernel modules also must not mismatch with the installed +${PN} version (excluding -r revision), meaning should +ensure \`eselect kernel list\` points to the kernel that will be +booted before building and preferably reboot after upgrading +${PN} (the ebuild will emit a warning if mismatching). + +See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options.")\ +$(use amd64 && usev !abi_x86_32 " + +Note that without USE=abi_x86_32 on ${PN}, 32bit applications +(typically using wine / steam) will not be able to use GPU acceleration.") + +For additional information or for troubleshooting issues, please see +https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers and NVIDIA's own +documentation that is installed alongside this README." + readme.gentoo_create_doc + + if use modules; then + linux-mod-r1_src_install + + insinto /etc/modprobe.d + newins "${FILESDIR}"/nvidia-595.conf nvidia.conf + + # used for gpu verification with binpkgs (not kept, see pkg_preinst) + insinto /usr/share/nvidia + doins supported-gpus/supported-gpus.json + fi + + emake "${NV_ARGS[@]}" -C nvidia-modprobe install + fowners :video /usr/bin/nvidia-modprobe #505092 + fperms 4710 /usr/bin/nvidia-modprobe + + if use persistenced; then + emake "${NV_ARGS[@]}" -C nvidia-persistenced install + newconfd "${FILESDIR}"/nvidia-persistenced.confd nvidia-persistenced + newinitd "${FILESDIR}"/nvidia-persistenced.initd nvidia-persistenced + systemd_dounit "${T}"/nvidia-persistenced.service + fi + + if use tools; then + emake "${NV_ARGS[@]}" -C nvidia-settings install + + doicon nvidia-settings/doc/nvidia-settings.png + domenu nvidia-settings/doc/nvidia-settings.desktop + + exeinto /etc/X11/xinit/xinitrc.d + newexe "${FILESDIR}"/95-nvidia-settings-r1 95-nvidia-settings + fi + + if use static-libs; then + dolib.a nvidia-settings/src/out/libXNVCtrl.a + strip-lto-bytecode + + insinto /usr/include/NVCtrl + doins nvidia-settings/src/libXNVCtrl/NVCtrl{Lib,}.h + fi + + use X && emake "${NV_ARGS[@]}" -C nvidia-xconfig install + + # mimic nvidia-installer by reading .manifest to install files + # 0:file 1:perms 2:type 3+:subtype/arguments -:module + local m into + while IFS=' ' read -ra m; do + ! [[ ${#m[@]} -ge 2 && ${m[-1]} =~ MODULE: ]] || + [[ " ${m[0]##*/}" =~ ^(\ ${skip_files[*]/%/.*|\\} )$ ]] || + [[ " ${m[2]}" =~ ^(\ ${skip_types[*]/%/|\\} )$ ]] || + has ${m[-1]#MODULE:} "${skip_modules[@]}" && continue + + case ${m[2]} in + MANPAGE) + gzip -dc ${m[0]} | newman - ${m[0]%.gz} + pipestatus || die + continue + ;; + GBM_BACKEND_LIB_SYMLINK) m[4]=../${m[4]};; # missing ../ + VDPAU_SYMLINK) m[4]=vdpau/; m[5]=${m[5]#vdpau/};; # .so to vdpau/ + esac + + if [[ -v 'paths[${m[2]}]' ]]; then + into=${paths[${m[2]}]} + elif [[ ${m[2]} == EXPLICIT_PATH ]]; then + into=${m[3]} + elif [[ ${m[2]} == *_BINARY ]]; then + into=/usr/bin + elif [[ ${m[3]} == COMPAT32 ]]; then + use abi_x86_32 || continue + into=/usr/${libdir32} + elif [[ ${m[2]} == *_@(LIB|SYMLINK) ]]; then + into=/usr/${libdir} + else + die "No known installation path for ${m[0]}" + fi + [[ ${m[3]: -2} == ?/ ]] && into+=/${m[3]%/} + [[ ${m[4]: -2} == ?/ ]] && into+=/${m[4]%/} + + if [[ ${m[2]} =~ _SYMLINK$ ]]; then + [[ ${m[4]: -1} == / ]] && m[4]=${m[5]} + dosym ${m[4]} ${into}/${m[0]} + continue + fi + # avoid portage warning due to missing soname links in manifest + [[ ${m[0]} =~ ^libnvidia-ngx.so ]] && + dosym ${m[0]} ${into}/${m[0]%.so*}.so.1 + + printf -v m[1] %o $((m[1] | 0200)) # 444->644 + insopts -m${m[1]} + insinto ${into} + doins ${m[0]} + done < .manifest || die + insopts -m0644 # reset + + # MODULE:installer non-skipped extras + # (sleep services skipped, obsoleted by NVreg_UseKernelSuspendNotifiers=1) + dobin nvidia-bug-report.sh + + insinto /usr/share/nvidia/files.d + doins sandboxutils-filelist.json + + # needed with >=systemd-256 or may fail to resume with some setups + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072722 + : "$(systemd_get_systemunitdir)" + local unitdir=${_#"${EPREFIX}"} + insinto "${unitdir}"/systemd-homed.service.d + newins - 10-nvidia.conf <<-EOF + [Service] + Environment=SYSTEMD_HOME_LOCK_FREEZE_SESSION=false + EOF + insinto "${unitdir}"/systemd-suspend.service.d + newins systemd/system/systemd-suspend.service.d/nvidia-suspend-nofreeze.conf 10-nvidia.conf + dosym -r "${unitdir}"/systemd-{suspend,hibernate}.service.d/10-nvidia.conf + dosym -r "${unitdir}"/systemd-{suspend,hybrid-sleep}.service.d/10-nvidia.conf + dosym -r "${unitdir}"/systemd-{suspend,suspend-then-hibernate}.service.d/10-nvidia.conf + + # MODULE:powerd extras + if use powerd; then + newinitd "${FILESDIR}"/nvidia-powerd.initd nvidia-powerd #923117 + systemd_dounit systemd/system/nvidia-powerd.service + + insinto /usr/share/dbus-1/system.d + doins nvidia-dbus.conf + fi + + # symlink non-versioned so nvidia-settings can use it even if misdetected + dosym nvidia-application-profiles-${PV}-key-documentation \ + ${paths[APPLICATION_PROFILE]}/nvidia-application-profiles-key-documentation + + # don't attempt to strip firmware files (silences errors) + dostrip -x ${paths[FIRMWARE]} + + # sandbox issues with /dev/nvidiactl and others (bug #904292,#921578) + # are widespread and sometime affect revdeps of packages built with + # USE=opencl/cuda making it hard to manage in ebuilds (minimal set, + # ebuilds should handle manually if need others or addwrite) + insinto /etc/sandbox.d + newins - 20nvidia <<<'SANDBOX_PREDICT="/dev/nvidiactl:/dev/nvidia-caps:/dev/char"' + + # dracut does not use /etc/modprobe.d if hostonly=no, but want to make sure + # our settings are used for bug 932781#c8 and nouveau blacklist if either + # modules are included (however, just best-effort without initramfs regen) + if use modules; then + echo "install_items+=\" ${EPREFIX}/etc/modprobe.d/nvidia.conf \"" >> \ + "${ED}"/usr/lib/dracut/dracut.conf.d/10-${PN}.conf || die + fi +} + +pkg_preinst() { + use modules || return + + # set video group id based on live system (bug #491414) + local g=$(egetent group video | cut -d: -f3) + [[ ${g} =~ ^[0-9]+$ ]] || die "Failed to determine video group id (got '${g}')" + sed -i "s/@VIDEOGID@/${g}/" "${ED}"/etc/modprobe.d/nvidia.conf || die + + # try to find driver mismatches using temporary supported-gpus.json + for g in $(grep -l 0x10de /sys/bus/pci/devices/*/vendor 2>/dev/null); do + g=$(grep -io "\"devid\":\"$(<${g%vendor}device)\"[^}]*branch\":\"[0-9]*" \ + "${ED}"/usr/share/nvidia/supported-gpus.json 2>/dev/null) + if [[ ${g} ]]; then + g=$((${g##*\"}+1)) + if ver_test -ge ${g}; then + NV_LEGACY_MASK=">=${CATEGORY}/${PN}-${g}" + break + fi + fi + done + rm "${ED}"/usr/share/nvidia/supported-gpus.json || die +} + +pkg_postinst() { + linux-mod-r1_pkg_postinst + + readme.gentoo_print_elog + + if [[ -r /proc/driver/nvidia/version && + $( ${EROOT}/etc/portage/package.mask/${PN}" + else + ewarn "\n echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask" + fi + ewarn "\n...then downgrade to a legacy[1] branch if possible (not all old versions" + ewarn "are available or fully functional, may need to consider nouveau[2])." + ewarn "\n[1] https://www.nvidia.com/object/IO_32667.html" + ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau" + fi + + if ver_replacing -lt 595; then + elog "\n>=${PN}-595 has changes that may or may not need attention:" + elog "1. USE=kernel-open was removed and is now always enabled. If for some" + elog " reason you really need the closed variant (e.g. Runtime D3 on Turing" + elog " GPUs), please use LTS 580.xx instead as Gentoo has no intention to" + elog " support both variants anymore going forward" + elog "2. systemd/elogind sleep services (nvidia-sleep.sh) were tentatively" + elog " removed and replaced by setting NVreg_UseKernelSuspendNotifiers=1 in" + elog " ${EROOT}/etc/modprobe.d/nvidia.conf. If using a non-default custom" + elog " nvidia.conf, please ensure the option is set. Also, systemd users" + elog " may want to ensure that they do not have old sleep/suspend/resume" + elog " *nvidia* files in ${EROOT}/etc/systemd to avoid potential issues." + elog "3. nvidia-drm.modeset=1 was removed from nvidia.conf because it is now" + elog " default enabled regardless (new NVIDIA default)" + fi +} diff --git a/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-610.43.02-r1.ebuild b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-610.43.02-r1.ebuild new file mode 100644 index 00000000000..be9933e14e3 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/x11-drivers/nvidia-drivers/nvidia-drivers-610.43.02-r1.ebuild @@ -0,0 +1,557 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MODULES_OPTIONAL_IUSE=+modules +inherit desktop dot-a eapi9-pipestatus eapi9-ver flag-o-matic linux-mod-r1 +inherit readme.gentoo-r1 systemd toolchain-funcs unpacker user-info + +MODULES_KERNEL_MAX=7.1 +NV_URI="https://download.nvidia.com/XFree86/" + +DESCRIPTION="NVIDIA Accelerated Graphics Driver" +HOMEPAGE="https://www.nvidia.com/" +SRC_URI=" + amd64? ( ${NV_URI}Linux-x86_64/${PV}/NVIDIA-Linux-x86_64-${PV}.run ) + arm64? ( ${NV_URI}Linux-aarch64/${PV}/NVIDIA-Linux-aarch64-${PV}.run ) + $(printf "${NV_URI}%s/%s-${PV}.tar.bz2 " \ + nvidia-{installer,modprobe,persistenced,settings,xconfig}{,}) + ${NV_URI}NVIDIA-kernel-module-source/NVIDIA-kernel-module-source-${PV}.tar.xz +" +# nvidia-installer is unused but here for GPL-2's "distribute sources" +S=${WORKDIR} + +LICENSE=" + NVIDIA-2025 Apache-2.0 Boost-1.0 BSD BSD-2 GPL-2 MIT ZLIB + curl openssl public-domain +" +SLOT="0/${PV%%.*}" +KEYWORDS="-* ~amd64 ~arm64" +IUSE="+X abi_x86_32 abi_x86_64 persistenced powerd +static-libs +tools wayland" + +COMMON_DEPEND=" + acct-group/video + X? ( x11-libs/libpciaccess ) + persistenced? ( + acct-user/nvpd + net-libs/libtirpc:= + ) + tools? ( + >=app-accessibility/at-spi2-core-2.46:2 + dev-libs/glib:2 + dev-libs/jansson:= + media-libs/harfbuzz:= + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3[X] + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXxf86vm + x11-libs/pango + ) +" +# egl-wayland2: nvidia currently ships both versions so, to ensure +# everything works properly, depend on both at same time for now +# (may use one or the other depending on setup) +RDEPEND=" + ${COMMON_DEPEND} + || ( + dev-libs/openssl-compat:3 + dev-libs/openssl:0/3 + ) + sys-devel/gcc:* + sys-libs/glibc + X? ( + media-libs/libglvnd[X,abi_x86_32(-)?] + x11-libs/libX11[abi_x86_32(-)?] + x11-libs/libXext[abi_x86_32(-)?] + ) + powerd? ( sys-apps/dbus[abi_x86_32(-)?] ) + wayland? ( + >=gui-libs/egl-gbm-1.1.1-r2[abi_x86_32(-)?] + >=gui-libs/egl-wayland-1.1.13.1[abi_x86_32(-)?] + gui-libs/egl-wayland2[abi_x86_32(-)?] + X? ( gui-libs/egl-x11[abi_x86_32(-)?] ) + ) +" +DEPEND=" + ${COMMON_DEPEND} + static-libs? ( + x11-base/xorg-proto + x11-libs/libX11 + x11-libs/libXext + ) + tools? ( + dev-util/vulkan-headers + media-libs/libglvnd + sys-apps/dbus + x11-base/xorg-proto + x11-libs/libXrandr + x11-libs/libXv + x11-libs/libvdpau + ) +" +BDEPEND=" + sys-devel/m4 + virtual/pkgconfig +" + +# there is some non-prebuilt exceptions but rather not maintain a list +QA_PREBUILT="lib/firmware/* usr/bin/* usr/lib*" + +PATCHES=( + "${FILESDIR}"/nvidia-modprobe-390.141-uvm-perms.patch + "${FILESDIR}"/nvidia-settings-530.30.02-desktop.patch +) + +pkg_setup() { + use modules && [[ ${MERGE_TYPE} != binary ]] || return + + # do early before linux-mod-r1 so can use chkconfig to setup CONFIG_CHECK + get_version + require_configured_kernel + + local CONFIG_CHECK=" + PROC_FS + ~DRM_KMS_HELPER + ~DRM_FBDEV_EMULATION + ~SYSVIPC + ~!LOCKDEP + ~!PREEMPT_RT + ~!SLUB_DEBUG_ON + !DEBUG_MUTEXES + $(usev amd64 'X86_PAT') + $(usev powerd '~CPU_FREQ') + " + + kernel_is -ge 6 11 && linux_chkconfig_present DRM_FBDEV_EMULATION && + CONFIG_CHECK+=" DRM_TTM_HELPER" + + local drm_helper_msg="Cannot be directly selected in the kernel's config menus, and may need + selection of a DRM device even if unused, e.g. CONFIG_DRM_QXL=m or + DRM_AMDGPU=m (among others, consult the kernel config's help), can + also use DRM_NOUVEAU=m as long as built as module *not* built-in." + local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but is needed for wayland support, + tty takeover (e.g. for simpledrm), and config-less Xorg auto-detection. + ${drm_helper_msg}" + local ERROR_DRM_TTM_HELPER="CONFIG_DRM_TTM_HELPER: is not set but is needed to compile when using + kernel version 6.11.x or newer while DRM_FBDEV_EMULATION is set. + ${drm_helper_msg}" + local ERROR_DRM_FBDEV_EMULATION="CONFIG_DRM_FBDEV_EMULATION: is not set but is needed for + nvidia-drm.fbdev=1 support (see ${EPREFIX}/etc/modprobe.d/nvidia.conf), may + result in a blank console/tty." + local ERROR_PREEMPT_RT="CONFIG_PREEMPT_RT: is set but is unsupported by NVIDIA upstream and + will fail to build unless the env var IGNORE_PREEMPT_RT_PRESENCE=1 is + set. Please do not report issues if run into e.g. kernel panics while + ignoring this." + + linux-mod-r1_pkg_setup +} + +src_prepare() { + # make patches usable across versions + rm nvidia-modprobe && mv nvidia-modprobe{-${PV},} || die + rm nvidia-persistenced && mv nvidia-persistenced{-${PV},} || die + rm nvidia-settings && mv nvidia-settings{-${PV},} || die + rm nvidia-xconfig && mv nvidia-xconfig{-${PV},} || die + mv NVIDIA-kernel-module-source-${PV} kernel-module-source || die + + default + + sed 's/__USER__/nvpd/' \ + nvidia-persistenced/init/systemd/nvidia-persistenced.service.template \ + > "${T}"/nvidia-persistenced.service || die + + # use alternative vulkan icd option if USE=-X (bug #909181) + use X || sed -i 's/"libGLX/"libEGL/' nvidia_{layers,icd}.json || die + + # makefile attempts to install wayland library even if not built + use wayland || sed -i 's/ WAYLAND_LIB_install$//' \ + nvidia-settings/src/Makefile || die +} + +src_compile() { + tc-export AR CC CXX LD OBJCOPY OBJDUMP PKG_CONFIG + + # extra flags for the libXNVCtrl.a static library + local xnvflags=-fPIC #840389 + tc-is-lto && xnvflags+=" $(test-flags-CC -ffat-lto-objects)" + + # same as uname -m + local target_arch + case ${ARCH} in + amd64) target_arch=x86_64;; + arm64) target_arch=aarch64;; + *) die "Unrecognised architecture: ${ARCH}";; + esac + + NV_ARGS=( + PREFIX="${EPREFIX}"/usr + HOST_CC="$(tc-getBUILD_CC)" + HOST_LD="$(tc-getBUILD_LD)" + BUILD_GTK2LIB= + NV_USE_BUNDLED_LIBJANSSON=0 + NV_VERBOSE=1 DO_STRIP= MANPAGE_GZIP= OUTPUTDIR=out + TARGET_ARCH="${target_arch}" + WAYLAND_AVAILABLE=$(usex wayland 1 0) + XNVCTRL_CFLAGS="${xnvflags}" + ) + + if use modules; then + local o_cflags=${CFLAGS} o_cxxflags=${CXXFLAGS} o_ldflags=${LDFLAGS} + + # environment flags are normally unused for modules, but nvidia uses + # them for building the formerly closed "blob" and it is a bit fragile + filter-flags -fno-plt #912949 + filter-lto + CC=${KERNEL_CC} CXX=${KERNEL_CXX} strip-unsupported-flags + LDFLAGS=$(raw-ldflags) + + # the "blob" uses C++ which is an issue if there is debug symbols + # when running pahole, there is a pahole.sh wrapper that tries to + # exclude C++ but it did not seem to be enough last time tried + linux_chkconfig_present DEBUG_INFO_BTF_MODULES && append-flags -g0 + + : video:kernel-module-source:kernel-module-source/kernel-open + local modlist=( nvidia{,-drm,-modeset,-peermem,-uvm}=${_} ) + local modargs=( + IGNORE_CC_MISMATCH=yes NV_VERBOSE=1 + SYSOUT="${KV_OUT_DIR}" SYSSRC="${KV_DIR}" + TARGET_ARCH="${target_arch}" + + # kernel takes "x86" and "x86_64" as meaning the same, but nvidia + # makes the distinction (since 550.135) and is not happy with "x86" + # TODO?: it should be ok/better for tc-arch-kernel to do x86_64 + $(usev amd64 ARCH=x86_64) + ) + + # temporary workaround for bug #914468 + addpredict "${KV_OUT_DIR}" + + linux-mod-r1_src_compile + CFLAGS=${o_cflags} CXXFLAGS=${o_cxxflags} LDFLAGS=${o_ldflags} + fi + + emake "${NV_ARGS[@]}" -C nvidia-modprobe + use persistenced && emake "${NV_ARGS[@]}" -C nvidia-persistenced + use X && emake "${NV_ARGS[@]}" -C nvidia-xconfig + + if use tools; then + # avoid noisy *very* noisy logs with deprecation warnings + CFLAGS="-Wno-deprecated-declarations ${CFLAGS}" \ + emake "${NV_ARGS[@]}" -C nvidia-settings + elif use static-libs; then + # pretend GTK+3 is available, not actually used (bug #880879) + emake "${NV_ARGS[@]}" BUILD_GTK3LIB=1 \ + -C nvidia-settings/src out/libXNVCtrl.a + fi +} + +src_install() { + local libdir=$(get_libdir) libdir32=$(ABI=x86 get_libdir) + + NV_ARGS+=( DESTDIR="${D}" LIBDIR="${ED}"/usr/${libdir} ) + + local -A paths=( + [APPLICATION_PROFILE]=/usr/share/nvidia + [CUDA_ICD]=/etc/OpenCL/vendors + [EGL_EXTERNAL_PLATFORM_JSON]=/usr/share/egl/egl_external_platform.d + [FIRMWARE]=/lib/firmware/nvidia/${PV} + [GBM_BACKEND_LIB_SYMLINK]=/usr/${libdir}/gbm + [GLVND_EGL_ICD_JSON]=/usr/share/glvnd/egl_vendor.d + [OPENGL_DATA]=/usr/share/nvidia + [VULKANSC_ICD_JSON]=/usr/share/vulkansc + [VULKAN_ICD_JSON]=/usr/share/vulkan + [WINE_LIB]=/usr/${libdir}/nvidia/wine + [XORG_OUTPUTCLASS_CONFIG]=/usr/share/X11/xorg.conf.d + + [GLX_MODULE_SHARED_LIB]=/usr/${libdir}/xorg/modules/extensions + [GLX_MODULE_SYMLINK]=/usr/${libdir}/xorg/modules + [XMODULE_SHARED_LIB]=/usr/${libdir}/xorg/modules + ) + + local skip_files=( + $(usev !X "libGLX_nvidia libglxserver_nvidia") + libGLX_indirect # non-glvnd unused fallback + libnvidia-{gtk,wayland-client} nvidia-{settings,xconfig} # from source + libnvidia-egl-gbm 15_nvidia_gbm # gui-libs/egl-gbm + libnvidia-egl-wayland 10_nvidia_wayland # gui-libs/egl-wayland + libnvidia-egl-wayland2 09_nvidia_wayland2 # gui-libs/egl-wayland2 + libnvidia-egl-xcb 20_nvidia_xcb.json # gui-libs/egl-x11 + libnvidia-egl-xlib 20_nvidia_xlib.json # gui-libs/egl-x11 + libnvidia-pkcs11.so # using the openssl3 version instead + ) + local skip_modules=( + $(usev !X "nvfbc vdpau xdriver") + $(usev !modules gsp) + $(usev !powerd nvtopps) + installer nvpd # handled separately / built from source + ) + local skip_types=( + GLVND_LIB GLVND_SYMLINK EGL_CLIENT.\* GLX_CLIENT.\* # media-libs/libglvnd + OPENCL_WRAPPER.\* # virtual/opencl + DOCUMENTATION DOT_DESKTOP .\*_SRC DKMS_CONF SYSTEMD_UNIT # handled separately / unused + ) + + local DOCS=( + README.txt NVIDIA_Changelog supported-gpus/supported-gpus.json + nvidia-settings/doc/{FRAMELOCK,NV-CONTROL-API}.txt + ) + local HTML_DOCS=( html/. ) + einstalldocs + + local DISABLE_AUTOFORMATTING=yes + local DOC_CONTENTS="\ +Trusted users should be in the 'video' group to use NVIDIA devices. +You can add yourself by using: gpasswd -a my-user video\ +$(usev modules " + +Like all out-of-tree kernel modules, it is necessary to rebuild +${PN} after upgrading or rebuilding the Linux kernel +by for example running \`emerge @module-rebuild\`. Alternatively, +if using a distribution kernel (sys-kernel/gentoo-kernel{,-bin}), +this can be automated by setting USE=dist-kernel globally. + +Loaded kernel modules also must not mismatch with the installed +${PN} version (excluding -r revision), meaning should +ensure \`eselect kernel list\` points to the kernel that will be +booted before building and preferably reboot after upgrading +${PN} (the ebuild will emit a warning if mismatching). + +See '${EPREFIX}/etc/modprobe.d/nvidia.conf' for modules options.")\ +$(use amd64 && usev !abi_x86_32 " + +Note that without USE=abi_x86_32 on ${PN}, 32bit applications +(typically using wine / steam) will not be able to use GPU acceleration.") + +For additional information or for troubleshooting issues, please see +https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers and NVIDIA's own +documentation that is installed alongside this README." + readme.gentoo_create_doc + + if use modules; then + linux-mod-r1_src_install + + insinto /etc/modprobe.d + newins "${FILESDIR}"/nvidia-610.conf nvidia.conf + + # used for gpu verification with binpkgs (not kept, see pkg_preinst) + insinto /usr/share/nvidia + doins supported-gpus/supported-gpus.json + fi + + emake "${NV_ARGS[@]}" -C nvidia-modprobe install + fowners :video /usr/bin/nvidia-modprobe #505092 + fperms 4710 /usr/bin/nvidia-modprobe + + if use persistenced; then + emake "${NV_ARGS[@]}" -C nvidia-persistenced install + newconfd "${FILESDIR}"/nvidia-persistenced.confd nvidia-persistenced + newinitd "${FILESDIR}"/nvidia-persistenced.initd nvidia-persistenced + systemd_dounit "${T}"/nvidia-persistenced.service + fi + + if use tools; then + emake "${NV_ARGS[@]}" -C nvidia-settings install + + doicon nvidia-settings/doc/nvidia-settings.png + domenu nvidia-settings/doc/nvidia-settings.desktop + + exeinto /etc/X11/xinit/xinitrc.d + newexe "${FILESDIR}"/95-nvidia-settings-r1 95-nvidia-settings + fi + + if use static-libs; then + dolib.a nvidia-settings/src/out/libXNVCtrl.a + strip-lto-bytecode + + insinto /usr/include/NVCtrl + doins nvidia-settings/src/libXNVCtrl/NVCtrl{Lib,}.h + fi + + use X && emake "${NV_ARGS[@]}" -C nvidia-xconfig install + + # mimic nvidia-installer by reading .manifest to install files + # 0:file 1:perms 2:type 3+:subtype/arguments -:module + local m into + while IFS=' ' read -ra m; do + ! [[ ${#m[@]} -ge 2 && ${m[-1]} =~ MODULE: ]] || + [[ " ${m[0]##*/}" =~ ^(\ ${skip_files[*]/%/.*|\\} )$ ]] || + [[ " ${m[2]}" =~ ^(\ ${skip_types[*]/%/|\\} )$ ]] || + has ${m[-1]#MODULE:} "${skip_modules[@]}" && continue + + case ${m[2]} in + MANPAGE) + gzip -dc ${m[0]} | newman - ${m[0]%.gz} + pipestatus || die + continue + ;; + GBM_BACKEND_LIB_SYMLINK) m[4]=../${m[4]};; # missing ../ + VDPAU_SYMLINK) m[4]=vdpau/; m[5]=${m[5]#vdpau/};; # .so to vdpau/ + esac + + if [[ -v 'paths[${m[2]}]' ]]; then + into=${paths[${m[2]}]} + elif [[ ${m[2]} == EXPLICIT_PATH ]]; then + into=${m[3]} + elif [[ ${m[2]} == *_BINARY ]]; then + into=/usr/bin + elif [[ ${m[3]} == COMPAT32 ]]; then + use abi_x86_32 || continue + into=/usr/${libdir32} + elif [[ ${m[2]} == *_@(LIB|SYMLINK) ]]; then + into=/usr/${libdir} + else + die "No known installation path for ${m[0]}" + fi + [[ ${m[3]: -2} == ?/ ]] && into+=/${m[3]%/} + [[ ${m[4]: -2} == ?/ ]] && into+=/${m[4]%/} + + if [[ ${m[2]} =~ _SYMLINK$ ]]; then + [[ ${m[4]: -1} == / ]] && m[4]=${m[5]} + dosym ${m[4]} ${into}/${m[0]} + continue + fi + # avoid portage warning due to missing soname links in manifest + [[ ${m[0]} =~ ^libnvidia-ngx.so ]] && + dosym ${m[0]} ${into}/${m[0]%.so*}.so.1 + + printf -v m[1] %o $((m[1] | 0200)) # 444->644 + insopts -m${m[1]} + insinto ${into} + doins ${m[0]} + done < .manifest || die + insopts -m0644 # reset + + # MODULE:installer non-skipped extras + # (sleep services skipped, obsoleted by NVreg_UseKernelSuspendNotifiers=1) + dobin nvidia-bug-report.sh + + insinto /usr/share/nvidia/files.d + doins sandboxutils-filelist.json + + # needed with >=systemd-256 or may fail to resume with some setups + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072722 + : "$(systemd_get_systemunitdir)" + local unitdir=${_#"${EPREFIX}"} + insinto "${unitdir}"/systemd-homed.service.d + newins - 10-nvidia.conf <<-EOF + [Service] + Environment=SYSTEMD_HOME_LOCK_FREEZE_SESSION=false + EOF + insinto "${unitdir}"/systemd-suspend.service.d + newins systemd/system/systemd-suspend.service.d/nvidia-suspend-nofreeze.conf 10-nvidia.conf + dosym -r "${unitdir}"/systemd-{suspend,hibernate}.service.d/10-nvidia.conf + dosym -r "${unitdir}"/systemd-{suspend,hybrid-sleep}.service.d/10-nvidia.conf + dosym -r "${unitdir}"/systemd-{suspend,suspend-then-hibernate}.service.d/10-nvidia.conf + + # MODULE:powerd extras + if use powerd; then + newinitd "${FILESDIR}"/nvidia-powerd.initd nvidia-powerd #923117 + systemd_dounit systemd/system/nvidia-powerd.service + + insinto /usr/share/dbus-1/system.d + doins nvidia-dbus.conf + fi + + # symlink non-versioned so nvidia-settings can use it even if misdetected + dosym nvidia-application-profiles-${PV}-key-documentation \ + ${paths[APPLICATION_PROFILE]}/nvidia-application-profiles-key-documentation + + # don't attempt to strip firmware files (silences errors) + dostrip -x ${paths[FIRMWARE]} + + # sandbox issues with /dev/nvidiactl and others (bug #904292,#921578) + # are widespread and sometime affect revdeps of packages built with + # USE=opencl/cuda making it hard to manage in ebuilds (minimal set, + # ebuilds should handle manually if need others or addwrite) + insinto /etc/sandbox.d + newins - 20nvidia <<<'SANDBOX_PREDICT="/dev/nvidiactl:/dev/nvidia-caps:/dev/char"' + + # dracut does not use /etc/modprobe.d if hostonly=no, but want to make sure + # our settings are used for bug 932781#c8 and nouveau blacklist if either + # modules are included (however, just best-effort without initramfs regen) + if use modules; then + echo "install_items+=\" ${EPREFIX}/etc/modprobe.d/nvidia.conf \"" >> \ + "${ED}"/usr/lib/dracut/dracut.conf.d/10-${PN}.conf || die + fi +} + +pkg_preinst() { + use modules || return + + # set video group id based on live system (bug #491414) + local g=$(egetent group video | cut -d: -f3) + [[ ${g} =~ ^[0-9]+$ ]] || die "Failed to determine video group id (got '${g}')" + sed -i "s/@VIDEOGID@/${g}/" "${ED}"/etc/modprobe.d/nvidia.conf || die + + # try to find driver mismatches using temporary supported-gpus.json + for g in $(grep -l 0x10de /sys/bus/pci/devices/*/vendor 2>/dev/null); do + g=$(grep -io "\"devid\":\"$(<${g%vendor}device)\"[^}]*branch\":\"[0-9]*" \ + "${ED}"/usr/share/nvidia/supported-gpus.json 2>/dev/null) + if [[ ${g} ]]; then + g=$((${g##*\"}+1)) + if ver_test -ge ${g}; then + NV_LEGACY_MASK=">=${CATEGORY}/${PN}-${g}" + break + fi + fi + done + rm "${ED}"/usr/share/nvidia/supported-gpus.json || die +} + +pkg_postinst() { + linux-mod-r1_pkg_postinst + + readme.gentoo_print_elog + + if [[ -r /proc/driver/nvidia/version && + $( ${EROOT}/etc/portage/package.mask/${PN}" + else + ewarn "\n echo '${NV_LEGACY_MASK}' >> ${EROOT}/etc/portage/package.mask" + fi + ewarn "\n...then downgrade to a legacy[1] branch if possible (not all old versions" + ewarn "are available or fully functional, may need to consider nouveau[2])." + ewarn "\n[1] https://www.nvidia.com/object/IO_32667.html" + ewarn "[2] https://wiki.gentoo.org/wiki/Nouveau" + fi + + if ver_replacing -lt 595; then + elog "\n>=${PN}-595 has changes that may or may not need attention:" + elog "1. USE=kernel-open was removed and is now always enabled. If for some" + elog " reason you really need the closed variant (e.g. Runtime D3 on Turing" + elog " GPUs), please use LTS 580.xx instead as Gentoo has no intention to" + elog " support both variants anymore going forward" + elog "2. systemd/elogind sleep services (nvidia-sleep.sh) were tentatively" + elog " removed and replaced by setting NVreg_UseKernelSuspendNotifiers=1 in" + elog " ${EROOT}/etc/modprobe.d/nvidia.conf. If using a non-default custom" + elog " nvidia.conf, please ensure the option is set. Also, systemd users" + elog " may want to ensure that they do not have old sleep/suspend/resume" + elog " *nvidia* files in ${EROOT}/etc/systemd to avoid potential issues." + elog "3. nvidia-drm.modeset=1 was removed from nvidia.conf because it is now" + elog " default enabled regardless (new NVIDIA default)" + fi +} From eb9963f579ad9b78b1927c617a620d80bfc79c19 Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Tue, 7 Jul 2026 14:44:22 +0200 Subject: [PATCH 227/243] dev-python/backports-tarfile: dropped from ::gentoo Signed-off-by: Mathieu Tortuyaux --- .../workflows/portage-stable-packages-list | 1 - .../dev-python/backports-tarfile/Manifest | 1 - .../backports-tarfile-1.2.0.ebuild | 64 ------------------- .../dev-python/backports-tarfile/metadata.xml | 12 ---- 4 files changed, 78 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/backports-tarfile/Manifest delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/backports-tarfile/backports-tarfile-1.2.0.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/backports-tarfile/metadata.xml diff --git a/.github/workflows/portage-stable-packages-list b/.github/workflows/portage-stable-packages-list index f2303e551e5..362b4bc71af 100644 --- a/.github/workflows/portage-stable-packages-list +++ b/.github/workflows/portage-stable-packages-list @@ -310,7 +310,6 @@ dev-libs/yajl dev-perl/File-Slurper dev-perl/Parse-Yapp -dev-python/backports-tarfile dev-python/cachecontrol dev-python/certifi dev-python/cffi diff --git a/sdk_container/src/third_party/portage-stable/dev-python/backports-tarfile/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/backports-tarfile/Manifest deleted file mode 100644 index 11d1ddacd21..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/backports-tarfile/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST backports_tarfile-1.2.0.tar.gz 86406 BLAKE2B 20ba5dd91c609b6d7a32b8d489bae5f0d29af83d86c187a8b73e95e3fee034a07469fdfd90fc6c6e96b532b2acbf37ba9e01bdae019ca148d3a668762599fa6d SHA512 8f57526e9aabf7f778e876dab06dd7a476316bb02e9eadd703da3ba74f3b8b0c12338a32fbcb033d477a1a1ff115653a2292b730bfded208c9efb21506bc23d4 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/backports-tarfile/backports-tarfile-1.2.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/backports-tarfile/backports-tarfile-1.2.0.ebuild deleted file mode 100644 index 38b3d37feca..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/backports-tarfile/backports-tarfile-1.2.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 8 -- sys-apps/portage dep -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYPI_PN=${PN/-/.} -# This is a backport from Python 3.12. -PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..11} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Backport of CPython tarfile module (from Python 3.12)" -HOMEPAGE=" - https://github.com/jaraco/backports.tarfile/ - https://pypi.org/project/backports.tarfile/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" - -BDEPEND=" - test? ( - dev-python/jaraco-test[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_configure() { - grep -q 'build-backend = "setuptools' pyproject.toml || - die "Upstream changed build-backend, recheck" - # write a custom pyproject.toml to ease setuptools bootstrap - cat > pyproject.toml <<-EOF || die - [build-system] - requires = ["flit_core >=3.2,<4"] - build-backend = "flit_core.buildapi" - - [project] - name = "backports.tarfile" - version = "${PV}" - description = "Backport of CPython tarfile module" - EOF -} - -python_test() { - local EPYTEST_DESELECT=() - case ${EPYTHON} in - pypy3.11) - EPYTEST_DESELECT+=( - # https://github.com/jaraco/backports.tarfile/issues/10 - tests/test_tarfile.py::ListTest::test_list_verbose - tests/test_tarfile.py::GzipListTest::test_list_verbose - tests/test_tarfile.py::Bz2ListTest::test_list_verbose - tests/test_tarfile.py::LzmaListTest::test_list_verbose - tests/test_tarfile.py::TestExtractionFilters::test_modes - ) - ;; - esac - - epytest -} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/backports-tarfile/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-python/backports-tarfile/metadata.xml deleted file mode 100644 index 63138bedd14..00000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/backports-tarfile/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - python@gentoo.org - - - - jaraco/backports.tarfile - backports.tarfile - - From 2bf858324c03daca63248663b8add1cc2bbfabc5 Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Tue, 7 Jul 2026 14:45:01 +0200 Subject: [PATCH 228/243] eclass/linux-mod: dropped from ::gentoo Signed-off-by: Mathieu Tortuyaux --- .../workflows/portage-stable-packages-list | 1 - .../portage-stable/eclass/linux-mod.eclass | 754 ------------------ 2 files changed, 755 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/eclass/linux-mod.eclass diff --git a/.github/workflows/portage-stable-packages-list b/.github/workflows/portage-stable-packages-list index 362b4bc71af..414a401a503 100644 --- a/.github/workflows/portage-stable-packages-list +++ b/.github/workflows/portage-stable-packages-list @@ -443,7 +443,6 @@ eclass/kernel-2.eclass eclass/libtool.eclass eclass/linux-info.eclass eclass/linux-mod-r1.eclass -eclass/linux-mod.eclass eclass/llvm-r1.eclass eclass/llvm-r2.eclass eclass/llvm-utils.eclass diff --git a/sdk_container/src/third_party/portage-stable/eclass/linux-mod.eclass b/sdk_container/src/third_party/portage-stable/eclass/linux-mod.eclass deleted file mode 100644 index c71ace53aa0..00000000000 --- a/sdk_container/src/third_party/portage-stable/eclass/linux-mod.eclass +++ /dev/null @@ -1,754 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# @ECLASS: linux-mod.eclass -# @MAINTAINER: -# kernel@gentoo.org -# @AUTHOR: -# John Mylchreest , -# Stefan Schweizer -# @SUPPORTED_EAPIS: 7 8 -# @PROVIDES: linux-info -# @BLURB: It provides the functionality required to install external modules against a kernel source tree. -# @DEPRECATED: linux-mod-r1.eclass -# @DESCRIPTION: -# This eclass is used to interface with linux-info.eclass in such a way -# to provide the functionality and initial functions -# required to install external modules against a kernel source -# tree. - -# A Couple of env vars are available to effect usage of this eclass -# These are as follows: - -# @ECLASS_VARIABLE: MODULES_OPTIONAL_USE -# @PRE_INHERIT -# @DEFAULT_UNSET -# @DESCRIPTION: -# A string containing the USE flag to use for making this eclass optional -# The recommended non-empty value is 'modules' - -# @ECLASS_VARIABLE: MODULES_OPTIONAL_USE_IUSE_DEFAULT -# @PRE_INHERIT -# @DEFAULT_UNSET -# @DESCRIPTION: -# A boolean to control the IUSE default state for the MODULES_OPTIONAL_USE USE -# flag. Default value is unset (false). True represented by 1 or 'on', other -# values including unset treated as false. - -# @ECLASS_VARIABLE: KERNEL_DIR -# @DESCRIPTION: -# A string containing the directory of the target kernel sources. The default value is -# "/usr/src/linux" -: "${KERNEL_DIR:=/usr/src/linux}" - -# @ECLASS_VARIABLE: ECONF_PARAMS -# @DEFAULT_UNSET -# @DESCRIPTION: -# It's a string containing the parameters to pass to econf. -# If this is not set, then econf isn't run. - -# @ECLASS_VARIABLE: BUILD_PARAMS -# @DEFAULT_UNSET -# @DESCRIPTION: -# It's a string with the parameters to pass to emake. - -# @ECLASS_VARIABLE: BUILD_TARGETS -# @DESCRIPTION: -# It's a string with the build targets to pass to make. The default value is "clean module" -: "${BUILD_TARGETS:=clean module}" - -# @ECLASS_VARIABLE: MODULE_NAMES -# @DEFAULT_UNSET -# @DESCRIPTION: -# It's a string containing the modules to be built automatically using the default -# src_compile/src_install. It will only make ${BUILD_TARGETS} once in any directory. -# -# The structure of each MODULE_NAMES entry is as follows: -# -# modulename(libdir:srcdir:objdir) -# -# where: -# -# modulename = name of the module file excluding the .ko -# libdir = place in system modules directory where module is installed (by default it's misc) -# srcdir = place for ebuild to cd to before running make (by default it's ${S}) -# objdir = place the .ko and objects are located after make runs (by default it's set to srcdir) -# -# To get an idea of how these variables are used, here's a few lines -# of code from around line 540 in this eclass: -# -# einfo "Installing ${modulename} module" -# cd ${objdir} || die "${objdir} does not exist" -# insinto /lib/modules/${KV_FULL}/${libdir} -# doins ${modulename}.${KV_OBJ} || die "doins ${modulename}.${KV_OBJ} failed" -# -# For example: -# MODULE_NAMES="module_pci(pci:${S}/pci:${S}) module_usb(usb:${S}/usb:${S})" -# -# what this would do is -# -# cd "${S}"/pci -# make ${BUILD_PARAMS} ${BUILD_TARGETS} -# cd "${S}" -# insinto /lib/modules/${KV_FULL}/pci -# doins module_pci.${KV_OBJ} -# -# cd "${S}"/usb -# make ${BUILD_PARAMS} ${BUILD_TARGETS} -# cd "${S}" -# insinto /lib/modules/${KV_FULL}/usb -# doins module_usb.${KV_OBJ} - -# There is also support for automated modprobe.d file generation. -# This can be explicitly enabled by setting any of the following variables. - -# @ECLASS_VARIABLE: MODULESD__ENABLED -# @DEFAULT_UNSET -# @DESCRIPTION: -# This is used to disable the modprobe.d file generation otherwise the file will be -# always generated (unless no MODULESD__* variable is provided). Set to "no" to disable -# the generation of the file and the installation of the documentation. - -# @ECLASS_VARIABLE: MODULESD__EXAMPLES -# @DEFAULT_UNSET -# @DESCRIPTION: -# This is a bash array containing a list of examples which should -# be used. If you want us to try and take a guess set this to "guess". -# -# For each array_component it's added an options line in the modprobe.d file -# -# options array_component -# -# where array_component is " options" (see modprobe.conf(5)) - -# @ECLASS_VARIABLE: MODULESD__ALIASES -# @DEFAULT_UNSET -# @DESCRIPTION: -# This is a bash array containing a list of associated aliases. -# -# For each array_component it's added an alias line in the modprobe.d file -# -# alias array_component -# -# where array_component is "wildcard " (see modprobe.conf(5)) - -# @ECLASS_VARIABLE: MODULESD__ADDITIONS -# @DEFAULT_UNSET -# @DESCRIPTION: -# This is a bash array containing a list of additional things to -# add to the bottom of the file. This can be absolutely anything. -# Each entry is a new line. - -# @ECLASS_VARIABLE: MODULESD__DOCS -# @DEFAULT_UNSET -# @DESCRIPTION: -# This is a string list which contains the full path to any associated -# documents for . These files are installed in the live tree. - -# @ECLASS_VARIABLE: KV_OBJ -# @INTERNAL -# @DESCRIPTION: -# It's a read-only variable. It contains the extension of the kernel modules. - -# @ECLASS_VARIABLE: KV_OBJ_COMPRESS_EXT -# @INTERNAL -# @DESCRIPTION: -# Read-only variable. It contains the compression extension of the kernel -# modules (.xz, .gz, .zst) - -case ${EAPI} in - 7|8) ;; - *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; -esac - -if [[ -z ${_LINUX_MOD_ECLASS} ]] ; then -_LINUX_MOD_ECLASS=1 - -# TODO: When adding support for future EAPIs, please audit this list -# for unused inherits and conditionalise them. -inherit linux-info multilib multiprocessing toolchain-funcs - -case ${MODULES_OPTIONAL_USE_IUSE_DEFAULT:-n} in - [nNfF]*|[oO][fF]*|0|-) _modules_optional_use_iuse_default='' ;; - *) _modules_optional_use_iuse_default='+' ;; -esac - -IUSE="dist-kernel - ${MODULES_OPTIONAL_USE:+${_modules_optional_use_iuse_default}}${MODULES_OPTIONAL_USE}" -SLOT="0" -RDEPEND=" - ${MODULES_OPTIONAL_USE}${MODULES_OPTIONAL_USE:+? (} - kernel_linux? ( - sys-apps/kmod[tools] - dist-kernel? ( virtual/dist-kernel:= ) - ) - ${MODULES_OPTIONAL_USE:+)}" -DEPEND="${RDEPEND} - ${MODULES_OPTIONAL_USE}${MODULES_OPTIONAL_USE:+? (} - kernel_linux? ( virtual/linux-sources virtual/libelf ) - ${MODULES_OPTIONAL_USE:+)}" - -# eclass utilities -# ---------------------------------- - -# @FUNCTION: use_m -# @RETURN: true or false -# @DESCRIPTION: -# It checks if the kernel version is greater than 2.6.5. -use_m() { - debug-print-function ${FUNCNAME} $* - - # If we haven't determined the version yet, we need to. - get_version - - # If the kernel version is greater than 2.6.6 then we should use - # M= instead of SUBDIRS= - [[ ${KV_MAJOR} -ge 3 ]] && return 0 - [[ ${KV_MAJOR} -eq 2 && ${KV_MINOR} -gt 5 && ${KV_PATCH} -gt 5 ]] -} - -# @FUNCTION: convert_to_m -# @USAGE: -# @DESCRIPTION: -# It converts a file (e.g. a makefile) to use M= instead of SUBDIRS= -convert_to_m() { - debug-print-function ${FUNCNAME} $* - - if use_m; then - [[ ! -f "${1}" ]] && \ - die "convert_to_m() requires a filename as an argument" - - ebegin "Converting ${1/${WORKDIR}\//} to use M= instead of SUBDIRS=" - sed -i 's:SUBDIRS=:M=:g' "${1}" - eend $? - fi -} - -# @FUNCTION: update_depmod -# @INTERNAL -# @DESCRIPTION: -# Updates the modules.dep file for the current kernel. -update_depmod() { - debug-print-function ${FUNCNAME} $* - - # If we haven't determined the version yet, we need to. - get_version - - ebegin "Updating module dependencies for ${KV_FULL}" - if [[ -r "${KV_OUT_DIR}"/System.map ]]; then - depmod -ae -F "${KV_OUT_DIR}"/System.map -b "${ROOT:-/}" ${KV_FULL} - eend $? - else - ewarn - ewarn "${KV_OUT_DIR}/System.map not found." - ewarn "You must manually update the kernel module dependencies using depmod." - eend 1 - ewarn - fi -} - -# @FUNCTION: move_old_moduledb -# @INTERNAL -# @DESCRIPTION: -# Updates the location of the database used by the module-rebuild utility. -move_old_moduledb() { - debug-print-function ${FUNCNAME} $* - - local OLDDIR="${ROOT}"/usr/share/module-rebuild - local NEWDIR="${ROOT}"/var/lib/module-rebuild - - if [[ -f "${OLDDIR}"/moduledb ]]; then - [[ ! -d "${NEWDIR}" ]] && mkdir -p "${NEWDIR}" - [[ ! -f "${NEWDIR}"/moduledb ]] && \ - mv "${OLDDIR}"/moduledb "${NEWDIR}"/moduledb - rm -f "${OLDDIR}"/* - rmdir "${OLDDIR}" - fi -} - -# @FUNCTION: update_moduledb -# @DESCRIPTION: -# Adds the package to the /var/lib/module-rebuild/moduledb database used by the module-rebuild utility. -update_moduledb() { - debug-print-function ${FUNCNAME} $* - - local MODULEDB_DIR="${ROOT}"/var/lib/module-rebuild - move_old_moduledb - - if [[ ! -f "${MODULEDB_DIR}"/moduledb ]]; then - [[ ! -d "${MODULEDB_DIR}" ]] && mkdir -p "${MODULEDB_DIR}" - touch "${MODULEDB_DIR}"/moduledb - fi - - if ! grep -qs ${CATEGORY}/${PN}-${PVR} "${MODULEDB_DIR}"/moduledb ; then - einfo "Adding module to moduledb." - echo "a:1:${CATEGORY}/${PN}-${PVR}" >> "${MODULEDB_DIR}"/moduledb - fi -} - -# @FUNCTION: remove_moduledb -# @DESCRIPTION: -# Removes the package from the /var/lib/module-rebuild/moduledb database used by -remove_moduledb() { - debug-print-function ${FUNCNAME} $* - - local MODULEDB_DIR="${ROOT}"/var/lib/module-rebuild - move_old_moduledb - - if grep -qs ${CATEGORY}/${PN}-${PVR} "${MODULEDB_DIR}"/moduledb ; then - einfo "Removing ${CATEGORY}/${PN}-${PVR} from moduledb." - sed -i -e "/.*${CATEGORY}\/${PN}-${PVR}.*/d" "${MODULEDB_DIR}"/moduledb - fi -} - -# @FUNCTION: set_kvobj -# @DESCRIPTION: -# It sets the KV_OBJ variable. -set_kvobj() { - debug-print-function ${FUNCNAME} $* - - if kernel_is ge 2 6; then - KV_OBJ="ko" - else - KV_OBJ="o" - fi - - # Do we really need to know this? - # Let's silence it. - #einfo "Using KV_OBJ=${KV_OBJ}" -} - -# @FUNCTION: get-KERNEL_CC -# @RETURN: Name of the C compiler. -# @DESCRIPTION: -# Return name of the C compiler while honoring variables defined in ebuilds. -get-KERNEL_CC() { - debug-print-function ${FUNCNAME} $* - - if [[ -n ${KERNEL_CC} ]] ; then - echo "${KERNEL_CC}" - return - fi - - local kernel_cc - if [[ -n "${KERNEL_ABI}" ]]; then - # In future, an arch might want to define CC_$ABI - #kernel_cc="$(get_abi_CC)" - #[ -z "${kernel_cc}" ] && - kernel_cc="$(tc-getCC $(ABI=${KERNEL_ABI} get_abi_CHOST))" - else - kernel_cc=$(tc-getCC) - fi - echo "${kernel_cc}" -} - -# @FUNCTION: generate_modulesd -# @INTERNAL -# @USAGE: /path/to/the/modulename_without_extension -# @RETURN: A file in /etc/modprobe.d -# @DESCRIPTION: -# This function will generate and install the necessary modprobe.d file from the -# information contained in the modules exported parms. -# (see the variables MODULESD__ENABLED, MODULESD__EXAMPLES, -# MODULESD__ALIASES, MODULESD__ADDITION and MODULESD__DOCS). -# -# At the end the documentation specified with MODULESD__DOCS is installed. -generate_modulesd() { - debug-print-function ${FUNCNAME} $* - [[ -n "${MODULES_OPTIONAL_USE}" ]] && use !${MODULES_OPTIONAL_USE} && return - - local currm_path currm currm_t t myIFS myVAR - local module_docs module_enabled module_aliases \ - module_additions module_examples module_modinfo module_opts - - for currm_path in ${@}; do - currm=${currm_path//*\/} - currm=$(echo ${currm} | tr '[:lower:]' '[:upper:]') - currm_t=${currm} - while [[ -z ${currm_t//*-*} ]]; do - currm_t=${currm_t/-/_} - done - - module_docs="$(eval echo \${MODULESD_${currm_t}_DOCS})" - module_enabled="$(eval echo \${MODULESD_${currm_t}_ENABLED})" - module_aliases="$(eval echo \${#MODULESD_${currm_t}_ALIASES[*]})" - module_additions="$(eval echo \${#MODULESD_${currm_t}_ADDITIONS[*]})" - module_examples="$(eval echo \${#MODULESD_${currm_t}_EXAMPLES[*]})" - - [[ ${module_aliases} -eq 0 ]] && unset module_aliases - [[ ${module_additions} -eq 0 ]] && unset module_additions - [[ ${module_examples} -eq 0 ]] && unset module_examples - - # If we specify we dont want it, then lets exit, otherwise we assume - # that if its set, we do want it. - [[ ${module_enabled} == no ]] && return 0 - - # unset any unwanted variables. - for t in ${!module_*}; do - [[ -z ${!t} ]] && unset ${t} - done - - [[ -z ${!module_*} ]] && return 0 - - # OK so now if we have got this far, then we know we want to continue - # and generate the modprobe.d file. - module_modinfo="$(modinfo -p ${currm_path}.${KV_OBJ}${KV_OBJ_COMPRESS_EXT})" - module_config="${T}/modulesd-${currm}" - - ebegin "Preparing file for modprobe.d" - #----------------------------------------------------------------------- - echo "# modprobe.d configuration file for ${currm}" >> "${module_config}" - #----------------------------------------------------------------------- - [[ -n ${module_docs} ]] && \ - echo "# For more information please read:" >> "${module_config}" - for t in ${module_docs} - do - echo "# ${t//*\/}" >> "${module_config}" - done - echo >> "${module_config}" - - #----------------------------------------------------------------------- - if [[ ${module_aliases} -gt 0 ]] - then - echo "# Internal Aliases - Do not edit" >> "${module_config}" - echo "# ------------------------------" >> "${module_config}" - - for((t=0; t<${module_aliases}; t++)) - do - echo "alias $(eval echo \${MODULESD_${currm_t}_ALIASES[$t]})" \ - >> "${module_config}" - done - echo '' >> "${module_config}" - fi - - #----------------------------------------------------------------------- - if [[ -n ${module_modinfo} ]]; then - echo >> "${module_config}" - echo "# Configurable module parameters" >> "${module_config}" - echo "# ------------------------------" >> "${module_config}" - myIFS="${IFS}" - IFS="$(echo -en "\n\b")" - - for t in ${module_modinfo}; do - myVAR="$(echo ${t#*:} | grep -o "[^ ]*[0-9][ =][^ ]*" | tail -1 | grep -o "[0-9]")" - if [[ -n ${myVAR} ]]; then - module_opts="${module_opts} ${t%%:*}:${myVAR}" - fi - echo -e "# ${t%%:*}:\t${t#*:}" >> "${module_config}" - done - IFS="${myIFS}" - echo '' >> "${module_config}" - fi - - #----------------------------------------------------------------------- - if [[ $(eval echo \${MODULESD_${currm_t}_ALIASES[0]}) == guess ]]; then - # So, let's do some guesswork, eh? - if [[ -n ${module_opts} ]]; then - echo "# For Example..." >> "${module_config}" - echo "# --------------" >> "${module_config}" - for t in ${module_opts} - do - echo "# options ${currm} ${t//:*}=${t//*:}" >> "${module_config}" - done - echo '' >> "${module_config}" - fi - elif [[ ${module_examples} -gt 0 ]]; then - echo "# For Example..." >> "${module_config}" - echo "# --------------" >> "${module_config}" - for ((t=0; t<${module_examples}; t++)); do - echo "options $(eval echo \${MODULESD_${currm_t}_EXAMPLES[$t]})" \ - >> "${module_config}" - done - echo '' >> "${module_config}" - fi - - #----------------------------------------------------------------------- - if [[ ${module_additions} -gt 0 ]]; then - for ((t=0; t<${module_additions}; t++)); do - echo "$(eval echo \${MODULESD_${currm_t}_ADDITIONS[$t]})" \ - >> "${module_config}" - done - echo '' >> "${module_config}" - fi - - #----------------------------------------------------------------------- - - # then we install it - insinto /etc/modprobe.d - newins "${module_config}" "${currm_path//*\/}.conf" - - # and install any documentation we might have. - [[ -n ${module_docs} ]] && dodoc ${module_docs} - done - eend 0 - return 0 -} - -# @FUNCTION: find_module_params -# @USAGE: A string "NAME(LIBDIR:SRCDIR:OBJDIR)" -# @INTERNAL -# @RETURN: The string "modulename:NAME libdir:LIBDIR srcdir:SRCDIR objdir:OBJDIR" -# @DESCRIPTION: -# Analyze the specification NAME(LIBDIR:SRCDIR:OBJDIR) of one module as described in MODULE_NAMES. -find_module_params() { - debug-print-function ${FUNCNAME} $* - - local matched_offset=0 matched_opts=0 test="${@}" temp_var result - local i=0 y=0 z=0 - - for ((i=0; i<=${#test}; i++)); do - case ${test:${i}:1} in - \() matched_offset[0]=${i};; - \:) matched_opts=$((${matched_opts} + 1)); - matched_offset[${matched_opts}]="${i}";; - \)) matched_opts=$((${matched_opts} + 1)); - matched_offset[${matched_opts}]="${i}";; - esac - done - - for ((i=0; i<=${matched_opts}; i++)); do - # i = offset were working on - # y = last offset - # z = current offset - last offset - # temp_var = temporary name - case ${i} in - 0) tempvar=${test:0:${matched_offset[0]}};; - *) y=$((${matched_offset[$((${i} - 1))]} + 1)) - z=$((${matched_offset[${i}]} - ${matched_offset[$((${i} - 1))]})); - z=$((${z} - 1)) - tempvar=${test:${y}:${z}};; - esac - - case ${i} in - 0) result="${result} modulename:${tempvar}";; - 1) result="${result} libdir:${tempvar}";; - 2) result="${result} srcdir:${tempvar}";; - 3) result="${result} objdir:${tempvar}";; - esac - done - - echo ${result} -} - -# default ebuild functions -# -------------------------------- - -# @FUNCTION: linux-mod_pkg_setup -# @DESCRIPTION: -# It checks the CONFIG_CHECK options (see linux-info.eclass(5)), verifies that the kernel is -# configured, verifies that the sources are prepared, verifies that the modules support is builtin -# in the kernel and sets the object extension KV_OBJ. -linux-mod_pkg_setup() { - debug-print-function ${FUNCNAME} $* - [[ -n "${MODULES_OPTIONAL_USE}" ]] && use !${MODULES_OPTIONAL_USE} && return - - local is_bin="${MERGE_TYPE}" - - # If we are installing a binpkg, take a different path. - if [[ ${is_bin} == binary ]]; then - linux-mod_pkg_setup_binary - return - fi - - # External modules use kernel symbols (bug #591832) - CONFIG_CHECK+=" !TRIM_UNUSED_KSYMS" - - linux-info_pkg_setup - require_configured_kernel - check_kernel_built - strip_modulenames - [[ -n ${MODULE_NAMES} ]] && check_modules_supported - set_kvobj -} - -# @FUNCTION: linux-mod_pkg_setup_binary -# @DESCRIPTION: -# Perform all kernel option checks non-fatally, as the .config and -# /proc/config.gz might not be present. Do not do anything that requires kernel -# sources. -linux-mod_pkg_setup_binary() { - debug-print-function ${FUNCNAME} $* - local new_CONFIG_CHECK - # ~ needs always to be quoted, else bash expands it. - for config in ${CONFIG_CHECK} ; do - optional='~' - [[ ${config:0:1} == "~" ]] && optional='' - new_CONFIG_CHECK="${new_CONFIG_CHECK} ${optional}${config}" - done - CONFIG_CHECK="${new_CONFIG_CHECK}" - linux-info_pkg_setup -} - -# @FUNCTION: strip_modulenames -# @DESCRIPTION: -# Remove modules from being built automatically using the default src_compile/src_install -strip_modulenames() { - debug-print-function ${FUNCNAME} $* - - local i - for i in ${MODULE_IGNORE}; do - MODULE_NAMES=${MODULE_NAMES//${i}(*} - done -} - -# @FUNCTION: linux-mod_src_compile -# @DESCRIPTION: -# It compiles all the modules specified in MODULE_NAMES. For each module the econf command is -# executed only if ECONF_PARAMS is defined, the name of the target is specified by BUILD_TARGETS -# while the options are in BUILD_PARAMS (all the modules share these variables). The compilation -# happens inside ${srcdir}. -# -# Look at the description of these variables for more details. -linux-mod_src_compile() { - debug-print-function ${FUNCNAME} $* - [[ -n "${MODULES_OPTIONAL_USE}" ]] && use !${MODULES_OPTIONAL_USE} && return - - local modulename libdir srcdir objdir i n myABI="${ABI}" - set_arch_to_kernel - ABI="${KERNEL_ABI}" - - [[ -n ${KERNEL_DIR} ]] && addpredict "${KERNEL_DIR}/null.dwo" - - # Set CROSS_COMPILE in the environment. - # This allows it to be overridden in local Makefiles. - # https://bugs.gentoo.org/550428 - local -x CROSS_COMPILE=${CROSS_COMPILE-${CHOST}-} - - BUILD_TARGETS=${BUILD_TARGETS:-clean module} - strip_modulenames - cd "${S}" || die - touch Module.symvers || die - for i in ${MODULE_NAMES}; do - unset libdir srcdir objdir - for n in $(find_module_params ${i}); do - eval ${n/:*}=${n/*:/} - done - libdir=${libdir:-misc} - srcdir=${srcdir:-${S}} - objdir=${objdir:-${srcdir}} - - if [[ ! -f "${srcdir}/.built" ]]; then - cd "${srcdir}" || die - ln -s "${S}"/Module.symvers Module.symvers # no die for bug #888679 - einfo "Preparing ${modulename} module" - - # This looks messy, but it is needed to handle multiple variables - # being passed in the BUILD_* stuff where the variables also have - # spaces that must be preserved. If don't do this, then the stuff - # inside the variables gets used as targets for Make, which then - # fails. - eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" \ - LDFLAGS=\"$(get_abi_LDFLAGS)\" \ - ${BUILD_FIXES} \ - ${BUILD_PARAMS} \ - ${BUILD_TARGETS} " \ - || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}" - cd "${OLDPWD}" || die - touch "${srcdir}"/.built || die - fi - done - - set_arch_to_pkgmgr - ABI="${myABI}" -} - -# @FUNCTION: linux-mod_src_install -# @DESCRIPTION: -# It install the modules specified in MODULE_NAMES. The modules should be inside the ${objdir} -# directory and they are installed inside /lib/modules/${KV_FULL}/${libdir}. -# -# The modprobe.d configuration file is automatically generated if the -# MODULESD__* variables are defined. The only way to stop this process is by -# setting MODULESD__ENABLED=no. At the end the documentation specified via -# MODULESD__DOCS is also installed. -# -# Look at the description of these variables for more details. -linux-mod_src_install() { - debug-print-function ${FUNCNAME} $* - [[ -n "${MODULES_OPTIONAL_USE}" ]] && use !${MODULES_OPTIONAL_USE} && return - - local modulename libdir srcdir objdir i n - - [[ -n ${KERNEL_DIR} ]] && addpredict "${KERNEL_DIR}/null.dwo" - - strip_modulenames - for i in ${MODULE_NAMES}; do - unset libdir srcdir objdir - for n in $(find_module_params ${i}); do - eval ${n/:*}=${n/*:/} - done - libdir=${libdir:-misc} - srcdir=${srcdir:-${S}} - objdir=${objdir:-${srcdir}} - - einfo "Installing ${modulename} module" - cd "${objdir}" || die "${objdir} does not exist" - insinto "${INSTALL_MOD_PATH}"/lib/modules/${KV_FULL}/${libdir} - - # check here for CONFIG_MODULE_COMPRESS_ (NONE, GZIP, XZ, ZSTD) - # and similarly compress the module being built if != NONE. - - if linux_chkconfig_present MODULE_COMPRESS_XZ; then - # match kernel compression options for compatibility - # https://bugs.gentoo.org/920837 - xz -T$(makeopts_jobs) --memlimit-compress=50% -q --check=crc32 --lzma2=dict=1MiB ${modulename}.${KV_OBJ} || die "Compressing ${modulename}.${KV_OBJ} with xz failed" - doins ${modulename}.${KV_OBJ}.xz - KV_OBJ_COMPRESS_EXT=".xz" - elif linux_chkconfig_present MODULE_COMPRESS_GZIP; then - if type -P pigz &>/dev/null ; then - pigz -p$(makeopts_jobs) ${modulename}.${KV_OBJ} || die "Compressing ${modulename}.${KV_OBJ} with pigz failed" - else - gzip ${modulename}.${KV_OBJ} || die "Compressing ${modulename}.${KV_OBJ} with gzip failed" - fi - doins ${modulename}.${KV_OBJ}.gz - KV_OBJ_COMPRESS_EXT=".gz" - elif linux_chkconfig_present MODULE_COMPRESS_ZSTD; then - zstd -T$(makeopts_jobs) ${modulename}.${KV_OBJ} || "Compressing ${modulename}.${KV_OBJ} with zstd failed" - doins ${modulename}.${KV_OBJ}.zst - KV_OBJ_COMPRESS_EXT=".zst" - else - doins ${modulename}.${KV_OBJ} - fi - cd "${OLDPWD}" || die "${OLDPWD} does not exist" - - generate_modulesd "${objdir}/${modulename}" - done -} - -# @FUNCTION: linux-mod_pkg_preinst -# @DESCRIPTION: -# It checks what to do after having merged the package. -linux-mod_pkg_preinst() { - debug-print-function ${FUNCNAME} $* - [[ -n ${MODULES_OPTIONAL_USE} ]] && use !${MODULES_OPTIONAL_USE} && return - - [[ -d ${D}/lib/modules ]] && UPDATE_DEPMOD=true || UPDATE_DEPMOD=false - [[ -d ${D}/lib/modules ]] && UPDATE_MODULEDB=true || UPDATE_MODULEDB=false -} - -# @FUNCTION: linux-mod_pkg_postinst -# @DESCRIPTION: -# It executes /sbin/depmod and adds the package to the /var/lib/module-rebuild/moduledb -# database (if ${D}/lib/modules is created) -linux-mod_pkg_postinst() { - debug-print-function ${FUNCNAME} $* - [[ -n "${MODULES_OPTIONAL_USE}" ]] && use !${MODULES_OPTIONAL_USE} && return - - ${UPDATE_DEPMOD} && update_depmod - ${UPDATE_MODULEDB} && update_moduledb -} - -# @FUNCTION: linux-mod_pkg_postrm -# @DESCRIPTION: -# It removes the package from the /var/lib/module-rebuild/moduledb database but it doesn't -# call /sbin/depmod because the modules are still installed. -linux-mod_pkg_postrm() { - debug-print-function ${FUNCNAME} $* - [[ -n "${MODULES_OPTIONAL_USE}" ]] && use !${MODULES_OPTIONAL_USE} && return - remove_moduledb -} - -fi - -EXPORT_FUNCTIONS pkg_setup src_compile src_install \ - pkg_preinst pkg_postinst pkg_postrm From 15a16efd36e36172b63d8cf2b87a7a3ada1e463b Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Tue, 7 Jul 2026 14:45:28 +0200 Subject: [PATCH 229/243] eclass/qt-utils: import from ::gentoo Signed-off-by: Mathieu Tortuyaux --- .../workflows/portage-stable-packages-list | 1 + .../portage-stable/eclass/qt-utils.eclass | 68 +++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/eclass/qt-utils.eclass diff --git a/.github/workflows/portage-stable-packages-list b/.github/workflows/portage-stable-packages-list index 414a401a503..e8f6c185592 100644 --- a/.github/workflows/portage-stable-packages-list +++ b/.github/workflows/portage-stable-packages-list @@ -478,6 +478,7 @@ eclass/python-r1.eclass eclass/python-single-r1.eclass eclass/python-utils-r1.eclass eclass/qmake-utils.eclass +eclass/qt-utils.eclass eclass/readme.gentoo-r1.eclass eclass/rpm.eclass eclass/ruby-single.eclass diff --git a/sdk_container/src/third_party/portage-stable/eclass/qt-utils.eclass b/sdk_container/src/third_party/portage-stable/eclass/qt-utils.eclass new file mode 100644 index 00000000000..e340d76329f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/eclass/qt-utils.eclass @@ -0,0 +1,68 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# @ECLASS: qt-utils.eclass +# @MAINTAINER: +# qt@gentoo.org +# @AUTHOR: +# Davide Pesavento +# @SUPPORTED_EAPIS: 8 9 +# @BLURB: Qt related helpers. +# @DESCRIPTION: +# Utility eclass providing query functions for Qt. +# +# This eclass does not set any metadata variables nor export any phase +# functions. It can be inherited safely. + +if [[ -z ${_QT_UTILS_ECLASS} ]]; then +_QT_UTILS_ECLASS=1 + +case ${EAPI} in + 8|9) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + +# @FUNCTION: qt6_get_bindir +# @DESCRIPTION: +# Echoes the directory where Qt6 binaries are installed. +# EPREFIX is already prepended to the returned path. +qt6_get_bindir() { + echo "${EPREFIX}$(qt6_get_libdir)/qt6/bin" +} + +# @FUNCTION: qt6_get_headerdir +# @DESCRIPTION: +# Echoes the directory where Qt6 headers are installed. +qt6_get_headerdir() { + echo "/usr/include/qt6" +} + +# @FUNCTION: qt6_get_libdir +# @DESCRIPTION: +# Echoes the directory where Qt6 libraries are installed. +qt6_get_libdir() { + echo "/usr/$(get_libdir)" +} + +# @FUNCTION: qt6_get_libexecdir +# @DESCRIPTION: +# Echoes the directory where Qt6 libexec bins are installed. +qt6_get_libexecdir() { + echo "$(qt6_get_libdir)/qt6/libexec" +} + +# @FUNCTION: qt6_get_mkspecsdir +# @DESCRIPTION: +# Echoes the directory where Qt6 mkspecs are installed. +qt6_get_mkspecsdir() { + echo "$(qt6_get_libdir)/qt6/mkspecs" +} + +# @FUNCTION: qt6_get_plugindir +# @DESCRIPTION: +# Echoes the directory where Qt6 plugins are installed. +qt6_get_plugindir() { + echo "$(qt6_get_libdir)/qt6/plugins" +} + +fi From 3e5b0a5dbf7676c3f968bce1bf3c9640f380b6e6 Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Tue, 7 Jul 2026 14:46:08 +0200 Subject: [PATCH 230/243] overlay profiles: stabilize catalyst 4.1.1-r1 Signed-off-by: Mathieu Tortuyaux --- .../coreos-overlay/profiles/coreos/base/package.accept_keywords | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords index e0147202fad..f9d71cfde79 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords @@ -82,7 +82,7 @@ dev-db/etcd amd64 =dev-util/bsdiff-4.3-r4 ** # Catalyst 4 is not stable yet, but earlier versions are masked now. -=dev-util/catalyst-4.1.1 ~amd64 ~arm64 +=dev-util/catalyst-4.1.1-r1 # Keep versions on both arches in sync. =net-firewall/conntrack-tools-1.4.9 From a3708e5003983f71570eb58ba32180ac6d963665 Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Tue, 7 Jul 2026 14:55:36 +0200 Subject: [PATCH 231/243] app-portage/gemato: import from ::gentoo Signed-off-by: Mathieu Tortuyaux --- .../workflows/portage-stable-packages-list | 1 + .../app-portage/gemato/Manifest | 1 + .../app-portage/gemato/gemato-20.12.ebuild | 53 +++++++++++++++++++ .../app-portage/gemato/gemato-9999.ebuild | 53 +++++++++++++++++++ .../app-portage/gemato/metadata.xml | 23 ++++++++ 5 files changed, 131 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/app-portage/gemato/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/app-portage/gemato/gemato-20.12.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/app-portage/gemato/gemato-9999.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/app-portage/gemato/metadata.xml diff --git a/.github/workflows/portage-stable-packages-list b/.github/workflows/portage-stable-packages-list index e8f6c185592..262777854e3 100644 --- a/.github/workflows/portage-stable-packages-list +++ b/.github/workflows/portage-stable-packages-list @@ -175,6 +175,7 @@ app-misc/mime-types app-misc/pax-utils app-portage/elt-patches +app-portage/gemato app-portage/gentoolkit app-portage/getuto app-portage/portage-utils diff --git a/sdk_container/src/third_party/portage-stable/app-portage/gemato/Manifest b/sdk_container/src/third_party/portage-stable/app-portage/gemato/Manifest new file mode 100644 index 00000000000..6a85aeca278 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-portage/gemato/Manifest @@ -0,0 +1 @@ +DIST gemato-20.12.tar.gz 94139 BLAKE2B fc9c0e1b6c2419842a22bbacd85876c7664e0468fc800dd7b3bd06c5ea2cdc5cb178230b278952fc4bd4e36d6f9713fd5c6946cce61ac1116ef873a6f84f0cbf SHA512 bfbd068e562659739a77d90575c96d0dd1e7494167b73b7cf4f6a26d94a1a4e88674749b65e1635ef0b0379c93e8c3900aaf0210acc52d47b56845612d2dd6b1 diff --git a/sdk_container/src/third_party/portage-stable/app-portage/gemato/gemato-20.12.ebuild b/sdk_container/src/third_party/portage-stable/app-portage/gemato/gemato-20.12.ebuild new file mode 100644 index 00000000000..697eccc6682 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-portage/gemato/gemato-20.12.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{12..15} ) +PYTHON_REQ_USE='threads(+),ssl(+)' + +inherit distutils-r1 pypi + +DESCRIPTION="Stand-alone Manifest generation & verification tool" +HOMEPAGE=" + https://github.com/gentoo/gemato/ + https://pypi.org/project/gemato/ +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" +IUSE="+gpg pretty-log tools" + +RDEPEND=" + gpg? ( + app-alternatives/gpg[ssl] + dev-python/requests[${PYTHON_USEDEP}] + ) + pretty-log? ( + dev-python/rich[${PYTHON_USEDEP}] + ) +" +# gpg for tests: trust-moel direct +# https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/-/work_items/152 +BDEPEND=" + test? ( + app-alternatives/gpg[ssl] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + + if use tools; then + exeinto /usr/share/gemato + doexe utils/*.{bash,py} + fi +} diff --git a/sdk_container/src/third_party/portage-stable/app-portage/gemato/gemato-9999.ebuild b/sdk_container/src/third_party/portage-stable/app-portage/gemato/gemato-9999.ebuild new file mode 100644 index 00000000000..612731f9d3c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-portage/gemato/gemato-9999.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{12..15} ) +PYTHON_REQ_USE='threads(+),ssl(+)' + +inherit distutils-r1 git-r3 + +DESCRIPTION="Stand-alone Manifest generation & verification tool" +HOMEPAGE=" + https://github.com/gentoo/gemato/ + https://pypi.org/project/gemato/ +" +EGIT_REPO_URI="https://github.com/gentoo/gemato.git" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="+gpg pretty-log tools" + +RDEPEND=" + gpg? ( + app-alternatives/gpg[ssl] + dev-python/requests[${PYTHON_USEDEP}] + ) + pretty-log? ( + dev-python/rich[${PYTHON_USEDEP}] + ) +" +# gpg for tests: trust-moel direct +# https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/-/work_items/152 +BDEPEND=" + test? ( + >=app-crypt/gnupg-2.2.20-r1 + dev-python/requests[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + + if use tools; then + exeinto /usr/share/gemato + doexe utils/*.{bash,py} + fi +} diff --git a/sdk_container/src/third_party/portage-stable/app-portage/gemato/metadata.xml b/sdk_container/src/third_party/portage-stable/app-portage/gemato/metadata.xml new file mode 100644 index 00000000000..e21ddafcb41 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-portage/gemato/metadata.xml @@ -0,0 +1,23 @@ + + + + + mgorny@gentoo.org + Michał Górny + + + + Install dependencies needed for OpenPGP + signature verification support + Pull dev-python/rich + to enable pretty logs + Install additional utilities (benchmarks, + hash testing tools, fast Manifest generators) + to /usr/share/gemato. + + + https://github.com/gentoo/gemato/issues/ + gentoo/gemato + gemato + + From 40434dcce85a4c72a263abb369ce875963dcaa58 Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Tue, 7 Jul 2026 15:28:46 +0200 Subject: [PATCH 232/243] sys-process/time: import from ::gentoo Signed-off-by: Mathieu Tortuyaux --- .../workflows/portage-stable-packages-list | 1 + .../portage-stable/sys-process/time/Manifest | 2 ++ .../time-1.9-implicit-func-decl-clang.patch | 24 +++++++++++++++++ .../sys-process/time/metadata.xml | 11 ++++++++ .../sys-process/time/time-1.10.ebuild | 14 ++++++++++ .../sys-process/time/time-1.9-r1.ebuild | 27 +++++++++++++++++++ 6 files changed, 79 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/sys-process/time/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/sys-process/time/files/time-1.9-implicit-func-decl-clang.patch create mode 100644 sdk_container/src/third_party/portage-stable/sys-process/time/metadata.xml create mode 100644 sdk_container/src/third_party/portage-stable/sys-process/time/time-1.10.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/sys-process/time/time-1.9-r1.ebuild diff --git a/.github/workflows/portage-stable-packages-list b/.github/workflows/portage-stable-packages-list index 262777854e3..e61b374ac4b 100644 --- a/.github/workflows/portage-stable-packages-list +++ b/.github/workflows/portage-stable-packages-list @@ -738,6 +738,7 @@ sys-process/audit sys-process/lsof sys-process/procps sys-process/psmisc +sys-process/time sys-process/tini virtual/acl diff --git a/sdk_container/src/third_party/portage-stable/sys-process/time/Manifest b/sdk_container/src/third_party/portage-stable/sys-process/time/Manifest new file mode 100644 index 00000000000..89c8fa6f5b8 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-process/time/Manifest @@ -0,0 +1,2 @@ +DIST time-1.10.tar.gz 851192 BLAKE2B 4ae3f7294e715abe90940af3384dfb6519ccf48a9ebcbfb1244ab63e025e88cd7090fda4b53e68c6fdb8b667f51061c980acee8b49edd42211cf5032bb64e868 SHA512 f785d2cd8144276983b7f31c3eff694af898339b6f041a7abfa555d9a16fb1ba970ebf8ee84e91ea3e744f5dfa34ef6b218b200379d88c1e4dd74c0b2c8fbb8c +DIST time-1.9.tar.gz 596779 BLAKE2B b48c2def2f7aaa79ddb8838ed9e103dd7b1b573b6084d1481838cac86eb7930b3a231469936ad23d5096e576ea728e821defb27fc8b3f9187809e3f5c01b7c57 SHA512 5c6dabbbe71e9103a47b892b86bb914c1704122d4fe7dff1e2cbd28503297163118d295077d8e062b035d673a1f91c36f8a45c7383f374fd766942b32bde4406 diff --git a/sdk_container/src/third_party/portage-stable/sys-process/time/files/time-1.9-implicit-func-decl-clang.patch b/sdk_container/src/third_party/portage-stable/sys-process/time/files/time-1.9-implicit-func-decl-clang.patch new file mode 100644 index 00000000000..ca76b5a5005 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-process/time/files/time-1.9-implicit-func-decl-clang.patch @@ -0,0 +1,24 @@ +https://lists.gnu.org/archive/html/bug-time/2022-08/msg00001.html + +From c8deae54f92d636878097063b411af9fb5262ad3 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 15 Aug 2022 07:24:24 -0700 +Subject: [PATCH] include string.h for memset() + +Fixes implicit function declaration warning e.g. + +resuse.c:103:3: error: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned long)' + +Upstream-Status: Submitted [https://lists.gnu.org/archive/html/bug-time/2022-08/msg00001.html] +Signed-off-by: Khem Raj +--- a/src/resuse.c ++++ b/src/resuse.c +@@ -22,6 +22,7 @@ + */ + + #include "config.h" ++#include + #include + #include + #include + diff --git a/sdk_container/src/third_party/portage-stable/sys-process/time/metadata.xml b/sdk_container/src/third_party/portage-stable/sys-process/time/metadata.xml new file mode 100644 index 00000000000..0909b8bf8c1 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-process/time/metadata.xml @@ -0,0 +1,11 @@ + + + + + base-system@gentoo.org + Gentoo Base System + + + time + + diff --git a/sdk_container/src/third_party/portage-stable/sys-process/time/time-1.10.ebuild b/sdk_container/src/third_party/portage-stable/sys-process/time/time-1.10.ebuild new file mode 100644 index 00000000000..9a85030c7be --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-process/time/time-1.10.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Displays info about resources used by a program" +HOMEPAGE="https://www.gnu.org/software/time/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND="sys-apps/texinfo" diff --git a/sdk_container/src/third_party/portage-stable/sys-process/time/time-1.9-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-process/time/time-1.9-r1.ebuild new file mode 100644 index 00000000000..2b7d613fb61 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-process/time/time-1.9-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic + +DESCRIPTION="Displays info about resources used by a program" +HOMEPAGE="https://www.gnu.org/directory/time.html" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" + +BDEPEND="sys-apps/texinfo" + +PATCHES=( + "${FILESDIR}"/${PN}-1.9-implicit-func-decl-clang.patch +) + +src_configure() { + # https://savannah.gnu.org/bugs/index.php?66450 + append-cflags -std=gnu17 + + econf +} From 8a9d9b77c72c4421dc9e3eeb5322bb6c4031c47c Mon Sep 17 00:00:00 2001 From: Mathieu Tortuyaux Date: Tue, 7 Jul 2026 15:36:11 +0200 Subject: [PATCH 233/243] dev-python/pkg-resources: import from ::gentoo Signed-off-by: Mathieu Tortuyaux --- .../workflows/portage-stable-packages-list | 1 + .../dev-python/pkg-resources/Manifest | 1 + .../dev-python/pkg-resources/metadata.xml | 14 +++++ .../pkg-resources/pkg-resources-0.ebuild | 24 +++++++++ .../pkg-resources/pkg-resources-81.0.0.ebuild | 53 +++++++++++++++++++ 5 files changed, 93 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/pkg-resources/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/pkg-resources/metadata.xml create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/pkg-resources/pkg-resources-0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/pkg-resources/pkg-resources-81.0.0.ebuild diff --git a/.github/workflows/portage-stable-packages-list b/.github/workflows/portage-stable-packages-list index e61b374ac4b..c7cf70b8a45 100644 --- a/.github/workflows/portage-stable-packages-list +++ b/.github/workflows/portage-stable-packages-list @@ -354,6 +354,7 @@ dev-python/packaging dev-python/pathspec dev-python/pefile dev-python/pip +dev-python/pkg-resources dev-python/platformdirs dev-python/pluggy dev-python/ply diff --git a/sdk_container/src/third_party/portage-stable/dev-python/pkg-resources/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/pkg-resources/Manifest new file mode 100644 index 00000000000..72fa7b3a78f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/pkg-resources/Manifest @@ -0,0 +1 @@ +DIST setuptools-81.0.0.tar.gz 1198299 BLAKE2B a92fa15e03c99f6d7acbc0a24e6d3b4b31d514c031195b1dd0ae238611c44c3c979847c45437e5e4221fb8f750a7264fb55235ee7d4a8207ef19a67306d5360c SHA512 4dda2f0796d1a32d160e0786fc6ebb9908483e16edac6b0335df4779a0a8331f13b70fbf69986a27cc8f6ff10c1f696599059710fef99f36ff1e766f04220466 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/pkg-resources/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-python/pkg-resources/metadata.xml new file mode 100644 index 00000000000..46eeb100c7f --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/pkg-resources/metadata.xml @@ -0,0 +1,14 @@ + + + + + python@gentoo.org + Python + + + + setuptools + pypa/setuptools + cpe:/a:python:setuptools + + diff --git a/sdk_container/src/third_party/portage-stable/dev-python/pkg-resources/pkg-resources-0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/pkg-resources/pkg-resources-0.ebuild new file mode 100644 index 00000000000..066d36ee828 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/pkg-resources/pkg-resources-0.ebuild @@ -0,0 +1,24 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..15} ) + +inherit python-r1 + +DESCRIPTION="pkg_resources compatibility shim" +HOMEPAGE=" + https://github.com/pypa/setuptools/ + https://pypi.org/project/setuptools/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +RDEPEND=" + ${PYTHON_DEPS} + Date: Wed, 8 Jul 2026 12:19:54 +0200 Subject: [PATCH 234/243] overlay profiles: Update accept keywords for some packages Signed-off-by: Krzesimir Nowak --- .../coreos/base/package.accept_keywords | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords index f9d71cfde79..0f2d0c721e6 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords @@ -15,8 +15,14 @@ sys-firmware/edk2-bin # Keep versions on both arches in sync. =app-containers/cri-tools-1.33.0 ~arm64 -=app-containers/incus-6.0.5-r1 ~arm64 -=app-containers/lxc-6.0.5 ~arm64 + +# Use unstable version for cross-compile fix. This needs to be at least as new +# as app-containers/docker. +=app-containers/docker-cli-29.1.3 + +# Keep versions on both arches in sync. +=app-containers/incus-7.0.0-r1 +=app-containers/lxc-7.0.0 # We always want the latest version available. =app-containers/runc-1.4* ~amd64 ~arm64 @@ -42,7 +48,7 @@ app-crypt/azure-keyvault-pkcs11 =app-emulation/open-vmdk-0.3.12 ~amd64 # Keep versions on both arches in sync. -=app-emulation/qemu-guest-agent-9.2.0 ~arm64 +=app-emulation/qemu-guest-agent-10.2.2 # Packages are in Gentoo but not expected to be used outside Flatcar, so they # are generally never stabilised. Thus an unusual form is used to pick up the @@ -85,6 +91,7 @@ dev-db/etcd amd64 =dev-util/catalyst-4.1.1-r1 # Keep versions on both arches in sync. +=net-dns/bind-9.20.23 =net-firewall/conntrack-tools-1.4.9 =net-libs/libnetfilter_cthelper-1.0.1-r1 ~arm64 =net-libs/libnetfilter_cttimeout-1.0.1 ~arm64 @@ -109,15 +116,14 @@ sys-apps/azure-vm-utils =sys-cluster/ipvsadm-1.31-r1 ~arm64 # Keep versions on both arches in sync. -=sys-fs/lxcfs-6.0.5 ~arm64 +=sys-fs/lxcfs-7.0.0 # Our own ebuild fixing issues in Gentoo, hopefully will be fixed # there too eventually. =sys-libs/libselinux-3.8.1-r3 ~amd64 ~arm64 -# Use unstable version for cross-compile fix. This needs to be at least as new -# as app-containers/docker. -=app-containers/docker-cli-29.1.3 +# Keep versions on both arches in sync. +=sys-libs/libunwind-1.8.3 # Take this version early for a cross fix and buildpkg-proactive. =sys-apps/portage-3.0.81 From af74b6f4295a5bf0fd991b993c7c892ee32db00a Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Wed, 8 Jul 2026 16:28:32 +0200 Subject: [PATCH 235/243] overlay profiles: Add accept keywords for app-containers/crun Signed-off-by: Krzesimir Nowak --- .../profiles/coreos/base/package.accept_keywords | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords index 0f2d0c721e6..306e6f0ad24 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords @@ -16,6 +16,9 @@ sys-firmware/edk2-bin # Keep versions on both arches in sync. =app-containers/cri-tools-1.33.0 ~arm64 +# To address CVE-2026-30892 +=app-containers/crun-1.28 + # Use unstable version for cross-compile fix. This needs to be at least as new # as app-containers/docker. =app-containers/docker-cli-29.1.3 From ab46b33d6c9ffdfc72f65ceda52d2161efc0d207 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Wed, 8 Jul 2026 16:38:21 +0200 Subject: [PATCH 236/243] overlay profiles: Drop accept keywords for app-container/docker-cli Signed-off-by: Krzesimir Nowak --- .../profiles/coreos/base/package.accept_keywords | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords index 306e6f0ad24..4a1e3cd28ca 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords @@ -19,10 +19,6 @@ sys-firmware/edk2-bin # To address CVE-2026-30892 =app-containers/crun-1.28 -# Use unstable version for cross-compile fix. This needs to be at least as new -# as app-containers/docker. -=app-containers/docker-cli-29.1.3 - # Keep versions on both arches in sync. =app-containers/incus-7.0.0-r1 =app-containers/lxc-7.0.0 From 6f67b1aa18ceda7340c5f035e69e7570f097e8c6 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Wed, 8 Jul 2026 16:42:12 +0200 Subject: [PATCH 237/243] overlay profiles: Bump app-containers/incus even more Signed-off-by: Krzesimir Nowak --- .../profiles/coreos/base/package.accept_keywords | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords index 4a1e3cd28ca..3315b54e486 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords @@ -19,8 +19,10 @@ sys-firmware/edk2-bin # To address CVE-2026-30892 =app-containers/crun-1.28 +# To address a bunch of CVEs +=app-containers/incus-7.2 + # Keep versions on both arches in sync. -=app-containers/incus-7.0.0-r1 =app-containers/lxc-7.0.0 # We always want the latest version available. From 4be06640f3ea6726dcbd399c7e613a57f709bd28 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Wed, 8 Jul 2026 19:00:15 +0200 Subject: [PATCH 238/243] app-containers/container-libs: Add from Gentoo It's from Gentoo commit 66ba5f9423f9d6c44df2c512beaf6d02560755fd. Signed-off-by: Krzesimir Nowak --- .../app-containers/container-libs/Manifest | 1 + .../container-libs-0.68.0.ebuild | 71 +++++++++++++++++++ .../container-libs/metadata.xml | 12 ++++ 3 files changed, 84 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/app-containers/container-libs/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/app-containers/container-libs/container-libs-0.68.0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/app-containers/container-libs/metadata.xml diff --git a/sdk_container/src/third_party/portage-stable/app-containers/container-libs/Manifest b/sdk_container/src/third_party/portage-stable/app-containers/container-libs/Manifest new file mode 100644 index 00000000000..8679803973c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-containers/container-libs/Manifest @@ -0,0 +1 @@ +DIST container-libs-0.68.0.tar.gz 13304245 BLAKE2B 73a578c45cd2fcf5d1481a17406c2b15472d2ae51d34154e847750fc32a5a8b6631404ef2bd261dec1d35a65fbe8b38d0d0053c6d1b0ecf31197025955d16173 SHA512 2725689c41904886c22de3d70a0fdcc93f36e588f2a49970d5ad94dfbcc2029581c3ef824ca7f9f01a52935a9703e41fa184132c61e1daac3f221966326bea40 diff --git a/sdk_container/src/third_party/portage-stable/app-containers/container-libs/container-libs-0.68.0.ebuild b/sdk_container/src/third_party/portage-stable/app-containers/container-libs/container-libs-0.68.0.ebuild new file mode 100644 index 00000000000..02be3352887 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/app-containers/container-libs/container-libs-0.68.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +inherit readme.gentoo-r1 + +DESCRIPTION="Several utilities from the containers project" +HOMEPAGE="https://github.com/podman-container-tools/container-libs" +SRC_URI="https://github.com/podman-container-tools/container-libs/archive/common/v${PV}.tar.gz -> ${P}.tar.gz" +S=${WORKDIR}/${PN}-common-v${PV} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv" +RESTRICT="test" + +RDEPEND=" + >=app-containers/aardvark-dns-2.0.0 + >=app-containers/crun-1.25.1 + >=app-containers/netavark-2.0.0 + net-firewall/nftables + >=net-misc/passt-2026.05.26 + >=sys-fs/fuse-overlayfs-1.16 + !app-containers/containers-image + !app-containers/containers-common + !app-containers/containers-shortnames + !app-containers/containers-storage + ! + + + + arthurzam@gentoo.org + Arthur Zamarin + + + + podman-container-tools/container-libs + + From a3b12c8d9779d6b555aa497e2a0da81b3ad5b52c Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Wed, 8 Jul 2026 19:03:45 +0200 Subject: [PATCH 239/243] overlay profiles: Add accept keywords for app-containers/podman-6.0.0 and its deps Signed-off-by: Krzesimir Nowak --- .../profiles/coreos/base/package.accept_keywords | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords index 3315b54e486..1fccb60f79d 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords @@ -10,6 +10,11 @@ # Chewi maintains edk2 in Gentoo, and we generally want the latest. sys-firmware/edk2-bin +# For podman 6.0.0 +=app-containers/aardvark-dns-2.0.0 +=app-containers/conmon-2.2.1 +=app-containers/container-libs-0.68.0 + # We always want the latest version available. =app-containers/containerd-2.2* ~amd64 ~arm64 @@ -25,6 +30,12 @@ sys-firmware/edk2-bin # Keep versions on both arches in sync. =app-containers/lxc-7.0.0 +# For podman 6.0.0 +=app-containers/netavark-2.0.0 + +# To address CVE-2026-33414, CVE-2026-44517, CVE-2026-57231 +=app-containers/podman-6.0.0 + # We always want the latest version available. =app-containers/runc-1.4* ~amd64 ~arm64 @@ -103,6 +114,9 @@ dev-db/etcd amd64 # Needed to address a CVE. =net-libs/ngtcp2-1.22.1 +# For podman 6.0.0 +=net-misc/passt-2026.05.26 + # Packages are in Gentoo but not expected to be used outside Flatcar, so they # are generally never stabilised. Thus an unusual form is used to pick up the # latest version of the package with the unstable keywords. From 2aa2b4f00b1aee1181bb2b2200203c0abeba172d Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Wed, 8 Jul 2026 19:05:16 +0200 Subject: [PATCH 240/243] overlay coreos/config: Drop cross-compilation fix for app-crypt/adcli Gentoo brought this fix now too. Signed-off-by: Krzesimir Nowak --- .../coreos-overlay/coreos/config/env/app-crypt/adcli | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/env/app-crypt/adcli diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/app-crypt/adcli b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/app-crypt/adcli deleted file mode 100644 index 32d5baf1ede..00000000000 --- a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/app-crypt/adcli +++ /dev/null @@ -1,5 +0,0 @@ -# adcli configure script uses AC_CHECK_FILE and this fails when -# cross-compiling, so work it around with a cache variable. Set it to -# no, because I haven't seen this file being installed at all. - -export ac_cv_file__usr_share_selinux_devel_Makefile=no From 9680f83c07d1c3d77a3405e041a72d40745075e3 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Wed, 8 Jul 2026 19:12:58 +0200 Subject: [PATCH 241/243] overlay profiles: Drop accept keywords for app-crypt/mit-krb5 Signed-off-by: Krzesimir Nowak --- .../profiles/coreos/base/package.accept_keywords | 3 --- 1 file changed, 3 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords index 1fccb60f79d..b8822e943df 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords @@ -53,9 +53,6 @@ app-crypt/azure-keyvault-pkcs11 # Needed by arm64-native SDK =app-crypt/ccid-1.6.1 ~arm64 -# Keep versions on both arches in sync. -=app-crypt/mit-krb5-1.21.3-r1 ~arm64 - # No stable keywords yet because it's new. =app-emulation/open-vmdk-0.3.12 ~amd64 From 3c90d8552575c0855198558c79d7fd289b301b13 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Wed, 8 Jul 2026 19:15:59 +0200 Subject: [PATCH 242/243] overlay coreos/config: Drop cross-compilation fixes for app-crypt/mit-krb5 Gentoo has them too. Signed-off-by: Krzesimir Nowak --- .../coreos/config/env/app-crypt/mit-krb5 | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/config/env/app-crypt/mit-krb5 diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/app-crypt/mit-krb5 b/sdk_container/src/third_party/coreos-overlay/coreos/config/env/app-crypt/mit-krb5 deleted file mode 100644 index abb586975c5..00000000000 --- a/sdk_container/src/third_party/coreos-overlay/coreos/config/env/app-crypt/mit-krb5 +++ /dev/null @@ -1,10 +0,0 @@ -# Work around configure test that cannot be cross compiled :( -# -# When checking if this is still applicable, try grepping the -# configure script for lines with "$cross_compiling", like -# -# grep -B 20 -F 'when cross compiling' configure - -export krb5_cv_attr_constructor_destructor=yes,yes -export ac_cv_func_regcomp=yes -export ac_cv_printf_positional=yes From d7f3ff92972e10f2e6df9177b4aa8268721169ee Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Wed, 8 Jul 2026 19:25:15 +0200 Subject: [PATCH 243/243] overlay coreos/user-patches: Drop a patch for app-shells/bash Gentoo added it now. Signed-off-by: Krzesimir Nowak --- .../bash/bash-jobs-del-pid-async.patch | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 sdk_container/src/third_party/coreos-overlay/coreos/user-patches/app-shells/bash/bash-jobs-del-pid-async.patch diff --git a/sdk_container/src/third_party/coreos-overlay/coreos/user-patches/app-shells/bash/bash-jobs-del-pid-async.patch b/sdk_container/src/third_party/coreos-overlay/coreos/user-patches/app-shells/bash/bash-jobs-del-pid-async.patch deleted file mode 100644 index 5d02873cb61..00000000000 --- a/sdk_container/src/third_party/coreos-overlay/coreos/user-patches/app-shells/bash/bash-jobs-del-pid-async.patch +++ /dev/null @@ -1,45 +0,0 @@ -https://bugs.gentoo.org/970713 - -From e359bdc261f9493d91b3cf792fe4fc480ecd6dc3 Mon Sep 17 00:00:00 2001 -From: Kerin Millar -Date: Thu, 13 Nov 2025 18:39:28 +0000 -Subject: [PATCH] jobs.c: only call bgp_delete on a newly-created pid if - asynchronous - -This is a backport of the following change from the devel branch. - -jobs.c - - make_child: only call bgp_delete on a newly-created pid if that - process is asynchronous, since that is what will cause it to be - put into the bgpids table. This mostly matters for procsubs and - asynchronous jobs, but will happen for comsubs in async jobs - and coprocs as well. - -Bug: https://bugs.gentoo.org/965423 -Signed-off-by: Kerin Millar ---- - jobs.c | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -diff --git a/jobs.c b/jobs.c -index cbcc2c15..bafa7c26 100644 ---- a/jobs.c -+++ b/jobs.c -@@ -2482,9 +2482,11 @@ make_child (char *command, int flags) - been reused. */ - delete_old_job (pid); - -- /* Perform the check for pid reuse unconditionally. Some systems reuse -- PIDs before giving a process CHILD_MAX/_SC_CHILD_MAX unique ones. */ -- bgp_delete (pid); /* new process, discard any saved status */ -+ /* Perform the check for background pid reuse unconditionally. -+ Some systems reuse PIDs before giving a process -+ CHILD_MAX/_SC_CHILD_MAX unique ones. */ -+ if (async_p) -+ bgp_delete (pid); /* new background process, discard any saved status */ - - last_made_pid = pid; - --- -2.51.2 -