summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* ebuild-ipc: import errnoZac Medico2011-03-181-0/+1
|
* ebuild-ipc: use non-blocking readZac Medico2011-03-181-13/+41
| | | | | | | | | | | | This makes it possible for the daemon to send a reply without blocking, thereby improving performance and also making it possible for the daemon to do a non-blocking write without a race condition. This reverts part of commit 81fc303212b8379219cf5d463c8717359b972dba, which probably didn't help portability anyway. Now, ebuild-ipc is using non-blocking read with os.read and EAGAIN handling, just like EbuildIpcDaemon since commit 7e5b81da12dd7bd59f6620840dc0d824e3f4d69a (known compatible with FreeBSD).
* ebuild-ipc: use plain file read instead of arrayZac Medico2011-03-141-9/+6
| | | | | Array.fromfile() seems to be more error prone. For example, see bug 337465.
* dodoc: update copyright datev2.1.9.42Zac Medico2011-03-011-1/+1
|
* ebuild(1): fix ebuild modification checkZac Medico2011-03-011-12/+13
| | | | | | This has been broken since the setcpv call (triggering metadata generation) was added before it in commit 0b39d24bb8270e5c89eaddfd1f5a4181cf9e31d3.
* ebuild(1): apply package.env earlierZac Medico2011-03-011-6/+22
| | | | This makes it possible to override PORTAGE_TMPDIR.
* repoman: add back portage.internal checkZac Medico2011-03-011-0/+2
| | | | | | This check got removed for bug #262365, but now that EAPI 4 is released we can add it back. Now it checks for ecompress/ecompressdir too (for bug #218347).
* doins: fix dodoc directory error handlingZac Medico2011-03-011-0/+4
|
* doins: avoid die when called as dodoc with no argZac Medico2011-03-011-11/+11
|
* dodoc: call doins, to reuse recursion codeZac Medico2011-03-012-51/+13
| | | | This will fix broken recursion logic for bug #356461.
* dodoc: quote ${0}Zac Medico2011-03-011-2/+2
|
* dodoc: Honour exit status of install, bug 356389.Ulrich Mueller2011-03-012-3/+7
|
* Update date headers in modified files.Zac Medico2011-02-211-1/+1
|
* ebuild.sh: remove unused PWORKDIR variableZac Medico2011-02-212-7/+1
|
* Update date headers in modified files.Zac Medico2011-02-192-2/+2
|
* _eapi4_src_install: handle empty DOCS like PMSZac Medico2011-02-191-1/+1
| | | | This will fix bug #355635.
* docompress, prepcompress: Add missing quotes.Ulrich Mueller2011-02-192-3/+3
|
* egencache: fix cmp_func for python3Zac Medico2011-02-191-0/+8
|
* Recognize git-2.eclass as a live eclass.Zac Medico2011-02-141-0/+1
|
* egencache: --preserve-comments allow missing fileZac Medico2011-02-131-4/+26
| | | | This will fix bug #354687.
* egencache: don't ignore as much with --tolerantZac Medico2011-02-131-3/+4
| | | | | | Errors returned from --update-use-local-desc and --update-changelogs are no longer ignored with --tolerant. This will fix part of bug #354687.
* default_src_test: handle EAPI 4 emake failureZac Medico2011-02-061-4/+10
| | | | This will fix bug #353897.
* die: include $EBUILD_PHASE in messageZac Medico2011-02-021-1/+5
| | | | | When a helper binary dies automatically in EAPI 4 and later, we don't get a stack trace, so at least report the phase that failed.
* isolated-functions.sh: fix syntax error for dieZac Medico2011-02-021-2/+4
| | | | | | | | Fix die so that dump_trace is not called when the main script is a helper binary. This prevents the following error message when a helper dies automatically in EAPI 4: isolated-functions.sh: line 61: p -= : syntax error: operand expected (error token is "-= ")
* repoman: add check for using offset vars with helpersFabian Groffen2011-02-021-0/+1
| | | | | | | New check: NoOffsetWithHelpers. Checks whether helper functions, such as dodir and insinto, are used with offset variables either referring to the installation image (D, ED), the alternate root location (ROOT, EROOT), or the offset prefix (EPREFIX).
* Tweak PollScheduler signal handling.Zac Medico2011-01-161-3/+7
|
* Add PollScheduler.terminate() for interruption.Zac Medico2011-01-161-1/+24
| | | | | This allows PollScheduler instances to do basic cleanup and terminate gracefully when SIGINT or SIGTERM signals are received.
* When killed by signal, return 128 + signum.Zac Medico2011-01-165-19/+21
| | | | | This is the same convention that bash uses for returncodes of processes that are killed by signals.
* emerge-webrsync: update for current gpg keyZac Medico2011-01-161-1/+1
|
* repoman: fix PORTDIR consistency for herds.xmlZac Medico2011-01-161-0/+2
| | | | | | This fixes a case in which repoman could use the PORTDIR setting in make.conf to grab herds.xml, even though cwd refers to a different path (cvs tree rather than rsync tree).
* econf: check confgure --help for --disable-dep...Zac Medico2011-01-121-1/+3
| | | | This is the new behavior, for bug #211529.
* ebuild.sh: skip QA_* init in "depend" phaseZac Medico2011-01-121-20/+21
|
* emerge-webrsync: eat trailing newlinesMike Frysinger2011-01-051-3/+3
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* emerge-webrsync: add xz supportMike Frysinger2011-01-051-0/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* newins in EAPI 4 should actually install the file. Fixes bug 350385.Ulrich Mueller2011-01-021-3/+5
|
* egencache: handle ImportError for ExpatErrorZac Medico2010-12-311-5/+10
|
* dyn_clean: remove .pretendedZac Medico2010-12-311-1/+1
|
* unpack: handle echo failure in unzip pipeZac Medico2010-12-301-1/+1
| | | | This will fix bug #338744.
* bash: as a general rule, use read -rZac Medico2010-12-307-12/+12
| | | | This solves cases like bug #350045.
* doins: use read -rUlrich Müller2010-12-301-1/+1
| | | | This will fix bug #350045.
* doebuild: fix bug #349273Zac Medico2010-12-211-1/+1
| | | | | | | | | Since commit 75d3130fc8293fff68389b8fed44b8d47a0abe80, doebuild() for the 'setup' phase triggers the actionmap_deps code path in order to call the 'pretend' phase as a dependency. This path previously assumed a portdbapi instance, which may not hold for some api consumers such as entropy. Therefore, fix the code path to work with other dbapi types.
* Substitute bash builtin >> for touch command.Zac Medico2010-12-195-22/+39
| | | | | It should be faster to use the bash builtin, and also allows us to avoid issues with touch breakage (like in bug #348640).
* repoman: ignore deprecated profiles.desc entriesZac Medico2010-12-181-0/+3
|
* repoman: handle ElementTree.ParseErrorZac Medico2010-12-171-1/+1
|
* etc-update: eliminate duplicate example configsZac Medico2010-12-141-1/+5
|
* etc-update: tweak style in do_distconf()Anthony Basile2010-12-131-10/+2
|
* etc-update: replace 'seq' with pure bashZac Medico2010-12-121-3/+6
|
* etc-update: add option to save example configAnthony Basile2010-12-121-0/+33
| | | | This will fix bug #348561.
* quickpkg: may -> might rewordMike Frysinger2010-12-071-2/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ebuild.sh: only run pretend once for ebuild(1)Zac Medico2010-12-051-1/+9
|