Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | main: parse USE-flags into a set | Fabian Groffen | 2021-11-13 | 1 | -2/+3 |
| | | | | | | | | 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.h: attempt fix for Coverity 206563 Unintended sign extension | Fabian Groffen | 2020-01-19 | 1 | -4/+4 |
| | | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org> | ||||
* | main: try to work around different mtime/mtim struct stat fields | Fabian Groffen | 2020-01-04 | 1 | -0/+7 |
| | | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org> | ||||
* | main: add masks support | Fabian Groffen | 2019-12-27 | 1 | -0/+2 |
| | | | | | | | Expose masks via q -m, store masks in preparation for applying masks when listing available ebuilds. Signed-off-by: Fabian Groffen <grobian@gentoo.org> | ||||
* | main: overhaul profile/config reading somewhat | Fabian Groffen | 2019-11-24 | 1 | -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> | ||||
* | main: ensure READ/WRITE_BE_INT32 operate on the expected bytes | Fabian Groffen | 2019-11-17 | 1 | -5/+8 |
| | | | | | | | we want to work on unsigned bytes such that we don't get sudden unintended operations due to negative value handling Signed-off-by: Fabian Groffen <grobian@gentoo.org> | ||||
* | q: add option to print envvars, much like portageq envvar | Fabian Groffen | 2019-11-09 | 1 | -4/+19 |
| | | | | | | Option -e to q will dump the env variables used by portage-utils. Signed-off-by: Fabian Groffen <grobian@gentoo.org> | ||||
* | main.h: include limits.h for Linux PATH_MAX | Fabian Groffen | 2019-04-27 | 1 | -0/+1 |
| | | | | | | | | | | make PATH_MAX available, such that the logic can properly use it (again) This issue showed itself as a fortification error on Linux, because _Q_PATH_MAX was defined as less than PATH_MAX making realpath_chk fail. Bug: https://bugs.gentoo.org/684468 Signed-off-by: Fabian Groffen <grobian@gentoo.org> | ||||
* | q: fix various issues on Linux systems | Fabian Groffen | 2019-03-27 | 1 | -0/+1 |
| | | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org> | ||||
* | build: compile applets as separate objects | Fabian Groffen | 2019-03-27 | 1 | -2/+10 |
| | | | | | | | | 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> | ||||
* | q: fix misc issues found on Darwin | Fabian Groffen | 2019-03-19 | 1 | -1/+2 |
| | | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org> | ||||
* | build: add gnulib sources | Fabian Groffen | 2019-03-19 | 1 | -1/+39 |
| | | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org> | ||||
* | libq: standardise build | Fabian Groffen | 2019-03-18 | 1 | -6/+43 |
| | | | | | | | | | Compile each C-file by itself, producing an object which is linked into a convenience archive. The q program then links against that archive. Switch to autotools-based build for everyone. Signed-off-by: Fabian Groffen <grobian@gentoo.org> | ||||
* | main.h: drop DEFAULT_PORTAGE_BINHOST setup | Fabian Groffen | 2019-03-15 | 1 | -62/+2 |
| | | | | | | | tinderbox.dev.gentoo.org albeit being still around is very outdated, so very unlikely to be useful Signed-off-by: Fabian Groffen <grobian@gentoo.org> | ||||
* | update copyrights | Fabian Groffen | 2018-04-05 | 1 | -1/+1 |
| | |||||
* | drop _q_static and standardize func prototypes a bit | Mike Frysinger | 2016-12-28 | 1 | -4/+0 |
| | |||||
* | add cleanup logic to handle specific leaks | Mike Frysinger | 2016-12-28 | 1 | -0/+13 |
| | | | | | There's a few code paths that we leak resources because we know we're exiting (soon). Add some logic to avoid false positives. | ||||
* | q: migrate to new repo posthook system | Mike Frysinger | 2016-03-27 | 1 | -0/+1 |
| | | | | | | | | This also extends the reinit interface to optionally take a path to the overlay to process. That allows the postsync hook to fire on specific repos rather than all of them. URL: https://bugs.gentoo.org/522032 | ||||
* | tweak s390/sh ARCH defaults | Mike Frysinger | 2015-06-03 | 1 | -6/+2 |
| | |||||
* | build: convert all cvs references to git | Mike Frysinger | 2014-03-09 | 1 | -3/+2 |
| | |||||
* | update default URL list to match current tinderbox server | Mike Frysinger | 2014-02-18 | 1 | -17/+56 |
| | |||||
* | move all headers includes and such to a single porting.h to avoid ↵v0.40 | Mike Frysinger | 2013-09-29 | 1 | -21/+1 |
| | | | | duplicating in tests/ #406393 | ||||
* | rename EPREFIX define to CONFIG_EPREFIX so we can have a local $EPREFIX var | Mike Frysinger | 2011-12-19 | 1 | -3/+3 |
| | |||||
* | revert stdout bypass as it doesnt work on linux/glibc systems | Mike Frysinger | 2011-12-12 | 1 | -5/+1 |
| | |||||
* | Fix building on Solaris. Cannot assign stdout there. | Fabian Groffen | 2011-12-12 | 1 | -1/+5 |
| | |||||
* | default EPREFIX to a slash since the code base expects it #394457 by Luca ↵ | Mike Frysinger | 2011-12-12 | 1 | -2/+2 |
| | | | | Barbato | ||||
* | initial autotool support | Mike Frysinger | 2011-12-11 | 1 | -1/+5 |
| | |||||
* | add O_CLOEXEC fallback #394131 by Naohiro Aota | Mike Frysinger | 2011-12-09 | 1 | -1/+6 |
| | |||||
* | make MIN/MAX helpers generally available | Mike Frysinger | 2011-10-02 | 1 | -1/+8 |
| | |||||
* | move _q_static setup to main.h and drop useless _GNU_SOURCE here (needs to ↵ | Mike Frysinger | 2011-03-30 | 1 | -2/+4 |
| | | | | be before all C lib includes) | ||||
* | rework env var setup so that the values are allowed to grow dynamically ↵ | Mike Frysinger | 2011-02-21 | 1 | -8/+8 |
| | | | | without len restriction, and mark CONFIG_PROTECT/CONFIG_PROTECT_MASK as incremental | ||||
* | convert many fgets() to getline(), clean up ARRAY_SIZE usage, and some other ↵ | Mike Frysinger | 2011-02-21 | 1 | -3/+1 |
| | | | | random fixes | ||||
* | - update headers | Ned Ludd | 2010-04-07 | 1 | -4/+4 |
| | |||||
* | - move some defines around | Ned Ludd | 2007-05-30 | 1 | -1/+2 |
| | |||||
* | - update copyright headersv0.1.27 | Ned Ludd | 2007-05-24 | 1 | -4/+4 |
| | |||||
* | - more whitespace cleanups. Added new whitespace test | Ned Ludd | 2007-05-23 | 1 | -2/+1 |
| | |||||
* | - split some of the code up to make it eaiser for dynamic modules | Ned Ludd | 2007-05-12 | 1 | -0/+71 |