On Thu, Nov 24, 2005 at 12:04:03PM -0600, Harry Putnam wrote: > Don't know about you guys but I don't see where this really works at > all like it should.... examples follow: > > root # ls /usr/portage/dev-db/mysql > ChangeLog mysql-3.23.58-r1.ebuild mysql-4.1.15-r30.ebuild > Manifest mysql-4.0.25-r2.ebuild mysql-4.1.15.ebuild > files mysql-4.0.26.ebuild mysql-5.0.15.ebuild > metadata.xml mysql-4.1.14.ebuild mysql-5.0.16-r1.ebuild > mysql-5.0.16-r30.ebuild >
<big snip where the OP shows that <=mysql-4.0.26 returns nothing while "greater-than-or-equal-to" returns 5.0.15 only> That is the intended behaviour. 'equery uses' only greps the use flags for installed packages. If you want non-installed packages, you need to use the '-a' flag i.e. [02:00 PM]wwong ~ $ equery uses '>=mysql-4.0.26' [ Searching for packages matching >=mysql-4.0.26... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for dev-db/mysql-4.1.14 ] U I - - big-tables : Make tables contain up to 1.844E+19 rows - - berkdb : Adds support for sys-libs/db (Berkeley DB for MySQL) - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too + + doc : Adds extra documentation (API, Javadoc, etc) - - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features) + + perl : Adds support/bindings for the Perl language. + + readline : enables support for libreadline, a GNU line-editing library that most everyone wants. - - selinux : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur + + ssl : Adds support for Secure Socket Layer connections - - static : !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically + + tcpd : Adds support for TCP wrappers - - cluster : Add support for NDB clustering. - - utf8 : Use UTF8 encoding instead of LATIN1. - - geometry : Add support for geometry data. - - extraengine : Add support for alternative storage engines. [02:02 PM]wwong ~ $ equery uses -a '<=mysql-4.0.26' [ Searching for packages matching <=mysql-4.0.26... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for dev-db/mysql-3.23.58-r1 ] U I - - berkdb : Adds support for sys-libs/db (Berkeley DB for MySQL) - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too - - innodb : Adds innodb support for mySQL (transaction support) + + perl : Adds support/bindings for the Perl language. + + readline : enables support for libreadline, a GNU line-editing library that most everyone wants. + + ssl : Adds support for Secure Socket Layer connections - - static : !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically + + tcpd : Adds support for TCP wrappers [ Found these USE variables for dev-db/mysql-4.0.26 ] U I - - berkdb : Adds support for sys-libs/db (Berkeley DB for MySQL) - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too + + doc : Adds extra documentation (API, Javadoc, etc) - - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features) + + perl : Adds support/bindings for the Perl language. + + readline : enables support for libreadline, a GNU line-editing library that most everyone wants. - - selinux : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur + + ssl : Adds support for Secure Socket Layer connections - - static : !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically + + tcpd : Adds support for TCP wrappers - - big-tables : Make tables contain up to 1.844E+19 rows [ Found these USE variables for dev-db/mysql-4.0.25-r2 ] U I - - berkdb : Adds support for sys-libs/db (Berkeley DB for MySQL) - - debug : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too + + doc : Adds extra documentation (API, Javadoc, etc) - - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features) + + perl : Adds support/bindings for the Perl language. + + readline : enables support for libreadline, a GNU line-editing library that most everyone wants. - - selinux : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur + + ssl : Adds support for Secure Socket Layer connections - - static : !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically + + tcpd : Adds support for TCP wrappers - - big-tables : Make tables contain up to 1.844E+19 rows This is the same behaviour as all other equery commands: by default only the installed packages are displayed. HTH, W -- "Those of you who are yawning are ok, but if you're terrified you should speak up." ~DeathMech, S. Sondhi. P-town PHY 205 Sortir en Pantoufles: up 12 days, 11:21 -- gentoo-user@gentoo.org mailing list