Zac Medico [Thu, 9 Mar 2006 21:39:11 +0000 (21:39 -0000)]
Remove "myarg" from the ebuild.sh env before it is saved so that it doesn't interfere when ebuild.sh is sourced by other scripts.
svn path=/main/trunk/; revision=2836
Zac Medico [Thu, 9 Mar 2006 10:58:07 +0000 (10:58 -0000)]
Add sesandbox to the spawnebuild actionmap.
svn path=/main/trunk/; revision=2835
Zac Medico [Thu, 9 Mar 2006 09:54:41 +0000 (09:54 -0000)]
Add a "sesandbox" flag to the spawn function so that it can handle selinux context for the exec call (prevents code duplication).
svn path=/main/trunk/; revision=2834
Zac Medico [Thu, 9 Mar 2006 04:48:28 +0000 (04:48 -0000)]
Remove install_mask from ebuild.sh since it's in misc-functions.sh now.
svn path=/main/trunk/; revision=2833
Zac Medico [Thu, 9 Mar 2006 04:15:19 +0000 (04:15 -0000)]
Split install_mask and parts of dyn_preinst from ebuild.sh to misc-functions.sh and add the necessary support to doebuild.
svn path=/main/trunk/; revision=2832
Zac Medico [Thu, 9 Mar 2006 04:07:49 +0000 (04:07 -0000)]
Split dyn_package from ebuild.sh to misc-functions.sh and add MISC_SH_BINARY support to spawnebuild.
svn path=/main/trunk/; revision=2831
Mike Frysinger [Thu, 9 Mar 2006 01:10:29 +0000 (01:10 -0000)]
add support for ebuild authors to mark stuff as ignorable
svn path=/main/trunk/; revision=2830
Mike Frysinger [Thu, 9 Mar 2006 00:28:18 +0000 (00:28 -0000)]
misc updates
svn path=/main/trunk/; revision=2829
Mike Frysinger [Thu, 9 Mar 2006 00:21:54 +0000 (00:21 -0000)]
document new --no-ldconfig option
svn path=/main/trunk/; revision=2828
Mike Frysinger [Thu, 9 Mar 2006 00:16:13 +0000 (00:16 -0000)]
update copyrights
svn path=/main/trunk/; revision=2827
Zac Medico [Wed, 8 Mar 2006 08:18:09 +0000 (08:18 -0000)]
Move PKG_INSTALL_MASK functionality (see bug #81025) from dyn_install to dyn_package because we don't want PKG_INSTALL_MASK to affect the install phase (INSTALL_MASK is in dyn_preinst).
svn path=/main/trunk/; revision=2826
Ned Ludd [Wed, 8 Mar 2006 03:39:54 +0000 (03:39 -0000)]
- commit initial split install masking code. this commits adds new portage variable PKG_INSTALL_MASK for fine tuning what gets added to the binary .tbz2 and xpak data. This function will probably be later split out into a misc-functions.sh by zac
svn path=/main/trunk/; revision=2825
Zac Medico [Tue, 7 Mar 2006 19:27:37 +0000 (19:27 -0000)]
Make the parallel-fetch process sleep for 3 seconds at the beginning in order to allow the parent process to have the first fetch (rather than display a 'waiting for a lock' message). Suggestion by Brian Harring.
svn path=/main/trunk/; revision=2824
Zac Medico [Tue, 7 Mar 2006 01:53:44 +0000 (01:53 -0000)]
Catch ENOENT errors when $PORTDIR/profiles/updates does not exist.
svn path=/main/trunk/; revision=2821
Ned Ludd [Tue, 7 Mar 2006 01:10:49 +0000 (01:10 -0000)]
- make portage display the ROOT when unmerging a selected package
svn path=/main/trunk/; revision=2820
Mike Frysinger [Mon, 6 Mar 2006 02:53:38 +0000 (02:53 -0000)]
only scan for exec stacks on linux/glibc hosts
svn path=/main/trunk/; revision=2819
Zac Medico [Mon, 6 Mar 2006 00:38:34 +0000 (00:38 -0000)]
Remove the leading / from WORLD_FILE for better cooperation with os.path.join (see bug #124471).
svn path=/main/trunk/; revision=2818
Mike Frysinger [Sun, 5 Mar 2006 22:30:18 +0000 (22:30 -0000)]
fix BASH_ARGV walking
svn path=/main/trunk/; revision=2817
Zac Medico [Sun, 5 Mar 2006 19:57:30 +0000 (19:57 -0000)]
Remove the leading / from CONFIG_MEMORY_FILE for better cooperation with os.path.join (see bug #124471).
svn path=/main/trunk/; revision=2816
Zac Medico [Sun, 5 Mar 2006 19:45:23 +0000 (19:45 -0000)]
Remove the leading / from PRIVATE_PATH (var/lib/portage) for better cooperation with os.path.join (see bug #124471).
svn path=/main/trunk/; revision=2815
Zac Medico [Sun, 5 Mar 2006 18:57:35 +0000 (18:57 -0000)]
Remove a dead and broken hunk of code that attempts to remove files from an empty directory.
svn path=/main/trunk/; revision=2814
Ned Ludd [Sun, 5 Mar 2006 15:01:06 +0000 (15:01 -0000)]
- have scanelf nuke insecure rpaths
svn path=/main/trunk/; revision=2813
Zac Medico [Sun, 5 Mar 2006 00:10:40 +0000 (00:10 -0000)]
Strip the leading slash from WORLD_FILE so that os.path.join works correctly for bug #124471. Thanks to Thomas de Grenier de Latour for finding the cause of the problem and Jonathan Adamczewski for the initial report.
svn path=/main/trunk/; revision=2812
Zac Medico [Sat, 4 Mar 2006 06:54:52 +0000 (06:54 -0000)]
Remove the 'didupdate' variable from global_updates() because it is no longer used.
svn path=/main/trunk/; revision=2811
Zac Medico [Sat, 4 Mar 2006 06:35:16 +0000 (06:35 -0000)]
Rename the global updates do_upgrade() function to parse_updates().
svn path=/main/trunk/; revision=2810
Zac Medico [Sat, 4 Mar 2006 06:21:11 +0000 (06:21 -0000)]
Move all output out of the global updates do_upgrade() function so that it only performs parsing and validation.
svn path=/main/trunk/; revision=2809
Mike Frysinger [Sat, 4 Mar 2006 01:52:13 +0000 (01:52 -0000)]
add some URLs for people to learn more
svn path=/main/trunk/; revision=2808
Mike Frysinger [Fri, 3 Mar 2006 01:02:58 +0000 (01:02 -0000)]
kill off pointless print
svn path=/main/trunk/; revision=2807
Zac Medico [Thu, 2 Mar 2006 19:10:47 +0000 (19:10 -0000)]
Make emerge-webrsync use renice for cleaner PORTAGE_NICENESS handling (bug #124621).
svn path=/main/trunk/; revision=2806
Zac Medico [Thu, 2 Mar 2006 17:46:05 +0000 (17:46 -0000)]
Fix typo in emerge-webrsync PORTAGE_NICENESS handling for bug #124621 (regression from r2623).
svn path=/main/trunk/; revision=2805
Zac Medico [Thu, 2 Mar 2006 04:25:55 +0000 (04:25 -0000)]
Assume 0 for both uid and gid in dobin and dosbin (bug #124568).
svn path=/main/trunk/; revision=2804
Mike Frysinger [Thu, 2 Mar 2006 00:18:10 +0000 (00:18 -0000)]
just use group 0 to workaround broken systems #124568
svn path=/main/trunk/; revision=2803
Jason Stubbs [Tue, 28 Feb 2006 13:43:44 +0000 (13:43 -0000)]
Use ROOT when checking installed packages for --pretend output
svn path=/main/trunk/; revision=2802
Zac Medico [Tue, 28 Feb 2006 06:40:44 +0000 (06:40 -0000)]
Split out a portage_update.grab_updates() function so that it can be reused.
svn path=/main/trunk/; revision=2801
Zac Medico [Tue, 28 Feb 2006 00:24:26 +0000 (00:24 -0000)]
Add a sanity check in dyn_clean() to make sure that PORTAGE_BUILDDIR is not zero length for bug #124203.
svn path=/main/trunk/; revision=2800
Zac Medico [Mon, 27 Feb 2006 00:44:54 +0000 (00:44 -0000)]
Make sure myopts does not contain duplicate options for bug 124204.
svn path=/main/trunk/; revision=2794
Zac Medico [Sun, 26 Feb 2006 21:36:41 +0000 (21:36 -0000)]
Use rstrip("\n") instead of -1 index to safely remove newline characters.
svn path=/main/trunk/; revision=2793
Zac Medico [Sun, 26 Feb 2006 13:10:43 +0000 (13:10 -0000)]
Add a new cache.metadata_overlay module that layers a writable cache over a readonly cache.
svn path=/main/trunk/; revision=2792
Zac Medico [Sun, 26 Feb 2006 12:58:08 +0000 (12:58 -0000)]
Add some docs for metadata-transfer in make.conf.example and make.conf.5.
svn path=/main/trunk/; revision=2791
Zac Medico [Sun, 26 Feb 2006 12:05:36 +0000 (12:05 -0000)]
Fix 'Bad file descriptor' error with hardlink locking for bug 124140.
svn path=/main/trunk/; revision=2790
Zac Medico [Sun, 26 Feb 2006 10:27:24 +0000 (10:27 -0000)]
Make `emerge --metadata` work even when metadata-transfer is not in FEATURES.
svn path=/main/trunk/; revision=2789
Zac Medico [Sun, 26 Feb 2006 10:08:53 +0000 (10:08 -0000)]
Make the post-sync metadata-transfer a FEATURE so that it can be optionally disabled.
svn path=/main/trunk/; revision=2788
Zac Medico [Sun, 26 Feb 2006 07:51:21 +0000 (07:51 -0000)]
Only write known keys in flat_hash cache entries (filter out UNUSED_* keys).
svn path=/main/trunk/; revision=2787
Zac Medico [Sun, 26 Feb 2006 05:39:21 +0000 (05:39 -0000)]
Fix cache.metadata.database so that it correctly removes the newline character from the end of the line when parsing flat_hash entries.
svn path=/main/trunk/; revision=2786
Zac Medico [Sun, 26 Feb 2006 05:35:07 +0000 (05:35 -0000)]
Make complete_eclass_entries variable name consistent so that classes derived from cache.template.database are compatible with the mirror_cache() function in the cache.util module.
svn path=/main/trunk/; revision=2785
Alec Warner [Sat, 25 Feb 2006 15:46:25 +0000 (15:46 -0000)]
Killing some old code that is never executed.
svn path=/main/trunk/; revision=2784
Alec Warner [Sat, 25 Feb 2006 06:03:28 +0000 (06:03 -0000)]
Add a message to advise deleting corrupted binary packages. Bug #86088
svn path=/main/trunk/; revision=2783
Alec Warner [Sat, 25 Feb 2006 05:11:06 +0000 (05:11 -0000)]
Adding a new exception class.
svn path=/main/trunk/; revision=2782
Mike Frysinger [Fri, 24 Feb 2006 01:43:13 +0000 (01:43 -0000)]
move the err/warn funcs together
svn path=/main/trunk/; revision=2780
Alec Warner [Thu, 23 Feb 2006 23:29:47 +0000 (23:29 -0000)]
Fix a missing parenthesis.
svn path=/main/trunk/; revision=2779
Alec Warner [Thu, 23 Feb 2006 18:27:38 +0000 (18:27 -0000)]
Fix typo, profile instead of profiles
svn path=/main/trunk/; revision=2777
Alec Warner [Thu, 23 Feb 2006 18:25:31 +0000 (18:25 -0000)]
update release notes
svn path=/main/trunk/; revision=2776
Alec Warner [Thu, 23 Feb 2006 18:20:49 +0000 (18:20 -0000)]
Kill inject for good.
svn path=/main/trunk/; revision=2775
Alec Warner [Thu, 23 Feb 2006 18:18:23 +0000 (18:18 -0000)]
Remove inject from the manpage. Bug # 120429.
svn path=/main/trunk/; revision=2774
Zac Medico [Thu, 23 Feb 2006 17:36:08 +0000 (17:36 -0000)]
Add NOCOLOR support to bin/ebuild for bug 78701.
svn path=/main/trunk/; revision=2773
Mike Frysinger [Thu, 23 Feb 2006 06:36:54 +0000 (06:36 -0000)]
remove code that is duplicated in prepstrip
svn path=/main/trunk/; revision=2771
Mike Frysinger [Thu, 23 Feb 2006 05:45:24 +0000 (05:45 -0000)]
update syntax/style
svn path=/main/trunk/; revision=2770
Mike Frysinger [Thu, 23 Feb 2006 05:31:57 +0000 (05:31 -0000)]
warn if we were given a non-existent dir
svn path=/main/trunk/; revision=2769
Mike Frysinger [Thu, 23 Feb 2006 05:31:44 +0000 (05:31 -0000)]
simply code to break down arguments to prepman
svn path=/main/trunk/; revision=2768
Mike Frysinger [Thu, 23 Feb 2006 05:25:11 +0000 (05:25 -0000)]
dont warn in manpage exists but is empty
svn path=/main/trunk/; revision=2767
Mike Frysinger [Thu, 23 Feb 2006 05:24:30 +0000 (05:24 -0000)]
disable compression in doman, just let `prepman` handle it
svn path=/main/trunk/; revision=2766
Mike Frysinger [Thu, 23 Feb 2006 05:13:50 +0000 (05:13 -0000)]
update syntax and add error checking #121317 by Simon Stelling
svn path=/main/trunk/; revision=2765
Zac Medico [Thu, 23 Feb 2006 00:43:12 +0000 (00:43 -0000)]
Revert emergelog output change from revision 2641 to maintain compatibility with genlop (reported by fuzzyray).
svn path=/main/trunk/; revision=2764
Zac Medico [Wed, 22 Feb 2006 23:50:49 +0000 (23:50 -0000)]
Prevent output of '*' characters when there are no updates but fixpackages is in features (reported by fuzzyray).
svn path=/main/trunk/; revision=2763
Alec Warner [Wed, 22 Feb 2006 21:20:16 +0000 (21:20 -0000)]
Suggestion from Brian Harring to remove extra processing, condense code.
svn path=/main/trunk/; revision=2762
Zac Medico [Tue, 21 Feb 2006 09:57:44 +0000 (09:57 -0000)]
Fix typo from revision 2758.
svn path=/main/trunk/; revision=2759
Zac Medico [Tue, 21 Feb 2006 09:52:03 +0000 (09:52 -0000)]
Validate the names of update files in order to filter out unwanted files such as CVS directories.
svn path=/main/trunk/; revision=2758
Zac Medico [Tue, 21 Feb 2006 06:07:31 +0000 (06:07 -0000)]
Some news and release notes for 2.1_pre5.
svn path=/main/trunk/; revision=2757
Zac Medico [Tue, 21 Feb 2006 01:44:39 +0000 (01:44 -0000)]
Patch by Ed Catmur to add "gnome" to legal_terms in output.py.
svn path=/main/trunk/; revision=2756
Zac Medico [Tue, 21 Feb 2006 01:16:56 +0000 (01:16 -0000)]
Patch by marienz to generate default_xterm_title just in time with python instead of the shell. Fixes "Bad substitution" shell messages reported by flameeyes.
svn path=/main/trunk/; revision=2755
Mike Frysinger [Mon, 20 Feb 2006 23:42:38 +0000 (23:42 -0000)]
enable exec stack scanning on ppc64
svn path=/main/trunk/; revision=2754
Zac Medico [Mon, 20 Feb 2006 03:07:25 +0000 (03:07 -0000)]
Remove temporary file usage from move_ent and move_slot_ent routines.
svn path=/main/trunk/; revision=2753
Zac Medico [Sun, 19 Feb 2006 23:52:50 +0000 (23:52 -0000)]
Remove temporary file usage from fixpackages update_ents routine.
svn path=/main/trunk/; revision=2752
Zac Medico [Sun, 19 Feb 2006 23:28:14 +0000 (23:28 -0000)]
Add a tbz2.get_data() method that returns the xpak segment data as a dict.
svn path=/main/trunk/; revision=2751
Zac Medico [Sun, 19 Feb 2006 22:55:47 +0000 (22:55 -0000)]
Split out 2 reusable functions from fixdbentries and put them in a new portage_update module.
svn path=/main/trunk/; revision=2750
Zac Medico [Sun, 19 Feb 2006 20:47:44 +0000 (20:47 -0000)]
In order do avoid the need for temporary files, add a new tbz2.recompose_mem() method that uses an xpak segment from memory.
svn path=/main/trunk/; revision=2748
Zac Medico [Sun, 19 Feb 2006 20:19:41 +0000 (20:19 -0000)]
In order do avoid the need for temporary files, add a new xpak_mem() function that creates an xpak_segment from a map object.
svn path=/main/trunk/; revision=2747
Marius Mauch [Sun, 19 Feb 2006 16:10:58 +0000 (16:10 -0000)]
update release notes regarding deprecated stuff
svn path=/main/trunk/; revision=2746
Marius Mauch [Sun, 19 Feb 2006 05:44:38 +0000 (05:44 -0000)]
more obsolete stuff, qa is in ebuild.sh now
svn path=/main/trunk/; revision=2745
Marius Mauch [Sun, 19 Feb 2006 05:42:25 +0000 (05:42 -0000)]
this stuff was supposed to be dead for ages
svn path=/main/trunk/; revision=2744
Zac Medico [Sun, 19 Feb 2006 05:40:49 +0000 (05:40 -0000)]
Fix problem with /var/tmp/tbz2/tbz2 directory for bug 113088.
svn path=/main/trunk/; revision=2743
Marius Mauch [Sun, 19 Feb 2006 04:55:17 +0000 (04:55 -0000)]
deprecate 'emerge action' syntax in favor of 'emerge --action'
svn path=/main/trunk/; revision=2742
Marius Mauch [Sun, 19 Feb 2006 04:47:27 +0000 (04:47 -0000)]
remove documentation on --upgradeonly
svn path=/main/trunk/; revision=2741
Marius Mauch [Sun, 19 Feb 2006 04:46:09 +0000 (04:46 -0000)]
finally remove --rsync
svn path=/main/trunk/; revision=2740
Marius Mauch [Sun, 19 Feb 2006 04:43:03 +0000 (04:43 -0000)]
finally remove --upgradeonly
svn path=/main/trunk/; revision=2739
Zac Medico [Sun, 19 Feb 2006 01:13:57 +0000 (01:13 -0000)]
Update the mtimedb only after the updates have been processed.
svn path=/main/trunk/; revision=2738
Zac Medico [Sun, 19 Feb 2006 00:16:09 +0000 (00:16 -0000)]
Split move_ent calls from do_upgrade() and do them in global_updates() instead.
svn path=/main/trunk/; revision=2737
Zac Medico [Sun, 19 Feb 2006 00:01:38 +0000 (00:01 -0000)]
Fix 2 typos from revision 2735.
svn path=/main/trunk/; revision=2736
Zac Medico [Sat, 18 Feb 2006 23:39:05 +0000 (23:39 -0000)]
Clean up do_upgrade() and add atom validation.
svn path=/main/trunk/; revision=2735
Zac Medico [Sat, 18 Feb 2006 22:39:07 +0000 (22:39 -0000)]
Split the config file updates from do_upgrade into a new update_config_files() function that does all updates in one big batch.
svn path=/main/trunk/; revision=2734
Zac Medico [Sat, 18 Feb 2006 21:45:43 +0000 (21:45 -0000)]
Create a global_updates() function in order to remove a chunk from the global scope.
svn path=/main/trunk/; revision=2733
Zac Medico [Sat, 18 Feb 2006 19:25:23 +0000 (19:25 -0000)]
Consider global updates that proceed quickly as a single mtimedb transaction.
svn path=/main/trunk/; revision=2732
Zac Medico [Sat, 18 Feb 2006 19:18:31 +0000 (19:18 -0000)]
Split out a vardbapi.update_ents() method and leave it unused for the moment since it's not currently being used properly anyway (see bug 122089).
svn path=/main/trunk/; revision=2731
Zac Medico [Sat, 18 Feb 2006 02:25:24 +0000 (02:25 -0000)]
Add a cleanup() method to xpak.tbz2 and do a sanity check there.
svn path=/main/trunk/; revision=2730
Zac Medico [Sat, 18 Feb 2006 01:39:05 +0000 (01:39 -0000)]
Add a return value to fixdbentries that indicates whether or not modifications were performed. Use this to avoid unnecessary recomposition of tbz2 files.
svn path=/main/trunk/; revision=2729
Zac Medico [Fri, 17 Feb 2006 23:25:04 +0000 (23:25 -0000)]
Filter out some more invalid updates before fixpackages gets them.
svn path=/main/trunk/; revision=2728
Zac Medico [Fri, 17 Feb 2006 19:08:04 +0000 (19:08 -0000)]
Bring back myline variable inside do_upgrade because it is needed (regression from rev 2726).
svn path=/main/trunk/; revision=2727
Zac Medico [Fri, 17 Feb 2006 18:56:11 +0000 (18:56 -0000)]
Store split lines in myupd so that they don't need to be split again later.
svn path=/main/trunk/; revision=2726
Zac Medico [Fri, 17 Feb 2006 18:35:54 +0000 (18:35 -0000)]
Optimize fixpackages to do all updates in one big batch so that each tbz2 is only recomposed once.
svn path=/main/trunk/; revision=2725
Zac Medico [Fri, 17 Feb 2006 07:56:02 +0000 (07:56 -0000)]
Make fixdbentries operate on an iterable instead of a dict because order can matter.
svn path=/main/trunk/; revision=2724