summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Add PROPERTIES to portage.auxdbkeys since it's been approved by the council.Zac Medico2008-09-251-2/+2
| | | | svn path=/main/trunk/; revision=11549
* Use echo -e when splitting lines in e* functions, for compatibility withZac Medico2008-09-251-6/+6
| | | | | | | previous behavior wrt \e escape codes such as `elog "\e[31m***\e[0m"` for example. Thanks to Arfrever for finding this solution. svn path=/main/trunk/; revision=11545
* Fix the case where all arguments are filtered out byZac Medico2008-09-251-1/+2
| | | | | | | | PORTAGE_COMPRESS_EXCLUDE_SUFFIXES, since otherwise 'set' was called with no arguments which caused the environment to be displayed on stdout. svn path=/main/trunk/; revision=11539
* Always call `cd "$WORKDIR"` to ensure that $CWD is sane whenever possible.Zac Medico2008-09-211-0/+3
| | | | svn path=/main/trunk/; revision=11530
* Bug #238251 - Use 'read' instead of $IFS for splitting newlines in e*Zac Medico2008-09-211-67/+7
| | | | | | | functions, since using $IFS causes spurious newlines to be inserted in the message when the e* function is called with more than one argument. svn path=/main/trunk/; revision=11529
* Implement the new EAPI 2 blocker behavior, including !!atom sytax whichZac Medico2008-09-191-2/+7
| | | | | | forbids temporary simultaneous installation of conflicting packages. svn path=/main/trunk/; revision=11517
* Fix typo in from previous commit.Zac Medico2008-09-191-1/+1
| | | | svn path=/main/trunk/; revision=11516
* Remove everything related to the eapi* default phase functions since theyZac Medico2008-09-182-36/+8
| | | | | | are not included in the current EAPI 2 draft. svn path=/main/trunk/; revision=11515
* Remove unneeded quotes from PYTHONPATH assignments and also fix one moreZac Medico2008-09-132-4/+4
| | | | | | potential redundant colon inside misc-functions.sh. svn path=/main/trunk/; revision=11512
* Fix PYTHONPATH adjustments to only insert a colon when necessary. ThisZac Medico2008-09-131-3/+3
| | | | | | | | | | | | is necessary since having a stray colon causes python to interpret the empty path entry as "." which triggers the following message if cwd happens to contain a directory names "os": warning: Not importing directory 'os': missing __init__.py Thanks to Joe Peterson <lavajoe@g.o> for reporting. svn path=/main/trunk/; revision=11511
* New debugedit support for FEATURES=splitdebug, by Sven Wegener:Zac Medico2008-09-101-0/+11
| | | | | | | | | | | | | This will create new-style buildid symlinks for the splitted debuginfo and also a symlink to the binary that belongs to the debuginfo. Requires debugedit from rpm 5. Old versions of debugedit ignore all unkown command line arguments, so this is a no-op for them. Information: http://fedoraproject.org/wiki/Releases/FeatureBuildId New debugedit tarball: http://dev.gentoo.org/~swegener/distfiles/debugedit-5.0.0.tar.bz2 svn path=/main/trunk/; revision=11500
* Don't mention log files in $T for eqawarn messages since the logs are likelyZac Medico2008-09-061-6/+3
| | | | | | | to get removed and the user can just use the log from elog anyway. Thanks to Jeremy Olexa <darkside@g.o> for the suggestion. svn path=/main/trunk/; revision=11498
* In the ignored LDFLAGS check, filter out anything under /usr/lib/debug/ inZac Medico2008-09-061-1/+4
| | | | | | | order to avoid duplicate warnings for splitdebug files. Thanks to Cardoe for the suggestion. svn path=/main/trunk/; revision=11497
* 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