portage.git
17 years agoShow which $ROOT a package was merged to when $ROOT is not /. (trunk r6959)
Zac Medico [Fri, 22 Jun 2007 23:43:44 +0000 (23:43 -0000)]
Show which $ROOT a package was merged to when $ROOT is not /. (trunk r6959)

svn path=/main/branches/2.1.2/; revision=6960

17 years ago- Make elog finalize() handling safe for PORTAGE_CONFIGROOT. (trunk r6955)
Zac Medico [Fri, 22 Jun 2007 23:35:43 +0000 (23:35 -0000)]
- Make elog finalize() handling safe for PORTAGE_CONFIGROOT. (trunk r6955)
- Dump mod_echo elog output inside post_emerge(), just before the other notifications that happen at exit. (trunk r6953)

svn path=/main/branches/2.1.2/; revision=6958

17 years agoDocument RESTRICT=bindist and add a note about allowance for conditional syntax....
Zac Medico [Fri, 22 Jun 2007 23:21:00 +0000 (23:21 -0000)]
Document RESTRICT=bindist and add a note about allowance for conditional syntax. (trunk r6954)

svn path=/main/branches/2.1.2/; revision=6957

17 years agoUpdate 2.1.3 news for elog stuff. (trunk r6950)
Zac Medico [Fri, 22 Jun 2007 11:01:39 +0000 (11:01 -0000)]
Update 2.1.3 news for elog stuff. (trunk r6950)

svn path=/main/branches/2.1.2/; revision=6951

17 years agoFor bug #182428, make quickpkg exclude config files that are protected by CONFIG_PROT...
Zac Medico [Fri, 22 Jun 2007 08:58:29 +0000 (08:58 -0000)]
For bug #182428, make quickpkg exclude config files that are protected by CONFIG_PROTECT.  Add a --include-config option that includes all config files and a --include-unmodified-config that includes config files that have not been modified since installation (matching md5sum). (trunk r6945)

svn path=/main/branches/2.1.2/; revision=6948

17 years agoMake quickpkg print a warning if "bindist" is in RESTRICT. (trunk r6937)
Zac Medico [Fri, 22 Jun 2007 06:21:04 +0000 (06:21 -0000)]
Make quickpkg print a warning if "bindist" is in RESTRICT. (trunk r6937)

svn path=/main/branches/2.1.2/; revision=6938

17 years agoClean up the profile masking code. (trunk r6292)
Zac Medico [Fri, 22 Jun 2007 05:47:01 +0000 (05:47 -0000)]
Clean up the profile masking code. (trunk r6292)

svn path=/main/branches/2.1.2/; revision=6936

17 years agocache the result of --suffix to reduce testing overhead as suggested by Mr_Bones_...
Zac Medico [Fri, 22 Jun 2007 02:53:00 +0000 (02:53 -0000)]
cache the result of --suffix to reduce testing overhead as suggested by Mr_Bones_ (trunk r6922)

svn path=/main/branches/2.1.2/; revision=6935

17 years agoImplement iterkeys on top of __iter__ instead of vice versa. Thanks to Brian Harring...
Zac Medico [Fri, 22 Jun 2007 02:50:33 +0000 (02:50 -0000)]
Implement iterkeys on top of __iter__ instead of vice versa.  Thanks to Brian Harring for the suggestion. (trunk r6918)

svn path=/main/branches/2.1.2/; revision=6934

17 years agoconfig class mapping interface cleanups from trunk r6916, r6919, and r6920.
Zac Medico [Fri, 22 Jun 2007 02:45:18 +0000 (02:45 -0000)]
config class mapping interface cleanups from trunk r6916, r6919, and r6920.

svn path=/main/branches/2.1.2/; revision=6933

17 years agoRemove more unnecessary list generation. (trunk r6913)
Zac Medico [Fri, 22 Jun 2007 02:34:17 +0000 (02:34 -0000)]
Remove more unnecessary list generation. (trunk r6913)

svn path=/main/branches/2.1.2/; revision=6932

17 years agoRemove more unnecessary list generation. (trunk r6912)
Zac Medico [Fri, 22 Jun 2007 02:09:41 +0000 (02:09 -0000)]
Remove more unnecessary list generation. (trunk r6912)

svn path=/main/branches/2.1.2/; revision=6931

17 years agoRemove lots of unnecessary list generation via dict.keys(). (trunk r6911)
Zac Medico [Fri, 22 Jun 2007 01:53:50 +0000 (01:53 -0000)]
Remove lots of unnecessary list generation via dict.keys(). (trunk r6911)

