summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant return statement.Zac Medico2008-01-121-1/+1
| | | | svn path=/main/trunk/; revision=9195
* In preprocess_ebuild_env(), move a filter_readonly_variables callZac Medico2008-01-121-2/+3
| | | | | | | | | | | | | | | | | | | | out of a subshell since FreeBSD and prefix users have reported apparent corruption of the PATH environment variable that triggers calls to the wrong version of sed (one that does not support the -r option). An example of what users have observed: >>> Source compiled. sed: illegal option -- r usage: sed script [-Ealn] [-i extension] [file ...] sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...] Traceback (most recent call last): File "/usr/lib/portage/bin/filter-bash-environment.py", line 51, in <module> compile_egrep_pattern(args[0]), file_in, file_out) File "/usr/lib/portage/bin/filter-bash-environment.py", line 34, in filter_bash_environment file_out.write(line) IOError: [Errno 32] Broken pipe svn path=/main/trunk/; revision=9194
* Replace hardcoded value with max_desc_len.Zac Medico2008-01-121-1/+1
| | | | svn path=/main/trunk/; revision=9192
* Bug #203887 - Make repoman recognize RESTRICT="installsources".Zac Medico2008-01-111-1/+2
| | | | svn path=/main/trunk/; revision=9190
* Adjust the max DESCRIPTION.toolong length to 100 characters so thatZac Medico2008-01-111-2/+2
| | | | | | it's not too small and only about 3% of packages will trigger it. svn path=/main/trunk/; revision=9186
* Fix a typo.Zac Medico2008-01-111-1/+1
| | | | svn path=/main/trunk/; revision=9184
* Add a new "ebuild.autotools" check for when ebuilds callZac Medico2008-01-111-0/+2
| | | | | | | autotools directly instead of using autotools.eclass. Thanks to Betelgeuse for the initial patch. svn path=/main/trunk/; revision=9179
* 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. svn path=/main/trunk/; revision=9177
* 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. svn path=/main/trunk/; revision=9176
* Bug #203887 - Implement RESTRICT=installsources for binaries that areZac Medico2008-01-111-0/+1
| | | | | | not compatible with debugedit. svn path=/main/trunk/; revision=9167
* Fix the "Appending to PORTDIR_OVERLAY..." feature which wasZac Medico2008-01-111-13/+11
| | | | | | broken by the previous commit. svn path=/main/trunk/; revision=9165
* Make sure that portdb.findname() returns the correct ebuild.Zac Medico2008-01-111-0/+5
| | | | svn path=/main/trunk/; revision=9164
* Bug#204668 - Fix WORKDIR quoting in econf() when updatingZac Medico2008-01-111-2/+4
| | | | | | config.guess and config.sub. svn path=/main/trunk/; revision=9162
* After loading the environment, make sure the color variablesZac Medico2008-01-081-0/+12
| | | | | | are in sync with the current NOCOLOR setting. svn path=/main/trunk/; revision=9158
* Make filter_readonly_variables() filter PATH in any case sinceZac Medico2008-01-052-3/+3
| | | | | | we never want to save of reload it. svn path=/main/trunk/; revision=9147
* Filter PATH along with FEATURES when loading environment.bz2.Zac Medico2008-01-051-1/+1
| | | | svn path=/main/trunk/; revision=9145
* per bug 204468, remove old check from repoman (all ebuilds in gentoo-x86 are ↵Alec Warner2008-01-051-26/+0
| | | | | | migrated). svn path=/main/trunk/; revision=9144
* 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. svn path=/main/trunk/; revision=9140
* Recognize export statements when filtering the environment. ThisZac Medico2008-01-031-1/+1
| | | | | | | is needed for compatibility with environment.bz2 files generated by paludis. svn path=/main/trunk/; revision=9137
* As suggested by grobian, treat Darwin just like USERLAND=gnuZac Medico2007-12-293-8/+3
| | | | | | 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-291-0/+3
| | | | svn path=/main/trunk/; revision=9116
* 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
* 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
* Simplify the userland detection code in portage.data and addZac Medico2007-12-291-0/+11
| | | | | | a bash version of it to isolated-functions.sh. svn path=/main/trunk/; revision=9100
* Move XARGS initialization from portage.data to isolated-functions.sh.Zac Medico2007-12-291-0/+11
| | | | svn path=/main/trunk/; revision=9096
* 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
* 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. 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
* 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
* Remove redundant find_binary import.Zac Medico2007-12-231-1/+0
| | | | svn path=/main/trunk/; revision=9046
* 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
* Eliminate redundant "notadded" error filtering.Zac Medico2007-12-211-7/+1
| | | | svn path=/main/trunk/; revision=9023
* Bug #202566 - Move the 'global portage' statement to avoidZac Medico2007-12-211-1/+2
| | | | | | | | "SyntaxWarning: name 'portage' is assigned to before global declaration" messages produced by earlier python-2.4. svn path=/main/trunk/; revision=9004
* Hardcode #!/bin/bash for consistency with other scripts.Zac Medico2007-12-201-1/+1
| | | | svn path=/main/trunk/; revision=9002
* Bug #140180 - Ignore missing HOMEPAGE and LICENSE variables forZac Medico2007-12-191-1/+2
| | | | | | new-style virtual packages. svn path=/main/trunk/; revision=8965
* 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. svn path=/main/trunk/; revision=8951
* 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. svn path=/main/trunk/; revision=8945
* Fix typo: %% -> ##.Zac Medico2007-12-181-1/+1
| | | | svn path=/main/trunk/; revision=8943
* 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. svn path=/main/trunk/; revision=8942
* Fix setconfig.getSets() api breakage.Zac Medico2007-12-171-1/+1
| | | | svn path=/main/trunk/; revision=8937