gentoolkit.git
14 years agoMerge from genscripts r456: douglasjanderson
fuzzyray [Wed, 22 Sep 2010 20:37:14 +0000 (20:37 -0000)]
Merge from genscripts r456: douglasjanderson
Revert r430 and fix the problem within the existing code without relying on
pkgsplit (it's slow); adds test case to catch the problem and future
regressions. Bug #316961

Merge from genscripts r433: brian.dolbec
fix a regression due to pkgsplit returning '-r0'.

Merge from genscripts r430: brian.dolbec
fix bug 316961. commented out the pkgname validation due to a false result. Why
is it necessary anyway?

svn path=/trunk/gentoolkit/; revision=801

14 years agoMerge from genscripts r447: brian.dolbec
fuzzyray [Wed, 22 Sep 2010 20:25:39 +0000 (20:25 -0000)]
Merge from genscripts r447: brian.dolbec
Update the eclean manpage with the additional options.
Fix a few grammar mistakes.
Add a section explaining the new deprecated pkg reporting.

svn path=/trunk/gentoolkit/; revision=800

14 years agoReplace portage.db[/] with portage.db[portage.root] so that root is not hardcoded
fuzzyray [Thu, 13 May 2010 16:07:10 +0000 (16:07 -0000)]
Replace portage.db[/] with portage.db[portage.root] so that root is not hardcoded

svn path=/trunk/gentoolkit/; revision=782

14 years agoeclean/cli.py: Fix typo, bug 319349, thanks to Ulrich Müller <ulm@gentoo.org>.
idl0r [Thu, 13 May 2010 00:17:40 +0000 (00:17 -0000)]
eclean/cli.py: Fix typo, bug 319349, thanks to Ulrich Müller <ulm@gentoo.org>.

svn path=/trunk/gentoolkit/; revision=781

14 years agorevdep-rebuild: Make revdep-rebuild more quiet, bug 97073. We might
idl0r [Thu, 6 May 2010 00:25:29 +0000 (00:25 -0000)]
revdep-rebuild: Make revdep-rebuild more quiet, bug 97073. We might
improve that a bit more in the future.

svn path=/trunk/gentoolkit/; revision=780

14 years agoRestore follow symlinks option (-L) to the find /var/db/pkg command so that revdep...
fuzzyray [Wed, 28 Apr 2010 14:53:44 +0000 (14:53 -0000)]
Restore follow symlinks option (-L) to the find /var/db/pkg command so that revdep-rebuild works even when /var/db/pkg is a symlink. (Bug #317571)

svn path=/trunk/gentoolkit/; revision=777

14 years agoeuse: Make python code of euse python-3 compatible, thanks to Arfrever
idl0r [Sat, 17 Apr 2010 19:27:08 +0000 (19:27 -0000)]
euse: Make python code of euse python-3 compatible, thanks to Arfrever
Frehtes Taifersar Arahesis <arfrever@gentoo.org>.

svn path=/trunk/gentoolkit/; revision=775

14 years agoDocument --format option for equery
fuzzyray [Mon, 12 Apr 2010 04:17:52 +0000 (04:17 -0000)]
Document --format option for equery

svn path=/trunk/gentoolkit/; revision=774

14 years agoeuse: Fix check for /etc/make.profile.
idl0r [Sun, 11 Apr 2010 18:07:15 +0000 (18:07 -0000)]
euse: Fix check for /etc/make.profile.
Check if its readable and a directory instead of checking if its a link,
thanks to Phillip Brink (ohnobinki) <ohnobinki@ohnopublishing.net>.

svn path=/trunk/gentoolkit/; revision=772

14 years agoFix spelling of deprecation
fuzzyray [Thu, 8 Apr 2010 21:41:55 +0000 (21:41 -0000)]
Fix spelling of deprecation

svn path=/trunk/gentoolkit/; revision=771

14 years agoChange AttributeError to ImportError when trying to import EPREFIX
fuzzyray [Thu, 8 Apr 2010 21:31:06 +0000 (21:31 -0000)]
Change AttributeError to ImportError when trying to import EPREFIX

svn path=/trunk/gentoolkit/; revision=770

14 years agoFix bad indentation
fuzzyray [Thu, 8 Apr 2010 21:19:35 +0000 (21:19 -0000)]
Fix bad indentation

svn path=/trunk/gentoolkit/; revision=769

14 years agoSync with genscripts rev 422, includes fixes to eclean and python additions for prefix
fuzzyray [Thu, 8 Apr 2010 21:13:07 +0000 (21:13 -0000)]
Sync with genscripts rev 422, includes fixes to eclean and python additions for prefix

svn path=/trunk/gentoolkit/; revision=768

14 years agoeuse: Fix query to get USE, bug 181309, thanks to Jean-Baptiste Rouault
idl0r [Tue, 6 Apr 2010 21:23:46 +0000 (21:23 -0000)]
euse: Fix query to get USE, bug 181309, thanks to Jean-Baptiste Rouault
<jbrouault@gmail.com>.

svn path=/trunk/gentoolkit/; revision=767

14 years agorevdep-rebuild: Use EMERGE_OPTIONS _after_ EMERGE_DEFAULT_OPTS to allow overwriting, gentoolkit-0.3.0_rc10
idl0r [Thu, 1 Apr 2010 15:03:35 +0000 (15:03 -0000)]
revdep-rebuild: Use EMERGE_OPTIONS _after_ EMERGE_DEFAULT_OPTS to allow overwriting,
bug 307023, thanks to Albert W. Hopkins <marduk@python.net>.

svn path=/trunk/gentoolkit/; revision=765

14 years agoFix link to testdistfiles.tar.gz.
idl0r [Thu, 1 Apr 2010 14:41:20 +0000 (14:41 -0000)]
Fix link to testdistfiles.tar.gz.

svn path=/trunk/gentoolkit/; revision=764

14 years agorevdep-rebuild: Check if $ERRORS_FILE exist before running gawk on it.
idl0r [Wed, 31 Mar 2010 16:56:01 +0000 (16:56 -0000)]
revdep-rebuild: Check if $ERRORS_FILE exist before running gawk on it.

svn path=/trunk/gentoolkit/; revision=763

14 years agoepkginfo: Fix epkginfo to handle ambiguous package names.
idl0r [Wed, 31 Mar 2010 12:45:41 +0000 (12:45 -0000)]
epkginfo: Fix epkginfo to handle ambiguous package names.

svn path=/trunk/gentoolkit/; revision=762

14 years agoMerge genscripts rev 413
fuzzyray [Fri, 26 Mar 2010 14:23:29 +0000 (14:23 -0000)]
Merge genscripts rev 413

svn path=/trunk/gentoolkit/; revision=758

14 years agoMerge genscripts rev 410.
fuzzyray [Thu, 25 Mar 2010 19:25:28 +0000 (19:25 -0000)]
Merge genscripts rev 410.

svn path=/trunk/gentoolkit/; revision=757

14 years agoMerge genscripts rev 406
fuzzyray [Wed, 24 Mar 2010 15:21:58 +0000 (15:21 -0000)]
Merge genscripts rev 406

svn path=/trunk/gentoolkit/; revision=756

14 years agoUpdate to genscripts rev 382. This has more fixes for py3k and the modular rewrite...
fuzzyray [Fri, 12 Mar 2010 21:44:29 +0000 (21:44 -0000)]
Update to genscripts rev 382. This has more fixes for py3k and the modular rewrite of eclean.

svn path=/trunk/gentoolkit/; revision=755

14 years agoRemove stray analyse script
fuzzyray [Fri, 12 Mar 2010 20:50:13 +0000 (20:50 -0000)]
Remove stray analyse script

svn path=/trunk/gentoolkit/; revision=754

14 years agosync with genscripts rev 343. This adds the initial py3k support and the analyse...
fuzzyray [Tue, 9 Mar 2010 16:42:04 +0000 (16:42 -0000)]
sync with genscripts rev 343. This adds the initial py3k support and the analyse utility to gentoolkit

svn path=/trunk/gentoolkit/; revision=751

14 years agoglsa-check: hide non-vuln glsas in quiet mode
vapier [Sun, 7 Mar 2010 01:37:57 +0000 (01:37 -0000)]
glsa-check: hide non-vuln glsas in quiet mode

svn path=/trunk/gentoolkit/; revision=750

14 years agoFix VERSION string caused by previous patching
fuzzyray [Mon, 1 Mar 2010 21:17:11 +0000 (21:17 -0000)]
Fix VERSION string caused by previous patching

svn path=/trunk/gentoolkit/; revision=749

14 years agoFix missing quotation mark
fuzzyray [Mon, 1 Mar 2010 20:09:25 +0000 (20:09 -0000)]
Fix missing quotation mark

svn path=/trunk/gentoolkit/; revision=748

14 years agoFix extended regular expression support in revdep-rebuild
fuzzyray [Mon, 1 Mar 2010 19:21:30 +0000 (19:21 -0000)]
Fix extended regular expression support in revdep-rebuild

svn path=/trunk/gentoolkit/; revision=747

14 years agoRemove setup.py set_version steps, since this is now run by the ebuild
fuzzyray [Mon, 1 Mar 2010 19:20:32 +0000 (19:20 -0000)]
Remove setup.py set_version steps, since this is now run by the ebuild

svn path=/trunk/gentoolkit/; revision=746

14 years agoKeep sed from complaining when the directory in an include directory is empty
fuzzyray [Mon, 15 Feb 2010 19:26:34 +0000 (19:26 -0000)]
Keep sed from complaining when the directory in an include directory is empty

svn path=/trunk/gentoolkit/; revision=742

14 years agoUpdate revdep-rebuild to use extended regular expressions instead of basic regular...
fuzzyray [Fri, 5 Feb 2010 20:57:56 +0000 (20:57 -0000)]
Update revdep-rebuild to use extended regular expressions instead of basic regular expressions. (Bug 143498)

svn path=/trunk/gentoolkit/; revision=740

14 years agoFix revdep-rebuild to parse include statements in /etc/ld.so.conf (Bug 298651). It...
fuzzyray [Thu, 4 Feb 2010 15:59:37 +0000 (15:59 -0000)]
Fix revdep-rebuild to parse include statements in /etc/ld.so.conf (Bug 298651). It will break with spaces in paths, so it needs a little bit more work before release.

svn path=/trunk/gentoolkit/; revision=739

14 years agoMerge genscripts revision 191
fuzzyray [Tue, 2 Feb 2010 17:06:55 +0000 (17:06 -0000)]
Merge genscripts revision 191

svn path=/trunk/gentoolkit/; revision=737

14 years agoCheck for eerror in die() since an invalid option(long) or
idl0r [Sun, 31 Jan 2010 11:48:05 +0000 (11:48 -0000)]
Check for eerror in die() since an invalid option(long) or
missing arg will end up in calling die() before /etc/init.d/functions.sh
has been sourced.

svn path=/trunk/gentoolkit/; revision=735

14 years agoSet environment using 'portageq -v' (Bug 300229)
fuzzyray [Mon, 11 Jan 2010 16:36:38 +0000 (16:36 -0000)]
Set environment using 'portageq -v' (Bug 300229)

svn path=/trunk/gentoolkit/; revision=734

14 years agoMerge genscripts rev 146. This changes the unknown masking status in equery list...
fuzzyray [Fri, 8 Jan 2010 21:46:01 +0000 (21:46 -0000)]
Merge genscripts rev 146. This changes the unknown masking status in equery list to [??] instead of [XX]. Bug 273096

svn path=/trunk/gentoolkit/; revision=733

14 years agoFix epkginfo to not traceback if herds.xml is not in the tree
fuzzyray [Fri, 8 Jan 2010 21:38:33 +0000 (21:38 -0000)]
Fix epkginfo to not traceback if herds.xml is not in the tree

svn path=/trunk/gentoolkit/; revision=732

14 years agoUpdate Copyright date headers
fuzzyray [Thu, 7 Jan 2010 22:28:36 +0000 (22:28 -0000)]
Update Copyright date headers

svn path=/trunk/gentoolkit/; revision=731

14 years agoMerge genscripts revision 144, contains fixes for Bug 299260
fuzzyray [Wed, 6 Jan 2010 15:54:37 +0000 (15:54 -0000)]
Merge genscripts revision 144, contains fixes for Bug 299260

svn path=/trunk/gentoolkit/; revision=729

15 years agoRevert part of last fix, since it broke pipe detectionand caused a traceback
fuzzyray [Thu, 17 Dec 2009 22:08:34 +0000 (22:08 -0000)]
Revert part of last fix, since it broke pipe detectionand caused a traceback

svn path=/trunk/gentoolkit/; revision=728

15 years agoFix equery --no-pipe to work correctly
fuzzyray [Thu, 17 Dec 2009 20:03:35 +0000 (20:03 -0000)]
Fix equery --no-pipe to work correctly

svn path=/trunk/gentoolkit/; revision=727

15 years agoFix typo in equery man page
fuzzyray [Thu, 17 Dec 2009 19:08:37 +0000 (19:08 -0000)]
Fix typo in equery man page

svn path=/trunk/gentoolkit/; revision=726

15 years agoFix revdep-rebuild to properly honor PORTAGE_NICENESS as an incremental to the curren...
fuzzyray [Thu, 17 Dec 2009 15:36:54 +0000 (15:36 -0000)]
Fix revdep-rebuild to properly honor PORTAGE_NICENESS as an incremental to the current nice level. (Bug 297174)

svn path=/trunk/gentoolkit/; revision=724

15 years agoReplace epkginfo with 'equery meta'. The original script is available in the deprecat...
fuzzyray [Mon, 14 Dec 2009 19:56:11 +0000 (19:56 -0000)]
Replace epkginfo with 'equery meta'. The original script is available in the deprecated directory in the gentoolkit repository

svn path=/trunk/gentoolkit/; revision=723

15 years agoMerge genscripts rev 137, this revision makes the output of equery meta compatible...
fuzzyray [Mon, 14 Dec 2009 19:37:49 +0000 (19:37 -0000)]
Merge genscripts rev 137, this revision makes the output of equery meta compatible with epkginfo

svn path=/trunk/gentoolkit/; revision=722

15 years agoMerge genscripts rev 130
fuzzyray [Fri, 11 Dec 2009 17:15:35 +0000 (17:15 -0000)]
Merge genscripts rev 130

svn path=/trunk/gentoolkit/; revision=721

15 years agoMerge genscripts rev 123, this unifies the get_env_var/get_env_vars methods as one...
fuzzyray [Fri, 11 Dec 2009 03:02:15 +0000 (03:02 -0000)]
Merge genscripts rev 123, this unifies the get_env_var/get_env_vars methods as one method called environment

svn path=/trunk/gentoolkit/; revision=719

15 years agoMerge genscripts rev 122 to fix equery list --duplicates traceback
fuzzyray [Thu, 10 Dec 2009 22:12:24 +0000 (22:12 -0000)]
Merge genscripts rev 122 to fix equery list --duplicates traceback

svn path=/trunk/gentoolkit/; revision=718

15 years agoWorkaround for bug 280341.
idl0r [Thu, 10 Dec 2009 21:37:38 +0000 (21:37 -0000)]
Workaround for bug 280341.
Use maxcount option for grep when looking for file owner.

svn path=/trunk/gentoolkit/; revision=717

15 years agoMerge changes from genscripts rev 121 to fix various tracebacks
fuzzyray [Thu, 10 Dec 2009 21:21:13 +0000 (21:21 -0000)]
Merge changes from genscripts rev 121 to fix various tracebacks

svn path=/trunk/gentoolkit/; revision=716

15 years agoRemove reference to blog.tacvbo.net
fuzzyray [Thu, 10 Dec 2009 20:28:15 +0000 (20:28 -0000)]
Remove reference to blog.tacvbo.net

svn path=/trunk/gentoolkit/; revision=715

15 years agoRemove unneeded Makefile and VERSION files. That functionality is now handled by...
fuzzyray [Thu, 10 Dec 2009 15:29:48 +0000 (15:29 -0000)]
Remove unneeded Makefile and VERSION files. That functionality is now handled by distutils

svn path=/trunk/gentoolkit/; revision=714

15 years agoRemove tests, since it was renamed test
fuzzyray [Thu, 10 Dec 2009 15:28:04 +0000 (15:28 -0000)]
Remove tests, since it was renamed test

svn path=/trunk/gentoolkit/; revision=713

15 years agoMerge with rev 120 from the genscripts repo
fuzzyray [Thu, 10 Dec 2009 15:21:04 +0000 (15:21 -0000)]
Merge with rev 120 from the genscripts repo

svn path=/trunk/gentoolkit/; revision=712

15 years agoMerge rev 119 from genscripts repository which contains the first cut at making equer...
fuzzyray [Wed, 9 Dec 2009 22:02:08 +0000 (22:02 -0000)]
Merge rev 119 from genscripts repository which contains the first cut at making equery meta output look like epkginfo

svn path=/trunk/gentoolkit/; revision=711

15 years agoUpdate usage statement to contain version and copyright information
fuzzyray [Wed, 9 Dec 2009 20:35:35 +0000 (20:35 -0000)]
Update usage statement to contain version and copyright information

svn path=/trunk/gentoolkit/; revision=710

15 years agoUpdated README.dev, with gentoo specific instructions
fuzzyray [Wed, 9 Dec 2009 20:07:50 +0000 (20:07 -0000)]
Updated README.dev, with gentoo specific instructions

svn path=/trunk/gentoolkit/; revision=709

15 years agoModify setup.py to run set_version correctly on revdep-rebuild
fuzzyray [Wed, 9 Dec 2009 20:07:17 +0000 (20:07 -0000)]
Modify setup.py to run set_version correctly on revdep-rebuild

svn path=/trunk/gentoolkit/; revision=708

15 years agohelpers2.py has been move to helpers.py and helpers.py has been moved to deprecated...
fuzzyray [Wed, 9 Dec 2009 19:07:50 +0000 (19:07 -0000)]
helpers2.py has been move to helpers.py and helpers.py has been moved to deprecated/helpers.py

svn path=/trunk/gentoolkit/; revision=707

15 years agoFix equery meta to not remove the first package from the list of matching packages
fuzzyray [Wed, 9 Dec 2009 18:54:19 +0000 (18:54 -0000)]
Fix equery meta to not remove the first package from the list of matching packages

svn path=/trunk/gentoolkit/; revision=706

15 years agoAdd DEVELOPING file, based upon the file from portage
fuzzyray [Wed, 9 Dec 2009 16:26:43 +0000 (16:26 -0000)]
Add DEVELOPING file, based upon the file from portage

svn path=/trunk/gentoolkit/; revision=705

15 years agoFix bug with epkginfo not displaying keywords correctly for highest visible version
fuzzyray [Tue, 8 Dec 2009 22:26:43 +0000 (22:26 -0000)]
Fix bug with epkginfo not displaying keywords correctly for highest visible version

svn path=/trunk/gentoolkit/; revision=704

15 years agoMerge rev 113 from djanderson's genscripts repo
fuzzyray [Tue, 8 Dec 2009 21:53:45 +0000 (21:53 -0000)]
Merge rev 113 from djanderson's genscripts repo

svn path=/trunk/gentoolkit/; revision=703

15 years agoSpeedup portageq queries. Include FuzzyRay's patch to respect EMERGE_DEFAULT_OPTS.
idl0r [Fri, 30 Oct 2009 14:02:08 +0000 (14:02 -0000)]
Speedup portageq queries. Include FuzzyRay's patch to respect EMERGE_DEFAULT_OPTS.

svn path=/trunk/gentoolkit/; revision=697

15 years agoUse realpath in get_file_owner to be able to get the package containing e.g. /lib...
idl0r [Wed, 28 Oct 2009 20:48:11 +0000 (20:48 -0000)]
Use realpath in get_file_owner to be able to get the package containing e.g. /lib/libreadline.so.6 on amd64, fixes bug 280341.

svn path=/trunk/gentoolkit/; revision=696

15 years ago* revdep-rebuild.1: Fix bug 281050, thanks to Jesús Guerrero <i92guboj@gentoo.org>.
idl0r [Tue, 27 Oct 2009 18:44:33 +0000 (18:44 -0000)]
* revdep-rebuild.1: Fix bug 281050, thanks to Jesús Guerrero <i92guboj@gentoo.org>.

svn path=/trunk/gentoolkit/; revision=695

15 years agoFix bug 248844, thanks to J M W <ultip@ymail.com>.
idl0r [Mon, 26 Oct 2009 21:49:22 +0000 (21:49 -0000)]
Fix bug 248844, thanks to J M W <ultip@ymail.com>.

svn path=/trunk/gentoolkit/; revision=694

15 years agoUpdate ChangeLog :)
idl0r [Mon, 26 Oct 2009 08:52:01 +0000 (08:52 -0000)]
Update ChangeLog :)

