summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* As suggested by grobian, treat Darwin just like USERLAND=gnuZac Medico2007-12-294-11/+4
| | | | | | since they seem to be switching commands to gnu anyway. svn path=/main/trunk/; revision=9118
* Fix USERLAND references to handle Darwin like BSD.Zac Medico2007-12-292-5/+7
| | | | svn path=/main/trunk/; revision=9117
* Fix broken Darwin USERLAND detection.Zac Medico2007-12-292-1/+6
| | | | svn path=/main/trunk/; revision=9116
* Add PKGDIR to the config.environ() whitelist so that people'sZac Medico2007-12-291-2/+1
| | | | | | bashrc's don't break. svn path=/main/trunk/; revision=9114
* Fix handling of leading / charactes some more.Zac Medico2007-12-291-1/+2
| | | | svn path=/main/trunk/; revision=9112
* Make the ecompressdir vecho output show a leading / onZac Medico2007-12-291-1/+1
| | | | | | the directory path. Thanks to armin76. svn path=/main/trunk/; revision=9111
* Document that docinto works for dohtml.Zac Medico2007-12-291-1/+2
| | | | svn path=/main/trunk/; revision=9109
* Rely on USERLAND since it's automatically generated byZac Medico2007-12-291-5/+1
| | | | | | isolated-functions.sh when necessary. svn path=/main/trunk/; revision=9107
* 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. svn path=/main/trunk/; revision=9105
* Remove redundant USERLAND sanity check code from doebuild() sinceZac Medico2007-12-291-4/+1
| | | | | | it's handled in isolated-functions.sh now. svn path=/main/trunk/; revision=9103
* Add back support for silent definition of the dummy lchown()Zac Medico2007-12-291-0/+4
| | | | | | function when ostype == Darwin. svn path=/main/trunk/; revision=9101
* Simplify the userland detection code in portage.data and addZac Medico2007-12-292-10/+16
| | | | | | a bash version of it to isolated-functions.sh. svn path=/main/trunk/; revision=9100
* Remove redundant lchown() compatibility code since theZac Medico2007-12-291-6/+0
| | | | | | getattr(os, "lchown", None) call already handles it. svn path=/main/trunk/; revision=9099
* Move XARGS initialization from portage.data to isolated-functions.sh.Zac Medico2007-12-291-1/+1
| | | | svn path=/main/trunk/; revision=9097
* Move XARGS initialization from portage.data to isolated-functions.sh.Zac Medico2007-12-292-3/+11
| | | | svn path=/main/trunk/; revision=9096
* Add support for showing binary package file sizes in emergeZac Medico2007-12-291-6/+14
| | | | | | --search output. svn path=/main/trunk/; revision=9094
* * Initialize dbapi._categories = None so that we can compareZac Medico2007-12-294-8/+8
| | | | | | | | with None instead of using hasattr. * Remove unwanted self._categories initialization from the portdbapi constructor. svn path=/main/trunk/; revision=9092
* Make doebuild() check XARGS together with ARCH and USERLAND.Zac Medico2007-12-291-2/+2
| | | | svn path=/main/trunk/; revision=9090
* Make the ARCH and USERLAND sanity check use the autodetected USERLANDZac Medico2007-12-291-1/+5
| | | | | | from the portage.data module if necessary. svn path=/main/trunk/; revision=9089
* Bug #121584 - Make the automatic USERLAND detection code recognizeZac Medico2007-12-291-1/+3
| | | | | | GNU/kFreeBSD. svn path=/main/trunk/; revision=9087
* 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. svn path=/main/trunk/; revision=9085
* Make the FEATURES=sfperms loops safe for whitespace in pathsZac Medico2007-12-281-2/+4
| | | | | | by using find -print0 | while read -d $'\0'. svn path=/main/trunk/; revision=9083
* Make key_expand() use dbapi.categories.Zac Medico2007-12-281-1/+1
| | | | svn path=/main/trunk/; revision=9081
* Make dep_expand() stop relying on having a categories list:Zac Medico2007-12-284-6/+30
| | | | | | | | | * 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. svn path=/main/trunk/; revision=9080
* 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). svn path=/main/trunk/; revision=9078
* In action_regen(), use writemsg() to send error messages toZac Medico2007-12-281-7/+6
| | | | | | stderr. svn path=/main/trunk/; revision=9066
* Show the EBUILD_FORCE_TEST "Forcing test" messageZac Medico2007-12-281-3/+6
| | | | | | even when "test" is not in IUSE. svn path=/main/trunk/; revision=9065
* Fixes for logic related to FEATURES=test to USE=test mapping:Zac Medico2007-12-284-20/+35
| | | | | | | | | | | | | | | * 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. svn path=/main/trunk/; revision=9064
* Always make sure that the depend phase triggers a source ${EBUILD}Zac Medico2007-12-281-1/+5
| | | | | | call, even if "${T}"/environment happens to exist for some reason. svn path=/main/trunk/; revision=9062
* 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. svn path=/main/trunk/; revision=9061
* 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. svn path=/main/trunk/; revision=9060
* 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. svn path=/main/trunk/; revision=9059
* Fix broken handling of the tuple that's returned from Zac Medico2007-12-261-1/+1
| | | | | | verify_all(). Thanks to Betelgeuse. svn path=/main/trunk/; revision=9056
* Fix sync_local() to return 0 when a appropriate. Thanks toZac Medico2007-12-261-0/+1
| | | | | | Alon Bar-Lev" <alonbl@gentoo.org> svn path=/main/trunk/; revision=9055
* In getconfig(), pass the infile attribute into the shlexZac Medico2007-12-251-1/+4
| | | | | | | constructor so that shlex.sourcehook() properly joins relative paths. svn path=/main/trunk/; revision=9054
* Fix "Initializing counter" message to show the correct value.Zac Medico2007-12-251-1/+1
| | | | svn path=/main/trunk/; revision=9053
* Bug #203090 - Do not trust the global counterZac Medico2007-12-251-12/+36
| | | | | | file that can lead to invalid COUNTER generation. svn path=/main/trunk/; revision=9052
* Bug #203239 - With FEATURES=noauto, always source ${EBUILD}.Zac Medico2007-12-251-4/+5
| | | | | | | This will load the ${T}/environment file if available and then source ${EBUILD} to overwrite any functions that have changed. svn path=/main/trunk/; revision=9051
* - small UI cleanups. *should* not cause problems with lack of missing newlines.Ned Ludd2007-12-252-9/+10
| | | | svn path=/main/trunk/; revision=9050
* Remove redundant find_binary import.Zac Medico2007-12-231-1/+0
| | | | svn path=/main/trunk/; revision=9046
* Add support for --usepkg and --usepkgonly options together withZac Medico2007-12-211-4/+5
| | | | | | emerge --search. svn path=/main/trunk/; revision=9038
* Implement a `portageq contents <root> <category/package>` commandZac Medico2007-12-211-0/+25
| | | | | | | that lists all the files that are installed for a given package, with one file listed on each line. svn path=/main/trunk/; revision=9035
* Typo: remove bogus argument.Zac Medico2007-12-211-1/+1
| | | | svn path=/main/trunk/; revision=9034
* Enhance the portageq match command to list all installed packagesZac Medico2007-12-211-9/+14
| | | | | | when given an empty string. svn path=/main/trunk/; revision=9033
* Make vardbapi cache DESCRIPTION and HOMEPAGE in order to optimizeZac Medico2007-12-211-1/+2
| | | | | | emerge --searchdesc. svn path=/main/trunk/; revision=9031
* Implement binary package visibility filtering for emerge --search.Zac Medico2007-12-211-14/+56
| | | | svn path=/main/trunk/; revision=9029
* Don't show "Size of files: 0 kB" in emerge --search output for installedZac Medico2007-12-211-0/+7
| | | | | | packages that have no available ebuild in the tree. svn path=/main/trunk/; revision=9028
* Implement emerge --search support for installed packages, so itZac Medico2007-12-211-13/+33
| | | | | | works even without a portage tree or binary packages. svn path=/main/trunk/; revision=9027
* Make the "test" flag that's enabled by FEATURES=test intoZac Medico2007-12-211-0/+2
| | | | | | an implicit iuse member. svn path=/main/trunk/; revision=9025
* Eliminate redundant "notadded" error filtering.Zac Medico2007-12-211-7/+1
| | | | svn path=/main/trunk/; revision=9023