Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | For bug #14215, put the shlex parser in posix mode so that it properly ↵ | Zac Medico | 2006-10-06 | 1 | -3/+3 |
| | | | | | | recognizes escaped quotes. svn path=/main/trunk/; revision=4602 | ||||
* | For bug #150163, remove unnecessary validation of new_protect_filename() ↵ | Zac Medico | 2006-10-06 | 1 | -4/+0 |
| | | | | | | parameters. svn path=/main/trunk/; revision=4601 | ||||
* | Improve best_match_to_list() and include support for slot deps. | Zac Medico | 2006-10-05 | 1 | -6/+22 |
| | | | | svn path=/main/trunk/; revision=4598 | ||||
* | Fix package moves/slotmoves to work with slot deps. | Zac Medico | 2006-10-05 | 1 | -4/+15 |
| | | | | svn path=/main/trunk/; revision=4597 | ||||
* | Just use a simple replace for the needlessly complex dep_transform function. ↵ | Zac Medico | 2006-10-05 | 1 | -20/+1 |
| | | | | | | This will make it compatible with slot deps. svn path=/main/trunk/; revision=4596 | ||||
* | Add support for slot based dep matching in all dbapi derived classes. The ↵ | Zac Medico | 2006-10-05 | 2 | -4/+45 |
| | | | | | | supported syntax is ${CATEGORY}/${PN}:${SLOT} (identical to that used by paludis and pkgcore). svn path=/main/trunk/; revision=4594 | ||||
* | Share duplicate code between dep_getkey() and dep_getcpv(). | Zac Medico | 2006-10-04 | 1 | -10/+1 |
| | | | | svn path=/main/trunk/; revision=4593 | ||||
* | Don't create /cvs-src since the cvs.eclass will do that automatically. | Zac Medico | 2006-10-04 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=4591 | ||||
* | Fix a typo for the file mode in ${T}. | Zac Medico | 2006-10-04 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=4590 | ||||
* | Don't apply the sticky bits until we have a complete plan for bug #149062. | Zac Medico | 2006-10-04 | 1 | -3/+3 |
| | | | | svn path=/main/trunk/; revision=4589 | ||||
* | Properly write all fifo and device nodes to CONTENTS for bug #144781. Code ↵ | Zac Medico | 2006-10-04 | 1 | -4/+4 |
| | | | | | | to parse these entries has already in place and they are never unmerged. svn path=/main/trunk/; revision=4588 | ||||
* | Remove redundant PORTAGE_BUILDDIR creation. | Zac Medico | 2006-10-04 | 1 | -6/+0 |
| | | | | svn path=/main/trunk/; revision=4587 | ||||
* | Make PORTAGE_BUILDDIR and subdirectories group writable for now (reverts ↵ | Zac Medico | 2006-10-04 | 1 | -7/+22 |
| | | | | | | some of the changes from bug #149062). One major problem is that the first phase (setup) is often run as root. We need a way to tell portage about a less privileged user that may need to be given permission on files and directories. svn path=/main/trunk/; revision=4585 | ||||
* | Don't set the gid unnecessarily on $PORTAGE_BUILDDIR/distdir. | Zac Medico | 2006-10-03 | 1 | -2/+1 |
| | | | | svn path=/main/trunk/; revision=4584 | ||||
* | For userpriv support, chown files in ${T} if necessary after priveleged phases. | Zac Medico | 2006-10-03 | 1 | -1/+8 |
| | | | | svn path=/main/trunk/; revision=4583 | ||||
* | Use 01775 permissions for subdirectories of PORTAGE_TMPDIR, and 0755 ↵ | Zac Medico | 2006-10-03 | 1 | -25/+26 |
| | | | | | | permissions for other directories (bug #149062). svn path=/main/trunk/; revision=4582 | ||||
* | Use 755 permissions for ${PORTAGE_WORKDIR}/distdir (bug #149062). | Zac Medico | 2006-10-03 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=4581 | ||||
* | Add a digraph.NONE constant to represent no priority. | Zac Medico | 2006-10-03 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=4579 | ||||
* | Fix priority logic in digraph.add(). | Zac Medico | 2006-10-03 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=4575 | ||||
* | Optimize varexpand for bug #149900. | Zac Medico | 2006-10-02 | 1 | -4/+4 |
| | | | | svn path=/main/trunk/; revision=4574 | ||||
* | Fix depgraph.altlist() so that it can identify a group of nodes that ↵ | Zac Medico | 2006-10-02 | 1 | -2/+8 |
| | | | | | | completely satisfy eachothers non-soft deps. This should complete the fix for bug #149881. svn path=/main/trunk/; revision=4572 | ||||
* | Add medium priority level into the digraph (in addition to the existing hard and | Zac Medico | 2006-10-02 | 1 | -17/+22 |
| | | | | svn path=/main/trunk/; revision=4571 | ||||
* | For bug #149412, add a COLLISION_IGNORE user config option that behaves ↵ | Zac Medico | 2006-09-29 | 1 | -0/+10 |
| | | | | | | similar to CONFIG_PROTECT_MASK, but for collision-protect. svn path=/main/trunk/; revision=4562 | ||||
* | Allow env.d file names with 3 characters. This is a regression from r4451. | Zac Medico | 2006-09-29 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=4558 | ||||
* | Call sys.stdout.flush() after print statements so that output has the ↵ | Zac Medico | 2006-09-29 | 1 | -0/+5 |
| | | | | | | correct order when multiple processes output to a shared pipe. svn path=/main/trunk/; revision=4554 | ||||
* | Catch a ValueError caused by corrupt cache for bug #149134. | Zac Medico | 2006-09-28 | 1 | -1/+5 |
| | | | | svn path=/main/trunk/; revision=4545 | ||||
* | In dep_zapdeps preference selection, use package names instead of the real ↵ | Zac Medico | 2006-09-27 | 1 | -2/+4 |
| | | | | | | atoms for an initial rough match against installed packages. More specific preference selection is handled later via slot and version comparison. Thanks to Jason Stubbs for this patch from bug #147766. svn path=/main/trunk/; revision=4543 | ||||
* | Revert dep_zapdeps fakedbapi usage as per comment #31 on bug #147766. | Zac Medico | 2006-09-27 | 1 | -11/+5 |
| | | | | svn path=/main/trunk/; revision=4542 | ||||
* | Add SLOT support to fakedbapi then use it for depgraph blocker handling and ↵ | Zac Medico | 2006-09-27 | 1 | -9/+34 |
| | | | | | | dep_zapdeps preference selection. svn path=/main/trunk/; revision=4539 | ||||
* | Add a warning about the portage group and the possiblility of exploits for ↵ | Zac Medico | 2006-09-25 | 1 | -0/+11 |
| | | | | | | bug #149062. svn path=/main/trunk/; revision=4530 | ||||
* | For bug #149028, don't lock the tbz2 file because the filesytem could be ↵ | Zac Medico | 2006-09-25 | 1 | -3/+5 |
| | | | | | | readonly or shared by a cluster. svn path=/main/trunk/; revision=4525 | ||||
* | Clean up and simplify depgraph params logic. This fixes bug #148893. | Zac Medico | 2006-09-24 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=4524 | ||||
* | Use the same directories for binary package merges as would be used for ↵ | Zac Medico | 2006-09-24 | 1 | -31/+13 |
| | | | | | | source based merges (since the normal PORTAGE_BUILDDIR is already used by the setup, preinst, and postinst phases anyway). svn path=/main/trunk/; revision=4521 | ||||
* | Fix portage.pkgmerge() so that it locks files and directories when in use. | Zac Medico | 2006-09-23 | 1 | -64/+94 |
| | | | | svn path=/main/trunk/; revision=4520 | ||||
* | Remove doebuild_environment return value checks since it no raises and ↵ | Zac Medico | 2006-09-23 | 1 | -7/+2 |
| | | | | | | exception if necessary. svn path=/main/trunk/; revision=4518 | ||||
* | Make doebuild_environment raise an exception so that we never have to check ↵ | Zac Medico | 2006-09-23 | 1 | -3/+2 |
| | | | | | | the return value. svn path=/main/trunk/; revision=4516 | ||||
* | Only lock PORTAGE_BUILDDIR if the ebuild exists (otherwise we don't run ↵ | Zac Medico | 2006-09-23 | 1 | -3/+3 |
| | | | | | | prerm and postrm). svn path=/main/trunk/; revision=4515 | ||||
* | Lock PORTAGE_BUILDDIR all the way through prerm, unmerge, and postrm. | Zac Medico | 2006-09-23 | 1 | -50/+60 |
| | | | | svn path=/main/trunk/; revision=4514 | ||||
* | Always check the return value of doebuild_environment(). | Zac Medico | 2006-09-23 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=4513 | ||||
* | Move PORTAGE_BUILDDIR locking out of doebuild and into emerge in order to ↵ | Zac Medico | 2006-09-23 | 1 | -2/+2 |
| | | | | | | ensure that emerge maintains it's lock through all phases. svn path=/main/trunk/; revision=4512 | ||||
* | Move PORTAGE_LOG_FILE initialization from doebuild to prepare_build_dirs. | Zac Medico | 2006-09-23 | 1 | -14/+14 |
| | | | | svn path=/main/trunk/; revision=4510 | ||||
* | Move the open call out of the inner try block. | Zac Medico | 2006-09-22 | 1 | -4/+2 |
| | | | | svn path=/main/trunk/; revision=4506 | ||||
* | Use finally: to ensure that the file is closed properly. | Zac Medico | 2006-09-22 | 1 | -8/+9 |
| | | | | svn path=/main/trunk/; revision=4504 | ||||
* | Don't use LazyLoad for cache pulls because it causes a race condition. | Zac Medico | 2006-09-22 | 1 | -11/+1 |
| | | | | svn path=/main/trunk/; revision=4503 | ||||
* | Improve and simplify __getitem__ error handling. | Zac Medico | 2006-09-22 | 1 | -14/+8 |
| | | | | svn path=/main/trunk/; revision=4502 | ||||
* | Use fstat to when retrieve cache timestamps and avoid a race. | Zac Medico | 2006-09-22 | 2 | -15/+5 |
| | | | | svn path=/main/trunk/; revision=4501 | ||||
* | For compatibility with float timestamps in python-2.5, convert st_mtime ↵ | Zac Medico | 2006-09-22 | 4 | -4/+5 |
| | | | | | | attributes to long wherever portage expects 1s resolution. svn path=/main/trunk/; revision=4500 | ||||
* | Convert stat timestamps to long for compatibility with python-2.5, which ↵ | Zac Medico | 2006-09-22 | 1 | -1/+2 |
| | | | | | | returns floats for timestamps. svn path=/main/trunk/; revision=4499 | ||||
* | Allow cache.sqlite to use sqlite3 from python-2.5, if available. | Zac Medico | 2006-09-22 | 1 | -1/+4 |
| | | | | svn path=/main/trunk/; revision=4498 | ||||
* | Revert r4495, since conversion from nomerge to merge may put the depgraph ↵ | Zac Medico | 2006-09-22 | 1 | -26/+0 |
| | | | | | | into an inconsistent state du to USE flag mismatch. This can be solved by checking all args prior to marking packages as nomerge. svn path=/main/trunk/; revision=4496 |