svn path=/trunk/gentoolkit/; revision=692

15 years agoDon't add an additional new line at the end of file.
idl0r [Mon, 26 Oct 2009 08:47:45 +0000 (08:47 -0000)]
Don't add an additional new line at the end of file.

svn path=/trunk/gentoolkit/; revision=691

15 years agoRemove 'new' target from glsa-list
rbu [Tue, 18 Aug 2009 18:25:59 +0000 (18:25 -0000)]
Remove 'new' target from glsa-list

Everyone should use 'affected' or 'all'
Update man page and changelog

svn path=/trunk/gentoolkit/; revision=672

15 years agogetminupgrade: fix documentation and backtrace
rbu [Tue, 18 Aug 2009 17:47:32 +0000 (17:47 -0000)]
getminupgrade: fix documentation and backtrace

Bug 281101: Fix a backtrace introduced in r647. in getminupgrade the
rValue variable was still leftover and was used in a check when
glsa-check was run in --emergelike mode and more than one upgrade atoms
existed.

Also, update the API documentation to reflect changes back then.

svn path=/trunk/gentoolkit/; revision=671

15 years agoMake --pretend output in glsa-check nicer. Add colors and fix linebreaks.
rbu [Tue, 18 Aug 2009 17:47:20 +0000 (17:47 -0000)]
Make --pretend output in glsa-check nicer. Add colors and fix linebreaks.

