summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* reject all set*id binaries that have DT_RPATH:$ORIGIN #260331Mike Frysinger2009-02-261-3/+8
| | | | svn path=/main/trunk/; revision=12712
* Fix headers that contain $Header instead of $Id.Zac Medico2009-02-233-6/+6
| | | | svn path=/main/trunk/; revision=12701
* Inside summarylist(), it's possible for myglsa.packages.keys() to containZac Medico2009-02-211-1/+1
| | | | | | | | | | | | | unicode objects, which trigger and exception like this: File "//usr/lib64/portage/pym/portage/dep.py", line 535, in __init__ obj_setattr(self, x, getattr(s, x)) AttributeError: 'unicode' object has no attribute '__eq__' To solve this problem, convert unicode objects to plain str before passing them to the portage api. svn path=/main/trunk/; revision=12667
* Fix StringIO imports so that 2to3 can handle them. Also, replace shlex +Zac Medico2009-02-201-3/+3
| | | | | | StringIO usage with shlex.split() where appropriate. svn path=/main/trunk/; revision=12662
* For compatibility with python-3.0, open files in text mode where appropriate.Zac Medico2009-02-191-2/+2
| | | | svn path=/main/trunk/; revision=12642
* Use a regular expression for the file.name check. This replaces some oddZac Medico2009-02-191-15/+12
| | | | | | map() usage that 2to3 warns about. svn path=/main/trunk/; revision=12638
* For python-3.0 compatibility, raise a real exception instead of a string.Zac Medico2009-02-191-2/+2
| | | | svn path=/main/trunk/; revision=12635
* Bug #230483 - Convert glsa-check option parsing to use the optparse module.Zac Medico2009-02-191-93/+71
| | | | | | | This replaces some code which triggers a traceback from 2to3. Thanks to Ali Polatel <hawking@g.o> for this patch. svn path=/main/trunk/; revision=12634
* For compatibility with python-3.0, use isinstance() instead of type().Zac Medico2009-02-191-4/+0
| | | | svn path=/main/trunk/; revision=12633
* Set svn:keywords Id on all files.Zac Medico2009-02-182-2/+2
| | | | svn path=/main/trunk/; revision=12626
* Make save_ebuild_env() filter NOCOLOR, and remove related code from ebuild.shZac Medico2009-02-182-13/+1
| | | | | | since that variable is not loaded from $T/environment anymore. svn path=/main/trunk/; revision=12625
* unify code for unpacking of tar filesMike Frysinger2009-02-161-23/+13
| | | | svn path=/main/trunk/; revision=12620
* In dyn_package(), show a more informative die message if an error occurs whenZac Medico2009-02-151-1/+1
| | | | | | creating the tarball. svn path=/main/trunk/; revision=12618
* Automatically export QA_PRESTRIPPED if it's set. Thanks to Raúl PorcelZac Medico2009-02-141-0/+3
| | | | | | <armin76@g.o> for reporting. svn path=/main/trunk/; revision=12609
* Add a new "portage.internal" warning for prepalldocs usage since the councilZac Medico2009-02-121-0/+1
| | | | | | | ruled that it shouldn't be used in ebuilds. Thanks to Petteri Räty <betelgeuse@g.o> for the initial patch. svn path=/main/trunk/; revision=12603
* * Remove outdated comment about qa_source() return value (with typo).Zac Medico2009-02-121-2/+2
| | | | | | | * Update copyright header. Thanks to Jeremy Olexa <darkside@g.o> for reporting. svn path=/main/trunk/; revision=12602
* Add new EAPI 3_pre1 value, and disable unpack() support for *.xz for earlierZac Medico2009-02-091-4/+9
| | | | | | EAPI values. svn path=/main/trunk/; revision=12596
* Remove support for deprecated 2_pre* EAPI values.Zac Medico2009-02-091-3/+3
| | | | svn path=/main/trunk/; revision=12594
* add support for .xz compressed files like .lzmaMike Frysinger2009-02-081-0/+8
| | | | svn path=/main/trunk/; revision=12593
* Filter the new hasg and hasgq functions inside save_ebuild_env().Zac Medico2009-02-071-1/+2
| | | | svn path=/main/trunk/; revision=12592