Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkg_summary-utils
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Version 0.70.0, by Aleksey Cheusov, Sun, 25 Oct 2026 15:45:22 +0400
pkg_src_summary:
* fix -m for packages with MULTI-dependencies in parallel mode
* update tests
pkg_summary2deps:
* add options -T and -b
Update to 0.69.0
Fixes and additions to tests
pkg_src_summary:
- add option -T for gathering summaries for TOOL_DEPENDS; -A implies it
- add option -B for gathering summaries for BOOTSTRAP_DEPENDS; -A implies it
- add option -v for verbose/progress output
- add option -u
- with option -m place multi-variant with default python, ruby
etc. before others
- do not hide stderr even if bmake succeeded
- use ../../mk/pbulk/pbulk-index.mk file unconditionally
- do not pkg_uniq_summary summaries for normal packages
- reorder output of paexec in memory explicitely
Move libexec/enrich_summary to bin/pkg_enrich_summary
pkg_update_src_summary -v passes option -v to pkg_src_summary
Update HOMEPAGE
Fix minor notes of "pkglint -e"
Update to 0.68.0
pkg_src_summary:
- add environment variables PSS_ENVIRON for passing environment
to remote/slave subprocesses.
New tool rpmdb2summary for converting rpmdb content to
pkg_summary(5) format.
Tests updated for pkg_micro_src_summary.
Update to 0.67.0
pkg_summary2leaves:
- new option -u for printing packages installed by user
- option -r does not implies -a any longer
pkg_grep_summary:
- new option -E and "-t nonempty" for matching non-empty fields
Fixes in tests
Minor code clean-ups and coding style correction in grep_summary.c
COPTS defaults to "-O3 -g"
root Makefile: BMAKE variables defaults to "bmake"
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
pkgtools/pkg_summary-utils: remove nonexistent file from REPLACE_SH
Remove mova.org from MASTER_SITES
Convert all occurrences (353 by my count) of MASTER_SITES= site1 \ site2 style continuation lines to be simple repeated MASTER_SITES+= site1 MASTER_SITES+= site2 lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint accordingly.
Update to version 0.66.0 New utility pkg_cksum2summary was added
Update to 0.65.2
pkg_lint_summary -l:
REQUIRES/PROVIDES paths are normalized (//, /.., /. are removed).
This fixes some problems in nih.
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
Update to 0.65.1 Build failure was fixed on Haiku. Haiku provides strlwr(3) that conflicts with pkg_summary-utils' version.
Update BUILD_DEPENDS
Update
Version 0.65.0
mk-configure>=0.26.0 is required for build.
pkg_grep_summary
- fix for "-t strfile" (hcreate(3) hash is not autoresizable)
- if option -r was applied, the exit status is 1 for "not match"
and 2 for unexpected failure.
Code clean-ups and improvements.
Version 0.64.0
pkg_subgraph_deps:
- significant performance improvements
pkg_cmp_summary:
- option -f was added, options -p and -P are considered deprecated
Code clean-ups in the default pkg_digger.conf
Updated to versiopn 0.63.0:
pkg_grep_summary:
- almost all search strategies were reimplemented in C for better
performance, as a result all utilities using pkg_grep_summary(1)
work much faster. Strategies still implemented in AWK: awk, kw.
- converted to use shell's getopts.
- new regression tests.
pkg_src_summary:
- if -m, -d, -D aren't applied, temporary files are not created.
- adapted for recent paexec(1) improvements.
pkg_update_src_summary:
- progress counter is output if -v is applied.
pkg_summary2deps:
- workaround for buggy patterns like >=foo-1.* was implemented.
pkg_summary-utils build infrastructure is completely reimplemented. Now
it is a two-level project. Subprojects: scripts and grep_summary
(enabled by default), doc and tests.
PKG_TOOLS_BIN env. variable is used at build time as a default
directory for pkg_info(8) (for OpenBSD/FreeBSD in order to avoid
conflicts with their native pkg_* tools).
A number of stupid workarounds for stupid Solaris' userlevel.
All scripts written in shell uses @SH@ in shebang and therefore uses
pkgsrc's ${SH} at run time.
Add run-time dependency on paexec; ++pkgrevision
Version 0.62.0
pkg_src_summary:
- Option -t was added. If applied a value of TOOL_DEPENDS
is added to BUILD_DEPENDS. This option works just like -b
does for BOOTSTRAP_DEPENDS.
pkg_cmp_summary:
- Fixes for -A and -O. Now they output an empty line after each
compared package even if it appeares multiple times in
pkg_summary1. So, the output is now consistent.
Last change time was updated for manual pages
Version 0.61.0, by Aleksey Cheusov, Fri, 8 Mar 2013 16:23:05 +0300 All script use TMPDIR environment variable for creating temporary files if it is set. makefiles2deps works dramatically faster!
Update to 0.60.0
pkg_update_src_summary:
- Fix for the case when there are no updated/new packages, but
removals exist.
- Resulting summaeries are postprocessed by pkg_summary2bb_pkgs.
- Option -v was added
pkg_subgraph_deps:
- Fix for option -1
pkg_digger:
- Minor fix. -sf outputs both fields and strategies.
- All pkg_digger(1) backends return plain summaries on -1|-3|-9.
Option -r was removed from pkg_digger_{summary,installed}
pkg_digger_summary:
- Implementation for option -n.
pkg_summary2bb_pkgs:
- Additional error checks.
Man pages for pkg_digger, pkg_digger_summary, pkg_digger_installed
were updated.
pkg_update_src_summary: fix for the case when there are no new/updated packages, only removals. ++pkgrevision.
Update to version 0.59.0
pkg_update_src_summary has been completely reimplemented and now
works dramatically faster if files under mk/ directory were not
changed since previous update.
pkg_src_summary:
- PLIST field gathering was significantly speeded-up
- Fix. Option -p works correctly with non-empty PSS_SLAVES
- Fix. If -A is applied, -m is always enabled for recursive runs.
- Minor fix for -m.
- New option -F was added
- Minor fixes for PLIST and ALLDISTFILES
- PSS_PPERS was completely removed
cvs_checksum:
- checksums of CVS files are output by default
pkg_digger:
- pkg_digger_backend has been renamed to pkg_digger_summary,
man page was added for pkg_digger_summary
- new search backend pkg_digger_installed
pkg_list_all_pkgs:
- new options -a and -d were added
New utility makefiles2deps was added.
A lot of new regression tests, updates for man pages, minor code
clean-ups
Update to 0.58.5
pkg_summary2deps:
- Fix. Dependencies from packages having non-empty ASSIGNMENTS
were not recognized correctly.
"user-destdir" is default these days
Update to pkg_summary-utils-0.58.4
pkg_summary2deps:
- Mode -cs now works correctly with patterns like
"py*-dbus<0.71". A few regression tests for this case were added.
Update to 0.58.3
pkg_summary2deps:
- Fix a bug with {alter,nat}/ive dependencies. More regression
tests were added.
Update pkg_summary-utils to 0.58.2
pkg_src_summary:
- Fix. pkg_src_summary in distributed mode now works correctly
if a master host doesn't have $PKGSRCDIR directory.
Update to 0.58.1
pkg_summary2deps:
- Fix in 'pkg_summary2deps -dn'
(missing pkgname if multivariant packages are present,
for example py26-gtk2 and py27-gtk2)
pkg_summary2leaves:
- Fix. 'pkg_summary2deps -dpnra' should be used
instead of 'pkg_summary2deps -dpa'
More regression tests for pkg_summary2leaves and pkg_summary2deps
Minor fix in pkg_uniq_summary.1
psu_funcs.awk:
- new function pkgpana2pkgpath
Update to 0.58.0
pkg_uniq_summary:
- New option -F was added
clean-ups (adapted for recent mk-configure)
Update to 0.57.0
pkg_subgraph_deps:
- Support for dependency type
pkg_summary2deps:
- Options -1 and -2 were added
Update to 0.56.4
FIX: Shell scripts now use "trap" corectly.
Minor correction in pkg_lint_summary.1.
pkg_summary4view:
- TARGET_BUILD_DEPENDS and _ALL_DEPENDS are formatted
just like DEPENDS.
Fix the directory name for paexec.
REPLACE_SH for SunOS<5.11; ++pkgrevision
Update to 0.56.3
pkg_src_summary:
- fixed: gathering DESCRIPTION and ALLDISTFILES fields eats
too much CPU. Now full summary is gathered drammatically faster.
This may significantly speed up distbb bulk builds.
- While generating ALLDISTFILES do not try to read "distinfo" files when
DISTFILES is empty.
- More regression tests.
- If MAKECONF and PSS_SLAVES are not empty, MAKECONF is passed to
pkg_src_summary processes running on slave hosts.
Update to 0.56.2
pkg_src_summary:
- Mysterious infinite loop was fixed in 'pkg_src_summary -m'
- summary2multi_variants script was separated from pkg_src_summary
pkg_bin_summary:
- CKSUM was renamed to FILE_CKSUM (by analogy with FILE_SIZE
and FILE_NAME) as suggested by spz@
Remove MANDIR= from MAKE_ENV, it is not needed anymore
Fix support for non-default PKGMANDIR
Update my email
Update to 0.56.1
pkg_lint_summary:
- Serious fix in recently added -n option (misprint actually :-/ )
For all packages based on mk-configure "configure" target is provided. This fixes parallel builds.
Update to 0.56.0
Version 0.56.0, by Aleksey Cheusov, Sun, 28 Aug 2011 12:05:00 +0300
pkg_cmp_summary:
- New option -O was added for specifying fields for
output without using them for comparison
Version 0.55.0, by Aleksey Cheusov, Sat, 27 Aug 2011 20:14:53 +0300
pkg_lint_summary:
- New option -f option was added that checks files in PLIST
fields given on input and warns about files common for several
packages.
- New option -p option was added for specifying prefix directory
used by option -l.
- New option -n was added that analyses PLIST and CONFLICTS
fields in input summaries and outputs unregistered conflicts.
- New option -s was added that checks OPSYS, OS_VERSION and
MACHINE_ARCH fields given on input and warns if they differ from
that of running system (uname -srm).
pkg_cmp_summary:
- New options -a and -A were added for specifying fields for
comparing in addition to package versions.
- New option -E was added. It works together with -A and changes
its output.
- Options -c and -b were reimplemented using more generic -a.
- Examples section was added to pkg_cmp_summary.1
pkg_bin_summary:
- New option -e option was added for effectively using
pkg_bin_summary with xargs (xargs -r is not portable).
- New option -k was added for enriching binary package summaries
with checksums using algorithms supported by digest(1)
pkg_digger_backend:
- Mixed -1|-3|-9 options are now handled correctly.
pkg_summary2leaves:
- When no files are given as arguments (stdin),
pkg_summary2leaves outputs an error message.
Regression tests have been reorganized. One test - one file.
Some manual pages were updated and improved.
Updated to 0.54.0
pkg_micro_src_summary:
- support for PSS_SLAVES=nnn was added
pkg_digger:
- workaround for buggy shells (set -e; if eval false; ...)
Regression tests were updated
Remove alt_names.txt imported by mistake Fix .include "../../wip/<...>"
A collection of utilities for manipulating pkg_summary(5) files.
pkg_list_all_pkgs - list (in PKGPATH form) all packages in pkgsrc tree
pkg_src_summary - create a full pkg_src_summary
for given (in PKGPATH form) packages
pkg_bin_summary - creates a summary for binary or installed packages
pkg_micro_src_summary - create a micro pkg_src_summary
for given (in PKGPATH form) packages
pkg_cmp_summary - compare two summary files, i.e. packages
are compared by their versions
pkg_grep_summary - grep the summary using AWK expression
pkg_digger - very powerful package searcher
pkg_digger_backend - pkg_summary.txt backend for pkg_digger
pkg_update_summary - updates pkg_summary(5) by analysing the
modification
time of binary packages and pkg_summary(5) file
pkg_update_src_summary - efficiently updates pkg_src_summary for all
packages in pkgsrc tree
pkg_summary4view - convert a summary file to human readable format
pkg_refresh_summary - output an information about latest/newest version
of packages
pkg_cleanup_distdir - remove old unused distfiles
pkg_uniq_summary - filter out repeated package summaries
pkg_summary2deps - summary to dependency graph converter
pkg_subgraph_deps - analyses dependency graph given on input
pkg_lint_summary - sanity checks for summaries
pkg_summary2leaves - output leaf packages
Initial revision