summaryrefslogtreecommitdiffstats
path: root/bin
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
* 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
* 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
* * Remove redundant lchown() compatibility code since theZac Medico2007-12-291-0/+11
| | | | | | | | | | | 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-291-0/+11
| | | | | | (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
* 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
* 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-283-9/+10
| | | | | | | | | | | | | | | | * 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
* 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-281-6/+7
| | | | | | 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
* 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
* 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-211-1/+3
| | | | svn path=/main/branches/2.1.2/; revision=9022
* 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
* Merge missing db keys from trunk, for bug #149816.Zac Medico2007-12-201-3/+6
| | | | svn path=/main/branches/2.1.2/; revision=8987
* Merge the unified package masking output from trunk for bug #149816.Zac Medico2007-12-201-78/+102
| | | | svn path=/main/branches/2.1.2/; revision=8986
* Bug #149816 - Implement visibility filtering for binary packages.Zac Medico2007-12-201-11/+24
| | | | | | | This is only the least invasive part of the implementation that is currently in trunk. svn path=/main/branches/2.1.2/; revision=8984
* Enable emerge search actions for binary packages when there isZac Medico2007-12-201-24/+93
| | | | | | no portage tree available. (trunk r8980) svn path=/main/branches/2.1.2/; revision=8981
* Make some adjustments so that it's possible to install binaryZac Medico2007-12-201-10/+1
| | | | | | | | | | | | | | | | | | | | | | | packages without having a portage tree: * Make portdbapi.aux_get() return early by raising a KeyError if it detects that there is no portage tree. * Move the ARCH and USERLAND sanity check to the last moment in doebuild() and only require these variables if an existing environment (such as environment.bz2) is unavailable. * Convert messages about missing portage tree to debug level warnings since quite often it's possible to function without a portage tree now. * Make binarytree.populate() stop relying on having a categories list since it may not be available if there is no portage tree. (trunk r8972:8976) svn path=/main/branches/2.1.2/; revision=8977
* Bug #140180 - Ignore missing HOMEPAGE and LICENSE variables forZac Medico2007-12-191-1/+2
| | | | | | new-style virtual packages. (trunk r8965) svn path=/main/branches/2.1.2/; revision=8966
* Display the merge list with blockers any time that there areZac Medico2007-12-181-4/+7
| | | | | | | blockers, instead of telling the user to try again with --pretend. (trunk r8953) svn path=/main/branches/2.1.2/; revision=8954
* Only enable the PORTAGE_IUSE check during build time phasesZac Medico2007-12-181-1/+6
| | | | | | since that's the only time it's valid for now. (trunk r8951) svn path=/main/branches/2.1.2/; revision=8952
* Create a PORTAGE_IUSE variable containing an egrep patternZac Medico2007-12-181-10/+6
| | | | | | | | for use by the QA check that's built into useq(). This allows the IUSE logic for this check to be isolated in the python code. (trunk r8945) svn path=/main/branches/2.1.2/; revision=8948
* Generalize the sed -> gsed wrapper script so that it'sZac Medico2007-12-181-10/+12
| | | | | | | | | | possible to create awk, make, and patch symlinks that behave analogously. These symlinks will make it unnecessary for default-bsd profiles to define profile.bashrc aliases for these commands. (trunk r8941:8943) svn path=/main/branches/2.1.2/; revision=8946
* In "QA Notice: Precompiled python" messages, use sed to strip theZac Medico2007-12-151-1/+2
| | | | | | leading ${D} from file paths. (trunk r8935) svn path=/main/branches/2.1.2/; revision=8936
* Split out a format_qa_output() function to eliminate duplicate code.Zac Medico2007-12-151-59/+57
| | | | | | (trunk r8927 and r8930) svn path=/main/branches/2.1.2/; revision=8931
* Instead of all modes, only in commit mode save an extra copy of QAZac Medico2007-12-151-1/+3
| | | | | | output for display in $EDITOR. (trunk r8928) svn path=/main/branches/2.1.2/; revision=8929
* Save QA output so that it can be conveniently displayedZac Medico2007-12-151-13/+99
| | | | | | | | | | | | | | | | in $EDITOR while the user creates a commit message. Otherwise, the user would not be able to see this output once the editor has taken over the screen. Output is done through a formatter object where it is captured for later use. A file-like object that behaves something like the portage.output.colorize() function is used to transfor style identifiers from the formatter framework into actual console codes. (trunk r8925) svn path=/main/branches/2.1.2/; revision=8926
* Prompt the user before letting the editorZac Medico2007-12-141-0/+5
| | | | | | | | take over the screen so there is an opportunity to review any QA warnings. (trunk r8923) svn path=/main/branches/2.1.2/; revision=8924
* * Add support for multi-line commit message input by using EOFZac Medico2007-12-141-7/+84
| | | | | | | | | | | as a delimiter (Ctrl-d) instead of a new line. * Add support for getting a commit message using an editor defined by the EDITOR environment variable. (trunk r8919:8921) svn path=/main/branches/2.1.2/; revision=8922
* Fix the bug #198398 code from trunk to be compatible with the codeZac Medico2007-12-131-2/+2
| | | | | | in this branch. svn path=/main/branches/2.1.2/; revision=8919
* Add --buildpkgonly to the options lists that exempt fromZac Medico2007-12-131-2/+3
| | | | | | slot collisions and world file updates. (trunk r8917) svn path=/main/branches/2.1.2/; revision=8918
* Disable the "QA Notice: Pre-stripped files" message when RESTRICTZac Medico2007-12-131-6/+9
| | | | | | | | | contains "strip" or "binchecks". This is needed at least for the glibc ebuild since it calls prepallstrip directly, resulting in it being called twice. Thanks to loki_val for reporting. (trunk r8915) svn path=/main/branches/2.1.2/; revision=8916
* Make sure that PORTAGE_SANDBOX_* variables can never be setZac Medico2007-12-131-1/+1
| | | | | | by "${T}"/environment. (trunk r8911) svn path=/main/branches/2.1.2/; revision=8912
* Allow FEATURES to persist between phases since the user mightZac Medico2007-12-132-4/+15
| | | | | | | | | | | want to modify it via bashrc to enable things like splitdebug and installsources for specific packages. They should be able to modify it in pre_pkg_setup() and have it persist all the way through the install phase. However, if FEATURES exist inside environment.bz2 then they should be overridden by current settings. (trunk r8909) svn path=/main/branches/2.1.2/; revision=8910
* Properly filter SANDBOX_ON from the environment. When sourcingZac Medico2007-12-131-1/+16
| | | | | | | | | | ${T}/environment it's a bit tricky because we have to temporarily disable sandbox since the SANDBOX_{DENY,READ,PREDICT,_WRITE} values we've just loaded may be unusable (triggering in spurious sandbox violations) until we've merged them with our current values. (trunk r8905:8907) svn path=/main/branches/2.1.2/; revision=8908
* Use the BAD color class instead of hardcoded red. (trunk r8904)Zac Medico2007-12-132-2/+2
| | | | svn path=/main/branches/2.1.2/; revision=8905
* Bug #201771 - Make unpack() detect common errors such as absoluteZac Medico2007-12-131-5/+6
| | | | | | | paths that start with ${DISTDIR} and die an appropriate error message. Thanks to grobian for this patch. (trunk r8896) svn path=/main/branches/2.1.2/; revision=8903
* Bug #201848 - Mask ebuilds that do not define SLOT. (trunk r8894)Zac Medico2007-12-131-9/+16
| | | | svn path=/main/branches/2.1.2/; revision=8900
* * In filter_readonly_variables(), replace 'declare -r ' with 'declare 'Zac Medico2007-12-132-3/+55
| | | | | | | | | | | | | | | | instead of removing it completely. * Bug #202068 - In order to filter unwanted variable assignments out of the bash environment, use a filter-bash-environment.py script that behaves similar to egrep -v except that it leaves bash here- documents intact. * Use the sed -r option to enable extended regular expressions so that commonly used characters like (, ), and + don't have to be escaped. (trunk r8890:8893) svn path=/main/branches/2.1.2/; revision=8899
* Bug #198398 - Make repoman bail out if support for RMD160 hashZac Medico2007-12-131-0/+18
| | | | | | creation appears to be missing. (trunk r8886:8888 and r8897) svn path=/main/branches/2.1.2/; revision=8898