summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Bug #222091 - Filter out any instances of the \1 character from variableZac Medico2008-09-011-2/+7
| | | | | | | | | values since this character multiplies each time that the environment is saved (strange bash behavior). This can eventually result in mysterious 'Argument list too long' errors from programs that have huge strings of \1 characters in their environment. svn path=/main/trunk/; revision=11485
* Fix grammar. Thanks to ABCD.Zac Medico2008-08-241-1/+1
| | | | svn path=/main/trunk/; revision=11460
* Fix spelling typos in error messages.Zac Medico2008-08-231-2/+2
| | | | svn path=/main/trunk/; revision=11459
* Fix the loop in filter_protected() to continue when necessary due to anZac Medico2008-08-231-0/+2
| | | | | | error. svn path=/main/trunk/; revision=11458
* Flush stdout after the loop inside filter_protected() completes.Zac Medico2008-08-231-0/+1
| | | | svn path=/main/trunk/; revision=11457
* Add a new filter_protected command which is similar to is_protected butZac Medico2008-08-231-0/+57
| | | | | | | | works by reading filenames from stdin and writing to stdout only the filenames that are protected. This allows an unlimited number of files to be checked via a single portageq call. svn path=/main/trunk/; revision=11456
* Add a new src_prepare phase function which is called in-between src_unpackZac Medico2008-08-232-8/+44
| | | | | | | and src_configure (and bump EAPI to 2_pre3). Thanks to Ciaran McCreesh for the suggestion. svn path=/main/trunk/; revision=11454
* Add a new is_protected command which queries whether or not CONFIG_PROTECTZac Medico2008-08-221-0/+47
| | | | | | applies to a given file, using logic identical to the merge code. svn path=/main/trunk/; revision=11453
* Bug #172496 - Add a PORTAGE_COMPRESS_EXCLUDE_SUFFIXES config variable whichZac Medico2008-08-151-0/+16
| | | | | | | | | is used to filter ecompress arguments. This allows the user to control compression of files installed dodoc, excluding files with specific suffix patterns. The current default value includes all of the suffixes that are recognized by dohtml, as well as pdf. svn path=/main/trunk/; revision=11419
* Convert exceptions from parse_metadata_use() into "metadata.bad" errorsZac Medico2008-08-141-9/+15
| | | | | | instead of exiting. svn path=/main/trunk/; revision=11410
* Fix quoting for iteration over PROFILE_PATHS.Zac Medico2008-08-121-1/+1
| | | | svn path=/main/trunk/; revision=11404
* Entirely disable the src_configure phase from the python side for EAPI valuesZac Medico2008-08-111-1/+0
| | | | | | | | for which it's not supported. This avoids pointless spawning of ebuild.sh and also avoids having bashrc called during an invalid phase as reported by Arfrever. svn path=/main/trunk/; revision=11398
* In source_all_bashrcs(), only change $IFS while splitting $PROFILE_PATHS intoZac Medico2008-08-111-5/+4
| | | | | | | | | an array, and then restore it before doing anything else. This avoids interference that can otherwise occur if code from profile.bashrc (or /etc/portage/env, be extension) needs to call any of the elog functions which use the save_IFS and restore_IFS aliases internally. svn path=/main/trunk/; revision=11397
* Move the default EAPI definition where it will work in any case it mightZac Medico2008-08-101-4/+4
| | | | | | be necessary, such as after loading an exising environment. svn path=/main/trunk/; revision=11387
* Remove pointless `cd` calls in dyn_configure() and dyn_compile().Zac Medico2008-08-101-6/+4
| | | | svn path=/main/trunk/; revision=11380
* Eliminate duplicate code by making _eapi1_src_compile() call ↵Zac Medico2008-08-101-3/+1
| | | | | | _eapi2_src_configure(). svn path=/main/trunk/; revision=11379
* Fix dyn_clean() to properly clean $PORTAGE_BUILDDIR/.configured.Zac Medico2008-08-091-6/+3
| | | | svn path=/main/trunk/; revision=11377
* Make eapi*_src_install die since they're not supported.Zac Medico2008-08-091-3/+3
| | | | svn path=/main/trunk/; revision=11365
* Update date in dyn_help copyright header. Thanks to grobian.Zac Medico2008-08-091-1/+1
| | | | svn path=/main/trunk/; revision=11363
* Remove redundant default pkg_nofetch, src_unpack, and src_test definitionsZac Medico2008-08-081-12/+0
| | | | | | which are now handled inside _ebuild_phase_funcs(). svn path=/main/trunk/; revision=11358
* Fix broken quoting in eval statements. Thanks to Arfrever.Zac Medico2008-08-081-2/+2
| | | | svn path=/main/trunk/; revision=11354
* Fix default phase functions in EAPI 2_pre2, since they should be labeled asZac Medico2008-08-081-2/+2
| | | | | | "2" instead of "2_pre2. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=11352
* Rename the eapi2_pre2_* functions to just eapi2_* and document all theZac Medico2008-08-082-9/+9
| | | | | | new eapi* functions. svn path=/main/trunk/; revision=11351
* Implement eapi$EAPI_* default phase functions that are equivalent to theZac Medico2008-08-082-55/+108
| | | | | | | | | default_* functions for the given EAPI. For example, a function named eapi0_src_compile provides access to the default src_compile implementation that EAPI 0 provides. This feature is supported only when EAPI=2_pre2 is set. Thanks to Brian Harring for suggesting this idea. svn path=/main/trunk/; revision=11350
* * Fix the default() implementation so that it maps the ebuild argument toZac Medico2008-08-082-35/+140
| | | | | | | | | | | the correct phase function. * Add --exclude-init-phases option to save_ebuild_env() for filtering out unnecessary functions and variables when creating environment.bz2. * Add support for default() and default_* functions that die in all ebuild phases so that improper use of these functions is quickly discovered. svn path=/main/trunk/; revision=11346
* When testing containment of elem[:1] in "MR", filter potential empty stringZac Medico2008-08-071-1/+1
| | | | | | matches. svn path=/main/trunk/; revision=11344
* Add support in EAPI 2_pre2 for a function named "default" is redefined forZac Medico2008-08-071-0/+9
| | | | | | | | each phase so that it will call the default_* function corresponding to the current phase. Thanks to Thomas Anderson <gentoofan23> for the initial patch. svn path=/main/trunk/; revision=11342
* Replace call to `svn list` with a call to `svn status --depth=files --verbose`Zac Medico2008-08-071-6/+6
| | | | | | | since the former contacts the server while the latter does not. Thanks to Arfrever for this patch. svn path=/main/trunk/; revision=11339
* Remove the "ebuild.disjointed" check because it's obsolete since we'veZac Medico2008-08-061-50/+1
| | | | | | switched to manifest2 only. Thanks to Arfrever for this patch. svn path=/main/trunk/; revision=11338
* Fix `svn status` output parsing to account for "replaced" files indicatedZac Medico2008-08-061-1/+1
| | | | | | by "R". Thanks to Arfrever. svn path=/main/trunk/; revision=11337
* Remove redundant 'local line' definition from previous commit.Zac Medico2008-08-061-1/+0
| | | | svn path=/main/trunk/; revision=11336
* Fix breakage in elog function newline handling with causes blank/emptyZac Medico2008-08-061-5/+43
| | | | | | lines to get lost. svn path=/main/trunk/; revision=11335
* Remove the use.local.desc IUSE validation which is now replaced by glep56Zac Medico2008-08-051-30/+2
| | | | | | | metadata.xml validation. This was requested by Cardoe since he expects to complete the gleep56 conversion process pretty soon. svn path=/main/trunk/; revision=11329
* Bug #233735 - Add support for src_configure and default_* functions withZac Medico2008-08-043-71/+171
| | | | | | | new EAPI=2_pre2. Thanks to Arfrever Frehtes Taifersar Arahesis for the initial patch which I've made a few adjustments to. svn path=/main/trunk/; revision=11327
* Optimize `emaint` --fix binhost so that it the Packages file isn't re-readZac Medico2008-08-011-15/+45
| | | | | | | and re-written for each package that's updated. Instead, hold a lock for the whole time the command is running and just update it once. svn path=/main/trunk/; revision=11307
* Bug #229033 - Use `svn propget -R svn:keywords` to detect which will haveZac Medico2008-08-011-10/+30
| | | | | | | | | | changed headers that require an additional manifest commit. Thanks to Fabian Groffen for this patch which I've made some modifications to: * For clarity, use separate "no_expansion" variable for cvs bin blobs. * Fix svn keyword parsing to properly handle multiple keywords delimited by newlines. svn path=/main/trunk/; revision=11304
* Add a quiet signal handler for SIGINT and SIGTERM since emerge calls ebuildZac Medico2008-07-291-1/+16
| | | | | | | for fetchs and we don't want the user to see a traceback due to the ebuild process getting killed. svn path=/main/trunk/; revision=11268
* Even though the message is split on $'\n' in elog_base(), it's stillZac Medico2008-07-281-1/+5
| | | | | | | | not entirely safe to use it as a delimiter in the log file since there can still be escaped newlines that will be expanded due to the echo -e parameter. svn path=/main/trunk/; revision=11244
* Fix incorrect logging.exception() arguments. The exception instance is notZac Medico2008-07-271-4/+4
| | | | | | supposed to be passed into this function. svn path=/main/trunk/; revision=11227
* Fix the new glep56 code to handle missing metadata.xml. Thanks to jmbsvicettoZac Medico2008-07-271-9/+10
| | | | | | for reporting. svn path=/main/trunk/; revision=11226
* Use ${NORMAL} to properly restore color when necessary.Zac Medico2008-07-271-1/+1
| | | | svn path=/main/trunk/; revision=11221
* Make elog_base() just use \n as the delimiter in the file since it's safeZac Medico2008-07-271-1/+1
| | | | | | now that lines are always split. svn path=/main/trunk/; revision=11220
* Make all the elog functions split lines when displaying output, just likeZac Medico2008-07-271-5/+35
| | | | | | elog_base() does when saving it. svn path=/main/trunk/; revision=11219
* Add support to elog_base() to split messages on newlines automatically.Zac Medico2008-07-271-2/+8
| | | | | | Thanks to Arfrever for the suggestion. svn path=/main/trunk/; revision=11218
* Fixes from Arfrever:Zac Medico2008-07-272-2/+4
| | | | | | | * Highlight the "Files built without respecting LDFLAGS" QA Notice with red. * Remove scanelf-ignored-LDFLAGS.log when empty. svn path=/main/trunk/; revision=11216
* * Define a frozenset of live eclasses for the LIVEVCS.stable check.Zac Medico2008-07-271-3/+10
| | | | | | * Add "mercurial" to the list of known live eclasses. svn path=/main/trunk/; revision=11210
* Fix repoman not seeing subversion auto-ignored files (such as patch rejects ↵Zac Medico2008-07-271-2/+2
| | | | | | | | and editor backup copies), thereby causing messed up Manifests. This fix should be merged in the trunk. (branches/prefix r11208) svn path=/main/trunk/; revision=11209
* Temporarily `set -o noglob` when splitting QA_DT_HASH.Zac Medico2008-07-271-0/+4
| | | | svn path=/main/trunk/; revision=11206
* Bug #233077 - Add QA check which verifies that LDFLAGS are respected. For nowZac Medico2008-07-271-0/+31
| | | | | | | | | | | | | this only works when LDFLAGS contains --hash-style=gnu since in this case the the elf files should not contain .hash sections and we can use scanelf to check whether or not the those sections exist. This adds a QA_DT_HASH variable that is analogous to existing QA control variables documented in the ebuild.5 man page. There is also a complementary QA_STRICT_DT_HASH variable that can be set in make.conf in order to ignore QA_DT_HASH settings in ebuilds. Thanks to Arfrever Frehtes Taifersar Arahesis for this patch which I've tweaked in just a few minor ways. svn path=/main/trunk/; revision=11205
* * Use pure bash ${PARAMETER%/*} instead of spawing`dirname`.Zac Medico2008-07-261-2/+2
| | | | | | * Break out of loop as early as possible when searching for libs in ${D}. svn path=/main/trunk/; revision=11199