summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* llvm.eclass: Do not prepend /usr/bin to PATH, #622866Michał Górny2017-08-121-1/+7
|
* llvm.eclass: Support checking LLVM deps via llvm_check_deps()Michał Górny2017-08-121-15/+45
| | | | | | | | Introduce the support for llvm_check_deps() function to override the default LLVM slot acceptance test (checking whether sys-devel/llvm is installed). This can be used to match more complex dependency specifications, e.g. to find a LLVM slot that has a matching clang version, or to request USE dependencies on LLVM or clang.
* llvm.eclass: Check for installed package rather than executableMichał Górny2017-08-121-7/+6
| | | | | | | | | Ensure that a specific LLVM slot is installed via using has_version on "sys-devel/llvm:${SLOT}" rather than checking whether llvm-config is installed in expected location. While it is a bit slower, this is closer to a canonical way of testing it and will be useful when we allow testing for more specific dependency strings. Right now, it could be helpful if one has broken LLVM installation (i.e. stray files).
* kde5-meta-pkg.eclass: Block slot 4 unconditionallyAndreas Sturmlechner2017-08-121-1/+1
| | | | This eclass has always been unaware of KDE_BLOCK_SLOT4.
* Revert "kde5-meta-pkg.eclass: Block slot 4 unconditionally"Andreas Sturmlechner2017-08-121-1/+1
| | | | This reverts commit 92c7fa972f87370dea450132ac6629dc7d514871.
* kde5-functions.eclass: Raise >=KF-5.37 QT_MINIMAL to 5.7.1Andreas Sturmlechner2017-08-121-1/+3
| | | | | See also: https://mail.kde.org/pipermail/release-team/2017-August/010526.html
* kde4-base.eclass: Drop obsolete kde-base/*:4 blockerAndreas Sturmlechner2017-08-121-4/+0
| | | | No ebuilds of this type should exist at this point after pkgmoves done.
* kde4-base.eclass: Drop obsolete USE conflict mitigationAndreas Sturmlechner2017-08-121-8/+1
|
* kde4-base.eclass: Drop obsolete minimum GCC checkAndreas Sturmlechner2017-08-121-11/+1
|
* kde5-functions.eclass: Drop 5.9999 version dep exceptionAndreas Sturmlechner2017-08-121-6/+1
|
* kde5-meta-pkg.eclass: Block slot 4 unconditionallyAndreas Sturmlechner2017-08-121-1/+1
| | | | This eclass has always been unaware of KDE_BLOCK_SLOT4.
* mysql-multilib-r1.eclass: Update system options for fatal comparison bug 627568Brian Evans2017-08-111-2/+2
|
* bzr.eclass: Dump to maintainer-neededMichał Górny2017-08-111-2/+2
|
* apache-2.eclass: don't enable maintainer-mode with USE=debug.Michael Orlitzky2017-08-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The --enable-maintainer-mode flag serves two purposes: first, it enables compile-time warnings; and second, it forces all compiled modules to be loaded at runtime. To achieve the first goal, the build system checks for the "-std=c89" compiler flag and appends it to CFLAGS if found. This can cause a problem later, because the CFLAGS used to build apache are used by apxs to build extension modules. In particular, if you have an extension that relies on C99 or some later standard, and if apache was built with --enable-maintainer-mode, then apxs will attempt to build that extension according to C89 and fail. This failure can be observed in in bugs 621686, 621756, and 621794 when apache is built with USE=debug, because USE=debug sets the --enable-maintainer-mode flag. Since there is not much reason for an end user to enable maintainer- mode, the simplest fix for this is the wholesale removal of the --enable-maintainer-mode flag from USE=debug. This prevents us from having to append CFLAGS to each extension package that uses a later standard, or from having to add a USE dependency forbidding USE=debug in apache (which would create conflicts with e.g. mod_backtrace). Gentoo-Bug: 621686 Gentoo-Bug: 621756 Gentoo-Bug: 621794
* flag-o-matic.eclass: Revert "Strip LDFLAGS unsupported by the C..."Michał Górny2017-08-112-4/+1
| | | | | | | The current logic strips too much, causing build failures. Revert it until we get it right. Bug: https://bugs.gentoo.org/627474
* libtool.eclass: Use external eltpatch toolMichał Górny2017-08-111-471/+6
| | | | Closes: https://github.com/gentoo/gentoo/pull/4467
* toolchain.eclass: fix tc-enables-* with -ggdb3Luke Dashjr2017-08-101-4/+4
| | | | | | | | | | | | | | -ggdb3 builds debug information for macros into binaries. For this reason, the C preprocessor includes all #defines as-is in the output. The check in tc-enables-* expects only a fixed output of "true", which fails in this scenario. To fix this, `grep` is used to look specifically for "true" in the output from the preprocessor. Closes: https://github.com/gentoo/gentoo/pull/5359 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* flag-o-matic.eclass: Strip LDFLAGS unsupported by the C compiler, #621274Michał Górny2017-08-082-1/+4
| | | | | | | | Include LDFLAGS in the variables stripped by strip-unsupported-flags. The code reuses the current functions for testing CC, and so only remove LDFLAGS that are rejected by the C compiler and not the linker. This solves the case of bug #621274 where LDFLAGS contained GCC-specific -flto flag.
* eclass/tests: Fix inheriting multiple eclassesMichał Górny2017-08-081-2/+2
| | | | | | Fix the inherit function to correctly handle 'inherit' call with multiple eclasses, instead of returning after the first eclass is successfully sourced.
* toolchain-glibc.eclass: fix libm.so symlinking for live glibcSergei Trofimovich2017-08-081-2/+6
| | | | | | | | | | | | | | | The failure happens when live glibc-9999 ebuild is installed: * QA Notice: Missing gen_usr_ldscript for libm-2.26.90.so * ERROR: sys-libs/glibc-9999::gentoo failed: * add those ldscripts The problem here is how upstream glibc version is detected: dosym ../../$(get_libdir)/libm-${PV}.so $(alt_usrlibdir)/libm-${PV}.so Change to use 'version.h' to pick upstream version. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* eclass/mozconfig-v6.5{2,5} - Enable sandbox content on esr builds, majorJory A. Pratt2017-08-072-0/+385
| | | | changes for release build eclass
* java-pkg-opt-2.eclass: fix EAPI 6 support in java-pkg-opt-2_src_prepareAndrew Savchenko2017-08-071-0/+4
| | | | | | | | | | | | For EAPI 6+ java-pkg-opt-2_src_prepare() has eapply_user call via java-utils-2_src_prepare() from java-utils-2.eclass. But java-utils-2_src_prepare() call is conditional and in case when package is build with USE=-java java-utils-2_src_prepare() is not called, hence eapply_user is not called in src_prepare phase and ebuild fails. This problem is fixed by calling eapply_user if java USE is disabled _and_ EAPI is 6+.
* toolchain.eclass: upstream now uses .xz compressed tarballsAnthony G. Basile2017-08-031-2/+10
|
* opam.eclass: Allow to override package nameAlexis Ballier2017-08-021-4/+5
|
* opam.eclass: Initial import.Alexis Ballier2017-08-021-0/+49
|
* confutils.eclass: Remove last rited eclassMichał Górny2017-07-301-486/+0
|
* leechcraft.eclass: Always use HTTPS for accessing GitHubDavid Hicks2017-07-301-2/+1
| | | | | | | To prevent MITM attacks, always use HTTPS with GitHub domains. GitHub supports "Smart HTTPS" git which means that shallow clones are possible over HTTPS. Don't use a git:// fallback because this would allow an attacker to always force fallback to an unsafe protocol.
* bitcoincore.eclass: Always use HTTPS for accessing GitHubDavid Hicks2017-07-301-1/+1
| | | | | | | To prevent MITM attacks, always use HTTPS with GitHub domains. GitHub supports "Smart HTTPS" git which means that shallow clones are possible over HTTPS. Don't use a git:// fallback because this would allow an attacker to always force fallback to an unsafe protocol.
* golang-vcs-snapshot.eclass: use HTTPS for GitHub in exampleDavid Hicks2017-07-301-1/+1
| | | | | | Use https:// for the GitHub URL used in the documentation example to prevent developers from copy-pasting this example and not switching to HTTPS.
* mate-desktop.org.eclass: use HTTPS only for default URLsDavid Hicks2017-07-301-8/+4
| | | | | | Enforce use of HTTPS for accessing GitHub, as http:// and git:// URLs do not provide authentication of the server. The Mate home page is also accessible via https:// so use HTTPS there as well.
* office-ext-r1.eclass: add support for EAPI 6Sergey Popov2017-07-261-1/+1
|
* llvm.eclass: Recognize slot 6 (for 9999)Michał Górny2017-07-241-1/+1
|
* meson.eclass: ensure we have a UTF-8 locale setMike Gilbert2017-07-181-1/+4
| | | | Bug: https://bugs.gentoo.org/625396
* mysql-multilib.eclass: Adjust REQUIRED_USE for GLEP73Brian Evans2017-07-171-1/+1
|
* mysql-v2.eclass: Adjust REQUIRED_USE for GLEP73Brian Evans2017-07-171-2/+2
|
* mysql-multilib.eclass: Adjust REQUIRED_USE for GLEP73Brian Evans2017-07-171-2/+2
|
* ruby-fakegem.eclass: use dodoc to install documentation filesHans de Graaff2017-07-161-1/+1
| | | | | | | dohtml is deprecated in EAPI 6, but more importantly it does not actually do what we want, which is to install all the documentation files, including fonts, javascript, and css to make the documentation pages look as intended.
* apache-2.eclass: Attempt to fix an issue with apache-2.2Lars Wendler2017-07-151-1/+1
|
* php-ex-source-r2.eclass: Drop unused inheritsBrian Evans2017-07-131-1/+1
|
* cannadic.eclass: fix src_install for EAPI > 4Akinori Hattori2017-07-121-1/+3
|
* cannadic.eclass: declare internal variables readonlyAkinori Hattori2017-07-121-14/+15
|
* cannadic.eclass: replace ROOT → EROOTAkinori Hattori2017-07-121-14/+14
|
* cannadic.eclass: use einstalldocsAkinori Hattori2017-07-121-42/+31
|
* postgres{,-multi}.eclass: More Documentation FixesAaron W. Swenson2017-07-112-4/+3
| | | | | | Fix a few keyword typos and adhere to the doc standard. Bugs: 624502
* postgress{,-multi}.eclass: Fix @ECLASS lineAaron W. Swenson2017-07-102-6/+4
| | | | | | Append “.eclass” to @ECLASS line to fix bug 624502. Bugs: 624502
* apache-2.eclass: http2 does not work with prefork MPM.Lars Wendler2017-07-101-0/+4
|
* Initial commit postgres{,-multi}.eclassAaron W. Swenson2017-07-092-0/+337
| | | | | | | | | | | postgres.eclass provides convenience functions that are commonly performed in most packages that require PostgreSQL. postgres-multi.eclass enables packages to build against all selected PostgreSQL slots. Added POSTGRES_TARGETS as a new USE_EXPAND variable to select which slots are depended upon and built against.
* kde5-functions.eclass: Raise PLASMA_MINIMAL to 5.9.5Andreas Sturmlechner2017-07-091-5/+2
| | | | Simplify kde-plasma QT_MINIMAL.
* kde5.eclass: Add KDE_QTHELP for QCH file supportAndreas Sturmlechner2017-07-091-0/+35
| | | | | | | Do not compress .qch and .tags files. See also: https://mail.kde.org/pipermail/distributions/2017-June/000227.html
* mysql-multilib-r1.eclass: Ensure the right pkg-config is calledBrian Evans2017-07-081-0/+1
|