svn path=/main/branches/2.1.2/; revision=6930

17 years agoPrint hostname in xterm title if HOSTNAME is exported in the environment (trunk r5976)
Zac Medico [Fri, 22 Jun 2007 01:41:54 +0000 (01:41 -0000)]
Print hostname in xterm title if HOSTNAME is exported in the environment (trunk r5976)

svn path=/main/branches/2.1.2/; revision=6929

17 years agoPrint filename when displaying package.mask comments (trunk r5974)
Zac Medico [Fri, 22 Jun 2007 01:36:59 +0000 (01:36 -0000)]
Print filename when displaying package.mask comments (trunk r5974)

svn path=/main/branches/2.1.2/; revision=6928

17 years agoAdd support for RSYNC_EXTRA_OPTS to webrsync (trunk r5973)
Zac Medico [Fri, 22 Jun 2007 01:20:42 +0000 (01:20 -0000)]
Add support for RSYNC_EXTRA_OPTS to webrsync (trunk r5973)

svn path=/main/branches/2.1.2/; revision=6927

17 years agoCheck if entries contain the required hashes before writing the Manifest (trunk r5902)
Zac Medico [Fri, 22 Jun 2007 01:16:07 +0000 (01:16 -0000)]
Check if entries contain the required hashes before writing the Manifest (trunk r5902)

svn path=/main/branches/2.1.2/; revision=6926

17 years agoremove confcache docs (trunk r5802)
Zac Medico [Fri, 22 Jun 2007 00:44:18 +0000 (00:44 -0000)]
remove confcache docs (trunk r5802)

svn path=/main/branches/2.1.2/; revision=6925

