Mike Frysinger [Tue, 17 Apr 2007 23:07:04 +0000 (23:07 -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
svn path=/main/trunk/; revision=6416
Mike Frysinger [Sun, 15 Apr 2007 09:32:30 +0000 (09:32 -0000)]
convert `type -p` to `type -P` as noted by grobian
svn path=/main/trunk/; revision=6411
Mike Frysinger [Sat, 14 Apr 2007 16:35:12 +0000 (16:35 -0000)]
do stripping after compression dequeueing
svn path=/main/trunk/; revision=6403
Mike Frysinger [Sat, 14 Apr 2007 16:35:00 +0000 (16:35 -0000)]
queue compression
svn path=/main/trunk/; revision=6402
Mike Frysinger [Sat, 14 Apr 2007 11:40:59 +0000 (11:40 -0000)]
revise tests so that `insinto /` does not trigger an error
svn path=/main/trunk/; revision=6401
Zac Medico [Sat, 14 Apr 2007 05:27:13 +0000 (05:27 -0000)]
Prefix the hardlink source with ${D} like we always have.
svn path=/main/trunk/; revision=6396
Mike Frysinger [Sat, 14 Apr 2007 02:04:53 +0000 (02:04 -0000)]
document new version suffix style #166522
svn path=/main/trunk/; revision=6395
Mike Frysinger [Sat, 14 Apr 2007 01:59:21 +0000 (01:59 -0000)]
create leading directories to match behavior of other do* programs
svn path=/main/trunk/; revision=6394
Mike Frysinger [Fri, 13 Apr 2007 19:19:25 +0000 (19:19 -0000)]
simplify unsafe file checking so files/paths with spaces dont cause troubles
svn path=/main/trunk/; revision=6392
Zac Medico [Fri, 13 Apr 2007 05:43:48 +0000 (05:43 -0000)]
Use relative paths inside ecompressdir in order to avoid 'Argument list too long' errors with large file sets (observed when installing sys-apps/man-pages).
svn path=/main/trunk/; revision=6388
Zac Medico [Fri, 13 Apr 2007 05:10:26 +0000 (05:10 -0000)]
Add CATEGORY to blacklisted variables since it can interfere with CATEGORY guessing inside doebuild.
svn path=/main/trunk/; revision=6386
Zac Medico [Fri, 13 Apr 2007 04:14:18 +0000 (04:14 -0000)]
Use catpkgsplit instead of pkgsplit for consistency with usage elsewhere.
svn path=/main/trunk/; revision=6384
Zac Medico [Fri, 13 Apr 2007 04:13:42 +0000 (04:13 -0000)]
Use a config instance that's not locked/immutable.
svn path=/main/trunk/; revision=6383
Mike Frysinger [Thu, 12 Apr 2007 13:10:00 +0000 (13:10 -0000)]
cleanup example ebuild to be more representative of a "good" ebuild #174260 by Timothy Redaelli
svn path=/main/trunk/; revision=6379
Zac Medico [Thu, 12 Apr 2007 04:14:36 +0000 (04:14 -0000)]
For bug #173808, add back the old heuristics to make sure that we don't just blindly compress the contents of any directory named "man".
svn path=/main/trunk/; revision=6371
Zac Medico [Tue, 10 Apr 2007 08:40:56 +0000 (08:40 -0000)]
For bug #173808, compress ${mandir} all in one go instead of doing subdirectories separately. This allows symlinks that point into sibling directories to get updated properly be ecompressdir.
svn path=/main/trunk/; revision=6362
Zac Medico [Tue, 10 Apr 2007 06:03:38 +0000 (06:03 -0000)]
Efficiently recycle partial valid vdb cache when possible. This reduces disk load when switching between versions of portage that cache different keys.
svn path=/main/trunk/; revision=6360
Zac Medico [Mon, 9 Apr 2007 17:18:22 +0000 (17:18 -0000)]
Don't load FEATURES in load_infodir() because FEATURES from the build host shouldn't be interpreted asFEATURES on the client system. Thanks to Thanks to Chri
svn path=/main/trunk/; revision=6358
Zac Medico [Mon, 9 Apr 2007 09:08:40 +0000 (09:08 -0000)]
Update the FEATURES=strict docs for better clarity. Thanks to taviso for reporting.
svn path=/main/trunk/; revision=6357
Zac Medico [Mon, 9 Apr 2007 02:45:43 +0000 (02:45 -0000)]
Cache NEEDED in order to optimize update_library_map() calls.
svn path=/main/trunk/; revision=6356
Zac Medico [Sun, 8 Apr 2007 19:36:54 +0000 (19:36 -0000)]
Only apply permissions to ccache, confcache, and distcc dirs when they are created in order to avoid interference with whatever the user's preferred permissions are. Thanks to Diego Pettenò <flameeyes@gmail.com> for reporting.
svn path=/main/trunk/; revision=6354
Mike Frysinger [Sat, 7 Apr 2007 08:32:35 +0000 (08:32 -0000)]
change "EXEDESTTREE" to "_E_EXEDESTTREE_" to try and prevent abuse from ebuild writers
svn path=/main/trunk/; revision=6351
Mike Frysinger [Sat, 7 Apr 2007 04:54:36 +0000 (04:54 -0000)]
remove references to EXEDESTTREE
svn path=/main/trunk/; revision=6350
Mike Frysinger [Sat, 7 Apr 2007 04:49:51 +0000 (04:49 -0000)]
document /var/cache/edb/, /var/db/pkg/, and /var/lib/portage/config
svn path=/main/trunk/; revision=6349
Mike Frysinger [Sat, 7 Apr 2007 04:35:32 +0000 (04:35 -0000)]
tell people that the FILES section is not supposed to be complete (and sneak in a few style fixups)
svn path=/main/trunk/; revision=6348
Mike Frysinger [Sat, 7 Apr 2007 04:32:47 +0000 (04:32 -0000)]
change "DOCDESTTREE" to "_E_DOCDESTTREE_" to try and prevent abuse from ebuild writers
svn path=/main/trunk/; revision=6347
Mike Frysinger [Sat, 7 Apr 2007 04:29:59 +0000 (04:29 -0000)]
remove references to DOCDESTTREE and INSDESTTREE
svn path=/main/trunk/; revision=6346
Zac Medico [Thu, 5 Apr 2007 22:27:54 +0000 (22:27 -0000)]
Provide a default value to the getattr call.
svn path=/main/trunk/; revision=6344
Zac Medico [Thu, 5 Apr 2007 21:34:46 +0000 (21:34 -0000)]
Make sure XARGS has a default value.
svn path=/main/trunk/; revision=6343
Zac Medico [Thu, 5 Apr 2007 21:29:45 +0000 (21:29 -0000)]
Don't force OS detection in the portage.data module.
svn path=/main/trunk/; revision=6342
Zac Medico [Thu, 5 Apr 2007 21:20:57 +0000 (21:20 -0000)]
Don't set os.environ["USERLAND"] inside portage.data and rely on USERLAND from the profile instead (bail out if necessary when USERLAND is unset).
svn path=/main/trunk/; revision=6341
Zac Medico [Thu, 5 Apr 2007 20:46:31 +0000 (20:46 -0000)]
Punt the sorted_versions() function in favor of list.sort(vercmp).
svn path=/main/trunk/; revision=6339
Zac Medico [Mon, 2 Apr 2007 19:43:59 +0000 (19:43 -0000)]
For bug #173184, handle the CommandNotFound that is produced during uninstallation of prelink.
svn path=/main/trunk/; revision=6332
Alec Warner [Sun, 1 Apr 2007 04:32:13 +0000 (04:32 -0000)]
I consulted the python oracle and it told me enumerate was better, so go team enumerate
svn path=/main/trunk/; revision=6330
Alec Warner [Sat, 31 Mar 2007 20:13:21 +0000 (20:13 -0000)]
drop line_count in favor of izip and count(), itertools FOR THE WIN baby.
svn path=/main/trunk/; revision=6329
Alec Warner [Sat, 31 Mar 2007 19:42:35 +0000 (19:42 -0000)]
After talking to marienz, decide that 1 class is better than 4, also realize that UserDict has most of the dict methods exposed, so drop them. Also add a LoaderError Exception. Still to do? add a validation callable into the loader to validate data.
svn path=/main/trunk/; revision=6328
Zac Medico [Sat, 31 Mar 2007 11:01:29 +0000 (11:01 -0000)]
Fix missing import.
svn path=/main/trunk/; revision=6325
Mike Frysinger [Fri, 30 Mar 2007 22:57:12 +0000 (22:57 -0000)]
make PDEPEND wording less restrictive #172511 and clarify install status wrt ||() as noted by ferringb
svn path=/main/trunk/; revision=6324
Zac Medico [Wed, 28 Mar 2007 22:40:05 +0000 (22:40 -0000)]
For bug #172571, use socket.AF_INET as the default family for socket.getaddrinfo().
svn path=/main/trunk/; revision=6321
Zac Medico [Wed, 28 Mar 2007 20:01:52 +0000 (20:01 -0000)]
spaces -> tabs
svn path=/main/trunk/; revision=6318
Zac Medico [Wed, 28 Mar 2007 19:59:49 +0000 (19:59 -0000)]
spaces -> tabs
svn path=/main/trunk/; revision=6317
Zac Medico [Wed, 28 Mar 2007 18:58:58 +0000 (18:58 -0000)]
For bug #172539, fix ecompressdir suffix handling so that automatic decompression of Z, gz, and bz2 suffixes works properly.
svn path=/main/trunk/; revision=6309
Zac Medico [Wed, 28 Mar 2007 17:14:58 +0000 (17:14 -0000)]
Correctly pull the metadata again when the node is converted.
svn path=/main/trunk/; revision=6307
Zac Medico [Wed, 28 Mar 2007 16:53:10 +0000 (16:53 -0000)]
Convert "ebuild" and "binary" "nomerge" nodes into "installed" nodes for greater consistency in the depgraph.
svn path=/main/trunk/; revision=6305
Zac Medico [Wed, 28 Mar 2007 08:58:08 +0000 (08:58 -0000)]
Synchronize PORTAGE_COMPRESS_FLAGS to reflect that -9 is the default now.
svn path=/main/trunk/; revision=6303
Zac Medico [Tue, 27 Mar 2007 22:49:53 +0000 (22:49 -0000)]
Properly anchor sed regexp for readlonly attribut filtering.
svn path=/main/trunk/; revision=6301
Zac Medico [Tue, 27 Mar 2007 22:32:45 +0000 (22:32 -0000)]
Filter the readonly attribute from variables saved in ${T}/environment to prevent 'readonly variable' error messages in later phases.
svn path=/main/trunk/; revision=6299
Zac Medico [Tue, 27 Mar 2007 22:22:40 +0000 (22:22 -0000)]
source ${T}/environment before the definition of qa_source() and qa_call() so that the call stack shows the original files and line numbers instead of those from ${T}/environment. Thanks to Markus Ullmann <jokey@gentoo.org> for reporting.
svn path=/main/trunk/; revision=6297
Zac Medico [Mon, 26 Mar 2007 20:09:35 +0000 (20:09 -0000)]
Continue to support profile masking at least until bug #170697 is settled.
svn path=/main/trunk/; revision=6292
Alec Warner [Mon, 26 Mar 2007 07:23:51 +0000 (07:23 -0000)]
minor name changes for bin tests, svn propset keywords Id stuff
svn path=/main/trunk/; revision=6291
Alec Warner [Mon, 26 Mar 2007 05:28:22 +0000 (05:28 -0000)]
fix broken PortageModule classes
svn path=/main/trunk/; revision=6290
Alec Warner [Mon, 26 Mar 2007 05:28:04 +0000 (05:28 -0000)]
fix tests for PortageModulesFile
svn path=/main/trunk/; revision=6289
Alec Warner [Mon, 26 Mar 2007 05:25:01 +0000 (05:25 -0000)]
clean up some init functions, add PortageModules class
svn path=/main/trunk/; revision=6288
Alec Warner [Mon, 26 Mar 2007 04:29:29 +0000 (04:29 -0000)]
fix some tests, break others
svn path=/main/trunk/; revision=6287
Alec Warner [Mon, 26 Mar 2007 04:17:26 +0000 (04:17 -0000)]
Fix insecure tempfile usage
svn path=/main/trunk/; revision=6286
Mike Frysinger [Sun, 25 Mar 2007 12:27:00 +0000 (12:27 -0000)]
fix grammar in error output
svn path=/main/trunk/; revision=6285
Zac Medico [Sun, 25 Mar 2007 09:56:58 +0000 (09:56 -0000)]
Verify the Manifest first even if there's only one package (prior to the fetch phase).
svn path=/main/trunk/; revision=6283
Zac Medico [Sun, 25 Mar 2007 07:15:46 +0000 (07:15 -0000)]
Do the "*" check as early as possible in config.getMissingLicenses().
svn path=/main/trunk/; revision=6282
Alec Warner [Sun, 25 Mar 2007 06:57:06 +0000 (06:57 -0000)]
split the loader classes into their own file, split the recursive filename grabbing out into it's own function
svn path=/main/trunk/; revision=6281
Alec Warner [Sun, 25 Mar 2007 05:55:29 +0000 (05:55 -0000)]
completely rewrite file bits, use Loader classes to push loading functionality down
svn path=/main/trunk/; revision=6280
Alec Warner [Sun, 25 Mar 2007 05:54:47 +0000 (05:54 -0000)]
Fix the rest of the tests
svn path=/main/trunk/; revision=6279
Zac Medico [Sat, 24 Mar 2007 22:44:28 +0000 (22:44 -0000)]
Verify all ebuild manifests before building anything now so that the user is notified of failure as soon as possible.
svn path=/main/trunk/; revision=6277
Zac Medico [Sat, 24 Mar 2007 21:42:26 +0000 (21:42 -0000)]
return from the merge task instead of calling sys.exit directly.
svn path=/main/trunk/; revision=6275
Zac Medico [Sat, 24 Mar 2007 21:38:35 +0000 (21:38 -0000)]
Allow the merge task to continue despite conflicts when --fetch-all-uri is specified.
svn path=/main/trunk/; revision=6273
Zac Medico [Sat, 24 Mar 2007 18:50:49 +0000 (18:50 -0000)]
For bug #172033, remove the obsolete QA Notice for man pages that are already compressed.
svn path=/main/trunk/; revision=6271
Zac Medico [Fri, 23 Mar 2007 02:55:04 +0000 (02:55 -0000)]
Clean up and simplify preference selection logic for bug #171840.
svn path=/main/trunk/; revision=6269
Zac Medico [Fri, 23 Mar 2007 01:25:55 +0000 (01:25 -0000)]
For bug #171840, consider all choices for slot intersection and promote those that have upgrades relative to other choices.
svn path=/main/trunk/; revision=6267
Zac Medico [Fri, 23 Mar 2007 00:15:42 +0000 (00:15 -0000)]
Ignore non-existent directories for bug #171809. This is required for readonly mode.
svn path=/main/trunk/; revision=6265
Zac Medico [Thu, 22 Mar 2007 08:41:25 +0000 (08:41 -0000)]
Add --verbose to the "for more help" message.
svn path=/main/trunk/; revision=6264
Mike Frysinger [Thu, 22 Mar 2007 07:37:54 +0000 (07:37 -0000)]
default --help should be usable, so make the extended output require --verbose
svn path=/main/trunk/; revision=6263
Zac Medico [Wed, 21 Mar 2007 00:49:41 +0000 (00:49 -0000)]
Fix a typo.
svn path=/main/trunk/; revision=6261
Zac Medico [Wed, 21 Mar 2007 00:14:35 +0000 (00:14 -0000)]
Pass a list of USE flags into config.getMissingLicenses() so that the method can eventually be used for binary packages in addition to ebuilds.
svn path=/main/trunk/; revision=6260
Zac Medico [Tue, 20 Mar 2007 22:08:41 +0000 (22:08 -0000)]
Add a docstring to config.getMissingLicenses().
svn path=/main/trunk/; revision=6259
Zac Medico [Tue, 20 Mar 2007 21:58:46 +0000 (21:58 -0000)]
Catch a potential InvalidDependString exception.
svn path=/main/trunk/; revision=6258
Zac Medico [Tue, 20 Mar 2007 20:38:34 +0000 (20:38 -0000)]
Fix cvstree import to avoid deprecation warning.
svn path=/main/trunk/; revision=6256
Zac Medico [Tue, 20 Mar 2007 20:06:56 +0000 (20:06 -0000)]
Pass missing acceptable_licenses parameter into recursive _getMissingLicenses() calls.
svn path=/main/trunk/; revision=6255
Zac Medico [Tue, 20 Mar 2007 20:00:10 +0000 (20:00 -0000)]
Appropriately return from _getMissingLicenses() if one of the choices is satisfied.
svn path=/main/trunk/; revision=6253
Zac Medico [Tue, 20 Mar 2007 09:52:15 +0000 (09:52 -0000)]
Implement license visibility filtering for GLEP 23, bug #17367, and bug #152593.
svn path=/main/trunk/; revision=6251
Mike Frysinger [Sun, 18 Mar 2007 20:39:17 +0000 (20:39 -0000)]
revert previous change since it is obviously incorrect as pointed out by grobian
svn path=/main/trunk/; revision=6247
Zac Medico [Sun, 18 Mar 2007 19:54:21 +0000 (19:54 -0000)]
Appropriately use globals() instead of locals() as suggested by marienz.
svn path=/main/trunk/; revision=6246
Zac Medico [Sun, 18 Mar 2007 07:40:11 +0000 (07:40 -0000)]
Never use listdir with both recursion=True and followSymlinks=True since it circular symlinks will lead to endless recursion loops. Thanks to Tobias Hahn <tobhahn@web.de> for this patch.
svn path=/main/trunk/; revision=6242
Zac Medico [Sun, 18 Mar 2007 00:25:43 +0000 (00:25 -0000)]
Use locals() instead of setattr to insert generated functions into the current module. Thanks to Brian Harring for the suggestion.
svn path=/main/trunk/; revision=6241
Mike Frysinger [Sat, 17 Mar 2007 21:52:26 +0000 (21:52 -0000)]
make sure we prefix all arguments with $D, including ones that dont start with a /
svn path=/main/trunk/; revision=6240
Zac Medico [Sat, 17 Mar 2007 09:20:33 +0000 (09:20 -0000)]
Call the base class destructor if it exists.
svn path=/main/trunk/; revision=6234
Zac Medico [Sat, 17 Mar 2007 08:41:35 +0000 (08:41 -0000)]
Add "bin" to testDirs.
svn path=/main/trunk/; revision=6233
Zac Medico [Sat, 17 Mar 2007 08:41:09 +0000 (08:41 -0000)]
Make paths independent of cwd.
svn path=/main/trunk/; revision=6232
Zac Medico [Sat, 17 Mar 2007 08:27:21 +0000 (08:27 -0000)]
Close /dev/null when finished.
svn path=/main/trunk/; revision=6231
Mike Frysinger [Sat, 17 Mar 2007 08:18:49 +0000 (08:18 -0000)]
start of framework for programs in portage bin
svn path=/main/trunk/; revision=6230
Mike Frysinger [Sat, 17 Mar 2007 08:07:22 +0000 (08:07 -0000)]
send stdout to /dev/null since we rely on the output of stdout here to determine the proper suffix #171212
svn path=/main/trunk/; revision=6229
Alec Warner [Sat, 17 Mar 2007 07:24:50 +0000 (07:24 -0000)]
bump ________foo from the TestCase class since _exc_info() doesn't do anything anyway
svn path=/main/trunk/; revision=6228
Alec Warner [Sat, 17 Mar 2007 07:11:40 +0000 (07:11 -0000)]
fix for older python who have oddly named __exc_info()
svn path=/main/trunk/; revision=6227
Zac Medico [Sat, 17 Mar 2007 03:47:08 +0000 (03:47 -0000)]
Use mkstemp to create a random tempfile.
svn path=/main/trunk/; revision=6226
Zac Medico [Sat, 17 Mar 2007 02:48:58 +0000 (02:48 -0000)]
Fix a broken test.
svn path=/main/trunk/; revision=6224
Zac Medico [Sat, 17 Mar 2007 02:47:09 +0000 (02:47 -0000)]
Fix broken exception handling.
svn path=/main/trunk/; revision=6223
Zac Medico [Sat, 17 Mar 2007 02:41:32 +0000 (02:41 -0000)]
Fix a typo.
svn path=/main/trunk/; revision=6222
Mike Frysinger [Sat, 17 Mar 2007 02:28:22 +0000 (02:28 -0000)]
forcibly break all hard links so we dont need to rely on --force in compressor and tweak the _relocate_skip_dirs() func to handle whitespace in paths (thanks to zmedico for tip)
svn path=/main/trunk/; revision=6221
Mike Frysinger [Sat, 17 Mar 2007 02:08:23 +0000 (02:08 -0000)]
redo compression so that it is queued up in src_install and then dequeued post src_install
svn path=/main/trunk/; revision=6220
Mike Frysinger [Fri, 16 Mar 2007 23:38:47 +0000 (23:38 -0000)]
drop the need for the force flag by default and just delete the existing files automatically #171007
svn path=/main/trunk/; revision=6219
Zac Medico [Fri, 16 Mar 2007 18:36:45 +0000 (18:36 -0000)]
Fix a utime call to prevent a timestamp collision for bug #171117.
svn path=/main/trunk/; revision=6217
Zac Medico [Fri, 16 Mar 2007 18:11:46 +0000 (18:11 -0000)]
For bug #171117, ensure that the new and old config have different timestamps (for the benefit of programs like rsync that need distiguishable timestamps to detect file changes). Thanks to Ben Bennett <sink@limey.net> for reporting.
svn path=/main/trunk/; revision=6215