summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Add support for an new "eblank" elog function that shows a blank line.Zac Medico2008-06-171-1/+17
| | | | | | | Consecutive eblank calls are all collapsed into a single blank line. Thanks to Joe Peterson <lavajoe@g.o> for this patch. svn path=/main/trunk/; revision=10675
* Use spawn() instead of system().Zac Medico2008-06-111-2/+18
| | | | svn path=/main/trunk/; revision=10642
* Add CONTENTS indexing support for optimization of owner lookups. TheZac Medico2008-06-091-20/+15
| | | | | | | | | | | | | | | | | | | | vardbapi cache maintains a hash table (inside vdb_metadata.pickle) that serves to index package contents by mapping the basename of file to a list of possible packages that own it. This is used to optimize owner lookups by narrowing the search down to a smaller number of packages. It increases the size of vdb_metadata.pickle by approximately 30% and it's used in the following cases: * When an unexpected file collision occurs (whether or not collision-protect is enabled) * `emerge <filename>` * `portageq owners` The svn path=/main/trunk/; revision=10609
* Fix typo.Zac Medico2008-06-081-1/+1
| | | | svn path=/main/trunk/; revision=10601
* Make repoman pass Package instances into run_checks(), so that the checksZac Medico2008-06-081-8/+16
| | | | | | can use the Package.mtime and inherited attributes. svn path=/main/trunk/; revision=10600
* Bug #224271 - New check 'IUSE.undefined', renamed from genericZac Medico2008-06-071-0/+2
| | | | | | 'ebuild.minorsyn'. svn path=/main/trunk/; revision=10593
* As suggested by Flameeyes, add a new 'inherit.autotools' check which warnsZac Medico2008-06-071-2/+5
| | | | | | | when autotools has been inherited but none of the eautomake, eautoconf or eautoreconf functions are called like they are supposed to be. svn path=/main/trunk/; revision=10592
* remove old/unused gen_wrapper functionMike Frysinger2008-06-072-10/+1
| | | | svn path=/main/trunk/; revision=10591
* Use "platform" module instead of os.uname, or -- even worse -- a systemZac Medico2008-06-041-1/+6
| | | | | | | | | call to uname. Change repoman's identification string not to use "processor" on Linux (where it is huge), Interix (where it doesn't exist) and AIX/HP-UX (where it prints "unknown"), but "machine" instead. (branches/prefix r10554) svn path=/main/trunk/; revision=10574
* Fix regex for compatibility with the regex implementation from FreeBSD'sZac Medico2008-06-031-1/+1
| | | | | | | libc (used by bash on FreeBSD). Thanks to Alexis Ballier <aballier@g.o> for the patch. svn path=/main/trunk/; revision=10558
* Don't unset PORTAGE_BINPKG_FILE because it's readonly.Zac Medico2008-06-031-1/+0
| | | | svn path=/main/trunk/; revision=10546
* Filter PORTAGE_BINPKG_FILE in save_ebuild_env().Zac Medico2008-06-011-0/+1
| | | | svn path=/main/trunk/; revision=10541
* Create Atom instances earlier to avoid redundant validation.Zac Medico2008-05-301-6/+7
| | | | svn path=/main/trunk/; revision=10495
* Make the new behavior from bug #222439 conditional on EAPI being somethingZac Medico2008-05-281-1/+2
| | | | | | other than 0 or 1. svn path=/main/trunk/; revision=10462
* Convert doman to use bash's =~ operator instead of calling egrep.Zac Medico2008-05-281-1/+1
| | | | svn path=/main/trunk/; revision=10460
* Bug #222439 - Add doman support for foo.lang.N filenames. Behavior isZac Medico2008-05-271-2/+9
| | | | | | | | | | | | as follows: foo.1 -> man/man1/foo.1 foo.lang.1 -> man/lang/man1/foo.1 Thanks to Yuri Vasilevski for the initial patch. I've modified it to use bash's =~ operator and corresponding $BASH_REMATCH array. svn path=/main/trunk/; revision=10459
* Skip source_all_bashrcs() when $EBUILD_PHASE is not set.Zac Medico2008-05-261-0/+1
| | | | svn path=/main/trunk/; revision=10429
* Bug #2272 - Extend dependency atom sytax to specify enabled or disabledZac Medico2008-05-231-1/+8
| | | | | | | | states of USE flags. Matching with the new syntax is currently only supported in the dbapi classes and dependency resolver (use matching does not work yet in config files such as package.mask). svn path=/main/trunk/; revision=10387
* When using vecho or eqawarn it comes in handy when isolated-functionsZac Medico2008-05-201-0/+2
| | | | | | have been sourced. (branches/prefix r10380) svn path=/main/trunk/; revision=10381
* Add dev-util/ftjam to the RDEPEND.suspect list as per bug #221537, comment #3.Zac Medico2008-05-161-0/+1
| | | | | | Leaving dev-util/jam in place, in case it revives somehow. svn path=/main/trunk/; revision=10344
* Skip blocker atoms for the RDEPEND.suspect check.Zac Medico2008-05-141-1/+2
| | | | svn path=/main/trunk/; revision=10335
* Bug #221537 - Add a new "RDEPEND.suspect" check for packages in RDEPEND thatZac Medico2008-05-141-1/+41
| | | | | | usually only belong in DEPEND. svn path=/main/trunk/; revision=10333
* Prefer deb2tgz over ar for unpacking .deb files when installed (patch by ↵Marius Mauch2008-05-131-1/+14
| | | | | | Fabian Groffen, http://archives.gentoo.org/gentoo-portage-dev/msg_2f9c8543016f1a96f9122aca0ec35ded.xml) svn path=/main/trunk/; revision=10327
* Add subversion support for repoman (patch by Fabien Groffen, ↵Marius Mauch2008-05-131-67/+166
| | | | | | http://archives.gentoo.org/gentoo-portage-dev/msg_b7080f212c3eb09c943a1ce5a7356f01.xml) svn path=/main/trunk/; revision=10325
* Bug #220775 - Source isolated-functions.sh before trying to call vecho.Zac Medico2008-05-081-0/+1
| | | | svn path=/main/trunk/; revision=10235
* In install_mask(), discard stderr messages from the 'find' commandZac Medico2008-05-061-1/+1
| | | | | | | since some tokens from INSTALL_MASK can trigger lots of warnings and errors that are irrelevant for our purposes. svn path=/main/trunk/; revision=10220
* Use find -path -or -name to match basenames of files in INSTALL_MASKZac Medico2008-05-051-1/+2
| | | | | | as suggested by solar in bug #219286, comment #8. svn path=/main/trunk/; revision=10212
* Bug #219286 - Whitelist INSTALL_MASK so that it works properly for binaryZac Medico2008-05-051-0/+3
| | | | | | | | packages. Also, filter INSTALL_MASK when saving or loading environment.bz2. This also applies to PKG_INSTALL_MASK and DOC_SYMLINKS_DIR, so add them too. svn path=/main/trunk/; revision=10195
* Use absolute paths for files in ${DISTDIR}. Thanks to RB <aoz.syn@gmail.com>Zac Medico2008-05-031-4/+4
| | | | | | for this patch. svn path=/main/trunk/; revision=10127
* Buf #219294 - Fix 'date' and 'cut' arguments for BSD userland. Thanks toZac Medico2008-05-031-2/+6
| | | | | | RB <aoz.syn@gmail.com> for this patch. svn path=/main/trunk/; revision=10126
* rename NEEDED.2 to NEEDED.ELF.2 to allow other ABI formats to use a ↵Marius Mauch2008-05-021-2/+2
| | | | | | different syntax svn path=/main/trunk/; revision=10085
* Skip group/owner tarsync options for tarsync if chown on /usr/portageZac Medico2008-05-021-1/+4
| | | | | | | fails, since the user might still be able to sync even though the chown call is not permitted. svn path=/main/trunk/; revision=10070
* Bug #219837 - Adjust date calculations some more and show anZac Medico2008-05-021-15/+53
| | | | | | | informative ewarn message when bailing out due to a newer snapshot being unavailable. svn path=/main/trunk/; revision=10067
* Detect an old version of tarsync and use bzip2 compression in that case.Zac Medico2008-05-011-3/+9
| | | | svn path=/main/trunk/; revision=10056
* Bug #219837 - Adjust date calculations to improve accuracy.Zac Medico2008-04-301-3/+7
| | | | svn path=/main/trunk/; revision=10047
* fix logic errorMarius Mauch2008-04-271-1/+1
| | | | svn path=/main/trunk/; revision=9998
* actually use rpath for the internal lib checkMarius Mauch2008-04-271-1/+5
| | | | svn path=/main/trunk/; revision=9997
* some minor code fixesMarius Mauch2008-04-271-3/+3
| | | | svn path=/main/trunk/; revision=9996
* as NEEDED files don't conain enough formation for e.g. preserve-libsto work ↵Marius Mauch2008-04-251-5/+11
| | | | | | properly and we don't want to change the format of existing files create another file including additional information svn path=/main/trunk/; revision=9970
* Bug #218559 - Make portdbapi automatically add sandbox write access toZac Medico2008-04-201-4/+0
| | | | | | | self.depcachedir when appropriate. This makes the portageq blanket sandbox exemption unnecessary. svn path=/main/trunk/; revision=9928
* s/timetasmp/timestamp/Zac Medico2008-04-141-1/+1
| | | | svn path=/main/trunk/; revision=9883
* Bug #217444 - Send debug-print() output to stderr so that it can't interfereZac Medico2008-04-121-1/+1
| | | | | | | with command substitution. Thanks to Fabio Rossi <rossi.f@inwind.it> for this patch. svn path=/main/trunk/; revision=9856
* Handle issues with newlines in elog messages that can trigger an unhandledZac Medico2008-04-091-1/+1
| | | | | | | | | ValueError to be raised from a split() call inside collect_ebuild_messages(): * Use \0 to delimit messages, so that that elog messages containing newlines are handled correctly. * Handle a potential ValueError when splitting the message type. svn path=/main/trunk/; revision=9763
* For repoman, only cache the metadata necessary for visibilityZac Medico2008-04-071-0/+5
| | | | | | checks in order to reduce memory consumption. svn path=/main/trunk/; revision=9743
* Fix BASH_ARGC and BASH_ARGV offsets some more.Zac Medico2008-04-061-1/+1
| | | | svn path=/main/trunk/; revision=9734
* In dump_trace(), fix BASH_ARGV and BASH_ARGC offsets so that they are alwaysZac Medico2008-04-061-3/+9
| | | | | | correct wrt eachother. Thanks to Betelgeuse for reporting. svn path=/main/trunk/; revision=9733
* Fix java.eclassesnotused logic. Thanks to Betelgeuse.Zac Medico2008-04-061-1/+2
| | | | svn path=/main/trunk/; revision=9732
* * Use type -P which does not produce messages to stderr.Zac Medico2008-04-061-7/+7
| | | | | | | | another option is to redirect both stderr and out. * Avoid &> replace with > ... 2>&1 Thanks to Alon Bar-Lev for this patch. svn path=/main/trunk/; revision=9727
* preserve order of ebuild messages even between different message types (bug ↵Marius Mauch2008-04-061-1/+1
| | | | | | #197905) svn path=/main/trunk/; revision=9726
* When necessary, make quickpkg add missing metadata to the vdb entry beforeZac Medico2008-04-051-0/+14
| | | | | | creating the binary package. svn path=/main/trunk/; revision=9723