summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* profiles: add my name to pam.eclass maintainerMikle Kolyada2019-06-211-1/+1
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* subversion.eclass: EAPI-7 readyLars Wendler2019-06-211-3/+3
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* vala.eclass: raise VALA_MAX_API_VERSION to 0.46Mart Raudsepp2019-06-201-1/+1
| | | | | | | | | | | Last stable release is 0.44 but we want overlays to be able to work on upcoming 0.46 without having to modify eclass locally and copy all ebuilds inheriting vala.eclass to their overlay to actually build against the newer vala (alternative would be per-machine repository configuration that allows overlay eclass to be used by main tree and thus invalidate applicable VDB caches). Signed-off-by: Mart Raudsepp <leio@gentoo.org>
* acct-user.eclass: Supporting locking & unlocking accountsMichał Górny2019-06-201-0/+127
| | | | | Closes: https://github.com/gentoo/gentoo/pull/12129 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-user.eclass: A new eclass to maintain user accountsMichał Górny2019-06-201-0/+246
| | | | | | A GLEP 81-compliant eclass to create user account packages. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* acct-group.eclass: A new eclass to maintain group accountsMichał Górny2019-06-201-0/+124
| | | | | | A GLEP 81-compliant eclass to create group packages. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: Introduce e{get,set}groupsMichał Górny2019-06-201-0/+88
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: Support getting & setting comment fieldMichał Górny2019-06-201-0/+77
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: Also permit using functions in pkg_*rm phasesMichał Górny2019-06-201-2/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: Introduce eget{user,group}nameMichał Górny2019-06-201-0/+20
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: Introduce esetshellMichał Górny2019-06-201-0/+61
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: Factor out finding nologin into separate functionMichał Górny2019-06-201-13/+26
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: Die if no free UID/GID is foundMichał Górny2019-06-201-0/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: Support forcing specified UID/GIDMichał Górny2019-06-201-2/+21
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: Support disabling home directory creationMichał Górny2019-06-201-2/+14
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: Prevent automated home creation in useraddMichał Górny2019-06-201-1/+1
| | | | | | | | | Pass '-M' to prevent useradd from automatically creating the home directory (depending on system configuration). We create the home directory ourselves anyway, and we have better control over how it's created this way. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: Do not create user-group automaticallyMichał Górny2019-06-201-1/+1
| | | | | Closes: https://bugs.gentoo.org/512220 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: NetBSD has 'getent'Michał Górny2019-06-201-1/+2
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* user.eclass: Remove dead/broken Darwin supportMichał Górny2019-06-201-51/+3
| | | | | Closes: https://bugs.gentoo.org/687568 Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/cargo.eclass: remove dev-util/cargo conditionalGeorgy Yakovlev2019-06-181-2/+1
| | | | Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* xorg-2.eclass: Rewrite font code as a case statementMatt Turner2019-06-171-7/+10
| | | | Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-2.eclass: Drop x11-apps/mkfontdirMatt Turner2019-06-171-2/+2
| | | | | | | Now that x11-apps/mkfontscale 1.2.0 is stable everywhere, we can drop this. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* font.eclass: Drop x11-apps/mkfontdirMatt Turner2019-06-171-1/+1
| | | | | | | Now that x11-apps/mkfontscale 1.2.0 is stable everywhere, we can drop this. Signed-off-by: Matt Turner <mattst88@gentoo.org>
* font.eclass: Don't set IUSE=X for media-fonts/encodingsMatt Turner2019-06-171-6/+7
| | | | | Closes: https://bugs.gentoo.org/665008 Signed-off-by: Matt Turner <mattst88@gentoo.org>
* xorg-3.eclass: EAUTORECONF_DEPENDS belong to BDEPENDMichael Haubenwallner2019-06-141-1/+2
| | | | | | | EAUTORECONF_DEPENDS is non-empty for ppc-aix and x86-winnt only. Also, unset variable 'arch' after use. Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
* linux-mod.eclass: Add support for kernels >=3.X in convert_to_mMike Pagano2019-06-111-1/+1
| | | | | | | | | | | | | | SUBDIRS= will be removed from Linux 5.3. See bug #680976 The linux-mod.eclass includes the function convert_to_m() that is supposed to fix Makefiles converting them from SUBDIRS= to M=. The auxiliary function use_m(), needed by convert_to_m(), is used to verify the kernel version before deciding to patch a file. Currently the check supports only kernel <= 3 Thanks to Fabio Rossi Signed-off-by: Mike Pagano <mpagano@gentoo.org>
* texlive-common: replace -n with -z to trigged updates correctlyMikle Kolyada2019-06-051-2/+2
| | | | Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* eclass/texlive-common: call non-empty ${ROOT}Mikle Kolyada2019-06-051-2/+2
| | | | | | | | | | EAPI=7 introduces empty ROOT variable if the actual root is defined as "/", this leads to the false-negative texmf-update and fmtutil calls. Closes: https://bugs.gentoo.org/687306 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* savedconfig.eclass: Ban EAPI 4David Seifert2019-06-051-1/+1
| | | | Signed-off-by: David Seifert <soap@gentoo.org>
* meson.eclass: fix cross compile file for mingwGerhard Bräunlich2019-06-031-1/+2
| | | | | | | | This is necessary for cross compiling for example x11-libs/gdk-pixbuf Closes: https://github.com/gentoo/gentoo/pull/12168 Signed-off-by: Gerhard Bräunlich <g.braeunlich@disroot.org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
* eclass/texlive-module: specify fmtutil mode for userMikle Kolyada2019-06-031-3/+7
| | | | | | | TexLive-2019 introduces 'fmtutil-user' that should be now called by regular users rather than plain 'fmtutil' Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
* darcs.eclass: use BDEPEND with EAPI >= 7Michael Haubenwallner2019-06-031-2/+10
| | | | Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
* meson.eclass: fix testsWilliam Hubbs2019-06-021-2/+23
| | | | | | | | | | | - use "meson test" to run tests instead of "eninja test" - calculate --num-processes based on ninjaopts or makeopts in the "meson test" call. - allow meson_src_test to accept arguments with the emesontestargs array or passed in the call like meson_src_configure Closes: https://bugs.gentoo.org/680010 Signed-off-by: William Hubbs <williamh@gentoo.org>
* qt5-build.eclass: use safer '|' sed delimiter, not ':'Sergei Trofimovich2019-06-011-2/+2
| | | | | | CC: qt@gentoo.org Closes: https://bugs.gentoo.org/685170 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: add riscv compiler abi configurationAndreas K. Hüttel2019-05-291-0/+5
| | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* kernel-2.eclass: Whitespace.Ulrich Müller2019-05-271-1/+1
| | | | Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* kernel-2.eclass: Fix comment.Ulrich Müller2019-05-271-2/+2
| | | | | Acked-by: Mike Pagano <mpagano@gentoo.org> Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* mozcoreconf-v6.eclass: filter flag ggdb3Jory Pratt2019-05-261-1/+1
| | | | | Closes: https://bugs.gentoo.org/681438 Signed-off-by: Jory Pratt <anarchy@gentoo.org>
* savedconfig.eclass: Remove old EAPI ED/EROOT workaroundsDavid Seifert2019-05-251-11/+10
| | | | | | | * Also limit to EAPIs that are in use at the moment. Closes: https://bugs.gentoo.org/685382 Signed-off-by: David Seifert <soap@gentoo.org>
* postgres.eclass: Add 13 to _POSTGRES_ALL_VERSIONSAaron W. Swenson2019-05-251-2/+2
| | | | Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
* llvm.eclass: Update @SUPPORTED_EAPISMichał Górny2019-05-241-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass/rust-toolchain.eclass: update @SUPPORTED_EAPISGeorgy Yakovlev2019-05-241-1/+1
| | | | | | it actually supports 7, just was omitted from SUPPORTED_EAPIS Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
* llvm.eclass: Enable EAPI 7Michał Górny2019-05-241-1/+1
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.eclass: Add EAPI 7 API to get_llvm_prefixMichał Górny2019-05-241-6/+45
| | | | | | | | | | Add two switches to get_llvm_prefix(), '-b' and '-d' to enable use of LLVM API cross support. '-b' is intended to be used whenever prefix to CBUILD llvm-config is needed, and '-d' (the default) is intended to be used whenever prefix to CHOST bindir is needed (to find CMake modules). Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.eclass: Update examples for newer LLVM versionsMichał Górny2019-05-241-6/+8
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* llvm.eclass: Remove unnecessary '_rc' from < exampleMichał Górny2019-05-241-1/+1
| | | | | | | Since LLVM versions use three components, 'x.0.0_rcN' will be always greater than 'x'. Signed-off-by: Michał Górny <mgorny@gentoo.org>
* eclass: add support to toolchain.eclass for muslJory Pratt2019-05-231-0/+3
| | | | Signed-off-by: Jory Pratt <anarchy@gentoo.org>
* kde5.eclass: remove app-arch/xz-utils DEPENDMichael Palimaka2019-05-181-2/+0
| | | | | | | It was only ever added for unpacking, and it appears in @system now. Bug: https://bugs.gentoo.org/685914 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5-functions.eclass: Set FRAMEWORKS_MINIMAL=5.57.0, cleanup versionsAndreas Sturmlechner2019-05-181-14/+5
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
* kde5-functions: Set FRAMEWORKS_MINIMAL, QT_MINIMAL for Plasma 5.16Andreas Sturmlechner2019-05-181-0/+4
| | | | Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>