summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* In dyn_unpack(), don't force a new unpack when the ebuild mtime is newerZac Medico2009-03-271-4/+1
| | | | | | | than $WORKDIR, since that may be too touchy. The user can easily call the clean phase explicitly if they really want it. svn path=/main/trunk/; revision=13222
* When copying symlink targets to temp files, use a private temp dir insideZac Medico2009-03-271-2/+7
| | | | | | $T instead of using $T directly. svn path=/main/trunk/; revision=13202
* For consistency in output with other helpers, check for file existenceZac Medico2009-03-271-1/+3
| | | | | | before calling install. svn path=/main/trunk/; revision=13201
* Move checks for /usr/lib/distcc/bin and /usr/lib/ccache/bin to the pythonZac Medico2009-03-261-15/+4
| | | | | | | | side and don't add distcc to CC and CXX when /usr/lib/distcc/bin doesn't exist since that won't necessarily work. Thanks to Jeroen Roovers <jer@g.o> for reporting the issue with adding distcc to CC. svn path=/main/trunk/; revision=13198
* Source bashrc after PATH tweaks inside ebuild_main().Zac Medico2009-03-251-1/+2
| | | | svn path=/main/trunk/; revision=13184
* Move distcc and ccache PATH setup later, after EAPI is guaranteed to be known,Zac Medico2009-03-251-58/+35
| | | | | | | so that it's possible to do indepenent EAPI-specific PATH modifications prior to the distcc/ccache modifications. svn path=/main/trunk/; revision=13183
* Fix domo and doexe to return non-zero if there are any errors. Thanks toZac Medico2009-03-252-1/+14
| | | | | | zong_sharo for reporting. svn path=/main/trunk/; revision=13182
* Remove unused tar_opts variable inside unpack(). Thanks to zong_sharo forZac Medico2009-03-251-5/+4
| | | | | | reporting. svn path=/main/trunk/; revision=13181
* Add support for FEATURES=parse-eapi-glep-55. This feature is only intended forZac Medico2009-03-241-5/+9
| | | | | | experimental purposes and should not be enabled under normal circumstances. svn path=/main/trunk/; revision=13175
* Only check for ebuild/eclass modification when a relevant phase is called.Zac Medico2009-03-231-7/+8
| | | | svn path=/main/trunk/; revision=13150
* Use a separate if/then to group boolean or'd expressions together, ratherZac Medico2009-03-231-6/+6
| | | | | | than a subshell. svn path=/main/trunk/; revision=13149
* Make ebuild(1) detect ebuild/eclass changes and automatically source theZac Medico2009-03-232-3/+16
| | | | | | | | ebuild atain in this case (even though $T/environment may already exist). This should help avoid confusion by ensuring that the latest changes to the ebuild/eclasses are reflected in the environment. svn path=/main/trunk/; revision=13148
* Add "prepare" to the list of phases that trigger a warning about staleZac Medico2009-03-221-1/+1
| | | | | | ${T}/environment. svn path=/main/trunk/; revision=13147
* When triggering a fresh unpack inside dyn_unpack(), remove theZac Medico2009-03-221-1/+1
| | | | | | .prepared, .configured and .installed files along with the others. svn path=/main/trunk/; revision=13146
* Make config.features a set instead of a list.Zac Medico2009-03-181-3/+2
| | | | svn path=/main/trunk/; revision=13134
* Update copyright headers.Zac Medico2009-03-182-3/+3
| | | | svn path=/main/trunk/; revision=13131
* In order to avoid possible duplicate elog messages when using ebuild(1) toZac Medico2009-03-181-0/+7
| | | | | | | | call the same phase multiple times, wipe out elog log files for the current phase just before executing the phase. Thanks to Mike Frysinger <vapier@g.o> for reporting. svn path=/main/trunk/; revision=13130
* Bug #262365 - Punt the prepalldocs check until there is an alternativeZac Medico2009-03-171-2/+0
| | | | | | available in EAPI 3. svn path=/main/trunk/; revision=13118
* Punt fix-db.py since it's not really needed. It's been broken since 2.1.6Zac Medico2009-03-171-181/+0
| | | | | | and nobody noticed until bug #262132 was filed. svn path=/main/trunk/; revision=13117
* Bug #262485 - Handle InvalidAtom from dep_expand().Zac Medico2009-03-171-6/+7
| | | | svn path=/main/trunk/; revision=13116
* Bug #262365 - Make the "portage.internal" category (prepalldocs check) aZac Medico2009-03-131-0/+1
| | | | | | warning instead of fatal. svn path=/main/trunk/; revision=13109
* Add missing brackets to [:upper:] and [:lower:] in _sb_append_var() trZac Medico2009-03-131-1/+2
| | | | | | arguments. svn path=/main/trunk/; revision=13104
* Filter _sb_append_var in save_ebuild_env().Zac Medico2009-03-121-1/+1
| | | | svn path=/main/trunk/; revision=13091
* cleanup sandbox env var handling -- make sure we dont insert empty : ↵Mike Frysinger2009-03-121-29/+27
| | | | | | sections and avoid unnecessary eval usage svn path=/main/trunk/; revision=13090
* Make dyn_clean ignore FEATURES=keepwork when [[ $EMERGE_FROM = binary ]]Zac Medico2009-03-121-2/+3
| | | | | | | and remove shutil.rmtree() call from Binpkg._clean_exit() since dyn_clean is guaranteed to do a full clean now. svn path=/main/trunk/; revision=13069
* Use posix compatible find -perm arguments. Thanks to Timothy RedaelliZac Medico2009-03-121-2/+2
| | | | | | <drizzt@g.o> for reporting. svn path=/main/trunk/; revision=13067
* Also add an einfo binary.Zac Medico2009-03-121-0/+1
| | | | svn path=/main/trunk/; revision=13066
* Bug #262096 - Add separate eerror, elog, eqawarn, and ewarn binaries forZac Medico2009-03-124-0/+11
| | | | | | | use by non-bash programs running inside the ebuild environment, such as sandbox. svn path=/main/trunk/; revision=13065
* Use ${x##*/} instead of calling basename.Zac Medico2009-03-121-1/+1
| | | | svn path=/main/trunk/; revision=13064
* Move ebuild helpers into an ebuild-helpers subdirectory.Zac Medico2009-03-1248-2/+4
| | | | svn path=/main/trunk/; revision=13063
* Bug #261852 - If an unexpected exception is raise from emerge_main() thenZac Medico2009-03-101-0/+16
| | | | | | | show the traceback after the mod_echo output to that the traceback isn't obscured by mod_echo flooding. svn path=/main/trunk/; revision=12814
* Only execute src_test pre/post hooks when src_test is actually executed.Zac Medico2009-03-091-4/+4
| | | | svn path=/main/trunk/; revision=12809
* Add more QA warnings for econf calls during unexpected phases. Thanks toZac Medico2009-03-091-3/+12
| | | | | | Diego Elio Pettenò <flameeyes@g.o> for the suggestion. svn path=/main/trunk/; revision=12808
* When generating variable names to hold EXPORT_FUNCTIONS argument in, useZac Medico2009-03-091-6/+1
| | | | | | | $ECLASS_DEPTH as a unique id since it's a lot simpler then encoding the eclass name in the variable name. svn path=/main/trunk/; revision=12806
* Use the ebuild_phase helper function to calls phase hooks and fix brokenZac Medico2009-03-091-24/+18
| | | | | | | trap calls that try to unset multiple signal handlers at once without passing - as the first argument. svn path=/main/trunk/; revision=12805
* Inside dyn_unpack(), only call pre/post phase hooks when src_unpack isZac Medico2009-03-091-2/+1
| | | | | | called (when .unpacked does not already exist). svn path=/main/trunk/; revision=12804
* Make manifest mode with --force option cause existing digests to be replacedZac Medico2009-03-091-0/+39
| | | | | | | | | | | | for any files that exist in ${DISTDIR}. This provides an alternative to ebuild --force manifest for updating existing distfiles digests. Digests are assumed to be corect for files that do not exist in ${DISTDIR} since the user could simply remove the whole Manifest if they wanted to regenerate digests for all files (and it's safer to regenerate as few as possible because it's less probably that a valid digest will get replaced by an invalid one). svn path=/main/trunk/; revision=12802
* Replace things like [[ $PORTAGE_BUILDDIR/.prepared -nt $WORKDIR ]] withZac Medico2009-03-091-6/+5
| | | | | | | | | simply [[ -e $PORTAGE_BUILDDIR/.prepared ]] since the timestamp of $WORKDIR is practically always newer due to the other hidden files that are created there as each phase is executed. Thanks to Alfredo Tupone <tupone@g.o> for reporting. svn path=/main/trunk/; revision=12795
* Generate a QA Notice when EXPORT_FUNCTIONS is called before inherit, sinceZac Medico2009-03-081-0/+7
| | | | | | it's incompatible with <=portage-2.1.6.7. svn path=/main/trunk/; revision=12794
* for pointers cast to 32bit ints, we always want to abort on 64bit systems, ↵Mike Frysinger2009-03-081-7/+11
| | | | | | not just when FEATURES=stricter svn path=/main/trunk/; revision=12793
* Fix typo from previous commit.Zac Medico2009-03-081-1/+1
| | | | svn path=/main/trunk/; revision=12792
* Also support + character in eclass names.Zac Medico2009-03-081-1/+2
| | | | svn path=/main/trunk/; revision=12791
* Translate period characters in eclass names when generating variable namesZac Medico2009-03-081-3/+4
| | | | | | to store EXPORT_FUNCTIONS arguments. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=12788
* Make EXPORT_FUNCTIONS store it's arguments in an environment variable andZac Medico2009-03-081-12/+28
| | | | | | | | | perform the function generation after the current inherit call has returned. This allows an eclass to call EXPORT_FUNCTIONS either before or after it inherits other eclasses, and the result is still the same. Thanks to Donnie Berkholz <dberkholz@g.o> for reporting. svn path=/main/trunk/; revision=12785
* Revert previous 2 commits due to bugs.Zac Medico2009-03-081-20/+12
| | | | svn path=/main/trunk/; revision=12784
* Fix PECLASS logic inside inherit() so that ECLASS is always restored to theZac Medico2009-03-081-5/+7
| | | | | | | correct value after recursion (previously it would be restored to the wrong value if more than one eclass was passed into the inherit call). svn path=/main/trunk/; revision=12783
* Make EXPORT_FUNCTIONS store it's arguments in an environment variable andZac Medico2009-03-081-7/+13
| | | | | | | | | perform the function generation after the current inherit call has returned. This way an eclass can call EXPORT_FUNCTIONS either before or after it inherits other eclasses, and the result is still the same. Thanks to Donnie Berkholz <dberkholz@g.o> for reporting. svn path=/main/trunk/; revision=12782
* Make glsa-check executable.Zac Medico2009-03-041-0/+0
| | | | svn path=/main/trunk/; revision=12748
* Fix vdb entry writting code in dyn_install() to avoid generating empty entriesZac Medico2009-03-041-3/+4
| | | | | | in some cases. Thanks to Ned Ludd <solar@g.o> for reporting. svn path=/main/trunk/; revision=12745
* When checking ebuild content, use codecs.open() to force utf_8 encoding forZac Medico2009-02-281-7/+11
| | | | | | py3k compatibility (all ebuilds should have utf_8 encoding). svn path=/main/trunk/; revision=12733