summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo. (trunk r9184)Zac Medico2008-01-111-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9185
* Add a new "ebuild.autotools" check for when ebuilds callZac Medico2008-01-111-5/+19
| | | | | | | | autotools directly instead of using autotools.eclass. Thanks to Betelgeuse for the initial patch. (trunk r9179) svn path=/main/branches/2.1.2/; revision=9183
* * Make pkgcmp() pass the ebuild revision directly into vercmp() sinceZac Medico2008-01-112-11/+18
| | | | | | | | | | | there is code there to handle it already. This eliminates some redundant revision comparison code. Thanks to peper for the patch. * Add some vercmp() test cases for comparison of ebuild revisions. (trunk r9178) svn path=/main/branches/2.1.2/; revision=9182
* Add a DESCRIPTION.toolong warning for when the DESCRIPTION line isZac Medico2008-01-111-0/+11
| | | | | | | over 80 characters long. Thanks to Betelgeuse for the patch. (trunk r9177) svn path=/main/branches/2.1.2/; revision=9181
* Bug #162450 - Try to avoid having so many bugs marked UPSTREAM byZac Medico2008-01-111-0/+7
| | | | | | | encouraging users to report 'poor programming practices' QA issues upstream and show them the $HOMEPAGE for convenience. (trunk r9176) svn path=/main/branches/2.1.2/; revision=9180
* Bug #203887 - Implement RESTRICT=installsources for binaries that areZac Medico2008-01-112-0/+5
| | | | | | not compatible with debugedit. (trunk r9167) svn path=/main/branches/2.1.2/; revision=9175
* Bug #203316 - Fix isvalidatom() to properly detect invalid operatorsZac Medico2008-01-111-1/+1
| | | | | | | used together with slot atoms. Thanks to Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> for the patch. (trunk r9166) svn path=/main/branches/2.1.2/; revision=9174
* Make sure that portdb.findname() returns the correct ebuild.Zac Medico2008-01-111-13/+16
| | | | | | (trunk r9164:9165) svn path=/main/branches/2.1.2/; revision=9173
* Bug #204425 - Remove --delete-after from the default PORTAGE_RSYNC_OPTS.Zac Medico2008-01-112-2/+1
| | | | | | | This allows the rsync program to choose the preferred --delete algorithm, or the user can choose one via PORTAGE_RSYNC_EXTRA_OPTS. (trunk r9163) svn path=/main/branches/2.1.2/; revision=9172
* Bug#204668 - Fix WORKDIR quoting in econf() when updatingZac Medico2008-01-111-2/+4
| | | | | | config.guess and config.sub. (trunk r9162) svn path=/main/branches/2.1.2/; revision=9171
* After loading the environment, make sure the color variablesZac Medico2008-01-111-0/+12
| | | | | | are in sync with the current NOCOLOR setting. (trunk r9158) svn path=/main/branches/2.1.2/; revision=9170
* When spawing the "depend" phase, use file descriptors from sys.std*Zac Medico2008-01-111-1/+5
| | | | | | streams. (trunk r9157) svn path=/main/branches/2.1.2/; revision=9169
* per bug 204468, remove old check from repoman (all ebuilds inZac Medico2008-01-111-26/+0
| | | | | | gentoo-x86 are migrated). (trunk r9144) svn path=/main/branches/2.1.2/; revision=9168
* Bug #162542 - When dropping privileges for FEATURES=userpriv,Zac Medico2008-01-101-1/+12
| | | | | | | | automatically detect permission problems with CCACHE_DIR and recursively adjust permissions only when necessary. (trunk r9160) svn path=/main/branches/2.1.2/; revision=9161
* Bug #204753 - Add "distfiles" and "packages" to the list ofZac Medico2008-01-071-2/+2
| | | | | | non-category directories. (trunk r9155) svn path=/main/branches/2.1.2/; revision=9156
* Bug #204651 - Make repoman respect NOCOLOR=true. (trunk r9151)Zac Medico2008-01-061-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=9152
* Make filter_readonly_variables() filter PATH in any case sinceZac Medico2008-01-052-3/+3
| | | | | | we never want to save of reload it. (trunk r9147) svn path=/main/branches/2.1.2/; revision=9148
* Filter PATH along with FEATURES when loading environment.bz2.Zac Medico2008-01-051-1/+1
| | | | | | (trunk r9145) svn path=/main/branches/2.1.2/; revision=9146
* Send eerror and ewarn messages to stderr. This is important inZac Medico2008-01-041-2/+2
| | | | | | | | case somebody calls portageq inside a global scope command substitution. The output needs to go to stderr so that the die message from the subshell is visible. (trunk r9140) svn path=/main/branches/2.1.2/; revision=9141
* Recognize export statements when filtering the environment. ThisZac Medico2008-01-031-1/+1
| | | | | | | is needed for compatibility with environment.bz2 files generated by paludis. (trunk r9137) svn path=/main/branches/2.1.2/; revision=9138
* Bug #204020 - Make grabfile() properly raise PermissionDenied whenZac Medico2008-01-021-1/+3
| | | | | | | appropriate instead of silently ignoring permission errors. (trunk r9135) svn path=/main/branches/2.1.2/; revision=9136
* Bug #203919 - Define missing base_url variable to fix NameErrorZac Medico2007-12-311-0/+2
| | | | | | when using PORTAGE_BINHOST. svn path=/main/branches/2.1.2/; revision=9130
* When searching for "test" in IUSE, account for IUSE defaults.Zac Medico2007-12-311-1/+1
| | | | | | (trunk r9128) svn path=/main/branches/2.1.2/; revision=9129
* Fix config.setcpv() to properly call config.regenerate() in casesZac Medico2007-12-311-1/+8
| | | | | | | when USE needs to be regenerated due to FEATURES=test to USE=test mapping. (trunk r9126) svn path=/main/branches/2.1.2/; revision=9127
* As suggested by grobian, treat Darwin just like USERLAND=gnuZac Medico2007-12-291-1/+1
| | | | | | | since they seem to be switching commands to gnu anyway. (trunk r9118) svn path=/main/branches/2.1.2/; revision=9119
* Add PKGDIR to the config.environ() whitelist so that people'sZac Medico2007-12-291-2/+1
| | | | | | bashrc's don't break. (trunk r9114) svn path=/main/branches/2.1.2/; revision=9115
* Make the ecompressdir vecho output show a leading / onZac Medico2007-12-291-2/+3
| | | | | | | the directory path. Thanks to armin76. (trunk r9110:9112) svn path=/main/branches/2.1.2/; revision=9113
* Document that docinto works for dohtml. (trunk r9109)Zac Medico2007-12-291-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=9110
* Rely on USERLAND since it's automatically generated byZac Medico2007-12-291-4/+5
| | | | | | isolated-functions.sh when necessary. (trunk r9107) svn path=/main/branches/2.1.2/; revision=9108
* Make the global counter file correspond toZac Medico2007-12-291-24/+37
| | | | | | | | the total number of installation actions that have occurred in the history of this package database. (trunk r9105) svn path=/main/branches/2.1.2/; revision=9106
* Remove redundant USERLAND sanity check code from doebuild() sinceZac Medico2007-12-291-4/+1
| | | | | | it's handled in isolated-functions.sh now. (trunk r9103) svn path=/main/branches/2.1.2/; revision=9104
* * Remove redundant lchown() compatibility code since theZac Medico2007-12-292-14/+19
| | | | | | | | | | | getattr(os, "lchown", None) call already handles it. * Simplify the userland detection code in portage.data and add a bash version of it to isolated-functions.sh. (trunk r9098:9101) svn path=/main/branches/2.1.2/; revision=9102
* Move XARGS initialization from portage.data to isolated-functions.sh.Zac Medico2007-12-293-4/+12
| | | | | | (trunk r9095:9097) svn path=/main/branches/2.1.2/; revision=9098
* Add support for showing binary package file sizes in emergeZac Medico2007-12-291-6/+14
| | | | | | --search output. (trunk r9094) svn path=/main/branches/2.1.2/; revision=9095
* * Initialize dbapi._categories = None so that we can compareZac Medico2007-12-291-8/+8
| | | | | | | | | with None instead of using hasattr. * Remove unwanted self._categories initialization from the portdbapi constructor. (trunk r9092) svn path=/main/branches/2.1.2/; revision=9093
* Move the USERLAND and XARGS sanity checks from the portage_dataZac Medico2007-12-292-16/+6
| | | | | | mule to doebuild(). svn path=/main/branches/2.1.2/; revision=9091
* Bug #121584 - Make the automatic USERLAND detection code recognizeZac Medico2007-12-291-2/+5
| | | | | | GNU/kFreeBSD. (trunk r9087) svn path=/main/branches/2.1.2/; revision=9088
* Bug #202697 - Add / to the default initial SANDBOX_READ in order toZac Medico2007-12-281-1/+1
| | | | | | | avoid a situation where attempts to read arbitrary files trigger sandbox violations. (trunk r9085) svn path=/main/branches/2.1.2/; revision=9086
* Make the FEATURES=sfperms loops safe for whitespace in pathsZac Medico2007-12-281-2/+4
| | | | | | by using find -print0 | while read -d $'\0'. (trunk r9083) svn path=/main/branches/2.1.2/; revision=9084
* Make dep_expand() and key_expand() stop relyingZac Medico2007-12-281-6/+30
| | | | | | | | | | | on having a categories list: * Create and use a dbapi.categories property that is automatically generated from dbapi.cp_all(). * Make mutable dbapi instances delete the invalidate the cached categories when they need to be regenerated. (trunk r9079:9081) svn path=/main/branches/2.1.2/; revision=9082
* Just ignore it when the global counter file does not matchZac Medico2007-12-281-5/+0
| | | | | | | | | | the highest installed COUNTER since it's normal for them to differ in some cases. For example, the global counter file will contain a higher value if the user merges a package and then immediately unmerges it (unmerge does not update the global counter file, but merge does). (trunk r9078) svn path=/main/branches/2.1.2/; revision=9079
* In action_regen(), use writemsg() to send error messages toZac Medico2007-12-281-7/+6
| | | | | | stderr. (trunk r9066) svn path=/main/branches/2.1.2/; revision=9077
* Fixes for logic related to FEATURES=test to USE=test mapping:Zac Medico2007-12-284-20/+38
| | | | | | | | | | | | | | | | * Add EBUILD_FORCE_TEST to the environment whitelist and filter it from the saved environment in save_ebuild_env(). * Tweak logic inside the ebuild command and config.regenerate() so that EBUILD_FORCE_TEST works even in odd cases like when USE=test is masked. * Only make FEATURES=test map to USE=test when "test" is actually in IUSE. * Remove USE=test from the set of implicit IUSE so that useq() calls in ebuild.sh properly generate a QA Notice when "test" is missing from IUSE. (trunk r9063:9065) svn path=/main/branches/2.1.2/; revision=9076
* Bug #203323 - Fix the FEATURES=sfperms code so that it doesn't chmodZac Medico2007-12-281-6/+19
| | | | | | | g-r on binaries that are both setuid and setgid. In that case, just chmod o-r. (trunk r9061) svn path=/main/branches/2.1.2/; revision=9075
* Minor code readablity enhancements:Zac Medico2007-12-281-6/+8
| | | | | | | | | | * Use relative_path and full_path variables for files being checked instead of spreading code like x+"/files/"+y all over the place. * Use stat.S_IMODE with octal 0111 instead of hex 0x0248 in the file.executable checks. (trunk r9060) svn path=/main/branches/2.1.2/; revision=9074
* Bug #201498 - Use desktop-file-validate to validate *.desktopZac Medico2007-12-281-1/+27
| | | | | | | | files inside ${FILESDIR} and generate a "desktop.invalid" qa warning if an error is detected. Thanks to Betelgeuse for the initial patch. (trunk r9059) svn path=/main/branches/2.1.2/; revision=9073
* Fix broken handling of the tuple that's returned fromZac Medico2007-12-281-1/+1
| | | | | | verify_all(). Thanks to Betelgeuse. (trunk r9056) svn path=/main/branches/2.1.2/; revision=9072
* In getconfig(), pass the infile attribute into the shlexZac Medico2007-12-281-1/+4
| | | | | | | constructor so that shlex.sourcehook() properly joins relative paths. (trunk r9054) svn path=/main/branches/2.1.2/; revision=9071
* Fix "Initializing counter" message to show the correct value.Zac Medico2007-12-281-1/+1
| | | | | | (trunk r9053) svn path=/main/branches/2.1.2/; revision=9070
* Bug #203090 - Do not trust the global counterZac Medico2007-12-281-13/+37
| | | | | | | file that can lead to invalid COUNTER generation. (trunk r9052) svn path=/main/branches/2.1.2/; revision=9069