The NetBSD Project

CVS log for pkgsrc/pkgtools/pkgchkxx/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkgchkxx

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri May 9 15:41:49 2025 UTC (5 days, 1 hour ago) by tnn
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
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.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri May 9 14:53:22 2025 UTC (5 days, 2 hours ago) by tnn
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +11 -2 lines
pkgchkxx: accept base pkg_install if it is sufficiently new

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Mar 7 07:08:47 2025 UTC (2 months, 1 week ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
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].

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Mar 5 05:15:44 2025 UTC (2 months, 1 week ago) by pho
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
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.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Feb 10 08:07:26 2025 UTC (3 months ago) by pho
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
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.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Feb 10 04:21:00 2025 UTC (3 months ago) by pho
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -3 lines
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.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jan 26 04:49:14 2025 UTC (3 months, 2 weeks ago) by pho
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
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)`.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Jan 18 14:15:56 2025 UTC (3 months, 3 weeks ago) by pho
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
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.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Jan 16 14:52:17 2025 UTC (3 months, 3 weeks ago) by pho
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
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]

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jan 15 15:19:34 2025 UTC (3 months, 3 weeks ago) by pho
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
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.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jun 9 08:12:14 2024 UTC (11 months ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
pkgtools/pkgchkxx: Remove redundant unique_ptr from USE_CXX_FEATURES, suggested by gdt@

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun May 26 10:39:42 2024 UTC (11 months, 2 weeks ago) by pho
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
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]

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Apr 22 03:22:37 2024 UTC (12 months, 3 weeks ago) by pho
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -3 lines
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.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jan 3 12:32:59 2024 UTC (16 months, 1 week ago) by gdt
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
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.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Jan 1 13:39:04 2024 UTC (16 months, 1 week ago) by bsiegert
Branches: MAIN
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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>