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
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
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
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
fuzzyray [Thu, 7 Jan 2010 22:28:36 +0000 (22:28 -0000)]
Update Copyright date headers
svn path=/trunk/gentoolkit/; revision=731
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
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
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
fuzzyray [Thu, 17 Dec 2009 19:08:37 +0000 (19:08 -0000)]
Fix typo in equery man page
svn path=/trunk/gentoolkit/; revision=726
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
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
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
fuzzyray [Fri, 11 Dec 2009 17:15:35 +0000 (17:15 -0000)]
Merge genscripts rev 130
svn path=/trunk/gentoolkit/; revision=721
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
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
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
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
fuzzyray [Thu, 10 Dec 2009 20:28:15 +0000 (20:28 -0000)]
Remove reference to blog.tacvbo.net
svn path=/trunk/gentoolkit/; revision=715
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
idl0r [Mon, 26 Oct 2009 08:52:01 +0000 (08:52 -0000)]
Update ChangeLog :)
svn path=/trunk/gentoolkit/; revision=692
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
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
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
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
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
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
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
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
fuzzyray [Wed, 3 Jun 2009 23:04:31 +0000 (23:04 -0000)]
Apply updates from genscripts repo
svn path=/trunk/gentoolkit/; revision=659
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
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
rbu [Mon, 25 May 2009 21:43:31 +0000 (21:43 -0000)]
Make bin files executable
svn path=/trunk/gentoolkit/; revision=652
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
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
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
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
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
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
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
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
fuzzyray [Mon, 18 May 2009 21:16:30 +0000 (21:16 -0000)]
Update revdep-rebuild man page
svn path=/trunk/gentoolkit/; revision=641
fuzzyray [Mon, 18 May 2009 20:05:37 +0000 (20:05 -0000)]
Remove obsolete gentoolkit src directory
svn path=/trunk/gentoolkit/; revision=640
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
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
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
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
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
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
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
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
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
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
fuzzyray [Wed, 6 May 2009 20:47:10 +0000 (20:47 -0000)]
Revert EPREFIX patch commited in rev 610
svn path=/trunk/gentoolkit/; revision=614
fuzzyray [Wed, 6 May 2009 19:41:54 +0000 (19:41 -0000)]
Add patch from MATSUI Tetsushi to have eclean take EPREFIX into account for distfiles.exclude. (Bug 241600)
svn path=/trunk/gentoolkit/; revision=610
fuzzyray [Tue, 5 May 2009 21:30:51 +0000 (21:30 -0000)]
Add patch from kojiro to remove permission check on temporary directory. (Bug 203414)
svn path=/trunk/gentoolkit/; revision=602
fuzzyray [Tue, 5 May 2009 21:15:19 +0000 (21:15 -0000)]
Remove unused man page for genpkgindex
svn path=/trunk/gentoolkit/; revision=601
fuzzyray [Tue, 5 May 2009 21:04:27 +0000 (21:04 -0000)]
Update to most recent versions and add changes from djanderson
svn path=/trunk/gentoolkit/; revision=599
fuzzyray [Tue, 5 May 2009 20:24:30 +0000 (20:24 -0000)]
Add Makefile to create distfiles. Update ChangeLog to acknowledge djanderson. Update version in setup.py to generic version
svn path=/trunk/gentoolkit/; revision=598
fuzzyray [Tue, 5 May 2009 19:56:37 +0000 (19:56 -0000)]
Initial MANIFEST.in
svn path=/trunk/gentoolkit/; revision=597
fuzzyray [Tue, 5 May 2009 19:48:41 +0000 (19:48 -0000)]
Initial MANIFEST.in
svn path=/trunk/gentoolkit/; revision=596
fuzzyray [Tue, 5 May 2009 18:36:45 +0000 (18:36 -0000)]
Update download_url to point to distfiles.gentoo.org
svn path=/trunk/gentoolkit/; revision=595
fuzzyray [Tue, 5 May 2009 17:39:24 +0000 (17:39 -0000)]
Rearrange trunk to support gentoolkit version 0.3. Split into gentoolkit, gentoolkit-dev, and deprecated. Import djanderson's work on the gentoolkit library and equery
svn path=/trunk/gentoolkit/; revision=589
idl0r [Tue, 5 May 2009 03:50:36 +0000 (03:50 -0000)]
Add some useful informations when using $EDITOR.
svn path=/; revision=587
idl0r [Tue, 5 May 2009 03:44:22 +0000 (03:44 -0000)]
Added test targets for echangelog.
svn path=/; revision=586
idl0r [Tue, 5 May 2009 03:35:00 +0000 (03:35 -0000)]
Warn if $vcs has not been found. Minor cleanup.
svn path=/; revision=585
fuzzyray [Tue, 5 May 2009 03:24:10 +0000 (03:24 -0000)]
Remove genpkgindex and gensync from distribution
svn path=/; revision=584
fuzzyray [Tue, 5 May 2009 02:57:27 +0000 (02:57 -0000)]
Remove echangelog.pod, we will maintain the man page directly
svn path=/; revision=583
fuzzyray [Tue, 5 May 2009 02:55:33 +0000 (02:55 -0000)]
Add test subdirectory to echanglog
svn path=/; revision=582
fuzzyray [Tue, 5 May 2009 01:49:58 +0000 (01:49 -0000)]
Add patch from kojiro to clean binary package metadata (Bug #266996 and to clean up inconsistent error messages (Bug #268513)
svn path=/; revision=581
fuzzyray [Tue, 5 May 2009 01:44:42 +0000 (01:44 -0000)]
Add patch from kojiro to support keyword removal and all
svn path=/; revision=580
idl0r [Mon, 4 May 2009 22:10:26 +0000 (22:10 -0000)]
Fixed bug 256013 and bug 256103, thanks to William Arlofski, Michael A. Smith and Andrey Kislyuk.
Whitespace.
svn path=/; revision=579
idl0r [Mon, 4 May 2009 20:23:05 +0000 (20:23 -0000)]
Fixed keyword sorting.
svn path=/; revision=578
idl0r [Mon, 4 May 2009 17:36:12 +0000 (17:36 -0000)]
Respect profiles/arch.list.
svn path=/; revision=577
idl0r [Sat, 2 May 2009 13:51:12 +0000 (13:51 -0000)]
Whitespace.
svn path=/; revision=576
idl0r [Sat, 2 May 2009 12:17:14 +0000 (12:17 -0000)]
Fixed text_fill, \h is just available in perl >= 5.10 so use hex instead, thanks to ohnobinki.
svn path=/; revision=575
idl0r [Fri, 1 May 2009 22:30:00 +0000 (22:30 -0000)]
Don't eat newline, bug 264146.
svn path=/; revision=574
idl0r [Fri, 1 May 2009 22:01:53 +0000 (22:01 -0000)]
Removed duplicate sort call.
svn path=/; revision=573
idl0r [Fri, 1 May 2009 20:21:50 +0000 (20:21 -0000)]
Define a action if no files have been changed, thanks to grobian. That should prevent "Use of uninitialized value in concatenation" warnings.
svn path=/; revision=572
idl0r [Fri, 1 May 2009 19:11:27 +0000 (19:11 -0000)]
Fixed stty call.
svn path=/; revision=571
idl0r [Fri, 1 May 2009 19:03:07 +0000 (19:03 -0000)]
Respect $PATH while looking for git, thanks to grobian.
svn path=/; revision=570
fuzzyray [Fri, 1 May 2009 17:39:18 +0000 (17:39 -0000)]
Add GLEP 53 keywords sorting patch from prefix
svn path=/; revision=569
fuzzyray [Fri, 1 May 2009 17:33:51 +0000 (17:33 -0000)]
Fix typo in Makefile
svn path=/; revision=568
fuzzyray [Fri, 1 May 2009 14:48:36 +0000 (14:48 -0000)]
Add ekeyword rewritten in python to repo
svn path=/; revision=567
fuzzyray [Fri, 1 May 2009 14:39:55 +0000 (14:39 -0000)]
Add patch from kojiro to improve bash syntax
svn path=/; revision=566
idl0r [Thu, 30 Apr 2009 21:30:51 +0000 (21:30 -0000)]
Added support for project-wide variables as suggested in bug 213374. Improved environment handling.
svn path=/; revision=561