summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* unpacker.eclass: pass -S to file to disable seccompSam James2023-01-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | Files being installed by Portage are generally trusted but also the syscalls allowed by file are quite broad anyway. With e.g. new libc or sandbox version (or any number of things...), the syscalls used by file can change which leads to its seccomp filter killing the process. This is an acceptable tradeoff when users are calling file(1), but it makes less sense with trusted input within Portage, especially where it may lead to confusing errors (swallowed within pipes, subshells, etc). Indeed, it might even be the case that file(1) is broken, but the user needs to complete a world upgrade to get a newer file/portage/???, but can't because of various ebuilds (like ones using this eclass) failing. Disable seccomp for these calls to keep working. Bug: https://bugs.gentoo.org/811462 Bug: https://bugs.gentoo.org/815877 Bug: https://bugs.gentoo.org/889046 Signed-off-by: Sam James <sam@gentoo.org>
* mono.eclass: pass -S to file to disable seccompSam James2023-01-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Files being installed by Portage are generally trusted but also the syscalls allowed by file are quite broad anyway. With e.g. new libc or sandbox version (or any number of things...), the syscalls used by file can change which leads to its seccomp filter killing the process. This is an acceptable tradeoff when users are calling file(1), but it makes less sense with trusted input within Portage, especially where it may lead to confusing errors (swallowed within pipes, subshells, etc). Indeed, it might even be the case that file(1) is broken, but the user needs to complete a world upgrade to get a newer file/portage/???, but can't because of various ebuilds (like ones using this eclass) failing. Disable seccomp for these calls to keep working. Bug: https://bugs.gentoo.org/811462 Bug: https://bugs.gentoo.org/815877 Bug: https://bugs.gentoo.org/889046 Signed-off-by: Sam James <sam@gentoo.org>
* dotnet.eclass: pass -S to file to disable seccompSam James2023-01-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | Files being installed by Portage are generally trusted but also the syscalls allowed by file are quite broad anyway. With e.g. new libc or sandbox version (or any number of things...), the syscalls used by file can change which leads to its seccomp filter killing the process. This is an acceptable tradeoff when users are calling file(1), but it makes less sense with trusted input within Portage, especially where it may lead to confusing errors (swallowed within pipes, subshells, etc). Indeed, it might even be the case that file(1) is broken, but the user needs to complete a world upgrade to get a newer file/portage/???, but can't because of various ebuilds (like ones using this eclass) failing. Disable seccomp for these calls to keep working. Bug: https://bugs.gentoo.org/811462 Bug: https://bugs.gentoo.org/815877 Bug: https://bugs.gentoo.org/889046 Signed-off-by: Sam James <sam@gentoo.org>
* cmake.eclass: add base-system as @MAINTAINER too (align with dev-util/cmake)Sam James2023-01-051-0/+1
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* cmake.eclass: mark CMAKE_VERBOSE as @USER_VARIABLESam James2023-01-051-1/+2
| | | | | | | It's a policy requirement that ebuilds produce verbose logs, so ebuilds themselves must not set CMAKE_VERBOSE. But users can. Signed-off-by: Sam James <sam@gentoo.org>
* toolchain-funcs.eclass: Promote tc-env_build to a non-internal functionJames Le Cuirot2023-01-031-1/+0
| | | | | | | It's generally useful and already directly used by three packages. I need to use it to fix cross-compiling of LLVM. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* s6.eclass: consistent styleDavid Seifert2023-01-021-22/+20
| | | | | Closes: https://github.com/gentoo/gentoo/pull/28912 Signed-off-by: David Seifert <soap@gentoo.org>
* s6.eclass: drop EAPI 5, 6 and 7 supportDavid Seifert2023-01-021-3/+3
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* vala.eclass: drop eutils/multilib inheritDavid Seifert2023-01-021-2/+1
| | | | | | | * Both eclasses are not used by vala.eclass. * Any ebuilds relying on the transitive inherit should be fixed instead. Signed-off-by: David Seifert <soap@gentoo.org>
* vala.eclass: drop EAPI 6 supportDavid Seifert2023-01-021-11/+7
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* llvm.org.eclass: Add 16.0.0_pre20230101 snapshotMichał Górny2023-01-011-1/+4
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* toolchain.eclass: prepare for USE=hardened => FORTIFY_SOURCE=3, assertionsSam James2022-12-311-0/+4
| | | | | | | | | | | | USE=hardened will now imply: - default -D_FORTIFY_SOURCE=3 (instead of 2 for normal profiles) - default -D_GLIBCXX_ASSERTIONS Bug: https://bugs.gentoo.org/876895 Bug: https://bugs.gentoo.org/884417 Bug: https://bugs.gentoo.org/847148 Bug: https://bugs.gentoo.org/876893 Signed-off-by: Sam James <sam@gentoo.org>
* mail-mta/n[eo]tqmail: drop ucspi-ssl dependency for pop3sRolf Eike Beer2022-12-311-8/+2
| | | | | | | Bug: https://bugs.gentoo.org/889216 Bug: https://bugs.gentoo.org/889218 Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sam James <sam@gentoo.org>
* Revert "qmail.eclass: remove remnants of USE=pop3"Rolf Eike Beer2022-12-311-1/+19
| | | | | | | | | This reverts commit 3a2f8ddaec09ebc439453016bb669627bf8a6d6d. Bug: https://bugs.gentoo.org/889216 Bug: https://bugs.gentoo.org/889218 Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sam James <sam@gentoo.org>
* qmail.eclass: remove remnants of USE=pop3Sam James2022-12-311-19/+1
| | | | | | | | Fixes: 24dcd3918e1ac751ff9c8d868509ea1fd6390f78 Fixes: bbc98bfdcbeb0d54f0a389eb7c92f1ffd64af7c6 Closes: https://bugs.gentoo.org/889218 Closes: https://bugs.gentoo.org/889216 Signed-off-by: Sam James <sam@gentoo.org>
* kernel-2.eclass: Don't drop CPU OPT patch when CC=clangMike Pagano2022-12-291-1/+1
| | | | | | | | | Clang is supported by the CPU optimization patch. (USE=experimental) Check for CC=clang and do not drop this patch. Closes: https://bugs.gentoo.org/888727 Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* linux-mod.eclass: add bugref for Modules.symversIonen Wolkens2022-12-281-1/+1
| | | | | | In case someone would re-add the || die without looking into this. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* linux-mod.eclass: revert adding || die for Modules.symversIonen Wolkens2022-12-281-1/+1
| | | | | | | | | Emergency fix given this apparently broke potentially several packages, at least e.g. virtualbox-modules, and zenpower3 from guru. Fixes: bc0ef44947363a33b5cd9b18bcc0d3c32b808311 Closes: https://bugs.gentoo.org/888679 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
* acct-group.eclass: Don't modify groups when EPREFIX is non-emptyJames Le Cuirot2022-12-271-1/+1
| | | | | | | | This was happening when running a prefix as root, which we don't really support, but also when building a prefixed system under ROOT. Closes: https://bugs.gentoo.org/779181 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* llvm.org.eclass: Add experimental Xtensa target to 16.xMichał Górny2022-12-271-1/+10
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* xorg-3.eclass: remove useless || die on emakeDavid Seifert2022-12-271-4/+4
| | | | | | Signed-off-by: David Seifert <soap@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/28787 Signed-off-by: David Seifert <soap@gentoo.org>
* qmail.eclass: remove useless || die on emakeDavid Seifert2022-12-271-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* gnustep-base.eclass: remove useless || die on emakeDavid Seifert2022-12-271-4/+4
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* gnome2.eclass: remove useless || die on emakeDavid Seifert2022-12-271-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* xemacs-packages.eclass: drop EAPI 6, 7 supportDavid Seifert2022-12-271-4/+4
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* waf-utils.eclass: drop EAPI 6 supportDavid Seifert2022-12-271-6/+13
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* usr-ldscript.eclass: drop EAPI 6 supportDavid Seifert2022-12-271-18/+20
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* user-info.eclass: drop EAPI 6 supportDavid Seifert2022-12-271-2/+2
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* toolchain-autoconf.eclass: drop EAPI 6, add EAPI 8 supportDavid Seifert2022-12-271-14/+8
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* selinux-policy-2.eclass: drop EAPI 6 supportDavid Seifert2022-12-271-24/+25
| | | | | Closes: https://bugs.gentoo.org/778812 Signed-off-by: David Seifert <soap@gentoo.org>
* rust-toolchain.eclass: drop EAPI 6, 7 supportDavid Seifert2022-12-271-5/+3
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* ruby-single.eclass: drop EAPI 4-6 supportDavid Seifert2022-12-271-13/+6
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* ruby-ng-gnome2.eclass: drop EAPI 6 supportDavid Seifert2022-12-271-8/+10
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* rocm.eclass: drop EAPI 7 supportDavid Seifert2022-12-271-5/+5
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* python-utils-r1.eclass: drop EAPI 6 supportDavid Seifert2022-12-271-31/+14
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* python-single-r1.eclass: drop EAPI 6 supportDavid Seifert2022-12-276-27/+17
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* python-r1.eclass: drop EAPI 6 supportDavid Seifert2022-12-277-25/+14
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* python-any-r1.eclass: drop EAPI 6 supportDavid Seifert2022-12-276-20/+15
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* postgres-multi.eclass: drop EAPI 5, 6 supportDavid Seifert2022-12-271-19/+19
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* postgres.eclass: drop EAPI 5, 6 supportDavid Seifert2022-12-271-7/+11
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* php-ext-source-r3.eclass: drop EAPI 6 supportDavid Seifert2022-12-271-12/+13
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* php-ext-pecl-r3.eclass: drop EAPI 6 supportDavid Seifert2022-12-271-3/+3
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* ninja-utils.eclass: drop EAPI 5, 6 supportDavid Seifert2022-12-271-8/+5
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* mozlinguas-v2.eclass: drop EAPI 6, 7 supportDavid Seifert2022-12-271-12/+13
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* mozextension.eclass: drop EAPI 0-7 supportDavid Seifert2022-12-271-6/+11
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* mozcoreconf-v6.eclass: drop EAPI 6, 7 supportDavid Seifert2022-12-271-16/+9
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* llvm.eclass: canonicalize eclass structureDavid Seifert2022-12-271-4/+4
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* linux-mod.eclass: drop EAPI 6 supportDavid Seifert2022-12-271-17/+9
| | | | | | * eutils.eclass functionality was not used in EAPI 7. Signed-off-by: David Seifert <soap@gentoo.org>
* libretro-core.eclass: drop EAPI 6 supportDavid Seifert2022-12-271-10/+9
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* java-virtuals-2.eclass: drop EAPI 5-7 supportDavid Seifert2022-12-271-3/+3
| | | | Signed-off-by: David Seifert <soap@gentoo.org>