Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | For bug #180165, make portageq print a "Permission denied" error when ↵ | Zac Medico | 2007-06-20 | 4 | -4/+19 | |
| | | | | | | appropriate. A PermissionDenied exception is raised from portage.listdir() enven when EmptyOnError is True since errno.EACCES is very likely to indicate a condition that should be reported in any case. svn path=/main/trunk/; revision=6881 | |||||
* | Fix cacheddir() to behave properly if os.listdir() raises errno.EACCES ↵ | Zac Medico | 2007-06-19 | 1 | -1/+9 | |
| | | | | | | (Permission denied). svn path=/main/trunk/; revision=6879 | |||||
* | For bug #143340, give an appropriate message when there is no read access to ↵ | Zac Medico | 2007-06-19 | 1 | -0/+6 | |
| | | | | | | a binary package. svn path=/main/trunk/; revision=6877 | |||||
* | Return early from get_term_size() is stdout is not a tty. | Zac Medico | 2007-06-19 | 1 | -0/+2 | |
| | | | | svn path=/main/trunk/; revision=6875 | |||||
* | For bug #182571, handle curses.error if it's thrown inside get_term_size(). | Zac Medico | 2007-06-19 | 1 | -2/+5 | |
| | | | | svn path=/main/trunk/; revision=6873 | |||||
* | For bug #182428, make quickpkg use a more secure umask by default and allow ↵ | Zac Medico | 2007-06-19 | 1 | -2/+11 | |
| | | | | | | it to be overridden by a --umask option. Add support for QUICKPKG_DEFAULT_OPTS so that default options can be set in make.conf. svn path=/main/trunk/; revision=6871 | |||||
* | Add a test case for the logfile functionality of portage.spawn(). | Zac Medico | 2007-06-19 | 3 | -1/+41 | |
| | | | | svn path=/main/trunk/; revision=6870 | |||||
* | Add PORTAGE_BIN_PATH to the environment since it's used by dobin to locate ↵ | Zac Medico | 2007-06-19 | 1 | -0/+2 | |
| | | | | | | isolated-functions.sh. svn path=/main/trunk/; revision=6869 | |||||
* | During unmerge, always verify that the file isn't a symlink before doing chmod. | Zac Medico | 2007-06-18 | 1 | -1/+2 | |
| | | | | svn path=/main/trunk/; revision=6867 | |||||
* | In dblink.isowner() don't bother to stat the file when it's contained in the ↵ | Zac Medico | 2007-06-17 | 1 | -4/+7 | |
| | | | | | | contents. svn path=/main/trunk/; revision=6865 | |||||
* | For bug #182346, use dblink.isowner() during unmerge so that device/inode ↵ | Zac Medico | 2007-06-17 | 1 | -9/+16 | |
| | | | | | | numbers are used to determine ownership (despite path mismatch due to symlinks). svn path=/main/trunk/; revision=6863 | |||||
* | Fix profile and config arguments to NewsItem.isRelevant() inside ↵ | Zac Medico | 2007-06-16 | 1 | -1/+11 | |
| | | | | | | NewsManager.updateItems(). svn path=/main/trunk/; revision=6862 | |||||
* | Go ahead and unlink symlinks to directories when they're actually recorded ↵ | Zac Medico | 2007-06-15 | 1 | -5/+7 | |
| | | | | | | as symlinks in the contents. svn path=/main/trunk/; revision=6860 | |||||
* | Make the collision-protect loop check for existance of the destination file ↵ | Zac Medico | 2007-06-15 | 1 | -0/+9 | |
| | | | | | | before checking if it's owned. svn path=/main/trunk/; revision=6858 | |||||
* | Make repoman exit with nonzero status whenever there are qa issues (already ↵ | Zac Medico | 2007-06-15 | 1 | -0/+4 | |
| | | | | | | does the same in commit mode). Thanks to Daniel Gryniewicz <dang@gentoo.org> in bug #182166. svn path=/main/trunk/; revision=6856 | |||||
* | For bug #182021, use active voice when notifying the user that superuser ↵ | Zac Medico | 2007-06-15 | 1 | -2/+2 | |
| | | | | | | access is required. svn path=/main/trunk/; revision=6854 | |||||
* | Handle another case where removing a symlink to a directory can be harmful. | Zac Medico | 2007-06-15 | 1 | -0/+5 | |
| | | | | svn path=/main/trunk/; revision=6852 | |||||
* | For bug #182157, don't let unmerge-orphans unlink symlinks to directories ↵ | Zac Medico | 2007-06-15 | 1 | -0/+3 | |
| | | | | | | since that can remove /lib and /usr/lib symlinks. svn path=/main/trunk/; revision=6850 | |||||
* | For bug #182157, never chmod 0 symlinks before unlinking them. | Zac Medico | 2007-06-15 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=6848 | |||||
* | For bug #182105, fix the spelling of the fd_pipes paremeter. | Zac Medico | 2007-06-15 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=6846 | |||||
* | Fix broken \!found logic so that any missing files are properly skipped. | Zac Medico | 2007-06-14 | 1 | -6/+2 | |
| | | | | svn path=/main/trunk/; revision=6843 | |||||
* | Pass existing portdbapi and vardbapi instances into the NewsManager constructor. | Zac Medico | 2007-06-13 | 2 | -16/+18 | |
| | | | | svn path=/main/trunk/; revision=6841 | |||||
* | Make display_news_notification() reuse the existing portdbapi instance. | Zac Medico | 2007-06-13 | 1 | -7/+10 | |
| | | | | svn path=/main/trunk/; revision=6840 | |||||
* | Pass all the of the existing package databases into post_emerge() so that we ↵ | Zac Medico | 2007-06-13 | 1 | -8/+12 | |
| | | | | | | can use them for news and preserve-libs. svn path=/main/trunk/; revision=6839 | |||||
* | For bug #181953, prevent the circular_blocks code from selecting a node ↵ | Zac Medico | 2007-06-13 | 1 | -2/+10 | |
| | | | | | | that's already been selected by the normal node selection process. svn path=/main/trunk/; revision=6837 | |||||
* | Get registry object from vardbapi directly instead of creating another one | Marius Mauch | 2007-06-13 | 1 | -9/+7 | |
| | | | | svn path=/main/trunk/; revision=6836 | |||||
* | Add portageq command to list preserved libs | Marius Mauch | 2007-06-13 | 2 | -7/+25 | |
| | | | | svn path=/main/trunk/; revision=6835 | |||||
* | In dblink.treewalk(), handle the case where the current cpv is already ↵ | Zac Medico | 2007-06-13 | 1 | -0/+5 | |
| | | | | | | installed but it has a different slot (multislot or unapplied slotmove). svn path=/main/trunk/; revision=6833 | |||||
* | Add a note about the new unmerge-orphans behavior. | Zac Medico | 2007-06-13 | 1 | -0/+9 | |
| | | | | svn path=/main/trunk/; revision=6831 | |||||
* | For bug #134620, add a FEATURES=unmerge-orphans option that causes unmerge ↵ | Zac Medico | 2007-06-13 | 3 | -3/+26 | |
| | | | | | | to remove files more aggressively. If a file is not claimed by another package in the same slot and it is not protected by CONFIG_PROTECT, unmerge it even if the modification time or checksum differs from the file that was originally installed. This is enabled in make.globals since the vast majority of users probably want this. svn path=/main/trunk/; revision=6829 | |||||
* | Fix dblink.isowner() so it works properly when ROOT!=/. | Zac Medico | 2007-06-13 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=6827 | |||||
* | Use cached dblink instances for collision-protect. | Zac Medico | 2007-06-13 | 1 | -17/+3 | |
| | | | | svn path=/main/trunk/; revision=6825 | |||||
* | Cache dblink instances for security checks and reference counts during ↵ | Zac Medico | 2007-06-13 | 1 | -45/+53 | |
| | | | | | | merge/unmerge so that each CONTENTS only has to be parsed once. These can also be reused for collision-protect. svn path=/main/trunk/; revision=6823 | |||||
* | Reuse previously acquired lstat results. | Zac Medico | 2007-06-12 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=6821 | |||||
* | Remove some useless dircache code. | Zac Medico | 2007-06-12 | 1 | -7/+2 | |
| | | | | svn path=/main/trunk/; revision=6818 | |||||
* | Always return a dict from dblink.getcontents() since callers never expect to ↵ | Zac Medico | 2007-06-12 | 1 | -5/+12 | |
| | | | | | | get None. svn path=/main/trunk/; revision=6816 | |||||
* | For bug #181021, during unmerge use all slot matches for reference counts ↵ | Zac Medico | 2007-06-12 | 1 | -22/+16 | |
| | | | | | | (in case the user has set AUTOCLEAN=no). svn path=/main/trunk/; revision=6814 | |||||
* | Add a note about preservation of timestamps on merged files. | Zac Medico | 2007-06-12 | 1 | -0/+3 | |
| | | | | svn path=/main/trunk/; revision=6812 | |||||
* | Remove stray newline. | Zac Medico | 2007-06-11 | 1 | -1/+0 | |
| | | | | svn path=/main/trunk/; revision=6810 | |||||
* | Update the PORT_LOGDIR docs for bug #82378. Thanks to Arfrever FTA for ↵ | Zac Medico | 2007-06-11 | 1 | -1/+5 | |
| | | | | | | reporting. svn path=/main/trunk/; revision=6809 | |||||
* | Update the PORT_LOGDIR docs for bug #82378. Thanks to Arfrever FTA for ↵ | Zac Medico | 2007-06-11 | 1 | -6/+6 | |
| | | | | | | reporting. svn path=/main/trunk/; revision=6808 | |||||
* | Move news about ** token in package.keywords to the 2.1.3 section. | Zac Medico | 2007-06-11 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=6807 | |||||
* | Bump 2.1.3 to 2.2 for some features and add news about USE_EXPAND wildcards. | Zac Medico | 2007-06-11 | 2 | -2/+9 | |
| | | | | svn path=/main/trunk/; revision=6802 | |||||
* | For consistency with other xterm titles code, redirect $PROMPT_COMMAND ↵ | Zac Medico | 2007-06-11 | 1 | -1/+10 | |
| | | | | | | output to stderr. svn path=/main/trunk/; revision=6799 | |||||
* | Remove the "missing left parenthesis" test for now since it gives false ↵ | Zac Medico | 2007-06-11 | 1 | -3/+0 | |
| | | | | | | positives. svn path=/main/trunk/; revision=6797 | |||||
* | For bug #181355, detect parenthesis mismatch in paren_reduce(), raise an ↵ | Zac Medico | 2007-06-11 | 4 | -10/+41 | |
| | | | | | | InvalidDependString exception, and make sure that all callers handle the exception properly. svn path=/main/trunk/; revision=6796 | |||||
* | Fix the suid/sgid check so it only looks at regular files since it can ↵ | Zac Medico | 2007-06-10 | 1 | -1/+2 | |
| | | | | | | generate false positives otherwise. svn path=/main/trunk/; revision=6794 | |||||
* | Don't bother to warn about hardlinks to suid/sgid files before unlink since ↵ | Zac Medico | 2007-06-10 | 1 | -6/+3 | |
| | | | | | | it can give false positives and the existing suid/sgid security check should spot problems before this anyway. svn path=/main/trunk/; revision=6793 | |||||
* | For bug #81097, detect and report suspicious hardlinks to suid/sgid files. ↵ | Zac Medico | 2007-06-10 | 2 | -0/+57 | |
| | | | | | | False positives are prevented by doing reference counts for each inode having suid/sgid bits and multiple hardlinks. The security check is done prior to each merge or unmerge phase and it will cause the phase to abort if a problem is found (so that the user can investigate before any files are removed). svn path=/main/trunk/; revision=6792 | |||||
* | For bug #181551, support slot deps in package.keywords. | Zac Medico | 2007-06-10 | 1 | -3/+4 | |
| | | | | svn path=/main/trunk/; revision=6790 |