summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix headers that contain $Header instead of $Id.Zac Medico2009-02-233-6/+6
| | | | svn path=/main/trunk/; revision=12701
* Inside summarylist(), it's possible for myglsa.packages.keys() to containZac Medico2009-02-211-1/+1
| | | | | | | | | | | | | unicode objects, which trigger and exception like this: File "//usr/lib64/portage/pym/portage/dep.py", line 535, in __init__ obj_setattr(self, x, getattr(s, x)) AttributeError: 'unicode' object has no attribute '__eq__' To solve this problem, convert unicode objects to plain str before passing them to the portage api. svn path=/main/trunk/; revision=12667
* Fix StringIO imports so that 2to3 can handle them. Also, replace shlex +Zac Medico2009-02-201-3/+3
| | | | | | StringIO usage with shlex.split() where appropriate. svn path=/main/trunk/; revision=12662
* For compatibility with python-3.0, open files in text mode where appropriate.Zac Medico2009-02-191-2/+2
| | | | svn path=/main/trunk/; revision=12642
* Use a regular expression for the file.name check. This replaces some oddZac Medico2009-02-191-15/+12
| | | | | | map() usage that 2to3 warns about. svn path=/main/trunk/; revision=12638
* For python-3.0 compatibility, raise a real exception instead of a string.Zac Medico2009-02-191-2/+2
| | | | svn path=/main/trunk/; revision=12635
* Bug #230483 - Convert glsa-check option parsing to use the optparse module.Zac Medico2009-02-191-93/+71
| | | | | | | This replaces some code which triggers a traceback from 2to3. Thanks to Ali Polatel <hawking@g.o> for this patch. svn path=/main/trunk/; revision=12634
* For compatibility with python-3.0, use isinstance() instead of type().Zac Medico2009-02-191-4/+0
| | | | svn path=/main/trunk/; revision=12633
* Set svn:keywords Id on all files.Zac Medico2009-02-182-2/+2
| | | | svn path=/main/trunk/; revision=12626
* Make save_ebuild_env() filter NOCOLOR, and remove related code from ebuild.shZac Medico2009-02-182-13/+1
| | | | | | since that variable is not loaded from $T/environment anymore. svn path=/main/trunk/; revision=12625
* unify code for unpacking of tar filesMike Frysinger2009-02-161-23/+13
| | | | svn path=/main/trunk/; revision=12620
* In dyn_package(), show a more informative die message if an error occurs whenZac Medico2009-02-151-1/+1
| | | | | | creating the tarball. svn path=/main/trunk/; revision=12618
* Automatically export QA_PRESTRIPPED if it's set. Thanks to Raúl PorcelZac Medico2009-02-141-0/+3
| | | | | | <armin76@g.o> for reporting. svn path=/main/trunk/; revision=12609
* Add a new "portage.internal" warning for prepalldocs usage since the councilZac Medico2009-02-121-0/+1
| | | | | | | ruled that it shouldn't be used in ebuilds. Thanks to Petteri Räty <betelgeuse@g.o> for the initial patch. svn path=/main/trunk/; revision=12603
* * Remove outdated comment about qa_source() return value (with typo).Zac Medico2009-02-121-2/+2
| | | | | | | * Update copyright header. Thanks to Jeremy Olexa <darkside@g.o> for reporting. svn path=/main/trunk/; revision=12602
* Add new EAPI 3_pre1 value, and disable unpack() support for *.xz for earlierZac Medico2009-02-091-4/+9
| | | | | | EAPI values. svn path=/main/trunk/; revision=12596
* Remove support for deprecated 2_pre* EAPI values.Zac Medico2009-02-091-3/+3
| | | | svn path=/main/trunk/; revision=12594
* add support for .xz compressed files like .lzmaMike Frysinger2009-02-081-0/+8
| | | | svn path=/main/trunk/; revision=12593
* Filter the new hasg and hasgq functions inside save_ebuild_env().Zac Medico2009-02-071-1/+2
| | | | svn path=/main/trunk/; revision=12592
* Escape globs in hasgq arguments in order to prevent bash from tryingZac Medico2009-02-071-3/+3
| | | | | | to perform filename expansion. svn path=/main/trunk/; revision=12591
* cleanup econf() code -- use hasg* funcs in multilib code to avoid ↵Mike Frysinger2009-02-071-49/+20
| | | | | | wrong/duplicate parsing methods, move all handling to "$@" to avoid duplication, and make sure we prepend arguments coming from the ebuild rather than append -- only EXTRA_ECONF from user should override things svn path=/main/trunk/; revision=12590
* fix previous commit -- hasq isnt as cool as i thought and doesnt accept ↵Mike Frysinger2009-02-071-1/+7
| | | | | | globs, so define a new hasg() func that does and use that svn path=/main/trunk/; revision=12589
* fix --libdir detection when econf is passed whitespace/empty arguments ... ↵Mike Frysinger2009-02-071-1/+1
| | | | | | those break the plain string expansion comparison svn path=/main/trunk/; revision=12588
* Use portage.util.cmp_sort_key for python-3.0 compatibility.Zac Medico2009-02-031-2/+2
| | | | svn path=/main/trunk/; revision=12573
* - hardened gets way to many misfiled bugs related to qa-execstack. Make it ↵Ned Ludd2009-01-281-0/+2
| | | | | | clear that bugs go to the maintainers of the pkg and not hardened for fun and profit svn path=/main/trunk/; revision=12559
* Add messages before and after the src_prepare phase. Thanks to Arfrever forZac Medico2009-01-251-0/+2
| | | | | | this patch. svn path=/main/trunk/; revision=12555
* Bug #255358 - Add new RDEPEND.implicit warning to detect the caes where DEPENDZac Medico2009-01-181-0/+2
| | | | | | | is set and RDEPEND is unset in the ebuild, since this triggers implicit RDEPEND=$DEPEND assignment. svn path=/main/trunk/; revision=12529
* Fix false positive in the 'unused local USE-description' warning. Thanks toZac Medico2009-01-161-1/+1
| | | | | | Alexis Ballier <aballier@g.o> for reporting. svn path=/main/trunk/; revision=12524
* Identify which package has unused local USE descriptions, in case more thanZac Medico2009-01-161-1/+2
| | | | | | one package is being scanned. Thanks to Thomas Sachau <tommy@g.o> for reporting. svn path=/main/trunk/; revision=12523
* Drop the kernel version from the commit message for all platforms. Thanks toZac Medico2009-01-141-2/+0
| | | | | | Fabian Groffen <grobian@g.o> for the suggestion. svn path=/main/trunk/; revision=12519
* Don't show the running Linux kernel version in the commit message, since itZac Medico2009-01-141-1/+3
| | | | | | | might leak information that would be useful to attackers. Thanks to Ned Ludd <solar@g.o> for the suggestion. svn path=/main/trunk/; revision=12518
* Fix a TypeError which occurs in pretend commit mode when vcs is None. ThanksZac Medico2009-01-111-1/+6
| | | | | | to Fabian Groffen <grobian@g.o> for reporting. svn path=/main/trunk/; revision=12426
* Add a new 'metadata.warning' category and a check which detects local USEZac Medico2009-01-101-0/+12
| | | | | | | descriptions that are not used in any ebuilds. Thanks to Markus Meier <maekke@g.o> for the initial patch. svn path=/main/trunk/; revision=12413
* Make die() to show a message indicating the repository that an ebuild cameZac Medico2009-01-091-1/+13
| | | | | | | | from, and do it during any phase for both ebuilds and binary packages. Now PORTAGE_REPO_NAME is initialized inside config.setcpv() for both ebuilds and binary packages, so it's always available inside ebuild.sh. svn path=/main/trunk/; revision=12402
* Add some blank lines around the messages that suggest --without-mask andZac Medico2009-01-081-5/+16
| | | | | | --include-dev. Thanks to Ryan Hill <dirtyepic@g.o> for the suggestion. svn path=/main/trunk/; revision=12400
* Bug #250469 - Fix unpack() so that deb2targz is called in a way such thatZac Medico2009-01-071-3/+17
| | | | | | $DISTDIR write access is not required. svn path=/main/trunk/; revision=12389
* For completeness, ensure that any INODE_* are unset before beginning.Zac Medico2009-01-071-0/+2
| | | | svn path=/main/trunk/; revision=12387
* Fix quoting for variable assignment with eval, from previous commit.Zac Medico2009-01-071-1/+1
| | | | svn path=/main/trunk/; revision=12386
* Bug #252354 - Ensure that hardlinked files are not processed multiple timesZac Medico2009-01-071-5/+22
| | | | | | when necessary. svn path=/main/trunk/; revision=12385
* Bug #253336 - Set PORTAGE_VERBOSE=1 so that files are displayed as they areZac Medico2009-01-031-0/+2
| | | | | | merge. svn path=/main/trunk/; revision=12376
* - tell the user where we unpacked the sourceNed Ludd2009-01-021-1/+1
| | | | svn path=/main/trunk/; revision=12375
* export STRIP_MASK automaticallyMike Frysinger2009-01-011-0/+1
| | | | svn path=/main/trunk/; revision=12374
* dont force people to match leading $D in STRIP_MASKMike Frysinger2009-01-011-1/+1
| | | | svn path=/main/trunk/; revision=12373
* Handle tree conflicts in svn status output, new in subversion 1.6. Thanks toZac Medico2008-12-291-0/+3
| | | | | | Arfrever Frehtes Taifersar Arahesis for reporting. svn path=/main/trunk/; revision=12368
* Fix 'TypeError: not all arguments converted during string formatting'Zac Medico2008-12-291-2/+2
| | | | | | | triggered by repoman -v. Thanks to Javier Villavicencio <the_paya@g.o> for reporting. svn path=/main/trunk/; revision=12366
* Bug #253002 - Add a new variable.invalidchar check for metadata variables thatZac Medico2008-12-291-0/+14
| | | | | | contain characters that are not part of the ASCII character set. svn path=/main/trunk/; revision=12365
* Bug #252727 - Use `git diff-index --name-only --diff-filter=M HEAD` insteadZac Medico2008-12-281-7/+18
| | | | | | | | | of `git ls-files -m --with-tree=HEAD` since the latter doesn't behave like we want for files that have been added to the index. Also, use `git diff-index` instead of `git diff` since the latter is considered a high-level "porcelain" command which means that it's interface may not be reliable. svn path=/main/trunk/; revision=12359
* Bail out earlier if the file name argument doesn't end with '.ebuild'. ThanksZac Medico2008-12-261-0/+6
| | | | | | to Diego 'Flameeyes' Pettenò for reporting. svn path=/main/trunk/; revision=12350
* scan archives of objects for exec stacksMike Frysinger2008-12-251-3/+3
| | | | svn path=/main/trunk/; revision=12345
* Bug #252374 - Warn if FEATURES=fakeroot is enabled, but the fakeroot binaryZac Medico2008-12-241-0/+1
| | | | | | is not installed. svn path=/main/trunk/; revision=12301