summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug #74615 - Quote all file paths inside dispatch-conf shell commands.Zac Medico2007-09-243-9/+9
| | | | svn path=/main/trunk/; revision=7803
* Initialize ${TMP} before registering the die trap so thatZac Medico2007-09-241-1/+1
| | | | | | we're sure which directory die will clean up. svn path=/main/trunk/; revision=7802
* Bug #190179 - Use `prelink --verify filename` to write theZac Medico2007-09-241-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. svn path=/main/trunk/; revision=7801
* s/note/not/ reported by p-y.Zac Medico2007-09-241-1/+1
| | | | svn path=/main/trunk/; revision=7800
* fix possible information leak vulnerability when doing a merge of ↵Mike Frysinger2007-09-241-11/+22
| | | | | | configuration files and be better about handling of whitespace in $TMP in a few places svn path=/main/trunk/; revision=7799
* tweak get_config() so that it only executes one external binary (sed) ↵Mike Frysinger2007-09-241-9/+15
| | | | | | instead of chaining multiple ones svn path=/main/trunk/; revision=7798
* When --deep is not enabled, many dependencies are dicarded andZac Medico2007-09-231-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). svn path=/main/trunk/; revision=7797
* In spawn(), initialize default fd_pipes before doing the stdout/stderr flush.Zac Medico2007-09-231-8/+7
| | | | svn path=/main/trunk/; revision=7796
* Flush stderr and stdout if their file descriptors are in fd_pipes at the ↵Zac Medico2007-09-222-4/+10
| | | | | | beginning of spawn(). svn path=/main/trunk/; revision=7795
* Flush stdout before calling pkg_info() to ensure that output always shows in ↵Zac Medico2007-09-221-0/+4
| | | | | | the correct order. svn path=/main/trunk/; revision=7794
* When --with-bdeps=y is enabled for built packages, pull in build time deps asZac Medico2007-09-221-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. svn path=/main/trunk/; revision=7793
* Mask binary packages if their CHOST does not match the one defined in make.conf.Zac Medico2007-09-192-7/+23
| | | | svn path=/main/trunk/; revision=7792
* Bug #190781 - Don't include --oneshot in the options that --update implies.Zac Medico2007-09-181-2/+1
| | | | svn path=/main/trunk/; revision=7790
* Use ensure_dirs() and apply_permissions() to avoid redundant chown/chmod ↵Zac Medico2007-09-162-8/+5
| | | | | | calls. This helps avoid 'Permission denied' errors during elog_process() when the ebuild command is run by normal user (issue reported by graaff). svn path=/main/trunk/; revision=7789
* Revert the workaround for bug #192341 since it will be much cleaner if we ↵Zac Medico2007-09-151-37/+0
| | | | | | fall back to spawning the chflags command when the freebsd module is unavailable. svn path=/main/trunk/; revision=7785
* Bug #192341 - Make emerge bail out on FreeBSD if the freebsd python moduleZac Medico2007-09-131-0/+37
| | | | | | | | | fails to import. Display a notification that "ignore-missing-freebsd-module" can be added to FEATURES in order to bypass the error. If that feature is enabled but the freebsd python module imported successfully, show a warning message since the user should remove if from FEATURES asap. svn path=/main/trunk/; revision=7780
* Bug #192346 - The emerge --help shows a -i option that does not exist.Zac Medico2007-09-131-1/+1
| | | | svn path=/main/trunk/; revision=7779
* Bug #191645 - Cross-reference the `ebuild --force digest` docs with theZac Medico2007-09-132-3/+7
| | | | | | FEATURES=assume-digests docs. svn path=/main/trunk/; revision=7778
* Add some additional notes about the behavior of FEATURES=assume-digests underZac Medico2007-09-131-1/+5
| | | | | | various conditions. svn path=/main/trunk/; revision=7777
* Bug #191645 - Document the --force option.Zac Medico2007-09-131-0/+6
| | | | svn path=/main/trunk/; revision=7776
* Bug #110443 - Add a KEYWORDS.stable check for ebuilds that are added directlyZac Medico2007-09-131-0/+3
| | | | | | with stable KEYWORDS. svn path=/main/trunk/; revision=7775
* Bug #192321 - Clean dir.old cruft so that they don't prevent unmerge ofZac Medico2007-09-131-0/+10
| | | | | | otherwise empty directories. svn path=/main/trunk/; revision=7774
* Bug #191645 - Document the --force option.Zac Medico2007-09-121-0/+6
| | | | svn path=/main/trunk/; revision=7773
* Bug #187795 - remove pointless digest.disjointed and digest.notadded warningsZac Medico2007-09-121-6/+0
| | | | | | since they are always added to cvs automatically anyway. svn path=/main/trunk/; revision=7772
* Bug #192195 - In dir_get_list(), append a trailing / to the address whenZac Medico2007-09-121-0/+4
| | | | | | necessary in order to avoid getting a 400 error from the http server. svn path=/main/trunk/; revision=7771
* Catch errno.ENOTDIR instead of using os.path.isdir().Zac Medico2007-09-121-2/+3
| | | | svn path=/main/trunk/; revision=7770
* Bug #192298 - Handle PermissionDenied error in cache.update_eclasses().Zac Medico2007-09-121-2/+15
| | | | svn path=/main/trunk/; revision=7769
* Adjust for r7767Marius Mauch2007-09-111-5/+5
| | | | svn path=/main/trunk/; revision=7768
* Remove name from PackageSet, it's pointless as the caller has to keep track ↵Marius Mauch2007-09-119-46/+46
| | | | | | of the name himself anyway svn path=/main/trunk/; revision=7767
* or I was right the first time :(Alec Warner2007-09-091-1/+1
| | | | svn path=/main/trunk/; revision=7766
* sigh, or, not andAlec Warner2007-09-091-1/+1
| | | | svn path=/main/trunk/; revision=7765
* compress two loop iterations into oneAlec Warner2007-09-081-2/+1
| | | | svn path=/main/trunk/; revision=7764
* In depgraph.altlist(), try to merge asap_nodes sooner by giving them an ↵Zac Medico2007-09-081-1/+2
| | | | | | exemption from the accept_root_node flag. (branches/2.1.2 r7762) svn path=/main/trunk/; revision=7763
* Fix a typo.Zac Medico2007-09-081-1/+1
| | | | svn path=/main/trunk/; revision=7761
* Bug #190268 - Avoid unwanted sandbox violations in src_test().Zac Medico2007-09-082-3/+10
| | | | | | | | - Allow SANDBOX_* variables to pass through. - Don't try to create an sandbox instance inside a test case in order to interaction with SANDBOX_* variables in src_test(). svn path=/main/trunk/; revision=7759
* Implement/fix testcases for some PackageSet subclassesMarius Mauch2007-09-072-14/+25
| | | | svn path=/main/trunk/; revision=7758
* Fix incorrect parse check as value lists in KeyListFileLoader might be ↵Marius Mauch2007-09-071-5/+32
| | | | | | empty, add support for value validators in relevant Loaders svn path=/main/trunk/; revision=7757
* Undo some unwanted changesMarius Mauch2007-09-076-176/+172
| | | | svn path=/main/trunk/; revision=7756
* return the full path, not just the filenameMarius Mauch2007-09-071-1/+1
| | | | svn path=/main/trunk/; revision=7755
* fix errors in call logicMarius Mauch2007-09-071-2/+2
| | | | svn path=/main/trunk/; revision=7754
* Fix minor issues with loaders in the static file loader, fix quoting and ↵Alec Warner2007-09-073-23/+58
| | | | | | import style in news.py. Add TextFileLoader and EnvLoader loaders svn path=/main/trunk/; revision=7753
* dbapi currently depends on being subclassed and having the subclasses ↵Alec Warner2007-09-072-12/+77
| | | | | | impelement certain functions (that aren't even implemented IN dbapi, so a particular child has no idea what functions are actually required). Try to make this cleared by adding stubs in dbapi. There should be no behavior change here because these cases would be Attribute errors in the current scheme. Also add a horribly bad testdbapi with stub funcs to use in testing code. Remove regexes with possibly faster string comparisons. svn path=/main/trunk/; revision=7752
* test news item filteringAlec Warner2007-09-072-36/+50
| | | | svn path=/main/trunk/; revision=7751
* Last commit added more tests for sets and taught me what I was doing wrong ↵Alec Warner2007-09-072-0/+0
| | | | | | ;) This commit adds yet more tests svn path=/main/trunk/; revision=7750
* fighting with svn over weirdnessAlec Warner2007-09-074-0/+49
| | | | svn path=/main/trunk/; revision=7749
* Rewrite testing to use __test__ instead of hardcoded dirsAlec Warner2007-09-078-2/+13
| | | | svn path=/main/trunk/; revision=7748
* For bug #190268, filter SANDBOX_* from the calling environment so that they ↵Zac Medico2007-09-071-1/+2
| | | | | | can't interfere with ebuild.sh. svn path=/main/trunk/; revision=7746
* Fix a typo.Zac Medico2007-09-061-1/+1
| | | | svn path=/main/trunk/; revision=7729
* In the topological sort for merge order, try to avoid selecting root nodesZac Medico2007-09-051-2/+34
| | | | | | | | | | | | whenever possible. This helps ensure that the maximimum possible number of soft dependencies have been removed from the graph before their parent nodes have been selected. This is especially important when those dependencies are going to be rebuilt by revdep-rebuild or `emerge -e system` after the CHOST has been changed (like when building a stage3 from a stage2). With this patch, `emerge -e system` properly rebuilds dev-lang/python before sys-apps/file, which helps to avoid a potential build failure. svn path=/main/trunk/; revision=7728
* Move the note about not needing pycrypto with python-2.5 to the 2.1.3 section.Zac Medico2007-09-041-2/+2
| | | | svn path=/main/trunk/; revision=7726