| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Need to handle --root before we read profiles, -q to silence warnings
from that profile reading.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
| |
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
| |
it's not HAVE_QMANIFEST but ENABLE_QMANIFEST
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
This incorporates https://github.com/grobian/hashgen into portage-utils
as qmanifest.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
| |
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
| |
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
| |
modpath is never used in the code, remove its option
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
(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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
Bug: https://bugs.gentoo.org/619988
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
does not return 0; Enable qmerge applet by default but force env variable to control getting into its guts
|
|
|
|
| |
building as a PIE
|
| |
|
| |
|
|
|
|
| |
full PORTDIR=
|
| |
|
| |
|