summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Make HOMEPAGE.missing fatal again since, in cases when homepages are no longerZac Medico2008-10-071-1/+0
| | | | | | | available, we can use a link to some site like packages.gentoo.org or www.unmaintained-free-software.org. svn path=/main/trunk/; revision=11650
* Make HOMEPAGE.missing a warning since some packages become homeless evenZac Medico2008-10-051-0/+1
| | | | | | | though they still continue to work. Thanks to Robin H. Johnson <robbat2@g.o> for the suggestion. svn path=/main/trunk/; revision=11634
* In dyn_clean, cd to $PORTAGE_BUILDDIR/.. before attempting to remove it sinceZac Medico2008-10-051-3/+4
| | | | | | | | some kernels, such as Solaris, return EINVAL when an attempt is made to remove the current working directory. Thanks to Fabian Groffen <grobian@g.o> for reporting. svn path=/main/trunk/; revision=11630
* Bug #239529 - When doins is called on a symlink to a directory, preserve theZac Medico2008-10-051-5/+17
| | | | | | | name of the symlink for the installed directory. This involves temporarily renaming the directory and then renaming it back again. svn path=/main/trunk/; revision=11629
* * When ensuring sane $PWD in ebuild.sh, die if the `cd "$PORTAGE_BUILDDIR"`Zac Medico2008-10-051-1/+4
| | | | | | | | call fails. * Create $PORTAGE_BUILDDIR for the "fetch" phase too since it might be necessary to call pkg_nofetch. svn path=/main/trunk/; revision=11628
* Redirect pushd and popd output to /dev/null when appropriate.Zac Medico2008-10-051-3/+3
| | | | svn path=/main/trunk/; revision=11625
* Add missing quotes on pushd argument from previous commit.Zac Medico2008-10-051-1/+1
| | | | svn path=/main/trunk/; revision=11624
* Bug #239529 - Fix 'doins' to work with symlinks to directories, like it didZac Medico2008-10-051-3/+11
| | | | | | before the changes from bug #210575. svn path=/main/trunk/; revision=11623
* Fix `svn status` output parsing for compatibility with subversion-1.6. ThanksZac Medico2008-10-021-5/+5
| | | | | | to Arfrever for this patch. svn path=/main/trunk/; revision=11613
* Implement a new "changelog.ebuildadded" check which causes repoman to bailZac Medico2008-10-021-16/+41
| | | | | | | | out if an ebuild has been added and the ChangeLog has not been modified. This was requested by Robin H Johnson <robbat2@g.o> since it is a requirement for the packages.gentoo.org ChangeLog code. svn path=/main/trunk/; revision=11610
* Generate an eqawarn message if econf is called from src_compile andZac Medico2008-10-011-0/+4
| | | | | | | | src_configure is also defined. Thanks to Betelgeuse for the patch which I've modified to be silent in EAPI 0 or 1 in case ebuilds want to define src_configure in those EAPIs and call it manually from src_compile. svn path=/main/trunk/; revision=11603
* Now that elog_base() uses 'echo -e' to expand escape codes prior to usingZac Medico2008-09-301-5/+1
| | | | | | | | 'read' to split on newlines, it's safe to use newlines as delimiters in the log file since 'read' is guaranteed to split any newlines contained in the arguments. svn path=/main/trunk/; revision=11601
* use summarylist for output of test mode when --verbose is given (patch by ↵Marius Mauch2008-09-281-5/+5
| | | | | | Robert Buchholz <rbu@gentoo.org>) svn path=/main/trunk/; revision=11592
* sort summarylist output (patch by Robert Buchholz <rbu@gentoo.org>)Marius Mauch2008-09-281-0/+1
| | | | svn path=/main/trunk/; revision=11591
* Make $PWD default to $PORTAGE_BUILDDIR since $WORKDIR is sometimes createdZac Medico2008-09-271-2/+2
| | | | | | later. svn path=/main/trunk/; revision=11563
* Add PROPERTIES to all of the metadata caches.Zac Medico2008-09-262-4/+3
| | | | svn path=/main/trunk/; revision=11561
* Add PROPERTIES to portage.auxdbkeys since it's been approved by the council.Zac Medico2008-09-251-2/+2
| | | | svn path=/main/trunk/; revision=11549
* Use echo -e when splitting lines in e* functions, for compatibility withZac Medico2008-09-251-6/+6
| | | | | | | previous behavior wrt \e escape codes such as `elog "\e[31m***\e[0m"` for example. Thanks to Arfrever for finding this solution. svn path=/main/trunk/; revision=11545
* Fix the case where all arguments are filtered out byZac Medico2008-09-251-1/+2
| | | | | | | | PORTAGE_COMPRESS_EXCLUDE_SUFFIXES, since otherwise 'set' was called with no arguments which caused the environment to be displayed on stdout. svn path=/main/trunk/; revision=11539
* Always call `cd "$WORKDIR"` to ensure that $CWD is sane whenever possible.Zac Medico2008-09-211-0/+3
| | | | svn path=/main/trunk/; revision=11530
* Bug #238251 - Use 'read' instead of $IFS for splitting newlines in e*Zac Medico2008-09-211-67/+7
| | | | | | | functions, since using $IFS causes spurious newlines to be inserted in the message when the e* function is called with more than one argument. svn path=/main/trunk/; revision=11529
* Implement the new EAPI 2 blocker behavior, including !!atom sytax whichZac Medico2008-09-191-2/+7
| | | | | | forbids temporary simultaneous installation of conflicting packages. svn path=/main/trunk/; revision=11517
* Fix typo in from previous commit.Zac Medico2008-09-191-1/+1
| | | | svn path=/main/trunk/; revision=11516
* Remove everything related to the eapi* default phase functions since theyZac Medico2008-09-182-36/+8
| | | | | | are not included in the current EAPI 2 draft. svn path=/main/trunk/; revision=11515
* Remove unneeded quotes from PYTHONPATH assignments and also fix one moreZac Medico2008-09-132-4/+4
| | | | | | potential redundant colon inside misc-functions.sh. svn path=/main/trunk/; revision=11512
* Fix PYTHONPATH adjustments to only insert a colon when necessary. ThisZac Medico2008-09-131-3/+3
| | | | | | | | | | | | is necessary since having a stray colon causes python to interpret the empty path entry as "." which triggers the following message if cwd happens to contain a directory names "os": warning: Not importing directory 'os': missing __init__.py Thanks to Joe Peterson <lavajoe@g.o> for reporting. svn path=/main/trunk/; revision=11511
* New debugedit support for FEATURES=splitdebug, by Sven Wegener:Zac Medico2008-09-101-0/+11
| | | | | | | | | | | | | This will create new-style buildid symlinks for the splitted debuginfo and also a symlink to the binary that belongs to the debuginfo. Requires debugedit from rpm 5. Old versions of debugedit ignore all unkown command line arguments, so this is a no-op for them. Information: http://fedoraproject.org/wiki/Releases/FeatureBuildId New debugedit tarball: http://dev.gentoo.org/~swegener/distfiles/debugedit-5.0.0.tar.bz2 svn path=/main/trunk/; revision=11500
* Don't mention log files in $T for eqawarn messages since the logs are likelyZac Medico2008-09-061-6/+3
| | | | | | | to get removed and the user can just use the log from elog anyway. Thanks to Jeremy Olexa <darkside@g.o> for the suggestion. svn path=/main/trunk/; revision=11498
* In the ignored LDFLAGS check, filter out anything under /usr/lib/debug/ inZac Medico2008-09-061-1/+4
| | | | | | | order to avoid duplicate warnings for splitdebug files. Thanks to Cardoe for the suggestion. svn path=/main/trunk/; revision=11497
* Bug #222091 - Filter out any instances of the \1 character from variableZac Medico2008-09-011-2/+7
| | | | | | | | | values since this character multiplies each time that the environment is saved (strange bash behavior). This can eventually result in mysterious 'Argument list too long' errors from programs that have huge strings of \1 characters in their environment. svn path=/main/trunk/; revision=11485
* Fix grammar. Thanks to ABCD.Zac Medico2008-08-241-1/+1
| | | | svn path=/main/trunk/; revision=11460
* Fix spelling typos in error messages.Zac Medico2008-08-231-2/+2
| | | | svn path=/main/trunk/; revision=11459
* Fix the loop in filter_protected() to continue when necessary due to anZac Medico2008-08-231-0/+2
| | | | | | error. svn path=/main/trunk/; revision=11458
* Flush stdout after the loop inside filter_protected() completes.Zac Medico2008-08-231-0/+1
| | | | svn path=/main/trunk/; revision=11457
* Add a new filter_protected command which is similar to is_protected butZac Medico2008-08-231-0/+57
| | | | | | | | works by reading filenames from stdin and writing to stdout only the filenames that are protected. This allows an unlimited number of files to be checked via a single portageq call. svn path=/main/trunk/; revision=11456
* Add a new src_prepare phase function which is called in-between src_unpackZac Medico2008-08-232-8/+44
| | | | | | | and src_configure (and bump EAPI to 2_pre3). Thanks to Ciaran McCreesh for the suggestion. svn path=/main/trunk/; revision=11454
* Add a new is_protected command which queries whether or not CONFIG_PROTECTZac Medico2008-08-221-0/+47
| | | | | | applies to a given file, using logic identical to the merge code. svn path=/main/trunk/; revision=11453
* Bug #172496 - Add a PORTAGE_COMPRESS_EXCLUDE_SUFFIXES config variable whichZac Medico2008-08-151-0/+16
| | | | | | | | | is used to filter ecompress arguments. This allows the user to control compression of files installed dodoc, excluding files with specific suffix patterns. The current default value includes all of the suffixes that are recognized by dohtml, as well as pdf. svn path=/main/trunk/; revision=11419
* Convert exceptions from parse_metadata_use() into "metadata.bad" errorsZac Medico2008-08-141-9/+15
| | | | | | instead of exiting. svn path=/main/trunk/; revision=11410
* Fix quoting for iteration over PROFILE_PATHS.Zac Medico2008-08-121-1/+1
| | | | svn path=/main/trunk/; revision=11404
* Entirely disable the src_configure phase from the python side for EAPI valuesZac Medico2008-08-111-1/+0
| | | | | | | | for which it's not supported. This avoids pointless spawning of ebuild.sh and also avoids having bashrc called during an invalid phase as reported by Arfrever. svn path=/main/trunk/; revision=11398
* In source_all_bashrcs(), only change $IFS while splitting $PROFILE_PATHS intoZac Medico2008-08-111-5/+4
| | | | | | | | | an array, and then restore it before doing anything else. This avoids interference that can otherwise occur if code from profile.bashrc (or /etc/portage/env, be extension) needs to call any of the elog functions which use the save_IFS and restore_IFS aliases internally. svn path=/main/trunk/; revision=11397
* Move the default EAPI definition where it will work in any case it mightZac Medico2008-08-101-4/+4
| | | | | | be necessary, such as after loading an exising environment. svn path=/main/trunk/; revision=11387
* Remove pointless `cd` calls in dyn_configure() and dyn_compile().Zac Medico2008-08-101-6/+4
| | | | svn path=/main/trunk/; revision=11380
* Eliminate duplicate code by making _eapi1_src_compile() call ↵Zac Medico2008-08-101-3/+1
| | | | | | _eapi2_src_configure(). svn path=/main/trunk/; revision=11379
* Fix dyn_clean() to properly clean $PORTAGE_BUILDDIR/.configured.Zac Medico2008-08-091-6/+3
| | | | svn path=/main/trunk/; revision=11377
* Make eapi*_src_install die since they're not supported.Zac Medico2008-08-091-3/+3
| | | | svn path=/main/trunk/; revision=11365
* Update date in dyn_help copyright header. Thanks to grobian.Zac Medico2008-08-091-1/+1
| | | | svn path=/main/trunk/; revision=11363
* Remove redundant default pkg_nofetch, src_unpack, and src_test definitionsZac Medico2008-08-081-12/+0
| | | | | | which are now handled inside _ebuild_phase_funcs(). svn path=/main/trunk/; revision=11358
* Fix broken quoting in eval statements. Thanks to Arfrever.Zac Medico2008-08-081-2/+2
| | | | svn path=/main/trunk/; revision=11354