summaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* depend.apache.eclass: Fix warning outputAndreas K. Hüttel2016-10-011-1/+1
|
* depend.apache.eclass: output a fat warning if used with EAPI=6Andreas K. Hüttel2016-10-011-0/+15
| | | | We would really need a PMS-supplied eqawarn here...
* kde4-base.eclass: 15.08.0 tarballs moved to AtticAndreas Sturmlechner2016-09-291-1/+1
|
* mysql-multilib-r1.eclass: Fix password reading from my.cnfThomas Deutschmann2016-09-261-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are reading multiple sections from my.cnf at once from my.cnf when looking for the password for the mysql root user in mysql-multilib-r1_pkg_config(). If each section has set a password option this will result in the following invalid password value (with "set -x"): ++ local extra_options= ++ //usr/bin/my_print_defaults client mysql ++ sed -n '/^--password=/s,--password=,,gp' + MYSQL_ROOT_PASSWORD='***** *****' + [[ ***** ***** == \*\*\*\*\* ]] + set +x Like you can see the two passwords are concatenated via newline in one string which is not what we want. With this commit we will no longer read all sections at once instead we read section per section. We are now also telling the user where we are looking for the password and where we found one. In addition this commit adds a sanity check for newline to catch scenarios where the user for example has inadvertently set multiple password options in one section which we can't handle: In that case it is better to prompt for a password like no password was set in my.cnf instead of initializing mysqld with a mysql root password the user is not expecting. Gentoo-Bug: https://bugs.gentoo.org/510724
* mysql-multilib-r1.eclass: Use *_is_at_least from versionator eclassThomas Deutschmann2016-09-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | Since dev-db/percona-server was bumped to EAPI=6 usage mysql_fx eclass is no longer inherited [Link1] which results in an error like > # emerge --config dev-db/percona-server > > Configuring pkg... > > * Creating the mysql database and setting proper permissions on it ... > /var/tmp/portage/dev-db/percona-server-5.6.32.78.0/temp/environment: line 4697: mysql_version_is_at_least: command not found To fix this problem I replaced the call to "mysql_version_is_at_least" function from mysql_fx eclass with a call to "version_is_at_least" function from versionator eclass we are already inheriting [Link2]. Link1: https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/mysql-multilib-r1.eclass?id=b3ae687988d49123628757aa8c5422bdd3b444fb#n46 Link2: https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/mysql-multilib-r1.eclass?id=b3ae687988d49123628757aa8c5422bdd3b444fb#n43 Gentoo-Bug: https://bugs.gentoo.org/594298
* eclass/gstreamer.eclass: Fix typo in documentation commentMart Raudsepp2016-09-251-1/+1
|
* python-utils-r1.eclass: try C.UTF-8 and en_GB.UTF-8 in python_export_utf8_localeMike Gilbert2016-09-231-1/+1
|
* python-utils-r1.eclass: override LC_ALL in _python_check_locale_sanityMike Gilbert2016-09-231-1/+1
|
* www-client/firefox: version bump to 49.0, security bug 594616Ian Stakenvicius2016-09-211-7/+6
| | | | Package-Manager: portage-2.2.28
* kde4-base.eclass: remove reference to old kdelibs versionsMichael Palimaka2016-09-191-1/+1
| | | | Signed-off-by: layman <layman@localhost>
* kernel-2.eclass: add global EAPI checkMike Gilbert2016-09-181-0/+2
| | | | This eclass has not been ported for EAPI 6 yet.
* haskell-cabal.eclass: drop unused CABAL_FEATURES="alex happy c2hs cpphs"Sergei Trofimovich2016-09-132-81/+27
| | | | | | | | | | | | | | | | | | | | | | While at it: - dropped internal 'ghc-sanecabal()' helper - factored out parallelism setup to new 'ghc-make-args()' function - building initial Setup binary now also uses 'ghc-make-args()' - dropped unused CABAL_MIN_VERSION global variable Fixed bug in 'ghc-make-args()' to work on NOSMP ports of GHC: We use 'qb0' to enable parallel GC. Parallel GC requires SMP support and threaded runtime. Reported by iota__ on arm/ghc-8 where there is support for parallel make but not the SMP support: ,("Host platform","arm-unknown-linux") ,("Support SMP","NO") ,("Support parallel --make","YES") ,("RTS ways","l debug thr... Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain.eclass: add support for gcc 6.x with no spec filesMagnus Granberg2016-09-131-31/+56
|
* toolchain.eclass: add use pch for gcc 6.x supportMagnus Granberg2016-09-131-2/+7
|
* java-ant-2.eclass: Prefix support.Benda Xu2016-09-091-5/+5
| | | | Bug: 591160
* mozconfig-v6.48.eclass: Ensure --host is always set, bug 590498Ian Stakenvicius2016-09-081-4/+2
|
* Revert "cmake-utils.eclass: print feature summary"Lars Wendler2016-09-081-7/+0
| | | | | | | This reverts commit ac8c7b0f47bb1f266193375b67a6fd566d0f76d5. Makes packages with custom FEATURE_SUMMARY fail as can be seen in https://bugs.gentoo.org/593230
* cmake-utils.eclass: print feature summaryChristoph Junghans2016-09-081-0/+7
| | | | | | Closes: https://github.com/gentoo/gentoo/pull/2139 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* chromium-2.eclass: add special handling for sr-MEMike Gilbert2016-09-061-1/+15
| | | | Bug: https://bugs.gentoo.org/583762
* chromium-2.eclass: replace a few leftover refs to LINGUASMike Gilbert2016-09-061-4/+4
|
* multilib.eclass: get_exeext for mingw/cygwin exe suffix, #588330Michał Górny2016-09-031-0/+14
| | | | | | | | | Add a get_exeext function that can be used to obtain executable program suffix specific to the platform, in line with get_libname and get_modname. It is necessary to correctly reference built programs on non-standard platforms where executables use some suffix (like .exe). Original author: Gerhard Bräunlich
* haskell-cabal.eclass: unleash full parallelism of parallel ghcSergei Trofimovich2016-09-021-12/+8
| | | | | | | | | | | | | | | | | | | I've explored scalability of 'ghc --make -j' a bit in https://ghc.haskell.org/trac/ghc/ticket/9221 Some takeaways: - never specify -j<N> with N > CPU. garbage collector threads waste kernel time running sched_yield() - GHC allocates A Lot: large nursery decreases GC interruptions. We fix it with '-A256M' - for large nursery enabling work-stealing makes GC finish faster on each collection cycle. We fix it with -qb0 While at it move HCFLAGS setup after parallel defaults. That allows user to override defaults with own HCFLAGS. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* eutils.eclass: Show death notice only when user patches were really appliedThomas Deutschmann2016-08-311-1/+7
| | | | | | | | | | | | | | | | | As part of the user requested feature from [Gentoo-Bug #543878] eutils.eclass shows a warning regarding user applied patches in case of an error [Link 1]. However this warning will always be shown even if no user patch were applied at all (example: empty /etc/portage/<cat>/<pkg> directory). This commit adds a new global variable "EPATCH_N_APPLIED_PATCHES" which tracks the number of applied user patches. This allows us to only show the notice when user patches were really applied. Link: https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/eutils.eclass?r1=1.443&r2=1.444 Gentoo-Bug: https://bugs.gentoo.org/543878
* kde5.eclass: a step close to becoming Turing completeMichael Palimaka2016-09-011-1/+2
|
* kde5.eclass: Fix SRC_URI, kdevelop missing trailing .0 in first releaseAndreas Sturmlechner2016-09-011-0/+32
| | | | Add kdevelop-pg-qt SRC_URIs
* kde5.eclass: Add KDE_TEST="forceoptional-recursive" handlingAndreas Sturmlechner2016-09-011-8/+14
| | | | Prime example: dev-util/kdevplatform with 24 test* subdirs
* kde5-functions.eclass: Make punt_bogus_dep detect !CMakeLists.txtAndreas Sturmlechner2016-09-011-0/+4
|
* cmake-utils.eclass: Let cmake_comment_add_subdirectory take n argumentsAndreas Sturmlechner2016-09-011-4/+7
|
* kde5.eclass: Remove obsolete KDE_PUNT_BOGUS_DEPS handlingAndreas Sturmlechner2016-09-011-19/+0
|
* kde5.eclass: Fix doc install if LINGUAS is undefinedAndreas Sturmlechner2016-09-011-2/+4
|
* kde5.eclass: Don't remove existing po/${PN}.pot fileAndreas Sturmlechner2016-09-011-1/+1
|
* kde5.eclass: Set HOMEPAGE for KMNAME=kdepimAndreas Sturmlechner2016-09-011-0/+2
| | | | | | Homepage is https://www.kde.org/applications/office/kontact/ Package-Manager: portage-2.2.28
* user.eclass: Removed superfluous "shift" call (bug #592176).Lars Wendler2016-08-291-1/+0
|
* pax-utils.eclass: do not attempt to create/convert a PT_PAX_FLAGS program headerAnthony G. Basile2016-08-271-10/+8
| | | | | | | | | | Support for the creation of PT_PAX_FLAGS program headers in ELF objects is being dropped in >=sys-devel/binutils-2.26.1. Running paxctl -C or -c either to create a PT_PAX_FLAGS header or to convert a PT_GNU_STACK header on such ELF objects results in broken executables. For backwards compatibility we continue to support PT_PAX_FLAGS markings with paxctl but remove these unsafe methods from the eclass. Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=590422
* Bitcoin 0.13.0Luke Dashjr2016-08-251-2/+2
|
* kernel-2.eclass: Add 'K_FROM_GIT' var to replace hardcoded reference to ↵Joshua Kinard2016-08-221-1/+4
| | | | | | | | | | | sys-kernel/git-sources. This is to work around a possible bug in patch when attempting to patch kernel trees checked out from git that remove a symlink and replace it with a file of the same name. See Bug #507656. Signed-off-by: Joshua Kinard <kumba@gentoo.org> Acked-by: Mike Pagano <mpagano@gentoo.org>
* phpconfutils.eclass: remove, bug #587826Pacho Ramos2016-08-211-0/+4
|
* java-mvn-src.eclass: remove, bug #587824Pacho Ramos2016-08-211-0/+5
|
* horde.eclass: remove, bug #587818Pacho Ramos2016-08-211-0/+5
|
* gdesklets.eclass: remove, bug #587814Pacho Ramos2016-08-211-169/+0
|
* mozilla-launcher.eclass: set for removalPacho Ramos2016-08-211-0/+5
|
* common-lisp-commmon-{2,3}.eclass: set for removalPacho Ramos2016-08-212-0/+10
|
* eclass/prefix: support run dir in hprefixify, bug #590326Fabian Groffen2016-08-181-1/+1
|
* chromium.eclass: add @DEADMike Gilbert2016-08-151-0/+2
|
* eclass: deprecate chromium.eclassMike Gilbert2016-08-141-1/+6
|
* eclass: mate.eclass: Fix spacing for documentationNP-Hardass2016-08-131-2/+4
|
* eclass: Add mate{,-desktop.org}.eclass from project repoNP-Hardass2016-08-122-0/+214
|
* toolchain-funcs.eclass: add or1k tuple support #589682Siarhei Siamashka2016-08-101-1/+1
|
* kde5-functions.eclass: Fix SRC_URI for kde-l10n-15.12.3Andreas Sturmlechner2016-08-081-1/+1
|
* freebsd.eclass: move to maintainer-neededPacho Ramos2016-08-071-0/+3
|