summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* acct-user.eclass: Refuse to lock out the superuserUlrich Müller2022-03-281-0/+5
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* acct-user.eclass: Use arithmetic test for EUIDUlrich Müller2022-03-281-6/+6
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* user.eclass: Use arithmetic test for UIDUlrich Müller2022-03-281-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* fcaps.eclass: Use arithmetic test for UIDUlrich Müller2022-03-281-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* webapp.eclass: Use UID 0 instead of rootUlrich Müller2022-03-281-2/+2
| | | | | Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* toolchain.eclass: Use UID 0 instead of rootUlrich Müller2022-03-281-1/+1
| | | | | Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* qmail.eclass: Use UID 0 instead of rootUlrich Müller2022-03-281-6/+6
| | | | | Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* cron.eclass: Use UID 0 instead of rootUlrich Müller2022-03-281-6/+6
| | | | | Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* fcaps.eclass: Use UID 0 instead of rootHaelwenn (lanodan) Monnier2022-03-281-2/+2
| | | | | Bug: https://bugs.gentoo.org/595908 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* gstreamer-meson.eclass: fix symlink issue for WORKDIRTony Lee2022-03-261-3/+11
| | | | | | | | | | Fixes symlink issue with a variety of gstreamer plugin packages. Bug: https://bugs.gentoo.org/820416 Bug: https://bugs.gentoo.org/816702 Closes: https://bugs.gentoo.org/805020 Closes: https://github.com/gentoo/gentoo/pull/22967 Signed-off-by: Sam James <sam@gentoo.org>
* dev-ruby/rdoc: remove the hprefixify command on shebangs.Benda Xu2022-03-261-1/+1
| | | | | | | | | | | | | | | | | If two ruby targets are specified, the scripts get `/usr/bin/env ruby` shebangs. "env ruby" is then replaced in the ebuilds to be "ruby${ver}" (ruby27 or ruby30). They needs to be prefixified. Contrastingly, when there is one ruby target, the shebang is the correct EPREFIX/usr/bin/ruby${ver}. No prefixify should be applied. To unify the two cases, the shebangs for the two-ruby-target case are changed to be `EPREFIX/usr/bin/env ruby`. Reference: https://github.com/gentoo/gentoo/pull/21046 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Benda Xu <heroxbd@gentoo.org> Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* ecm.eclass: provides virtualx.eclassSam James2022-03-261-1/+1
| | | | | | As discussed with asturm. Signed-off-by: Sam James <sam@gentoo.org>
* subversion.eclass: stub-document internal functionsSam James2022-03-251-14/+12
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* bash-completion-r1.eclass: fix typo in eclassdoc function nameSam James2022-03-251-2/+2
| | | | | | Caused EclassDocMissingFunc. Signed-off-by: Sam James <sam@gentoo.org>
* portability.eclass: drop _dead_portability_user_funcs, is-login-disabledSam James2022-03-251-4/+1
| | | | | | Long fatal (died on calls). Signed-off-by: Sam James <sam@gentoo.org>
* tmpfiles.eclass: fix EclassDocMissingVar (rename internal TMPFILES_ECLASS)Sam James2022-03-251-3/+3
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* subversion.eclass: fix EclassDocMissingVar (ESVN)Sam James2022-03-251-31/+29
| | | | | | Drop ${ESVN} which is only used in errors. We can use ${ECLASS} for that. Signed-off-by: Sam James <sam@gentoo.org>
* ruby-ng.eclass: avoid false-positive for EclassDocMissingVar (inherits)Sam James2022-03-251-5/+4
| | | | | | | It's fine to call inherit multiple times and this avoids a EclassDocMissingVar warning for the variable 'inherits'. Signed-off-by: Sam James <sam@gentoo.org>
* multilib.eclass: document multilib_envSam James2022-03-251-1/+6
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* *.eclass: @ECLASS-VARIABLE renamed to @ECLASS_VARIABLEUlrich Müller2022-03-24123-687/+687
| | | | | Bug: https://bugs.gentoo.org/835396 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* gkrellm-plugin.eclass: Support EAPI 8Thomas Bracht Laumann Jespersen2022-03-211-15/+18
| | | | | | | | | | | | | | | The most notable changes are: * BDEPEND on "virtual/pkgconfig" instead of DEPEND * Add @DEFAULT_UNSET to the variables PLUGIN_SERVER_SO and PLUGIN_DOCS Looking over the eclass, it doesn't appear to use any functionality that was modified or banned in EAPI 7 or 8. Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Closes: https://github.com/gentoo/gentoo/pull/24626 Signed-off-by: Sam James <sam@gentoo.org>
* qt5-build.eclass: Change SLOTing in 5.15.3Andreas Sturmlechner2022-03-211-1/+19
| | | | | | | | | | | - 0 for binary only (user-facing) tools not tied to specific Qt major version - 5 (clean) for binary only/unversioned plugins/files-only/non-private headers - 5/$(ver_cut 1-2) for everything else; unless overridden by ebuild - No change for 5.15.2 ebuilds dev-qt/qtxmlpatterns was added to clean "5" slot because development is dead. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: New helper function: qt5_symlink_binary_to_path()Andreas Sturmlechner2022-03-211-0/+10
| | | | | | | | | Symlink necessary tools to /usr/bin According to upstream discussion on Qt6 recommended tools to be in PATH. See also: https://lists.qt-project.org/pipermail/development/2020-November/040626.html Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Re-add support for Qt 5.15.2 official tarballsAndreas Sturmlechner2022-03-211-3/+14
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Add support for Qt 5.15.3 (and future) tarballsAndreas Sturmlechner2022-03-211-10/+35
| | | | | | KDE Qt5PatchCollection patches will be applied on top of v5.15.3-lts-lgpl Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* qt5-build.eclass: Update comment regarding MODULE_VERSION downpatchingAndreas Sturmlechner2022-03-211-3/+3
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* go-module.eclass: fix EclassDocError for @DEPRECATEDSam James2022-03-181-9/+9
| | | | | | No trailing colon (:). Signed-off-by: Sam James <sam@gentoo.org>
* meson.eclass: depend on >=dev-util/meson-0.59.4Mart Raudsepp2022-03-161-1/+1
| | | | | | | | | | Many GNOME 42 packages will require meson 0.59. Raise the minimum systemwide to reduce local override needs, as we don't have older in tree anymore anyways. Acked-by: William Hubbs <williamh@gentoo.org> Acked-by: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Mart Raudsepp <leio@gentoo.org>
* golang-base.eclass: fix eclassdoc generation (tag ordering)Sam James2022-03-161-2/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* fortran-2.eclass: quote variables to allow FC containing spacesFrançois-Xavier Carton2022-03-161-3/+3
| | | | | | Signed-off-by: François-Xavier Carton <fx.carton91@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24595 Signed-off-by: Sam James <sam@gentoo.org>
* eclass/postgres.eclass: migrate to glep-81Conrad Kostecki2022-03-151-27/+0
| | | | | | Closes: https://github.com/gentoo/gentoo/pull/24185 Closes: https://bugs.gentoo.org/802498 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
* ruby-fakegem.eclass: add debug-print-function callsAnna Vyalkova2022-03-151-0/+44
| | | | | Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* ruby-ng-gnome2.eclass: add debug-print-function callsAnna Vyalkova2022-03-151-1/+11
| | | | | Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* ruby-ng.eclass: add debug-print-function callsAnna Vyalkova2022-03-151-1/+51
| | | | | Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
* mozcoreconf-v6.eclass remove --enable-extensions handlingMyckel Habets2022-03-141-19/+1
| | | | | | | It's been removed from www-client/seamonkey. Signed-off-by: Myckel Habets <gentoo-bugs@habets-dobben.nl> Signed-off-by: Sam James <sam@gentoo.org>
* eclass/ruby-utils.eclass: add ruby31Hans de Graaff2022-03-121-2/+6
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* eclass/ruby-fakegem.eclass: drop obsolete psych blockerHans de Graaff2022-03-121-3/+1
| | | | | | | This old version of dev-ruby/psych should be long gone now, and dev-ruby/psych needs to be added again to support ruby 3.1. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* gkrellm-plugin.eclass: add @PROVIDES tag for multilib.eclassSam James2022-03-101-1/+2
| | | | Signed-off-by: Sam James <sam@gentoo.org>
* go-module.eclass: invoke "ego mod tidy" with nonfatalFlorian Schmaus2022-03-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We previously invoked "mod tidy" without the ego helper function in a non-fatal way. This was switched to using the ego helper in f9ee55e698f8 ("go-module.eclass: use ego helper function") but without prefixing the call with nonfatal. Hence the semantic of the eclass changes: a previously non-fatal invocation became fatal, causing e.g., bug #834695. [sam: fixes semantic change which wasn't advertised/seemingly intentional, so let's get this in now to avoid a significant number of ebuilds being broken. We can introduce this change if desired at a later point. Fixes: f9ee55e698f8 ("go-module.eclass: use ego helper function") Closes: https://bugs.gentoo.org/834758 Closes: https://bugs.gentoo.org/834762 Closes: https://bugs.gentoo.org/834607 Closes: https://bugs.gentoo.org/834608 Closes: https://bugs.gentoo.org/834625 Closes: https://bugs.gentoo.org/834626 Closes: https://bugs.gentoo.org/834630 Closes: https://bugs.gentoo.org/834669 Closes: https://bugs.gentoo.org/834603 Closes: https://bugs.gentoo.org/834610 Closes: https://bugs.gentoo.org/834711 Closes: https://bugs.gentoo.org/834763 Signed-off-by: Florian Schmaus <flow@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/24437 Signed-off-by: Sam James <sam@gentoo.org>
* go-module.eclass: deprecate EGO_SUMWilliam Hubbs2022-03-061-12/+33
| | | | | | | | | EGO_SUM can be thousands of lines long in ebuilds, and it leads to creating Manifest files that are thousands of lines long. It has been determined that dependency tarballs are a better solution if upstream doesn't vendor their dependencies. Signed-off-by: William Hubbs <williamh@gentoo.org>
* go-module.eclass: clarify the instructions around GO_OPTIONALWilliam Hubbs2022-03-041-5/+3
| | | | | | | remove the version of dev-lang/go since we do not know which version the ebuild author will need to depend on. Signed-off-by: William Hubbs <williamh@gentoo.org>
* go-module.eclass: put the go module cache under the work directoryWilliam Hubbs2022-03-041-3/+1
| | | | Signed-off-by: William Hubbs <williamh@gentoo.org>
* go-module.eclass: use ego helper functionWilliam Hubbs2022-03-041-2/+2
| | | | | | | All direct calls to go in eclasses or ebuilds should be done via the ego helper function. Signed-off-by: William Hubbs <williamh@gentoo.org>
* apache-2.eclass: Ban EAPI-6Lars Wendler2022-03-041-14/+5
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* www-servers/apache: Move remaining lua stuff into eclassLars Wendler2022-03-041-0/+2
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* apache-2.eclass: Add support for systemd moduleLars Wendler2022-03-041-1/+10
| | | | | Bug: https://bugs.gentoo.org/834568 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* subversion.eclass: Support EAPI 8Ulrich Müller2022-02-281-2/+2
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* subversion.eclass: Drop support for EAPIs 4 and 5Ulrich Müller2022-02-281-80/+5
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* eclass/unpacker.eclass: Add support for makeself 2.3.0Christian Ruppert2022-02-281-1/+1
| | | | Signed-off-by: Christian Ruppert <idl0r@gentoo.org>
* verify-sig.eclass: Link to the guideMichał Górny2022-02-251-1/+5
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>