17 years agoif requested argv cannot be matched to anything, exit with non-zero status (trunk...
Zac Medico [Fri, 22 Jun 2007 00:18:41 +0000 (00:18 -0000)]
if requested argv cannot be matched to anything, exit with non-zero status (trunk r5791)

svn path=/main/branches/2.1.2/; revision=6924

17 years agoSome minor fixes for manifest code (trunk r5735)
Zac Medico [Thu, 21 Jun 2007 23:59:45 +0000 (23:59 -0000)]
Some minor fixes for manifest code (trunk r5735)

svn path=/main/branches/2.1.2/; revision=6923

17 years agoAllow per-module filtering based on loglevels in addition to the global PORTAGE_ELOG_...
Zac Medico [Thu, 21 Jun 2007 23:29:33 +0000 (23:29 -0000)]
Allow per-module filtering based on loglevels in addition to the global PORTAGE_ELOG_CLASSES one, add wildcard support for loglevels (trunk r5706:5709)

svn path=/main/branches/2.1.2/; revision=6921

17 years ago- start documenting qa notices so antarus stops whining (trunk r5693)
Zac Medico [Thu, 21 Jun 2007 07:13:05 +0000 (07:13 -0000)]
- start documenting qa notices so antarus stops whining (trunk r5693)
- forgot to document strict alias warnings (trunk r5733)
- fix programlisting output to match the sections they are in (trunk r5734)

svn path=/main/branches/2.1.2/; revision=6910

17 years agoDisplay message about --buildpkgonly restriction in pretend mode as well (trunk r6199)
Zac Medico [Thu, 21 Jun 2007 06:02:51 +0000 (06:02 -0000)]
Display message about --buildpkgonly restriction in pretend mode as well (trunk r6199)

svn path=/main/branches/2.1.2/; revision=6908

17 years agodefault --help should be usable, so make the extended output require --verbose (trunk...
Zac Medico [Thu, 21 Jun 2007 05:47:59 +0000 (05:47 -0000)]
default --help should be usable, so make the extended output require --verbose (trunk r6262:6264)

svn path=/main/branches/2.1.2/; revision=6906

17 years agofix grammar in error output (trunk r6285)
Zac Medico [Thu, 21 Jun 2007 05:44:40 +0000 (05:44 -0000)]
fix grammar in error output (trunk r6285)

svn path=/main/branches/2.1.2/; revision=6905

17 years agomake PDEPEND wording less restrictive #172511 and clarify install status wrt ||(...
Zac Medico [Thu, 21 Jun 2007 05:41:14 +0000 (05:41 -0000)]
make PDEPEND wording less restrictive #172511 and clarify install status wrt ||() as noted by ferringb (trunk r6324)

svn path=/main/branches/2.1.2/; revision=6904

17 years agochange "EXEDESTTREE" to "_E_EXEDESTTREE_" to try and prevent abuse from ebuild writer...
Zac Medico [Thu, 21 Jun 2007 05:36:33 +0000 (05:36 -0000)]
change "EXEDESTTREE" to "_E_EXEDESTTREE_" to try and prevent abuse from ebuild writers (trunk r6351)

svn path=/main/branches/2.1.2/; revision=6903

17 years agochange DOCDESTTREE to _E_DOCDESTTREE_ to try and prevent abuse from ebuild writers...
Zac Medico [Thu, 21 Jun 2007 05:34:45 +0000 (05:34 -0000)]
change DOCDESTTREE to _E_DOCDESTTREE_ to try and prevent abuse from ebuild writers (trunk r6347)

svn path=/main/branches/2.1.2/; revision=6902

17 years agostrip .comment by default, add a comment as to what we need before we can do .note...
Zac Medico [Thu, 21 Jun 2007 05:14:51 +0000 (05:14 -0000)]
strip .comment by default, add a comment as to what we need before we can do .note, and add safe stripping of relocatable objects (trunk r6416)

svn path=/main/branches/2.1.2/; revision=6901

17 years agoPretty up the repoman imports, use cPickle over pickle for performance (trunk r6431)
Zac Medico [Thu, 21 Jun 2007 05:05:50 +0000 (05:05 -0000)]
Pretty up the repoman imports, use cPickle over pickle for performance (trunk r6431)

svn path=/main/branches/2.1.2/; revision=6900

17 years agoadd new echo module for people who don't want any real logging (trunk r6458)
Zac Medico [Thu, 21 Jun 2007 05:00:59 +0000 (05:00 -0000)]
add new echo module for people who don't want any real logging (trunk r6458)

svn path=/main/branches/2.1.2/; revision=6899

17 years agoas noted by Josh Saddler on the gentoo-dev mailing list, issue a warning if we try...
Zac Medico [Thu, 21 Jun 2007 03:51:02 +0000 (03:51 -0000)]
as noted by Josh Saddler on the gentoo-dev mailing list, issue a warning if we try to create a binpkg for something that has IUSE=bindist but was emerged with USE=-bindist (trunk r6895:6897)

svn path=/main/branches/2.1.2/; revision=6898

17 years agoIn dblink._security_check(), use os.path.realpath to make sure that the same path...
Zac Medico [Thu, 21 Jun 2007 02:20:17 +0000 (02:20 -0000)]
In dblink._security_check(), use os.path.realpath to make sure that the same path isn't counted twice. (trunk r6894)

svn path=/main/branches/2.1.2/; revision=6895

17 years agoAdd an --ignore-default-opts option that is analogous to the corresponding emerge...
Zac Medico [Wed, 20 Jun 2007 23:54:11 +0000 (23:54 -0000)]
Add an --ignore-default-opts option that is analogous to the corresponding emerge option. (trunk r6892)

svn path=/main/branches/2.1.2/; revision=6893

17 years agoUse the the optparse options for --ignore-default-opts since that allows option abrev...
Zac Medico [Wed, 20 Jun 2007 23:44:11 +0000 (23:44 -0000)]
Use the the optparse options for --ignore-default-opts since that allows option abreviation to work. (trunk r6890)

svn path=/main/branches/2.1.2/; revision=6891

17 years agoShow a "world problems" warning for packages that aren't installed, even if they...
Zac Medico [Wed, 20 Jun 2007 09:47:18 +0000 (09:47 -0000)]
Show a "world problems" warning for packages that aren't installed, even if they are available. (trunk r6887)

svn path=/main/branches/2.1.2/; revision=6888

17 years agoFor bug #180165, make portageq print a "Permission denied" error when appropriate...
Zac Medico [Wed, 20 Jun 2007 05:45:31 +0000 (05:45 -0000)]
For bug #180165, make portageq print a "Permission denied" error when appropriate and make has_version die if portageq has an unexpected exit code. (trunk r6880:6882)

svn path=/main/branches/2.1.2/; revision=6885

17 years agoIf a package is in the world set but it's not installed, go ahead and install it...
Zac Medico [Wed, 20 Jun 2007 05:18:47 +0000 (05:18 -0000)]
If a package is in the world set but it's not installed, go ahead and install it if it's available (instead of telling the user to run emaint). (trunk r6883)

svn path=/main/branches/2.1.2/; revision=6884

17 years agoFix cacheddir() to behave properly if os.listdir() raises errno.EACCES (Permission...
Zac Medico [Tue, 19 Jun 2007 22:02:26 +0000 (22:02 -0000)]
Fix cacheddir() to behave properly if os.listdir() raises errno.EACCES (Permission denied). (trunk r6879)

svn path=/main/branches/2.1.2/; revision=6880

17 years agoFor bug #143340, give an appropriate message when there is no read access to a binary...
Zac Medico [Tue, 19 Jun 2007 21:39:51 +0000 (21:39 -0000)]
For bug #143340, give an appropriate message when there is no read access to a binary package. (trunk r6877)

svn path=/main/branches/2.1.2/; revision=6878

17 years agoReturn early from get_term_size() is stdout is not a tty. (trunk r6875)
Zac Medico [Tue, 19 Jun 2007 20:12:13 +0000 (20:12 -0000)]
Return early from get_term_size() is stdout is not a tty. (trunk r6875)

svn path=/main/branches/2.1.2/; revision=6876

17 years agoFor bug #182571, handle curses.error if it's thrown inside get_term_size(). (trunk...
Zac Medico [Tue, 19 Jun 2007 19:58:44 +0000 (19:58 -0000)]
For bug #182571, handle curses.error if it's thrown inside get_term_size(). (trunk r6873)

svn path=/main/branches/2.1.2/; revision=6874

17 years agoFor bug #182428, make quickpkg use a more secure umask by default and allow it to...
Zac Medico [Tue, 19 Jun 2007 09:36:42 +0000 (09:36 -0000)]
For bug #182428, make quickpkg use a more secure umask by default and allow it to be overridden by a --umask option.  Add support for QUICKPKG_DEFAULT_OPTS so that default options can be set in make.conf. (trunk r6871)

svn path=/main/branches/2.1.2/; revision=6872

17 years agoDuring unmerge, always verify that the file isn't a symlink before doing chmod. ...
Zac Medico [Mon, 18 Jun 2007 10:26:48 +0000 (10:26 -0000)]
During unmerge, always verify that the file isn't a symlink before doing chmod. (trunk r6867)

svn path=/main/branches/2.1.2/; revision=6868

17 years agoIn dblink.isowner() don't bother to stat the file when it's contained in the contents...
Zac Medico [Sun, 17 Jun 2007 22:43:17 +0000 (22:43 -0000)]
In dblink.isowner() don't bother to stat the file when it's contained in the contents. (trunk r6865)

svn path=/main/branches/2.1.2/; revision=6866

17 years agoFor bug #182346, use dblink.isowner() during unmerge so that device/inode numbers...
Zac Medico [Sun, 17 Jun 2007 22:13:36 +0000 (22:13 -0000)]
For bug #182346, use dblink.isowner() during unmerge so that device/inode numbers are used to determine ownership (despite path mismatch due to symlinks). (trunk r6863)

svn path=/main/branches/2.1.2/; revision=6864

17 years agoGo ahead and unlink symlinks to directories when they're actually recorded as symlink...
Zac Medico [Fri, 15 Jun 2007 22:53:33 +0000 (22:53 -0000)]
Go ahead and unlink symlinks to directories when they're actually recorded as symlinks in the contents. (trunk r6860)

svn path=/main/branches/2.1.2/; revision=6861

17 years agoMake the collision-protect loop check for existance of the destination file before...
Zac Medico [Fri, 15 Jun 2007 22:40:42 +0000 (22:40 -0000)]
Make the collision-protect loop check for existance of the destination file before checking if it's owned. (trunk r6858)

svn path=/main/branches/2.1.2/; revision=6859

17 years agoMake repoman exit with nonzero status whenever there are qa issues (already does...
Zac Medico [Fri, 15 Jun 2007 21:39:18 +0000 (21:39 -0000)]
Make repoman exit with nonzero status whenever there are qa issues (already does the same in commit mode). Thanks to Daniel Gryniewicz <dang@gentoo.org> in bug #182166. (trunk r6856)

svn path=/main/branches/2.1.2/; revision=6857

17 years agoFor bug #182021, use active voice when notifying the user that superuser access is...
Zac Medico [Fri, 15 Jun 2007 21:32:20 +0000 (21:32 -0000)]
For bug #182021, use active voice when notifying the user that superuser access is required. (trunk r6854)

svn path=/main/branches/2.1.2/; revision=6855

17 years agoHandle another case where removing a symlink to a directory can be harmful. (trunk...
Zac Medico [Fri, 15 Jun 2007 20:42:59 +0000 (20:42 -0000)]
Handle another case where removing a symlink to a directory can be harmful. (trunk r6852)

svn path=/main/branches/2.1.2/; revision=6853

17 years agoFor bug #182157, don't let unmerge-orphans unlink symlinks to directories since that...
Zac Medico [Fri, 15 Jun 2007 20:26:26 +0000 (20:26 -0000)]
For bug #182157, don't let unmerge-orphans unlink symlinks to directories since that can remove /lib and /usr/lib symlinks.

svn path=/main/branches/2.1.2/; revision=6851

17 years agoFor bug #182157, never chmod 0 symlinks before unlinking them. (trunk r6848)
Zac Medico [Fri, 15 Jun 2007 20:14:05 +0000 (20:14 -0000)]
For bug #182157, never chmod 0 symlinks before unlinking them. (trunk r6848)

svn path=/main/branches/2.1.2/; revision=6849

17 years agoFor bug #182105, fix the spelling of the fd_pipes paremeter. (trunk r6846)
Zac Medico [Fri, 15 Jun 2007 10:23:04 +0000 (10:23 -0000)]
For bug #182105, fix the spelling of the fd_pipes paremeter. (trunk r6846)

svn path=/main/branches/2.1.2/; revision=6847

17 years agoFix broken \!found logic so that any missing files are properly skipped. (trunk r6843) v2.1.3_rc1
Zac Medico [Thu, 14 Jun 2007 10:47:53 +0000 (10:47 -0000)]
Fix broken \!found logic so that any missing files are properly skipped. (trunk r6843)

svn path=/main/branches/2.1.2/; revision=6844

17 years agoMiscellaneous global updates cleanups. (trunk r6686, r6688, and r6690:6693)
Zac Medico [Thu, 14 Jun 2007 09:55:46 +0000 (09:55 -0000)]
Miscellaneous global updates cleanups. (trunk r6686, r6688, and r6690:6693)

svn path=/main/branches/2.1.2/; revision=6842

17 years agoFor bug #181953, prevent the circular_blocks code from selecting a node that's alread...
Zac Medico [Wed, 13 Jun 2007 21:48:27 +0000 (21:48 -0000)]
For bug #181953, prevent the circular_blocks code from selecting a node that's already been selected by the normal node selection process. (trunk r6837)

svn path=/main/branches/2.1.2/; revision=6838

17 years agoIn dblink.treewalk(), handle the case where the current cpv is already installed...
Zac Medico [Wed, 13 Jun 2007 10:09:43 +0000 (10:09 -0000)]
In dblink.treewalk(), handle the case where the current cpv is already installed but it has a different slot (multislot or unapplied slotmove). (trunk r6833)

svn path=/main/branches/2.1.2/; revision=6834

17 years agoAdd a note about the new unmerge-orphans behavior. (trunk r6831)
Zac Medico [Wed, 13 Jun 2007 08:10:08 +0000 (08:10 -0000)]
Add a note about the new unmerge-orphans behavior. (trunk r6831)

svn path=/main/branches/2.1.2/; revision=6832

17 years agoFor bug #134620, add a FEATURES=unmerge-orphans option that causes unmerge to remove...
Zac Medico [Wed, 13 Jun 2007 07:29:43 +0000 (07:29 -0000)]
For bug #134620, add a FEATURES=unmerge-orphans option that causes unmerge to remove files more aggressively.  If a file is not claimed by another package in the same slot and it is not protected by CONFIG_PROTECT, unmerge it even if the modification time or checksum differs from the file that was originally installed.  This is enabled in make.globals since the vast majority of users probably want this. (trunk r6829)

svn path=/main/branches/2.1.2/; revision=6830

17 years agoFix dblink.isowner() so it works properly when ROOT!=/. (trunk r6827)
Zac Medico [Wed, 13 Jun 2007 05:53:34 +0000 (05:53 -0000)]
Fix dblink.isowner() so it works properly when ROOT!=/. (trunk r6827)

svn path=/main/branches/2.1.2/; revision=6828

17 years agoUse cached dblink instances for collision-protect. (trunk r6825)
Zac Medico [Wed, 13 Jun 2007 05:45:19 +0000 (05:45 -0000)]
Use cached dblink instances for collision-protect. (trunk r6825)

svn path=/main/branches/2.1.2/; revision=6826

17 years agoCache dblink instances for security checks and reference counts during merge/unmerge...
Zac Medico [Wed, 13 Jun 2007 05:21:17 +0000 (05:21 -0000)]
Cache dblink instances for security checks and reference counts during merge/unmerge so that each CONTENTS only has to be parsed once.  These can also be reused for collision-protect. (trunk r6823)

svn path=/main/branches/2.1.2/; revision=6824

17 years agoReuse previously acquired lstat results. (trunk r6821)
Zac Medico [Tue, 12 Jun 2007 22:08:24 +0000 (22:08 -0000)]
Reuse previously acquired lstat results. (trunk r6821)

svn path=/main/branches/2.1.2/; revision=6822

17 years agoFor bug #153109, replace our old chflags module with the one provided by the py-freeb...
Zac Medico [Tue, 12 Jun 2007 21:50:56 +0000 (21:50 -0000)]
For bug #153109, replace our old chflags module with the one provided by the py-freebsd package.  Thanks to Flameeyes for the initial patch. (trunk r5870)

svn path=/main/branches/2.1.2/; revision=6820

17 years agoRemove some useless dircache code. (trunk r6818)
Zac Medico [Tue, 12 Jun 2007 21:33:16 +0000 (21:33 -0000)]
Remove some useless dircache code. (trunk r6818)

svn path=/main/branches/2.1.2/; revision=6819

17 years agoAlways return a dict from dblink.getcontents() since callers never expect to get...
Zac Medico [Tue, 12 Jun 2007 21:14:34 +0000 (21:14 -0000)]
Always return a dict from dblink.getcontents() since callers never expect to get None. (trunk r6816)

svn path=/main/branches/2.1.2/; revision=6817

17 years agoFor bug #181021, during unmerge use all slot matches for reference counts (in case...
Zac Medico [Tue, 12 Jun 2007 02:52:41 +0000 (02:52 -0000)]
For bug #181021, during unmerge use all slot matches for reference counts (in case the user has set AUTOCLEAN=no). (trunk r6814)

svn path=/main/branches/2.1.2/; revision=6815

17 years agoAdd a note about preservation of timestamps on merged files. (trunk r6812)
Zac Medico [Tue, 12 Jun 2007 01:43:18 +0000 (01:43 -0000)]
Add a note about preservation of timestamps on merged files. (trunk r6812)

svn path=/main/branches/2.1.2/; revision=6813

17 years agoUpdate the PORT_LOGDIR docs for bug #82378. Thanks to Arfrever FTA for reporting...
Zac Medico [Mon, 11 Jun 2007 21:26:23 +0000 (21:26 -0000)]
Update the PORT_LOGDIR docs for bug #82378.  Thanks to Arfrever FTA for reporting. (trunk r6810)

svn path=/main/branches/2.1.2/; revision=6811

17 years agoAdd news about USE_EXPAND wildcards. (trunk r6802)
Zac Medico [Mon, 11 Jun 2007 19:39:33 +0000 (19:39 -0000)]
Add news about USE_EXPAND wildcards. (trunk r6802)

svn path=/main/branches/2.1.2/; revision=6806

17 years agoFor consistency with other xterm titles code, redirect $PROMPT_COMMAND output to...
Zac Medico [Mon, 11 Jun 2007 08:43:56 +0000 (08:43 -0000)]
For consistency with other xterm titles code, redirect $PROMPT_COMMAND output to stderr. (trunk r6799)

svn path=/main/branches/2.1.2/; revision=6800

17 years agoFor bug #181355, detect parenthesis mismatch in paren_reduce(), raise an InvalidDepen...
Zac Medico [Mon, 11 Jun 2007 02:49:15 +0000 (02:49 -0000)]
For bug #181355, detect parenthesis mismatch in paren_reduce(), raise an InvalidDependString exception, and make sure that all callers handle the exception properly. (trunk r6795:6797)

svn path=/main/branches/2.1.2/; revision=6798

17 years agoFor bug #81097, detect and report suspicious hardlinks to suid/sgid files. False...
Zac Medico [Sun, 10 Jun 2007 22:58:51 +0000 (22:58 -0000)]
For bug #81097, detect and report suspicious hardlinks to suid/sgid files.  False positives are prevented by doing reference counts for each inode having suid/sgid bits and multiple hardlinks.  The security check is done prior to each merge or unmerge phase and it will cause the phase to abort if a problem is found (so that the user can investigate before any files are removed). (trunk r6791:6794)

svn path=/main/branches/2.1.2/; revision=6795

17 years agoFor bug #181551, support slot deps in package.keywords. (trunk r6790)
Zac Medico [Sun, 10 Jun 2007 19:35:15 +0000 (19:35 -0000)]
For bug #181551, support slot deps in package.keywords. (trunk r6790)

svn path=/main/branches/2.1.2/; revision=6791

17 years agoMake repoman work with both + and - flags in IUSE. (trunk r6788)
Zac Medico [Sun, 10 Jun 2007 10:23:20 +0000 (10:23 -0000)]
Make repoman work with both + and - flags in IUSE. (trunk r6788)

svn path=/main/branches/2.1.2/; revision=6789

17 years agoPreserve order of flags from IUSE in wildcard expansion. (trunk r6786)
Zac Medico [Sun, 10 Jun 2007 10:12:51 +0000 (10:12 -0000)]
Preserve order of flags from IUSE in wildcard expansion. (trunk r6786)

svn path=/main/branches/2.1.2/; revision=6787

17 years agoFor bug #148702, use the * token to trigger wildcard expansion of IUSE. This adds...
Zac Medico [Sat, 9 Jun 2007 23:09:15 +0000 (23:09 -0000)]
For bug #148702, use the * token to trigger wildcard expansion of IUSE.  This adds flexibility and prevents flags from being enabled unexpectedly. (trunk r6784)

svn path=/main/branches/2.1.2/; revision=6785

17 years agoWhen an update is discarded due to confmem, record it's mtime in the contents (it...
Zac Medico [Sat, 9 Jun 2007 13:17:59 +0000 (13:17 -0000)]
When an update is discarded due to confmem, record it's mtime in the contents (it's md5 is already recorded there too). (trunk r6782)

svn path=/main/branches/2.1.2/; revision=6783

17 years agoFor bug #148702, automatically enable flags from IUSE if they correspond to unset...
Zac Medico [Sat, 9 Jun 2007 11:44:20 +0000 (11:44 -0000)]
For bug #148702, automatically enable flags from IUSE if they correspond to unset USE_EXPAND variables such as LINGUAS.  The variable only has to be set to some value or an empty string in order to disable these flags. (trunk r6780)

svn path=/main/branches/2.1.2/; revision=6781

17 years agoFor bug #181387, fix an UnboundLocalError for the mymtime variable that is triggered...
Zac Medico [Sat, 9 Jun 2007 10:56:36 +0000 (10:56 -0000)]
For bug #181387, fix an UnboundLocalError for the mymtime variable that is triggered by confmem. (trunk r6778)

svn path=/main/branches/2.1.2/; revision=6779

17 years agoSkip bogus '$ECLASS inherited illegally' messages when installing from a binary packa... v2.1.2.10
Zac Medico [Sat, 9 Jun 2007 04:46:32 +0000 (04:46 -0000)]
Skip bogus '$ECLASS inherited illegally' messages when installing from a binary package. (trunk r6775)

svn path=/main/branches/2.1.2/; revision=6776

17 years agoDon't forget to rename the temporary binpkg after it's created.
Zac Medico [Sat, 9 Jun 2007 04:41:07 +0000 (04:41 -0000)]
Don't forget to rename the temporary binpkg after it's created.

svn path=/main/branches/2.1.2/; revision=6774

17 years agoOnly execute $PROMPT_COMMAND when appropriate. (trunk r6772)
Zac Medico [Sat, 9 Jun 2007 03:51:51 +0000 (03:51 -0000)]
Only execute $PROMPT_COMMAND when appropriate. (trunk r6772)

svn path=/main/branches/2.1.2/; revision=6773

17 years agoFor bug #152828, run ${CHOST}-ldconfig when ${CBUILD} != ${CHOST}. (trunk r6770)
Zac Medico [Sat, 9 Jun 2007 00:19:59 +0000 (00:19 -0000)]
For bug #152828, run ${CHOST}-ldconfig when ${CBUILD} != ${CHOST}. (trunk r6770)

svn path=/main/branches/2.1.2/; revision=6771

17 years agoFor bug #139383, in xtermTitleReset() use os.system() instead of commands.getoutput...
Zac Medico [Fri, 8 Jun 2007 23:11:10 +0000 (23:11 -0000)]
For bug #139383, in xtermTitleReset() use os.system() instead of commands.getoutput() since the latter puts too much restriction on what $PROMPT_COMMAND may contain. (trunk r6768)

svn path=/main/branches/2.1.2/; revision=6769

17 years agoFor bug #181104, make econf give an appropriate error message when configure is not...
Zac Medico [Fri, 8 Jun 2007 21:42:11 +0000 (21:42 -0000)]
For bug #181104, make econf give an appropriate error message when configure is not executable. (trunk r6766)

svn path=/main/branches/2.1.2/; revision=6767

17 years agoIgnore InvalidDependString exceptions from the RESTRICT of nomerge nodes. (trunk...
Zac Medico [Fri, 8 Jun 2007 20:14:57 +0000 (20:14 -0000)]
Ignore InvalidDependString exceptions from the RESTRICT of nomerge nodes. (trunk r6751)

svn path=/main/branches/2.1.2/; revision=6765

17 years agoMake all the python code respect USE conditionals in RESTRICT. It's already handled...
Zac Medico [Fri, 8 Jun 2007 20:11:41 +0000 (20:11 -0000)]
Make all the python code respect USE conditionals in RESTRICT.  It's already handled on the bash side since RESTRICT is assigned the value of PORTAGE_RESTRICT. (trunk r6750)

svn path=/main/branches/2.1.2/; revision=6764

17 years agoReturn copies of the cached values from pkgsplit and catpkgsplit. (trunk r6746)
Zac Medico [Fri, 8 Jun 2007 20:01:55 +0000 (20:01 -0000)]
Return copies of the cached values from pkgsplit and catpkgsplit. (trunk r6746)

svn path=/main/branches/2.1.2/; revision=6763

17 years agoFor bug #156536, update --resume docs to show that the resume history is capable...
Zac Medico [Fri, 8 Jun 2007 19:57:23 +0000 (19:57 -0000)]
For bug #156536, update --resume docs to show that the resume history is capable of storing two merge lists. (trunk r6742)

svn path=/main/branches/2.1.2/; revision=6762

17 years agoFor bug #153967, use -O / in the default FETCHCOMMAND. (trunk r6741)
Zac Medico [Fri, 8 Jun 2007 19:55:21 +0000 (19:55 -0000)]
For bug #153967, use -O / in the default FETCHCOMMAND. (trunk r6741)

svn path=/main/branches/2.1.2/; revision=6761

17 years agoFor bug #181021, preserve timestamps from during merge. For replacement operations...
Zac Medico [Fri, 8 Jun 2007 19:54:15 +0000 (19:54 -0000)]
For bug #181021, preserve timestamps from  during merge.  For replacement operations, the unmerge phase checks the contents of the newer instance in order to prevent identical files in the newer instance from being unmerged. (trunk r6739, r6740, and r6745)

svn path=/main/branches/2.1.2/; revision=6760

17 years agoFix typo, split SPACE_SEPARATED variables on whitespace. (trunk r6738)
Zac Medico [Fri, 8 Jun 2007 19:37:15 +0000 (19:37 -0000)]
Fix typo, split SPACE_SEPARATED variables on whitespace. (trunk r6738)

svn path=/main/branches/2.1.2/; revision=6759

17 years agoWhen dblink.treewalk() looks for an installed instance in the same slot, make sure...
Zac Medico [Fri, 8 Jun 2007 19:28:06 +0000 (19:28 -0000)]
When dblink.treewalk() looks for an installed instance in the same slot, make sure that it selects the one with the highest COUNTER in case there are multiple matches. (trunk r6737)

svn path=/main/branches/2.1.2/; revision=6758

17 years agoRemove duplicate entries from special variables processed by env_update() (bug #17219...
Zac Medico [Fri, 8 Jun 2007 19:25:54 +0000 (19:25 -0000)]
Remove duplicate entries from special variables processed by env_update() (bug #172194) (trunk r6736 and r6738)

svn path=/main/branches/2.1.2/; revision=6757

17 years agoUse user-provided for -5 (bug #47442) (trunk r6735)
Zac Medico [Fri, 8 Jun 2007 19:23:28 +0000 (19:23 -0000)]
Use user-provided  for -5 (bug #47442) (trunk r6735)

svn path=/main/branches/2.1.2/; revision=6756

17 years agoAdd ECONF_SOURCE to the econf docs. (trunk r6733)
Zac Medico [Fri, 8 Jun 2007 19:22:06 +0000 (19:22 -0000)]
Add ECONF_SOURCE to the econf docs. (trunk r6733)

svn path=/main/branches/2.1.2/; revision=6755

17 years agoDocument EXTRA_ECONF, thanks to Arfrever FTA in bug #167057. (trunk r6732)
Zac Medico [Fri, 8 Jun 2007 19:21:03 +0000 (19:21 -0000)]
Document EXTRA_ECONF, thanks to Arfrever FTA in bug #167057. (trunk r6732)

svn path=/main/branches/2.1.2/; revision=6754

17 years agoFor bug #164655, port quickpkg to python and use the tarfile module for proper handli...
Zac Medico [Fri, 8 Jun 2007 19:18:59 +0000 (19:18 -0000)]
For bug #164655, port quickpkg to python and use the tarfile module for proper handling of symlinks to directories.  Thanks to Martin Parm <parmus@diku.dk> for the initial port. (trunk r6728)

svn path=/main/branches/2.1.2/; revision=6753