summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Add a python-based setsid script for use with USERLAND=BSD.Zac Medico2009-07-302-2/+15
| | | | svn path=/main/trunk/; revision=13863
* Fix breakage in owners() handling of abs paths.Zac Medico2009-07-301-1/+1
| | | | svn path=/main/trunk/; revision=13862
* Move the setsid code (from bug #278895) as early as possible.Zac Medico2009-07-301-18/+17
| | | | svn path=/main/trunk/; revision=13861
* Inside die(), only send the signal for subshell die support when we areZac Medico2009-07-301-1/+1
| | | | | | actually in a subshell. svn path=/main/trunk/; revision=13857
* Bug #278895 - Make ebuild.sh clean up orphaned processes that may have beenZac Medico2009-07-302-1/+13
| | | | | | | | | | | left behind by ebuild phases. This works by using setsid to create a new login session for the ebuild.sh process, and `kill -s SIGHUP 0` to send a SIGHUP signal to all processes in the session. The setsid is currently not done on the python side since that would cause the sandbox process in the session, and sandbox produces a warning message if it catches a SIGHUP signal. svn path=/main/trunk/; revision=13856
* Bug #270040 - Make repoman parse the categories file from the overlay.Zac Medico2009-07-221-0/+8
| | | | svn path=/main/trunk/; revision=13850
* Always pass encodings='utf_8' to codecs.open(), since otherwise it canZac Medico2009-07-201-2/+4
| | | | | | | | | | return non-unicode strings (at least in some cases, observed with python-2.6.2). Don't use unicode in portage.util.getconfig() for now, since shlex doesn't seem to support it (spurious \0 characters). If we use unicode for config variables, it breaks shlex.split() calls on those variables due to the same issue (spurious \0 characters). svn path=/main/trunk/; revision=13845
* For consistency with emake, add ${MAKEOPTS} ${EXTRA_EMAKE} to make argumentsZac Medico2009-07-171-0/+2
| | | | | | | | inside einstall. Also, force -j1 in order to override any --jobs settings from MAKEOPTS. Thanks to Diego Pettenò <flameeyes@gentoo.org> for the suggestion. svn path=/main/trunk/; revision=13833
* align with Prefix, also warn on sparcv9 hosts -- 64-bits Solaris/SparcFabian Groffen2009-07-161-1/+1
| | | | svn path=/main/trunk/; revision=13831
* add hppa64 to the 64bit list as pointed out by Michael HaubenwallnerMike Frysinger2009-07-161-1/+1
| | | | svn path=/main/trunk/; revision=13828
* Bug #273640 - Add --disable-dependency-tracking to econf arguments forZac Medico2009-07-061-0/+5
| | | | | | EAPI 3. Thanks to Markus Meier <maekke@gentoo.org> for this patch. svn path=/main/trunk/; revision=13800
* Bug #273622 - Add pkg_pretend support for the ebuild(1) command (emergeZac Medico2009-07-061-2/+16
| | | | | | | support not implemented yet). Thanks to Markus Meier <maekke@gentoo.org> for this patch. svn path=/main/trunk/; revision=13799
* Bug #273631 - Add default src_install implementation for EAPI 3. Thanks toZac Medico2009-07-061-0/+21
| | | | | | | Markus Meier <maekke@gentoo.org> for this patch (and people in #gentoo-portage for bash syntax tweaks). svn path=/main/trunk/; revision=13798
* Don't set RDEPEND=${RDEPEND-${DEPEND}} for EAPI=3 and simplify setting it ↵Arfrever Frehtes Taifersar Arahesis2009-07-031-10/+4
| | | | | | for lower EAPIs. svn path=/main/trunk/; revision=13768
* Use Package.invalid to generate *.syntax repoman errors for LICENSE,Zac Medico2009-06-281-14/+10
| | | | | | PROPERTIES, PROVIDE, and RESTRICT. svn path=/main/trunk/; revision=13728
* Bug #236786 - Warn about 'test?' USE conditionals in RDEPEND. Thanks toZac Medico2009-06-281-1/+5
| | | | | | Markus Meier <maekke@gentoo.org> for this patch. svn path=/main/trunk/; revision=13724
* make sure etc-update sorts updates in the order (1) leading dir path (2) ↵Mike Frysinger2009-06-281-2/+2
| | | | | | filename (3) cfg update svn path=/main/trunk/; revision=13723
* Fix PROVIDE code since the Package class automatically evaluates USEZac Medico2009-06-261-2/+3
| | | | | | conditionals now. svn path=/main/trunk/; revision=13702
* Move __init__.py to main.py.Zac Medico2009-06-261-2/+2
| | | | svn path=/main/trunk/; revision=13698
* Add support to `portageq owners` for querying paths matching a given basename.Zac Medico2009-06-241-5/+9
| | | | | | | | It is natural to support this since the vartree already maintains a basename -> owner index anyway. There are plans for the packagekit backend is to support this type of search. svn path=/main/trunk/; revision=13681
* Fix imports for _emerge submodules.Zac Medico2009-06-231-1/+2
| | | | svn path=/main/trunk/; revision=13678
* Fix import for split _emerge.MetadataRegen module.Zac Medico2009-06-231-2/+2
| | | | svn path=/main/trunk/; revision=13675
* Allow missing ChangeLog when using git. We don't use ChangeLogs inZac Medico2009-06-171-2/+5
| | | | | | | | | distributed SCMs. It will be generated on server side from scm log, before package moves to the rsync server. This is needed because we try to avoid merge collisions. Thanks to Tomas Chvatal <scarabeus@gentoo.org> for this patch. svn path=/main/trunk/; revision=13651
* Remove unused newdepend(), newrdepend(), newpdepend(), and do_newdepend()Zac Medico2009-06-111-62/+0
| | | | | | functions. Thanks to ABCD for reporting. svn path=/main/trunk/; revision=13636
* Make usev() strip ! prefix in echoed output as specified in bug #270658,Zac Medico2009-06-031-1/+1
| | | | | | comment #16. svn path=/main/trunk/; revision=13628
* drop sandbox settings that sandbox itself takes care of #258684Mike Frysinger2009-06-031-7/+4
| | | | svn path=/main/trunk/; revision=13627
* Bug #268929 - Add grep for 'dereferencing pointer' messages produced byZac Medico2009-05-311-0/+1
| | | | | | gcc 4.4. Thanks to ABCD <en.ABCD@gmail.com> for this patch. svn path=/main/trunk/; revision=13626
* Make useq() die if called during the "depend" phase in newer EAPIs.Zac Medico2009-05-021-5/+9
| | | | svn path=/main/trunk/; revision=13598
* Skip useq() IUSE QA Notices during the "depend" phase because lots ofZac Medico2009-05-021-1/+5
| | | | | | | ebuilds/eclasses have stuff in global scope that really belongs somewhere like pkg_setup or src_configure. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=13597
* Bug #267175 - Instead of "poor code kills airplanes", say "install abortedv2.2_rc32Zac Medico2009-05-011-2/+4
| | | | | | | | due to poor programming practices shown above" in order to help the user link the die message to the related "poor programming practices" messages. Thanks to Jeremy Olexa <darkside@g.o> for the suggestion. svn path=/main/trunk/; revision=13584
* Make elog functions use read -r when splitting lines, so that backslashesZac Medico2009-05-011-11/+11
| | | | | | intended for display will not be eaten. svn path=/main/trunk/; revision=13582
* Enable use() qa checks via PORTAGE_IUSE for all ebuild phases and for binaryZac Medico2009-04-301-6/+1
| | | | | | packages since it should work fine now. svn path=/main/trunk/; revision=13570
* Fix ACCEPT_LICENSE handling for binary packages, so that the build-time USEZac Medico2009-04-301-1/+1
| | | | | | settings are used calculate an appropriate ACCEPT_LICENSE value. svn path=/main/trunk/; revision=13560
* Put ebuild helpers at the absolute front of the PATH.Zac Medico2009-04-281-4/+7
| | | | svn path=/main/trunk/; revision=13404
* Bug #71646 - Don't allow the HISTFILE variable into the ebuild environmentZac Medico2009-04-281-1/+1
| | | | | | since it triggers sandbox violations. svn path=/main/trunk/; revision=13403
* Add a new EAPI.definition check for cases in which EAPI is defined after anZac Medico2009-04-261-0/+1
| | | | | | inherit call. Thanks to Markus Meier <maekke@g.o> for the initial patch. svn path=/main/trunk/; revision=13401
* Revert r13390 (dosed and dohard functions) since a stack trace isn't reallyZac Medico2009-04-242-10/+1
| | | | | | | important this particular QA feature. Thanks to Tiziano Müller <dev-zero@g.o> for the suggestion. svn path=/main/trunk/; revision=13391
* Add dummy dosed and dohard functions for EAPI 3, so that a trace can beZac Medico2009-04-242-1/+10
| | | | | | displayed (not possible with the helper binaries). svn path=/main/trunk/; revision=13390
* Add dohard and doset helper which die for EAPI 3. TODO: Make the dieZac Medico2009-04-245-2/+23
| | | | | | | | helper use pipe or socket IPC instead of a signal, to avoid a potential race condition in signal delivery. Thanks to to Tiziano Müller <dev-zero@g.o> for the initial patch. svn path=/main/trunk/; revision=13389
* Set executable.Zac Medico2009-04-241-0/+0
| | | | svn path=/main/trunk/; revision=13388
* Fix breakage in PREROOTPATH logic from the EAPI 3 code.Zac Medico2009-04-231-0/+1
| | | | svn path=/main/trunk/; revision=13386
* Remove ccache and distcc remove_path_entry code since PATH is alwaysZac Medico2009-04-231-3/+0
| | | | | | initialized from scratch so there's no danger of accumulation. svn path=/main/trunk/; revision=13385
* Use declare -F to check existence of function definitions, instead ofZac Medico2009-04-221-10/+10
| | | | | | type -t, in order to avoid use of subshells. svn path=/main/trunk/; revision=13384
* Use ret|=1 instead of ++ret, to avoid possible overflow.Zac Medico2009-04-211-1/+1
| | | | svn path=/main/trunk/; revision=13383
* Add new dodoc implementation for EAPI 3. Thanks to to Tiziano MüllerZac Medico2009-04-211-0/+50
| | | | | | <dev-zero@g.o> for this patch. svn path=/main/trunk/; revision=13382
* In ebuild_main(), unset ebuild_helpers_path when finished with it, sinceZac Medico2009-04-211-0/+1
| | | | | | bash exposes local variables to 'children'. svn path=/main/trunk/; revision=13381
* Add ${PORTAGE_BIN_PATH}/ebuild-helpers/3 directory to PATH for EAPI 3. ThanksZac Medico2009-04-211-0/+13
| | | | | | to Tiziano Müller <dev-zero@g.o> for this patch. svn path=/main/trunk/; revision=13380
* Exit unsuccessfully when in commit mode and nothing is found to commit. ThanksZac Medico2009-04-211-1/+1
| | | | | | to Jeremy Olexa <darkside@g.o> for the suggestion. svn path=/main/trunk/; revision=13379
* Handle IOError from codecs.open().Zac Medico2009-04-181-1/+1
| | | | svn path=/main/trunk/; revision=13360
* Support profiles.desc from overlays.Zac Medico2009-04-181-47/+66
| | | | svn path=/main/trunk/; revision=13359