svn path=/trunk/gentoolkit/; revision=670

15 years agoFix traceback with glsa-check -f (Bug 275105)
fuzzyray [Mon, 22 Jun 2009 20:45:49 +0000 (20:45 -0000)]
Fix traceback with glsa-check -f (Bug 275105)

svn path=/trunk/gentoolkit/; revision=665

15 years agoAdd patch from Sebastian Mingramm to Make epkginfo slot aware and only print keywords... gentoolkit-0.3.0_rc7
fuzzyray [Sat, 6 Jun 2009 02:54:19 +0000 (02:54 -0000)]
Add patch from Sebastian Mingramm to Make epkginfo slot aware and only print keywords for the highest visible versions in each slot. (Bug 232635)

svn path=/trunk/gentoolkit/; revision=662

15 years agoUpdate with rev 9 from the genscripts repo
fuzzyray [Thu, 4 Jun 2009 23:28:51 +0000 (23:28 -0000)]
Update with rev 9 from the genscripts repo

svn path=/trunk/gentoolkit/; revision=661

15 years agoAdd copyright information from original pkgcore.ebuild.atom_restricts package
fuzzyray [Thu, 4 Jun 2009 00:14:38 +0000 (00:14 -0000)]
Add copyright information from original pkgcore.ebuild.atom_restricts package

