summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Bug #203239 - With FEATURES=noauto, always source ${EBUILD}.Zac Medico2007-12-281-4/+9
| | | | | | | | This will load the ${T}/environment file if available and then source ${EBUILD} to overwrite any functions that have changed. (trunk r9051 and r9062) svn path=/main/branches/2.1.2/; revision=9068
* - small UI cleanups. *should* not cause problems with lackZac Medico2007-12-282-9/+10
| | | | | | of missing newlines. (trunk r9050) svn path=/main/branches/2.1.2/; revision=9067
* Add support for --usepkg and --usepkgonly options together withZac Medico2007-12-211-4/+5
| | | | | | emerge --search. (trunk r9038) svn path=/main/branches/2.1.2/; revision=9039
* 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. (trunk r9035) svn path=/main/branches/2.1.2/; revision=9037
* Enhance the portageq match command to list all installed packagesZac Medico2007-12-211-9/+14
| | | | | | when given an empty string. (trunk r9032:9034) svn path=/main/branches/2.1.2/; revision=9036
* Make vardbapi cache DESCRIPTION and HOMEPAGE in order to optimizeZac Medico2007-12-211-1/+2
| | | | | | emerge --searchdesc. (trunk r9031) svn path=/main/branches/2.1.2/; revision=9032
* emerge --search enhancements:Zac Medico2007-12-211-26/+95
| | | | | | | | * support for searching installed packages * visibility filtering for both installed and binary packages (trunk r9026:9029) svn path=/main/branches/2.1.2/; revision=9030
* Make the "test" flag that's enabled by FEATURES=test intoZac Medico2007-12-211-0/+2
| | | | | | an implicit iuse member. (trunk r9025) svn path=/main/branches/2.1.2/; revision=9026
* Eliminate redundant "notadded" error filtering. (trunk r9023)Zac Medico2007-12-211-7/+1
| | | | svn path=/main/branches/2.1.2/; revision=9024
* Tweak profile validation and warning logic a bit. (trunk r9015)Zac Medico2007-12-212-5/+5
| | | | svn path=/main/branches/2.1.2/; revision=9022
* Fix xmatch "match-all" typo. (trunk r9020)Zac Medico2007-12-211-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9021
* In portage.process.spawn(), make the default fd_pipes value getZac Medico2007-12-211-1/+5
| | | | | | | file descriptors from sys.std{in,out,err} so that they can be overridden. (trunk r9018) svn path=/main/branches/2.1.2/; revision=9019
* In portage.spawn(), make the default fd_pipes value get fileZac Medico2007-12-211-1/+5
| | | | | | | descriptors from sys.std{in,out,err} so that they can be overridden. (trunk r9016) svn path=/main/branches/2.1.2/; revision=9017
* Use regex category validation in binarytree.populate().Zac Medico2007-12-211-2/+2
| | | | | | (trunk r9011:9013) svn path=/main/branches/2.1.2/; revision=9014
* Use a regex to validate package directory names in portdbapi.cp_list()Zac Medico2007-12-211-1/+5
| | | | | | and also simplify the catagory regex a bit. (trunk r9010) svn path=/main/branches/2.1.2/; revision=9011
* Add "metadata" and "licenses" to _non_category_dirs. (trunk r9008)Zac Medico2007-12-211-2/+3
| | | | svn path=/main/branches/2.1.2/; revision=9009
* Slightly improved the masked package check inside dep_zapdeps().Zac Medico2007-12-211-9/+9
| | | | | | (trunk r9006) svn path=/main/branches/2.1.2/; revision=9007
* Hardcode #!/bin/bash for consistency with other scripts. (trunk r9002)Zac Medico2007-12-201-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9003
* Remove an accidental redundant loop from portdbapi.cp_all().Zac Medico2007-12-201-3/+2
| | | | svn path=/main/branches/2.1.2/; revision=8999
* Fix a typo in the _non_category_dirs regex. (trunk r8997)Zac Medico2007-12-201-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=8998
* Remove some redunant categories code.Zac Medico2007-12-201-8/+3
| | | | svn path=/main/branches/2.1.2/; revision=8996
* Fix broken indentation in portdbapi.cp_all().Zac Medico2007-12-201-3/+3
| | | | svn path=/main/branches/2.1.2/; revision=8995
* For simplicity and consistency, always use a regular expressionZac Medico2007-12-201-16/+14
| | | | | | | for category validation instead of using a list. (trunk r8991:8993) svn path=/main/branches/2.1.2/; revision=8994
* Fix portdbapi.cp_list() so that it can cope with aZac Medico2007-12-201-2/+5
| | | | | | missing profile. (trunk r8990) svn path=/main/branches/2.1.2/; revision=8991