summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug #194398 - Do not log "exiting successfully" in emerge.logZac Medico2007-10-051-2/+5
| | | | | | | unless the status really is successful. Otherwise, log "exiting unsuccessfully". Thanks to David Watzke. (trunk r7900) svn path=/main/branches/2.1.2/; revision=7927
* Bug #142508 - Clear the screen each time before callingZac Medico2007-10-051-0/+14
| | | | | | | the "diff" command so that any remnants of the previous config are now shown with the current one. (trunk r7893) svn path=/main/branches/2.1.2/; revision=7926
* Reimplement portdbapi.visible() so that is works withoutZac Medico2007-10-051-44/+50
| | | | | | | | | | | | | | using self.xmatch(). This should be 100% compatible with the previous implementation and have comparable performance. By eliminating the xmatch() dependency, the code becomes more generically usable, like for visibility filtering of binary packages. It seems that it will be necessary to move this code outside of the dbapi since visiblity filtering is really a resolver level function and to solve things like bug #88613 will require a more flexible approach. (trunk r7892) svn path=/main/branches/2.1.2/; revision=7925
* Document interaction between config.setinst() andZac Medico2007-10-051-0/+7
| | | | | | old-style virtuals preferences. (trunk r7891) svn path=/main/branches/2.1.2/; revision=7924
* Remove redundant trailing slashes from ${D}. (trunk r7890)Zac Medico2007-10-051-14/+17
| | | | svn path=/main/branches/2.1.2/; revision=7923
* Initialize PORTAGE_TMPDIR before using it. (trunk r7887)Zac Medico2007-10-051-3/+3
| | | | svn path=/main/branches/2.1.2/; revision=7922
* Fix quoting as reported by Drac in bug 194169 (trunk r7877:7879)Zac Medico2007-10-052-4/+2
| | | | svn path=/main/branches/2.1.2/; revision=7921
* Bug #194095 - Validate dispatch-conf input in order toZac Medico2007-10-051-2/+13
| | | | | | | | prevent spurious input characters from being interpreted as user input (which can be quite confusing and gives an "out of control" feeling). (trunk r7877) svn path=/main/branches/2.1.2/; revision=7920
* Bug #179380 - Make the default src_compile() support ECONF_SOURCEZac Medico2007-10-031-1/+3
| | | | | | if EAPI > 0. (trunk r6567) svn path=/main/branches/2.1.2/; revision=7906
* Bug #193548 - When scanning for config updates and an errorZac Medico2007-09-281-4/+6
| | | | | | | occurs, send find's stdout to /dev/null so that only an error message is shown. (trunk r7875) svn path=/main/branches/2.1.2/; revision=7876
* When scanning for config updates, treat a symlink to an existingZac Medico2007-09-281-0/+9
| | | | | | directory as if it's just a normal directory. (trunk r7873) svn path=/main/branches/2.1.2/; revision=7874
* Bug #193548 - When emerge spawns find to search for config updates,Zac Medico2007-09-281-1/+2
| | | | | | show the find output if there is an error. (trunk r7871) svn path=/main/branches/2.1.2/; revision=7872
* Bug #194081 - Add EBUSY to the list of ignored errnos for unlinkZac Medico2007-09-281-4/+8
| | | | | | and rmdir calls during unmerge. (trunk r7869) svn path=/main/branches/2.1.2/; revision=7870
* Bug #192706 - Do not print a summary at the end of --depclean ifZac Medico2007-09-281-0/+3
| | | | | | there is nothing to clean and --quiet is enabled. (trunk r7838) svn path=/main/branches/2.1.2/; revision=7868
* Handle KeyError thrown from aux_get(). (trunk r7866)Zac Medico2007-09-271-5/+6
| | | | svn path=/main/branches/2.1.2/; revision=7867
* Move prelink tempfile cleanup to the finally block andZac Medico2007-09-271-6/+2
| | | | | | remove unused locking code. (trunk r7864) svn path=/main/branches/2.1.2/; revision=7865
* Avoid useless and ugly atexit tracebacks that are triggered whenZac Medico2007-09-271-0/+3
| | | | | | portage exits during the portdbapi constructor. (trunk r6620) svn path=/main/branches/2.1.2/; revision=7863
* Simplify update_eclasses() a little. (trunk r7861)Zac Medico2007-09-271-8/+5
| | | | svn path=/main/branches/2.1.2/; revision=7862
* Fix portage.exception namespace typo.Zac Medico2007-09-271-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7860
* Move a newline to fix formatting. (trunk r7858)Zac Medico2007-09-271-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=7859
* Ignore ENOTDIR from unmerge unlink calls. (trunk r7856)Zac Medico2007-09-271-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7857
* with help from Donnie and Ulrich, use sed to extract the statementZac Medico2007-09-271-2/+24
| | | | | | | that led to the call to die so we can print it out in our error message (trunk r7852) svn path=/main/branches/2.1.2/; revision=7855
* Bug #194025 - Lock /var/db/pkg in post_merge() during theZac Medico2007-09-271-3/+10
| | | | | | "Regenerating GNU info directory index" routine. (trunk r7853) svn path=/main/branches/2.1.2/; revision=7854
* Bug #193486 - Use echo -n and properly quote the array argument. (trunk r7850)Zac Medico2007-09-271-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7851
* Bug #193486 - Use xargs to avoid 'bash: /bin/rm: Argument list too long'Zac Medico2007-09-271-1/+2
| | | | | | | errors. This patch uses a weird tr '\001' '\000' workaround since bash doesn't echo null bytes like one might expect. (trunk r7848) svn path=/main/branches/2.1.2/; revision=7849
* Do the stale env check/warning after the digest/manifestZac Medico2007-09-271-15/+23
| | | | | | phase when necessary. (trunk r7846) svn path=/main/branches/2.1.2/; revision=7847
* Display a short notification when an existing ${T}/environmentZac Medico2007-09-271-0/+19
| | | | | | | | | sourced since it is easy to ignore and ignorance of it often leads to mysterious problems and general confusion. This message should not show in cases where it is obviously irrelevant, FEATURES=noauto, or PORTAGE_QUIET=1. (trunk r7844) svn path=/main/branches/2.1.2/; revision=7845
* align the filename and line numbers in the output of the stackZac Medico2007-09-271-18/+26
| | | | | | dump so that it is much easier to read (trunk r7842) svn path=/main/branches/2.1.2/; revision=7843
* Fix a typo. (trunk r7840)Zac Medico2007-09-261-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7841
* Set non-blocking mode on the pty master file descriptor whileZac Medico2007-09-261-16/+14
| | | | | | | | | | | | the slave file descriptor is still held open since otherwise the fcntl call can fail on FreeBSD (the child process might have already exited and closed the slave file descriptor so we have to keep it open in order to avoid FreeBSD potentially generating an EAGAIN exception). This approach is cleaner than triggering the exception and being forced to handle it somehow. (trunk r7835) svn path=/main/branches/2.1.2/; revision=7837
* Bug #192341 - When the chflags command does not exit successfully,Zac Medico2007-09-261-4/+13
| | | | | | | | | | | try to generate an informative error. First, use stat or lstat to try and generate an ENOENT error. It the path exists, verify that the chflags binary exists and raise CommandNotFound if necessary. Finally, simply generate an EPERM OSError with the output of the command since we're not sure exactly why it failed or what the real errno was. (trunk r7834) svn path=/main/branches/2.1.2/; revision=7836
* Bug #192341 - Eliminate the dependency on py-freebsd by implementingZac Medico2007-09-261-3/+16
| | | | | | | | | | it's chflags() and lchflags() functions as wrappers around the chflags command (which should always be available in any case). The functions are only called when merging/unmerging files that actually have flags set so the performance difference should be negligible. (trunk r7808) svn path=/main/branches/2.1.2/; revision=7833
* Bugs #168772 and #193695 - During unmerge, only ignore specificZac Medico2007-09-261-19/+64
| | | | | | | | | | | | | | | | | exceptions raised from unlink() and rmdir() calls. Bug #193695 - Add support for FreeBSD chflags during unmerge. This code is adapted from the code that already exists in movefile() for the merge phase. In movefile() FreeBSD chflags handling, use chflags instead of lchflags when temporarily adjusting the flags on the parent directory since we want to follow any symlinks to the real parent directory. (trunk r7803:7807) svn path=/main/branches/2.1.2/; revision=7832
* Bug #74615 - Quote all file paths inside dispatch-conf shellZac Medico2007-09-263-9/+9
| | | | | | commands. (trunk r7803) svn path=/main/branches/2.1.2/; revision=7831
* Initialize ${TMP} before registering the die trap so thatZac Medico2007-09-261-1/+1
| | | | | | we're sure which directory die will clean up. (trunk r7802) svn path=/main/branches/2.1.2/; revision=7830
* Bug #190179 - Use `prelink --verify filename` to write theZac Medico2007-09-261-5/+9
| | | | | | | | | | temp file via stdout since --undo fails when run as a normal non-superuser because it tries to chown the output file. Also, use mkstemp() to eliminate the need for locking the temp file. Thanks to Israel G. Lugo <israel.lugo@lugosys.com> for the initial patch. (trunk r7801) svn path=/main/branches/2.1.2/; revision=7829
* s/note/not/ reported by p-y. (trunk r7800)Zac Medico2007-09-261-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7828
* fix possible information leak vulnerability when doingZac Medico2007-09-261-11/+22
| | | | | | | | a merge of configuration files and be better about handling of whitespace in $TMP in a few places (trunk r7799) svn path=/main/branches/2.1.2/; revision=7827
* tweak get_config() so that it only executes one externalZac Medico2007-09-261-9/+15
| | | | | | binary (sed) instead of chaining multiple ones (trunk r7798) svn path=/main/branches/2.1.2/; revision=7826
* When --deep is not enabled, many dependencies are dicarded andZac Medico2007-09-261-13/+25
| | | | | | | | | | | | | | left out of the digraph. This patch prevents dependencies from being discarded in some cases where the are needed in order to optimize merge order. It also modifies the DepPriority.rebuild attribute so that it only applies to build time dependencies. This leads to better merge order in some cases when --deep is not enabled. For example, `emerge xf86-input-keyboard xorg-server` will now properly merge xorg-server before xf86-input-keyboard (problem from bug #192254, comment #5). (trunk r7797) svn path=/main/branches/2.1.2/; revision=7825
* Flush stderr and stdout if their file descriptors are in fd_pipesZac Medico2007-09-261-4/+13
| | | | | | at the beginning of spawn(). (trunk r7793:7796) svn path=/main/branches/2.1.2/; revision=7824
* When --with-bdeps=y is enabled for built packages, pull in build time deps asZac Medico2007-09-261-6/+16
| | | | | | | | | | requested, but marked them as "satisfied" since they are not strictly required. This allows more freedom in the merge order calculation for solving circular dependencies. Don't convert to PDEPEND since that could make --with-bdeps=y less effective if it is used to adjust merge order to prevent built_with_use() calls from failing. (trunk r7793) svn path=/main/branches/2.1.2/; revision=7823
* Mask binary packages if their CHOST does not match the oneZac Medico2007-09-262-7/+23
| | | | | | defined in make.conf. (trunk r7792) svn path=/main/branches/2.1.2/; revision=7822
* Bug #190781 - Don't include --oneshot in the options thatZac Medico2007-09-261-2/+1
| | | | | | --update implies. (trunk r7790) svn path=/main/branches/2.1.2/; revision=7821
* Use ensure_dirs() and apply_permissions() to avoid redundantZac Medico2007-09-262-8/+5
| | | | | | | | chown/chmod calls. This helps avoid 'Permission denied' errors during elog_process() when the ebuild command is run by normal user (issue reported by graaff). (trunk r7789) svn path=/main/branches/2.1.2/; revision=7820
* Bug #192346 - The emerge --help shows a -i option thatZac Medico2007-09-261-1/+1
| | | | | | does not exist. (trunk r7779) svn path=/main/branches/2.1.2/; revision=7819
* Bug #191645 - Cross-reference the `ebuild --force digest` docs with theZac Medico2007-09-262-3/+7
| | | | | | FEATURES=assume-digests docs. (trunk r7778) svn path=/main/branches/2.1.2/; revision=7818
* Add some additional notes about the behavior of FEATURES=assume-digestsZac Medico2007-09-261-1/+5
| | | | | | under various conditions. (trunk r7777) svn path=/main/branches/2.1.2/; revision=7817
* Bug #191645 - Document the --force option. (trunk r7776)Zac Medico2007-09-261-0/+6
| | | | svn path=/main/branches/2.1.2/; revision=7816
* Bug #110443 - Add a KEYWORDS.stable check for ebuilds that areZac Medico2007-09-261-0/+3
| | | | | | added directly with stable KEYWORDS. (trunk r7775) svn path=/main/branches/2.1.2/; revision=7815