svn path=/trunk/gentoolkit/; revision=660

15 years agoApply updates from genscripts repo
fuzzyray [Wed, 3 Jun 2009 23:04:31 +0000 (23:04 -0000)]
Apply updates from genscripts repo

svn path=/trunk/gentoolkit/; revision=659

15 years agoUse elementtree instead of minidom for parsing
rbu [Tue, 26 May 2009 09:16:27 +0000 (09:16 -0000)]
Use elementtree instead of minidom for parsing

This will speed up glsa-check by a factor of 2-3 and also solves
bug 231146, missing characters in output.

svn path=/trunk/gentoolkit/; revision=654

15 years agoMerge "Fixed bug 256013 and bug 256103, thanks to William Arlofski, Michael A. Smith...
rbu [Mon, 25 May 2009 21:44:52 +0000 (21:44 -0000)]
Merge "Fixed bug 256013 and bug 256103, thanks to William Arlofski, Michael A. Smith and Andrey Kislyuk. Whitespace."

This was r579 by idl0r, but applied to the wrong paths in trunk.

From: idl0r <idl0r@e84c3a59-eaf8-0310-85df-8a9fcd7b4891>
Date: Mon, 4 May 2009 22:10:26 +0000
Subject: Fixed bug 256013 and bug 256103, thanks to William Arlofski,
Michael A. Smith and Andrey Kislyuk. Whitespace.

 git-svn-id:
 svn://anonsvn.gentoo.org/gentoolkit/trunk/src/glsa-check@579
 e84c3a59-eaf8-0310-85df-8a9fcd7b4891

