Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkgchkxx
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
pkgchkxx: handle the case when pkgtools from pkgsrc is already installed Since PKGTOOLS_VERSION will be up-to-date in that case, the configure script could end up detecting pkg_install from base.
pkgchkxx: accept base pkg_install if it is sufficiently new
pkgtools/pkgchkxx: Update to 0.3.3 * Fix an issue where `pkgchkxx -ab` crashes upon trying to install the first missing package. This was a use-after-free bug introduced in 0.3. Reported by Marc Baudoin [#12].
pkgtools/pkgchkxx: Update to 0.3.2 * Fix an issue where `pkgrrxx` (and possibly `pkgchkxx` also) leaks file descriptors and eventually die. This only happened on platforms where `posix_spawn(3)` was missing but `vfork(2)` was available. The bug was introduced at version 0.2.5. Reported by @bsiegert [#11]. * Fix an issue where a progress bar shown by `pkgrrxx -u` flashes rapidly when there are many packages to update.
pkgtools/pkgchkxx: update to 0.3.1 ## 0.3.1 -- 2025-02-10 * Fix an issue where `pkgrrxx` (and possibly `pkgchkxx` also) would die when it receives a signal while it's blocking on `waitpid(2)`. * Fix an issue in 0.3 where ANSI escape sequences would leak into `make` output.
pkgtools/pkgchkxx: update to 0.3 ## 0.3 -- 2025-02-10 * `pkgrrxx` now uses colours in its output if `stderr` is a tty and the environment variable `NO_COLOR` is not defined.
pkgtools/pkgchkxx: Update to 0.2.5 ## 0.2.5 -- 2025-01-26 * Fixed build on Illumos. * Fixed a stability issue on systems that lack `posix_spawn(3)`. It could sometimes deadlock because of `malloc(3)` after `fork(2)`.
pkgtools/pkgchkxx: Update to 0.2.4 ## 0.2.4 -- 2025-01-18 * `pkgrrxx -u` now displays a progress bar while checking for outdated packages, if `stderr` is a tty. * Fix an issue where `pkgchkxx -u` can access invalidated memory and then crash. The bug was introduced at version 0.2.2. Reported by @ryoon [#9] and @0323pin [#10]. * Fix the formatting of `pkgchkxx` displaying commands to run. There was a space missing between time and command. * Fix `pkgchkxx -un` not simulating the effect of `pkg_delete -r`. The same issue exists in the original `pkg_chk` but it'd be nice to fix it.
pkgtools/pkgchkxx: Update to 0.2.3 ## 0.2.3 -- 2025-01-16 * Gave up on the `fast-clean` option. `pkgrrxx` previously attempted to simulate what `make clean` does instead of just running it, because running `make` is slow. But it turned out to be a losing battle due to subtlety around `${WRKOBJDIR}` so we just run `make clean` now. Issue reported by @schmonz [#6]
pkgtools/pkgchkxx: Update to 0.2.2 ## 0.2.2 -- 2025-01-16 * Fix an issue where `pkgchkxx -u -q` scans and prints outdated packages twice, reported by @pfr-dev [#5] * Fix an issue where `pkgchkxx -u` deletes outdated packages but then fails to install their newer versions. This was broken from the beginning of `pkgchkxx` and it's a good thing that nobody bothered to use this mode (as opposed to `pkgrrxx`). * Fix a build failure on platforms where `posix_spawn(3)` is unavailable, and either `execvpe(3)` or `execve(2)` is also missing, reported by @schmonz [#7]. * Fix a potential issue where encountering an error condition could make programs die with SIGABRT instead of exitting gracefully.
pkgtools/pkgchkxx: Remove redundant unique_ptr from USE_CXX_FEATURES, suggested by gdt@
pkgtools/pkgchkxx: Update to 0.2.1 ## 0.2.1 -- 2024-05-26 * Fix compilation on Linux (Fedora 40), patch by @bsiegert [#3] * Fix a bug in 0.2 where defining `${WRKOBJDIR}` in `mk.conf` makes `pkgrrxx` fail to clean `WRKDIR`, reported by @schmonz [#4]
pkgtools/pkgchkxx: Update to 0.2 * Performance improvement: `pkgchkxx -s` no longer invokes `make update CLEANDEPENDS=yes` but now uses `make update DEPENDS_TARGET='package-install clean'`. * Performance improvement: `pkgrrxx` by default now removes working directories directly instead of running `make clean`, which is slow. You can disable this optimization with a configure option `--disable-fast-clean`. * Performance improvement: Tools now use `posix_spawn(3)` on platforms where it exists, and fall back to `fork` & `exec` where it doesn't. * `pkgrrxx` now shows the number of entries in each non-empty TODO list, to give the user some clue about the time it's going to take. * Fixed an issue where `RR> ` could be printed twice depending on how the C++ compiler optimized the code.
pkgtools/*: revbump for libfetch libfetch's recent behavior change can be viewed as a bugfix or as an ABI change. pkg_install vendors libfetch from the sources, for bootstrapping reasons and thus needs a revbump. For consistency and to reduce confusion, also bump the other two packages that depend on it.
New package, pkgtools/pkgchkxx. From wip. pkgchkxx and pkgrrxx are complete rewrites of pkgsrc pkg_chk and pkg_rolling-replace respectively. These are functionally compatible but run faster. This implementation achieves better performance by using a faster language, better algorithms, and making use of many CPUs whenever possible.