summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* toolchain.eclass: add initial sphinx support for 13Sam James2022-11-141-2/+17
| | | | | | | | | Adds TOOLCHAIN_SPHINX_BUILD. Upstream have converted their docs to Sphinx and it's needed for man, info, and HTML docs. There's no progress yet on including the files in dist tarballs though. Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: Add 16.0.0_pre20221113 snapshotMichał Górny2022-11-131-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-2.eclass: remove whissi from GENPATCHES_URIMike Pagano2022-11-101-1/+1
| | | | Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* cargo.eclass: mention --frozen usecase.Georgy Yakovlev2022-11-101-1/+6
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* verify-sig.eclass: Workaround GPG problems with long TMPDIRMichał Górny2022-11-101-0/+6
| | | | | | | | Force using TMPDIR=/tmp to workaround GPG failing when TMPDIR happens to be long enough to cause UNIX socket paths to exceed the system limit. Closes: https://bugs.gentoo.org/854492 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* font.eclass: Remove racy pkg_postinst codeMatt Turner2022-11-081-6/+0
| | | | | | | | | | | | | | | | | | | | | | | Noticed on ChromeOS when installing a large number of font packages in parallel: /usr/share/fonts/noto/NotoSerifThai-Regular.ttf#new' from 0004 (------r--) to 2440 (r--r-S---) * ERROR: media-fonts/ipaex-004.01-r1::chromiumos failed (postinst phase): * failed to fix font files perms The "#new" filename is the hint. Portage uses "#new" suffixes when copying files to the system, and then renames them to their final filenames. This code was executing while another font was in the process of being copied to the system. Font packages should just ensure that they install files with correct permissions to begin with, and all except media-fonts/x11fonts-jmk already use 0644 permissions. media-fonts/x11fonts-jmk used 0444 (which was probably fine) until the previous commit which changes its installed files to 0644. Bug: https://bugs.gentoo.org/187774 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* git-r3.eclass: Add checkout dirs as "safe" directoriesMichał Górny2022-11-071-0/+5
| | | | | | | | | | Mark all checkout directories as "safe" to avoid dubious ownership errors with newer git versions when the checkout directory is accessed from src_install(). Closes: https://bugs.gentoo.org/879353 Closes: https://github.com/gentoo/gentoo/pull/28154 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Enable 16.0.0_pre20221104Michał Górny2022-11-041-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kde.org.eclass: With KDE_ORG_COMMIT, fetch from mirror://gentoo firstAndreas Sturmlechner2022-11-031-2/+4
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* llvm.org.eclass: Enable dist manpages for 15.0.4Michał Górny2022-11-031-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* qt6-build.eclass: add qt6-build_src_installJimi Huotari2022-11-021-0/+7
| | | | | Signed-off-by: Jimi Huotari <chiitoo@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
* kernel-install.eclass: Fix variable mismatchMichał Górny2022-10-301-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: Account for PV/KV mismatchMichał Górny2022-10-291-17/+26
| | | | | Closes: https://github.com/gentoo/gentoo/pull/27949 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Account for PV/KV mismatchMichał Górny2022-10-291-26/+41
| | | | | | | | | Do not assume PV and kernel version must always match. Use PV for kernel install directory (i.e. /usr/src/linux) but get the release from the kernel build directory for the module directory. Update preinst version check to account for live ebuilds. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Revert "Add KV_FULL [...]"Michał Górny2022-10-291-23/+17
| | | | | Reverts: 55a495ad71b0ce1620488f389baddeebc787ee64 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: Revert "Respect KV_FULL"Michał Górny2022-10-291-3/+3
| | | | | Reverts: 27eaf5e24de59baadb8f6042085af172cd56de5d Signed-off-by: Michał Górny <mgorny@gentoo.org>
* elisp.eclass: Drop EAPI 6 supportUlrich Müller2022-10-281-6/+3
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/tests/scons-utils.sh: Fake python-r1 to fix failureMichał Górny2022-10-281-0/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Add 16.0.0_pre20221023 snapshotMichał Górny2022-10-231-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.org.eclass: Clean old snapshot supportMichał Górny2022-10-231-15/+0
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* go-module.eclass: run "go mod verify" on modules from dependency tarballWilliam Hubbs2022-10-211-0/+4
| | | | | | | It appears that go build does not completely detect whether a module has been modified since it was downloaded, so we need this step. Signed-off-by: William Hubbs <williamh@gentoo.org>
* desktop.eclass: Add EAPI guardUlrich Müller2022-10-201-0/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* desktop.eclass: Install files as foo.desktop rather than foo-foo.desktopUlrich Müller2022-10-201-9/+8
| | | | | Bug: https://bugs.gentoo.org/771708#c14 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* acct-user.eclass: add myself as a maintainerMike Gilbert2022-10-192-0/+2
| | | | | | For bug visibility. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* acct-user.eclass: drop elockuser and eunlockuserMike Gilbert2022-10-191-106/+0
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* acct-user.eclass: inline useradd and usermodMike Gilbert2022-10-191-34/+87
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* acct-user.eclass: respect ACCT_USER_NO_MODIFY in pkg_prermMike Gilbert2022-10-191-12/+19
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* acct-user.eclass: support user override of commentMike Gilbert2022-10-191-3/+17
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* acct-group.eclass: inline groupaddMike Gilbert2022-10-191-3/+25
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* user.eclass: mark @DEADMike Gilbert2022-10-191-0/+1
| | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* acct-group.eclass: Revert "inline groupadd"Michał Górny2022-10-191-27/+3
| | | | | Reverts: acd0e195b2fba241d5eac52e34676a4a00493c2b Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: Revert "support user override of comment"Michał Górny2022-10-191-14/+3
| | | | | Reverts: 140f92c2b8a15e7e5c28a343a8b289b3d766e143 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: Revert "respect ACCT_USER_NO_MODIFY in pkg_prerm"Michał Górny2022-10-191-19/+12
| | | | | Reverts: 720c70288cf15946f2560af7d104e1b3f34f9dd9 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: Revert "inline useradd and usermod"Michał Górny2022-10-191-84/+29
| | | | | Reverts: 308c02b897fa7fba442441fd3a7da17ce07ec8ee Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: Revert "drop elockuser and eunlockuser"Michał Górny2022-10-191-0/+106
| | | | | Reverts: bde2856fc6bcc73d55dbf481a156805f06510a12 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: Revert "remove"Michał Górny2022-10-191-0/+684
| | | | | Reverts: 4c41709a9e9af1ba6753c61fbc68d49930725e6c Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: removeMike Gilbert2022-10-191-684/+0
| | | | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/27825 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: drop elockuser and eunlockuserMike Gilbert2022-10-191-106/+0
| | | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: inline useradd and usermodMike Gilbert2022-10-191-29/+84
| | | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: respect ACCT_USER_NO_MODIFY in pkg_prermMike Gilbert2022-10-191-12/+19
| | | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: support user override of commentMike Gilbert2022-10-191-3/+14
| | | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-group.eclass: inline groupaddMike Gilbert2022-10-191-3/+27
| | | | | Signed-off-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.eclass: Fix LLVM tool paths to prevent overriding themMichał Górny2022-10-191-0/+27
| | | | | | | | | | | Fix the LLVM tool path in variables such as AR, LD, etc. to their current locations prior to manipulating PATH, in order to prevent llvm.eclass from overriding them. Otherwise, a package requiring older LLVM libraries could force older tool versions, possibly incompatible with the object files produced by a newer clang version. Closes: https://github.com/gentoo/gentoo/pull/27803 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.eclass: Fix CC/CXX version to prevent the eclass overriding itMichał Górny2022-10-191-0/+36
| | | | | | | | | | | Fix the clang executable in CC, CPP and CXX variables to include the version number, in order to prevent the PATH manipulations done by llvm.eclass from overriding the compiler. Otherwise, a package requiring older LLVM libraries could cause an older compiler version being used, effectively resulting in a system built by mixed set of clang versions. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-build.eclass: Respect KV_FULLMichał Górny2022-10-191-3/+3
| | | | | Closes: https://github.com/gentoo/gentoo/pull/27797 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* kernel-install.eclass: Add KV_FULL for "upstream" kernel versionMichał Górny2022-10-191-17/+23
| | | | | | | | Add a KV_FULL variable that defaults to the kernel version derived from PV, and can be used by ebuilds to override the version if necessary. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* dist-kernel-utils.eclass: Add a PV → KV conversion functionMichał Górny2022-10-192-0/+44
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* font.eclass: check for dir existence in _update_fontcacheSam James2022-10-191-3/+5
| | | | | | | | It's still subject to a narrow race but nowhere near as bad as removed-last-font-now- its-gone. Closes: https://bugs.gentoo.org/754702 Signed-off-by: Sam James <sam@gentoo.org>
* llvm.org.eclass: Enable manpage dist for 15.0.3Michał Górny2022-10-181-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* linux-mod.eclass: pass -q to xzSam James2022-10-171-1/+1
| | | | | | Avoids noise from memlimit-compress. Signed-off-by: Sam James <sam@gentoo.org>