svn path=/trunk/gentoolkit/; revision=653

15 years agoMake bin files executable
rbu [Mon, 25 May 2009 21:43:31 +0000 (21:43 -0000)]
Make bin files executable

svn path=/trunk/gentoolkit/; revision=652

15 years agoChange /etc/gentoolkit-version to /usr/share/gentoolkit/VERSION
fuzzyray [Thu, 21 May 2009 01:57:59 +0000 (01:57 -0000)]
Change /etc/gentoolkit-version to /usr/share/gentoolkit/VERSION

svn path=/trunk/gentoolkit/; revision=651

15 years agoUpdate Changelog for changes to glsa-check
fuzzyray [Wed, 20 May 2009 21:59:25 +0000 (21:59 -0000)]
Update Changelog for changes to glsa-check

svn path=/trunk/gentoolkit/; revision=650

15 years agoDo not inject GLSAs into the checkfile when fixing them
fuzzyray [Wed, 20 May 2009 21:53:30 +0000 (21:53 -0000)]
Do not inject GLSAs into the checkfile when fixing them

There is no reason applied GLSAs must be stored in a checkfile. In the
current glsa-check GUI this will make it impossible to determine whether
the system is still affected by the GLSA (e.g. by re-emerging, or when a
GLSA is changed afterwards).

