aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* qmerge: set EBUILD_PHASE_FUNCv0.94.4sfrolov2022-11-161-0/+1
| | | | | | | | EBUILD_PHASE_FUNC is a variable that contains an exact phase function name. It was added in https://bugs.gentoo.org/show_bug.cgi?id=390765 Bug: https://bugs.gentoo.org/880867 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* build-sys: regeneratev0.94.3Fabian Groffen2022-08-292-0/+16
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* configure.ac: set ENABLE_QTEGRITY/ENABLE_QMANIFEST againFabian Groffen2022-08-291-0/+8
| | | | | | regression introduced by b81049495052e953941fc21f6936fbb968a3462a Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* build-sys: regeneratev0.94.2Fabian Groffen2022-08-2830-19851/+1452
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* Remove libtoolDavid Seifert2022-08-287-10/+9
| | | | | | | | | | * Libtool was only used for convenience libraries, which can be done in vanilla Automake. This allows passing `static` in LDFLAGS. Bug: https://bugs.gentoo.org/841898 Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* Use pkg-config for dependenciesDavid Seifert2022-08-282-100/+70
| | | | | Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* Use Automake in `foreign` modeDavid Seifert2022-08-281-1/+1
| | | | | | | | | | * Otherwise we get errors such as Makefile.am: error: required file './AUTHORS' not found Makefile.am: error: required file './ChangeLog' not found Makefile.am: error: required file './NEWS' not found Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* libq/atom: fix atom_compare for "0" version componentsv0.94.1Fabian Groffen2022-06-153-10/+28
| | | | | Bug: https://bugs.gentoo.org/852197 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* main: ensure correct parsing of key-value pairs in ini-filesv0.94Fabian Groffen2022-06-141-3/+4
| | | | | | | | Ensure the key is terminated when the '=' is adjacent to it (without whitespace). Bug: https://bugs.gentoo.org/851138 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* build-sys: update gnulibFabian Groffen2022-05-2668-968/+24544
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qdepends: plug Coverity CID 269971 (resource leak)Fabian Groffen2022-05-261-3/+5
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qdepends: add --resolve flag to lookup depstringsFabian Groffen2022-05-262-17/+45
| | | | | | | This doesn't respect keywords or masks, but with installed packages shows which packages currently match the deps as expressed Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* libq/dep: allow resolving multiple times (e.g. for overlays)Fabian Groffen2022-05-261-1/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* libq/dep: add dep_resolve_tree functionFabian Groffen2022-05-262-33/+56
| | | | | | | allow resolving a dep-specification to atoms found in a tree, e.g. see what would get selected Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* libq/atom: make atom_to_string_r produce BUILD_ID when setFabian Groffen2022-05-201-0/+2
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* libq/tree: support FEATURES=binpkg-multi-instance Packages fileFabian Groffen2022-05-202-6/+21
| | | | | | | | | | Based on the work of genbtc in GitHub PR #16 Add BUILD_ID to atom when parsing and use PATH to get the appropriate location. Closes: https://github.com/gentoo/portage-utils/pull/16 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qlist: print BUILD_ID for binpkgs (if any)Fabian Groffen2022-05-201-1/+5
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* libq/atom: allow including BUILDID in atom_formatFabian Groffen2022-05-191-0/+15
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* libq/atom: make atom_compare consider BUILDIDFabian Groffen2022-05-191-5/+13
| | | | | PR: https://github.com/gentoo/portage-utils/pull/16 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* libq/atom.h: add BUILDID to atom for binpkg-multi-instance supportFabian Groffen2022-05-191-16/+17
| | | | | References: https://github.com/gentoo/portage-utils/pull/16 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* libq/atom: implement strict PMS 3.3 in atom_compareFabian Groffen2022-04-184-35/+219
| | | | | | | | Version comparisons are complex, stick with strict PMS definition for it, so we produce the same results as Portage. Bug: https://bugs.gentoo.org/838856 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qcheck: fix config-protect check, bug #837188Fabian Groffen2022-04-093-101/+156
| | | | | | | | | ensure we break out of the config-protect directories loop, instead of just skipping one directory, such that we don't produce bogus amounts of files, and also don't check despite we were told not to check (-P) Bug: https://bugs.gentoo.org/837188 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* libq/dep: print single nodes on a single lineFabian Groffen2022-04-074-14/+32
| | | | | | | | | | | | | | | condense conditional and use-deps to a single line when there's a single target, e.g.: use? ( cat/pkg ) instead of use? ( cat/pkg ) Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* buildsys: regenerateFabian Groffen2022-04-0630-525/+958
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qdepends: make USE-flag filtering opt-in via -U flagFabian Groffen2022-04-061-8/+16
| | | | | | | | | | Filtering deps based on USE-flags defined in the profile is kind of misleading, especially when doing things like qdepends -t -Q <dep>, where one would probably not expect the local USE-configuration to exclude matches. Bug: https://bugs.gentoo.org/836590 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* buildsys: regen, add ALL gnulib files this timeFabian Groffen2022-02-27392-20688/+40778
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* gitignore: do NOT ignore gnulib filesFabian Groffen2022-02-271-2/+0
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* buildsys: add gnulib missing filesFabian Groffen2022-02-275-0/+255
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* buildsys: regen with older gnulibFabian Groffen2022-02-27378-38952/+20433
| | | | | | | | some weird basename-lgpl problems occur with the newer gnulib snapshot, so stick with older version for now Bug: https://bugs.gentoo.org/834136 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* buildsys: attempt to fix Linux buildFabian Groffen2022-02-276-148/+5
| | | | | | | import basename-lgpl which doesn't exist or something in linux builds, pretty odd Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* buildsys: regenFabian Groffen2022-02-2725-11800/+19790
| | | | | Bug: https://bugs.gentoo.org/834136 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qlop: fix date parsing of epochs on muslFabian Groffen2022-02-231-6/+6
| | | | | | | | %s isn't a valid modifier in POSIX for strptime, so parse the number manually and produce a time out of that. Bug: https://bugs.gentoo.org/833942 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* autotools: update gnulibFabian Groffen2022-02-19363-8969/+19307
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* configure.ac: add copyright headerFabian Groffen2022-02-191-0/+6
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qmanifest: fix Coverity resource leak CID 206540Fabian Groffen2022-02-121-2/+4
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qmerge: fix Coverity file descriptor leak CID 207952Fabian Groffen2022-02-121-1/+2
| | | | | | | Leak would happen when opening file succeed, but statting it would fail. Unlikely, but better to take into account anyway. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qlop: fix Coverity condition always true CID 248869Fabian Groffen2022-02-121-2/+2
| | | | | | | | | | | atom->pfx_op cannot be 2 values at the same time so, pfx_op != X || pfx_op != Y has to be always true fix it to turn into and condition, which makes more sense in the code flow Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* libq/move_file: fix Coverity uninitialised use CID 248870Fabian Groffen2022-02-121-3/+3
| | | | | | | | Coverity correctly deduced here, that if we used cached stat, we didn't use the cache, but a bogus memory struct instead. Ensure we always use a populated stat value. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qmerge: fix Coverity dead code CID 248871Fabian Groffen2022-02-121-3/+3
| | | | | | | we previously checked rpkg == NULL, so indeed it can never be !NULL (copy 'n' paste error) Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* libq/tree: fix Coverity uninitialised memory use CID 248874Fabian Groffen2022-02-121-4/+4
| | | | | | | | | | tree_read_file_pms was using buf, which was never initialised after some changes from the past remove entire buf, and use the paths from pkg and cat ctxs in the printfs directly Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qdepends: resolve Coverity resource leak CID 248875Fabian Groffen2022-02-121-5/+7
| | | | | | | | | This is actually a false positive, because state->udeps at this point can and will never be NULL, so there's no new resource returned that is leaked. However, since it is code-wise cleaner to assign the result, do so. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qmerge: fix Coverity resource leak (previnst) CID 248877Fabian Groffen2022-02-121-1/+5
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qtbz2: attempt to fix Coverity taint warningFabian Groffen2022-02-121-1/+13
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qmerge: fix Coverity NULL_RETURNS (possibly passing NULL)Fabian Groffen2022-02-121-3/+9
| | | | | | | | | CID 248879 buf (EAPI) and phases can be NULL, substitute EAPI, don't run phase-funcs when no phases are present. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qlop: Fixed --running --verbose returning unknown ETAJaak Ristioja2022-02-121-2/+6
| | | | | | | | | | | It seems that this was broken during the introduction of --predict in commit 13402fbd8c51f7feedcc85f2f0815768ec45ee7a which caused keys of the merge_averages and unmerge_averages sets to include version information, whereas --running expects these not to include version information. Bug: https://bugs.gentoo.org/807975 Signed-off-by: Jaak Ristioja <jaak@ristioja.ee> Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* README: use github badge for build statusFabian Groffen2022-02-071-1/+1
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* .github: disable macOS build, I give up for the dayFabian Groffen2022-02-061-32/+33
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* tests/init: remove last Travis cruftFabian Groffen2022-02-061-5/+2
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* .github: b2sum and coreutils conflictFabian Groffen2022-02-061-4/+6
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>
* qmerge: plug leak in pkg_merge when doing dryrunFabian Groffen2022-02-061-1/+3
| | | | Signed-off-by: Fabian Groffen <grobian@gentoo.org>