aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* main: handle --root and -q early during startupFabian Groffen2024-07-031-4/+3
| | | | | | | Need to handle --root before we read profiles, -q to silence warnings from that profile reading. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* buildsys: no longer use OpenSSL for hash implementationsFabian Groffen2024-01-021-4/+0
| | | | | | | This means, we can always build qtegrity, because we have the required hash impls on board through gnulib. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* main: ensure default colouring is respectedv0.93.1Fabian Groffen2021-12-231-3/+11
| | | | | | | | | | | | Introduced in v0.93, a regression on picking up colour default. We were setting nocolor variable, but before it was acted on, it was overwritten with a default. So now instead set the default based on having a tty or not, and let profiles, env and flags override from there. Bug: https://bugs.gentoo.org/829837 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* main: turn FEATURES into a setFabian Groffen2021-12-131-1/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* main: parse USE-flags into a setFabian Groffen2021-11-131-1/+1
| | | | | | | | In order to efficiently, and correctly, get a list of USE-flags that are in effect, use a SET instead of an "incremental" string which sort of relies on order. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* main: parse/populate USE varFabian Groffen2021-11-071-0/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* main: add global option --color to force colour outputFabian Groffen2021-05-101-3/+7
| | | | | | | | | | allow override for colouring to be enabled, this reorganises the code a bit because argument handling is done by the applets, and not by the main process, e.g. total colour handling can unfortunately not be done in a single place. Bug: https://bugs.gentoo.org/769929 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* man: regen with new qwhich manpagev0.91Fabian Groffen2021-02-201-1/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* build-sys: regen with automake 1.16.3Fabian Groffen2021-02-171-1/+3
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* q: improve applet searching somewhat, change warn app nameFabian Groffen2019-12-291-1/+0
| | | | | | | | | | - use a single loop iteration to match an applet - set full name of applet (qlop iso lop) in argv0 for warn() to match the running command - use name of aliased applet when invoked by an alias (belongs -> qfile) Bug: https://bugs.gentoo.org/701968 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qkeyword: default to ARCH when no arch givenFabian Groffen2019-12-141-0/+1
| | | | | | | By default just operate on the arch specified by the selected profile. This is probably going to be useful in the majority of the cases. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* main: overhaul profile/config reading somewhatFabian Groffen2019-11-241-0/+1
| | | | | | | | - track where values come from, expose using -v (with q -[oe]) - follow repo-prefixed profiles in parent files (non-PMS feature?) - read usr/share/portage/config/repos.conf for repo defaults Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qpkg: don't emit hypothetical messages when real work has been doneFabian Groffen2019-09-281-1/+1
| | | | | | | | drop the "would be" part of how many bytes were freed when we're not pretending Bug: https://bugs.gentoo.org/695586 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* applets: properly disable qtegrity when requestedPhilipp Ammann2019-07-181-0/+4
| | | | | | | | This fixes the final linking stage due to undefined references to qtegrity_main. Bug: https://bugs.gentoo.org/689896 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* applets: reword -v help description into what it really isFabian Groffen2019-07-141-1/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* quse: improve per package USE-flag output somewhatFabian Groffen2019-06-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | - add asterisk at the end of USE-flag instead of at the start of the line to mark currently enabled flag (installed package) - colour such enabled flags green so they stand out better - wrap descriptions when they don't fit on the terminal screen example: app-portage/portage-utils-0.80_pre20190610 nls* Add Native Language Support (using gettext - GNU locale utilities) static !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically openmp Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built with USE="openmp" +qmanifest* Build qmanifest applet, this adds additional dependencies for GPG, OpenSSL and BLAKE2B hashing libressl* Use dev-libs/libressl instead of dev-libs/openssl when applicable (see also the ssl useflag) Bug: https://bugs.gentoo.org/656550 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* applets.h: fix qmanifest conditionalFabian Groffen2019-06-081-3/+3
| | | | | | it's not HAVE_QMANIFEST but ENABLE_QMANIFEST Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* buildsys: fix build when qmanifest is not enabledFabian Groffen2019-06-081-0/+6
| | | | | | | - don't refer to qmanifest_main - don't overlink to needless libs, even when found (like openmp) Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* applets.h: loose __weak__ attribute stuffFabian Groffen2019-06-071-2/+1
| | | | | | | | | defining this attribute breaks Cygwin, but more importantly it is not necessary with the current (much more normal) way of building and linking q. Bug: https://bugs.gentoo.org/687560 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qmanifest: new applet to verify and generate thick ManifestsFabian Groffen2019-05-201-9/+15
| | | | | | | This incorporates https://github.com/grobian/hashgen into portage-utils as qmanifest. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* q: use overlay names from repos.conf if availableFabian Groffen2019-05-201-0/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* q: add option -o to print available overlaysFabian Groffen2019-05-201-0/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* q: remove -M (modpath) optionFabian Groffen2019-05-201-1/+0
| | | | | | modpath is never used in the code, remove its option Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qcache: rename to qkeywordFabian Groffen2019-05-021-2/+2
| | | | | | | | qcache has its roots in reading the metadata cache, but since this is standard functionality provided by libq/cache now, all that qcache does really is things with keywords. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qgrep: rewrite using libq/vdb and libq/cacheFabian Groffen2019-04-281-1/+1
| | | | | | | (re)use the traversion logic from libq instead of re-implementing this. Additional benefits are less code and usage of metadata when available. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* reinitialize_flat: removeFabian Groffen2019-04-251-2/+0
| | | | | | | | | | | remove the flat cache (just a file list of directory contents) - it can easily get stale - traversing a directory isn't that expensive nowadays (and we don't do VAX) the code should switch to using libq/cache instead Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* build: compile applets as separate objectsFabian Groffen2019-03-271-8/+82
| | | | | | | | Instead of including everything from a single file, compile each applet separately. This standardises things somewhat, and allows for parallel compilation. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* buildsys: properly disable qglsa appletFabian Groffen2018-10-261-1/+3
|
* qtegrity: new applet by Sam Besselink for use with IMA, bug #619988Fabian Groffen2018-05-181-1/+6
| | | | Bug: https://bugs.gentoo.org/619988
* update copyrightsFabian Groffen2018-04-051-1/+1
|
* build: convert all cvs references to gitMike Frysinger2014-03-091-3/+2
|
* add _q_unused_ to fix -Wunused-parameter gcc warningsMike Frysinger2011-12-191-2/+2
|
* constify more stringsMike Frysinger2011-02-211-2/+2
|
* - update headersNed Ludd2010-04-071-4/+4
|
* - update copyright headersv0.1.27Ned Ludd2007-05-241-4/+4
|
* - more whitespace cleanups. Added new whitespace testNed Ludd2007-05-231-2/+1
|
* add support from Gordon Malm for selecting which items to processMike Frysinger2007-04-081-2/+2
|
* - remove python test appletNed Ludd2007-03-051-3/+1
|
* - c-api python/portage interfaceNed Ludd2006-05-261-1/+3
|
* Moved qimlate into qcache. Adds the -d/--dropped flag to list packages with ↵Thomas Cort2006-05-191-3/+3
| | | | dropped keywords. Adds the -t/--testing-only flag to list packages that are only in testing on an arch, but not stable. Adds the -a/--all flag to list all packages on an arch that are keyworded ~arch/arch. Removed the qimlate manpage, add the qcache manpage. argv processing still needs to be cleaned up.
* - keep applets in alphabetical orderNed Ludd2006-05-141-2/+2
|
* - initial commit of qimlate applet from tcort@gentoo (not finished)Ned Ludd2006-05-121-1/+3
|
* - update some default binhostsNed Ludd2006-04-231-1/+2
|
* - update the way manpages are created when exit code from help2man & applet ↵Ned Ludd2006-01-281-2/+2
| | | | does not return 0; Enable qmerge applet by default but force env variable to control getting into its guts
* define stub functions for now since the weak handling is broken when ↵Mike Frysinger2006-01-261-1/+6
| | | | building as a PIE
* use the APPLET_ define style to enable/disable applets as solar was doing beforeMike Frysinger2006-01-251-3/+3
|
* touchup how we declare/include applets so that many steps can be automatedMike Frysinger2006-01-241-18/+22
|
* - make some applets optional for embedded systems where one might not have a ↵Ned Ludd2006-01-071-3/+1
| | | | full PORTDIR=
* - better qlist -e matching mode to cmp full PV now. make applets optionalNed Ludd2006-01-061-2/+4
|
* update copyright yearsMike Frysinger2006-01-051-4/+4
|