The current place for the checkfile (/var/cache) is not persistent per
FHS, meaning that people might clean out the contents of their injected
GLSAs. Since glsa.py is moving to portage anyway, we can use
/var/lib/portage as a place to store the injected GLSAs. Documentation
has been updated accordingly.

Note that the old checkfile should not be moved to the previous location
on upgrade since this will cause false negatives due to the above
arguments. A message should appear on upgrade (pkg_postinst or similar).

svn path=/trunk/gentoolkit/; revision=649

15 years agoRestructure system affection detection.
fuzzyray [Wed, 20 May 2009 21:49:39 +0000 (21:49 -0000)]
Restructure system affection detection.

Store "vulnerable" and "upgrade" packages in a table, and use that
data to determine which packages cannot be upgraded, and which
packages actually cause upgrades

svn path=/trunk/gentoolkit/; revision=648

15 years agoChange behaviour of getMinUpgrade
fuzzyray [Wed, 20 May 2009 21:46:46 +0000 (21:46 -0000)]
Change behaviour of getMinUpgrade

This allows to differentiate between situations where
the system is unaffected and unexistance of an upgrade path.

Previously, the glsa-check would treat GLSAs that had no
upgrade path (such as mask glsas) as not affecting the system.

svn path=/trunk/gentoolkit/; revision=647

