summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Support use.desc from overlays.Zac Medico2009-04-181-25/+36
| | | | svn path=/main/trunk/; revision=13358
* Use a new ProfileDesc class to handle the data for each profile listed inZac Medico2009-04-181-40/+39
| | | | | | profiles.desc. svn path=/main/trunk/; revision=13357
* Call realpath(repodir) so it's conistent with the value that pordbapi uses.Zac Medico2009-04-161-0/+1
| | | | | | Thanks to Fabian Groffen <grobian@g.o> for reporting. svn path=/main/trunk/; revision=13349
* Make portage.bsd_chflags correspond to FEATURES=chflags so that it can beZac Medico2009-04-133-7/+5
| | | | | | used for related conditionals in shell code. svn path=/main/trunk/; revision=13342
* Create the myreporoot variable from portdir_overlay before doingZac Medico2009-04-121-3/+3
| | | | | | | | realpath(portdir_overlay) since otherwise symlinks break the assumptions. Thanks to Thomas Sachau <tommy@g.o> for reporting and troubleshooting. svn path=/main/trunk/; revision=13340
* Ensure that the correct PORTDIR setting is passed into the profile-specificZac Medico2009-04-121-0/+1
| | | | | | config constructors. svn path=/main/trunk/; revision=13335
* Pass the correct PORTDIR_OVERLAY value into the profile-specific configZac Medico2009-04-121-2/+8
| | | | | | constructor calls. svn path=/main/trunk/; revision=13326
* Set local_config=False in config constructor calls, since egencache is similarZac Medico2009-04-111-2/+2
| | | | | | | to repoman in the way that it's used to distribute something to other users and thus site-specific local configuration is irrelevant. svn path=/main/trunk/; revision=13323
* Avoid leaking some variables from ebuild_main() into the environment (localv2.2_rc29Zac Medico2009-04-111-3/+3
| | | | | | variables are exposed to 'children'). svn path=/main/trunk/; revision=13316
* Show an error message when deletion of stale cache fails.Zac Medico2009-04-111-1/+4
| | | | svn path=/main/trunk/; revision=13315
* Initialize self._trg_cache.ec inside the GenCache constructor.Zac Medico2009-04-091-0/+5
| | | | svn path=/main/trunk/; revision=13307
* Call _ebuild_phase_funcs() from ebuild_main() since it needs to be called forZac Medico2009-04-081-5/+5
| | | | | | every phase (for EAPI 2 default() phase function setup). svn path=/main/trunk/; revision=13301
* - Move DEFINED_PHASES code into _source_ebuild() and add it to the list ofZac Medico2009-04-081-35/+34
| | | | | | | readonly variables. - Save DEFINED_PHASES in the vdb entries, as requested by lxnay. svn path=/main/trunk/; revision=13300
* Move the ebuild sourcing code into a new _source_ebuild() function.Zac Medico2009-04-082-6/+10
| | | | svn path=/main/trunk/; revision=13299
* Add support to repoman for using layout.conf to control which repositoriesZac Medico2009-04-071-26/+33
| | | | | | | | | | are used to satisfy dependencies. Thanks to Alistair Bush <ali_bush@g.o> for the initial patch. See the "QA Overlay Layout support" thread on the gentoo-dev mailing list for more information: http://archives.gentoo.org/gentoo-dev/msg_33c61550b4ed2b7b25dd5a4110e1ec81.xml svn path=/main/trunk/; revision=13295
* Add a --repo option, allowing cache to be generated for overlays.Zac Medico2009-04-061-3/+15
| | | | svn path=/main/trunk/; revision=13292
* Always generate an error if the target cache contains an apparently invalidZac Medico2009-04-031-5/+13
| | | | | | cpv. svn path=/main/trunk/; revision=13288
* If there are not ebuilds matching a argument, only generate an error if thereZac Medico2009-04-031-10/+19
| | | | | | are also no cache entries matching the argument. svn path=/main/trunk/; revision=13287
* Generate an error if there are no ebuilds found for a package that'sZac Medico2009-04-031-0/+10
| | | | | | specified on the commandline. svn path=/main/trunk/; revision=13282
* Bug #264245 - Revert i|=1 from r13242 since that breaks the array indexing ↵Zac Medico2009-04-021-1/+1
| | | | | | code here. svn path=/main/trunk/; revision=13279
* Bug #264494 - In case the ebuild has enabled set -e during an ebuild phase,Zac Medico2009-04-012-0/+3
| | | | | | proactively call set +e inside qa_source(), qa_call(), and die(). svn path=/main/trunk/; revision=13273
* Add support for a EGENCACHE_DEFAULT_OPTS variable in make.conf.Zac Medico2009-04-011-8/+28
| | | | svn path=/main/trunk/; revision=13266
* Automatically enable FEATURES=metadata-transfer if it's not enabled,Zac Medico2009-03-311-4/+8
| | | | | | instead of bailing out. svn path=/main/trunk/; revision=13265
* Fix typo in comment.Zac Medico2009-03-311-1/+1
| | | | svn path=/main/trunk/; revision=13264
* Add parsing code for --jobs and --load-average.Zac Medico2009-03-311-0/+31
| | | | svn path=/main/trunk/; revision=13263
* Add a new egencache --rsync option which enables a stat collision workaroundZac Medico2009-03-311-10/+41
| | | | | | | | | | | | for cases in which the content of a cache entry changes and neither the file mtime nor size changes (preventing rsync from detecting changes). See bug #139134. This option should only be needed for distribution via something like rsync, which relies on timestamps and file sizes to detect changes. It's not needed with git since that uses a more thorough mechanism which allows it to detect changed inode numbers (described in racy-git.txt in the git technical docs). svn path=/main/trunk/; revision=13262
* Bug #261377 - Add a new 'egencache' tool to generate metadata cache forZac Medico2009-03-311-0/+205
| | | | | | | | | | | | | | | | | | | | distribution. It only have the most basic functionality now, and more features will be added later. Usage: egencache [options] --update [atom] ... Options: -h, --help show this help message and exit --update update metadata/cache/ (generate as necessary) --cache-dir=CACHE_DIR location of the metadata cache --config-root=CONFIG_ROOT location of portage config files --jobs=JOBS max ebuild processes to spawn --load-average=LOAD_AVERAGE max load allowed when spawning multiple jobs svn path=/main/trunk/; revision=13260
* reword the qa execstack notice since it can be triggered by pt_load sections ↵Mike Frysinger2009-03-311-5/+5
| | | | | | and not stacks svn path=/main/trunk/; revision=13257
* In order to eliminate the possibility of integer overflay, replace things likeZac Medico2009-03-2912-17/+17
| | | | | | ((ret+=$?)) with ((ret|=$?)). Thanks to zong_sharo for the suggestion. svn path=/main/trunk/; revision=13242
* 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