summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Bug #192321 - Clean dir.old cruft so that they don't prevent unmergeZac Medico2007-09-261-0/+10
| | | | | | of otherwise empty directories. (trunk r7774) svn path=/main/branches/2.1.2/; revision=7814
* Bug #191645 - Document the --force option. (trunk r7773)Zac Medico2007-09-261-0/+6
| | | | svn path=/main/branches/2.1.2/; revision=7813
* Bug #187795 - remove pointless digest.disjointed and digest.notaddedZac Medico2007-09-261-6/+0
| | | | | | | warnings since they are always added to cvs automatically anyway. (trunk r7772) svn path=/main/branches/2.1.2/; revision=7812
* Bug #192195 - In dir_get_list(), append a trailing / to the addressZac Medico2007-09-261-0/+4
| | | | | | | when necessary in order to avoid getting a 400 error from the http server. (trunk r7771) svn path=/main/branches/2.1.2/; revision=7811
* Catch errno.ENOTDIR instead of using os.path.isdir(). (trunk r7770)Zac Medico2007-09-261-2/+3
| | | | svn path=/main/branches/2.1.2/; revision=7810
* Bug #192298 - Handle PermissionDenied error inZac Medico2007-09-261-2/+15
| | | | | | cache.update_eclasses(). (trunk r7769) svn path=/main/branches/2.1.2/; revision=7809
* In depgraph.altlist(), try to merge asap_nodes sooner by giving them an ↵v2.1.3.9Zac Medico2007-09-081-1/+2
| | | | | | exemption from the accept_root_node flag. svn path=/main/branches/2.1.2/; revision=7762
* 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(). (trunk r7759) svn path=/main/branches/2.1.2/; revision=7760
* For bug #190268, filter SANDBOX_* from the calling environment so that theyZac Medico2007-09-071-1/+2
| | | | | | can't interfere with ebuild.sh. (trunk r7746) svn path=/main/branches/2.1.2/; revision=7747
* In the topological sort for merge order, try to avoid selecting root nodesZac Medico2007-09-061-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. (trunk r7727:7729) svn path=/main/branches/2.1.2/; revision=7745
* Reformat collision-protect output so that the list of file collisions isZac Medico2007-09-061-2/+7
| | | | | | | | shown below the banner. This puts more distance between the collision list and the list of files that prepstrip often displays just above, hopefully preventing user confusion about which files had collisions. (trunk r7720) svn path=/main/branches/2.1.2/; revision=7744
* Convert myoptions from a list to a dict. (trunk r7714)Zac Medico2007-09-061-6/+5
| | | | svn path=/main/branches/2.1.2/; revision=7743
* Move some of the less expensive QA checks before dep_check() so that they'reZac Medico2007-09-061-106/+106
| | | | | | still done even in --force mode. (trunk r7718) svn path=/main/branches/2.1.2/; revision=7742
* Skip the most expensive QA tests when --force in enabled since there's noZac Medico2007-09-061-0/+6
| | | | | | | point in wasting time on them when the user is intent on forcing the commit anyway. (trunk r7713) svn path=/main/branches/2.1.2/; revision=7741
* Fix RepoMan's grammar. (trunk r7711)Zac Medico2007-09-061-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7740
* Bug #110443 - Add a KEYWORDS.stable check for ebuilds that are added directlyZac Medico2007-09-061-0/+28
| | | | | | with stable KEYWORDS. (trunk r7710) svn path=/main/branches/2.1.2/; revision=7739
* Make the commit message indicate when the --force option is used. (trunk r7712)Zac Medico2007-09-061-6/+9
| | | | svn path=/main/branches/2.1.2/; revision=7738
* Add a --force option that forces commit to proceed. This is useful for casesZac Medico2007-09-061-1/+6
| | | | | | | like bug #110443 where the commit normally isn't allowed but there are exceptional circumstances where it may be acceptable. (trunk r7709) svn path=/main/branches/2.1.2/; revision=7737
* Bug #190406 - Filter the myheaders list so that it doesn't include binaryZac Medico2007-09-062-2/+24
| | | | | | blobs added to cvs with the -kb option. (trunk r7705) svn path=/main/branches/2.1.2/; revision=7736
* change directory to / in case $PWD doesnt exist (trunk r7702)Zac Medico2007-09-061-1/+3
| | | | svn path=/main/branches/2.1.2/; revision=7735
* remove $Id$ as it gives us nothing useful (trunk r7699)Zac Medico2007-09-061-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7734
* Move blocker handling from depgraph.create() to select_dep(). (trunk r7701)Zac Medico2007-09-061-12/+11
| | | | svn path=/main/branches/2.1.2/; revision=7733
* Bug #190214 - Make the rpm phase use /usr/src/rpm instead of /usr/src/redhat.Zac Medico2007-09-062-4/+11
| | | | | | | Bug #190144 - Use the realpath of DISTDIR so that things like subversion.eclass are compatible with sandbox. (trunk r7700) svn path=/main/branches/2.1.2/; revision=7732
* Remove pointless information from --info output (trunk r7695)Zac Medico2007-09-061-6/+0
| | | | svn path=/main/branches/2.1.2/; revision=7731
* Don't cache results from match_from_list() since *dbapi.match() caches do ↵Zac Medico2007-09-061-10/+1
| | | | | | the job. (trunk r7694) svn path=/main/branches/2.1.2/; revision=7730
* Move the note about not needing pycrypto with python-2.5 to the 2.1.3 ↵Zac Medico2007-09-041-0/+2
| | | | | | section. (trunk r7726) svn path=/main/branches/2.1.2/; revision=7727
* Add * and ~* to the list of valid values for ACCEPT_KEYWORDS. (trunk r7688)Zac Medico2007-08-231-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7689
* Make depgraph.select_dep() node reuse work when in --usepkgonly mode. (trunk ↵Zac Medico2007-08-231-54/+55
| | | | | | r7686) svn path=/main/branches/2.1.2/; revision=7687