15 years agoSome python tweaks to speed glsa-check
fuzzyray [Wed, 20 May 2009 21:44:13 +0000 (21:44 -0000)]
Some python tweaks to speed glsa-check

svn path=/trunk/gentoolkit/; revision=646

15 years agoHandle unicode encoding when dumping to stdout and start migration to using StringIO
fuzzyray [Wed, 20 May 2009 21:35:12 +0000 (21:35 -0000)]
Handle unicode encoding when dumping to stdout and start migration to using StringIO

svn path=/trunk/gentoolkit/; revision=645

15 years agoCreate a VERSION file to replace /etc/gentoolkit-version
fuzzyray [Wed, 20 May 2009 14:27:01 +0000 (14:27 -0000)]
Create a VERSION file to replace /etc/gentoolkit-version

svn path=/trunk/gentoolkit/; revision=642

15 years agoUpdate revdep-rebuild man page
fuzzyray [Mon, 18 May 2009 21:16:30 +0000 (21:16 -0000)]
Update revdep-rebuild man page

svn path=/trunk/gentoolkit/; revision=641

15 years agoRemove obsolete gentoolkit src directory
fuzzyray [Mon, 18 May 2009 20:05:37 +0000 (20:05 -0000)]
Remove obsolete gentoolkit src directory

svn path=/trunk/gentoolkit/; revision=640

15 years agoAdd patch from Robert Buchholz: Add quiet option gentoolkit-0.3.0_rc6
fuzzyray [Thu, 7 May 2009 22:15:50 +0000 (22:15 -0000)]
Add patch from Robert Buchholz: Add quiet option
Incorporate option to quiet down glsa-check, based on a patch by Thilo
Bangert <bangert@gentoo.org> in bug #170784.
This option will also suppress sending of empty mail, based on a patch
by Christian Gut <cycloon@is-root.org> in bug #182990.

svn path=/trunk/gentoolkit/; revision=633

15 years agoAdd patch from Robert Buchholz: Call CAN ids CVE ids as there is no differentiation...
fuzzyray [Thu, 7 May 2009 22:12:47 +0000 (22:12 -0000)]
Add patch from Robert Buchholz: Call CAN ids CVE ids as there is no differentiation anymore today.

svn path=/trunk/gentoolkit/; revision=632

15 years agoAdd patch from Robert Buchholz: Sort glsa list output.
fuzzyray [Thu, 7 May 2009 22:09:19 +0000 (22:09 -0000)]
Add patch from Robert Buchholz: Sort glsa list output.

svn path=/trunk/gentoolkit/; revision=631

15 years agoAdd patch from Robert Buchholz: Use summarylist() to format output so we get colours...
fuzzyray [Thu, 7 May 2009 22:07:50 +0000 (22:07 -0000)]
Add patch from Robert Buchholz: Use summarylist() to format output so we get colours and a list of all affected packages

svn path=/trunk/gentoolkit/; revision=630

15 years agoAdd patch from Robert Buchholz:
fuzzyray [Thu, 7 May 2009 22:01:50 +0000 (22:01 -0000)]
Add patch from Robert Buchholz:

Backport SLOT support from Portage 2.2 glsa.py

In particular, this is a port of these commits:
commit 856616597ee791efa42dd59760db8e50e72efffd
Author: zmedico <zmedico@ac592a22-f3fe-0310-977e-98394eae9e84>
Date:   Wed Oct 8 22:35:31 2008 +0000

    Fix apparent breakage from r11593 (slot dep support):
    * Handle KeyError from element.getAttribute() in makeAtom() and
    * makeVersion().
    * Avoid 'sre_constants.error: unmatched group' exceptions in
    * revisionMatch()
      when the atom does not have a slot.

svn path=/trunk/gentoolkit/; revision=629

15 years agoAdd patch from Robert Buchholz: Reformat '2008-01-01' dates to 'January 01, 2008...
fuzzyray [Thu, 7 May 2009 21:59:54 +0000 (21:59 -0000)]
Add patch from Robert Buchholz: Reformat '2008-01-01' dates to 'January 01, 2008' to keep output consistent.

svn path=/trunk/gentoolkit/; revision=628

15 years agoAdd patch from Robert Buchholz: Allow GLSA 2 DTD in doctype declaration
fuzzyray [Thu, 7 May 2009 21:59:25 +0000 (21:59 -0000)]
Add patch from Robert Buchholz: Allow GLSA 2 DTD in doctype declaration

svn path=/trunk/gentoolkit/; revision=627

15 years agoAdd patch from Robert Buchholz: Respect count attribute in GLSA-2, based on a patch...
fuzzyray [Thu, 7 May 2009 21:58:49 +0000 (21:58 -0000)]
Add patch from Robert Buchholz: Respect count attribute in GLSA-2, based on a patch by Michael A. Smith in https://bugs.gentoo.org/218312

svn path=/trunk/gentoolkit/; revision=626

15 years agoAdd patch from antarus: Run pychecker over everything, fix obvious things like module...
fuzzyray [Thu, 7 May 2009 21:58:13 +0000 (21:58 -0000)]
Add patch from antarus: Run pychecker over everything, fix obvious things like modules not in use, variables not being used, or global exceptions not being deleted. Also fix imports for style (1 per line)

svn path=/trunk/gentoolkit/; revision=625

15 years agoAdd patch from djanderson to make meta get and check package dirs in a manner similar...
fuzzyray [Thu, 7 May 2009 21:17:07 +0000 (21:17 -0000)]
Add patch from djanderson to make meta get and check package dirs in a manner similar to other gentoolkit scripts and fix some docstrings. (Bug 268895)

svn path=/trunk/gentoolkit/; revision=619