pkg_src_summary:
-d, -D and -A options for generating summary of the specified
packages and their dependancies. -d is for DEPENDS
dependancies, -D is for BUILD_DEPENDS and -A is for both. See
pkg_src_summary(1) for details.
added: pkg_summary-utils(7) that describes what pkg_summary-utils
project is. All tools refer to it in its manual pages and
pkg_summary-utils(7) refers to manual pages of all tools.
pkg_src_summary:
a list of fields listed in -f|--fields option may be separated
by comma, not only space.
PSS_OPTIONS environment variable specifies default options to be
placed in front of any explicit options. See man page for the
sample.
-a and -r options added for adding and removing the specified
fields to/from the list of fields generated by default.
See man page for the samples.
pkg_update_src_summary:
a list of fields listed in -f|--fields option may be separated
by comma, not only space.
ADDED: CVS_CHECKSUM field to pkg_src_summary. This gives a way to
compare two pkgsrc trees by comparing their pkg_src_summaries
comparing not only an information about package versions but also
an information about CVS files and their revisions.
new script added: 'cvs_checksum' that analyses local cvs
repository and lists all files in it with their revisions and,
optionally, calculates a checksum for all this. Run
'cvs_checksum -h' for more information. CKSUM environment
variable sets a checksum program, by default, standard 'cksum'.
pkg_src_summary can generate new field: CVS_CHECKSUM, a checksum
calculated by 'cvs_checksum' program for a package. By default
CVS_CHECKSUM is NOT generated.
'pkg_cmp_summary -c' prints '!' (this means "not equal") for
packages with the same versions but different CVS_CHECKSUM provided
that CVS_CHECKSUM is set in both compared packages.
from a local cvs repository. This checksum will be a part of
pkg_src_summary. This is necessary to optionally use
cvs files/tags in comparing source packages by distbb.
Currently only package versions are compared by pkg_cmp_summary and
therefore by distbb too. The problem is that packages are often updated
without increasing PKGREVISION.
Major changes:
pkg_src_summary is now "distributed" tool, i.e. it can build
src_summary using several processes or machines.
Examples:
# for SMP machine
env PSS_SLAVES=+5 pkg_src_summary ...
# for machines in a network
env PSS_SLAVES='host1 host2 host3' \
PSS_PPERS=5 \
PSS_TRANSPORT=/usr/bin/ssh pkg_src_summary ...
PSS_PPERS variable sets a number of packages per slave that
are built at once, defaults to 10.
pkg_src_summary: PSS_FIELDS overrides the default
list of generated fields
pkg_update_src_summary: -i|--fields options specify a list of
generated fields.
src_summary using several processes or machines.
Examples:
# for SMP machine
env PSS_SLAVES=+5 pkg_src_summary ...
# for SMP machine
env PSS_SLAVES=+5 PSS_TRANSPORT='host1 host2' pkg_src_summary ...
grepping functionality of pkg_grep_summary has been moved to a
separate file pkg_grep_summary.awk. Similar code fragments found
in pkg_refresh_summary and pkg_update_src_summary use
pkg_grep_summary.awk now.
FIXED: pkg_update_summary fails under Linux, Solaris, Interix and
probably other OSes when there are no binary packages in a specified
directory. This happens because xargs works differently on
NetBSD/FreeBSD and Linux/Solaris/Interix. In NetBSD/FreeBSD xargs's
command is NOT run at all when there is no input, while on L/S/I it is
run once without arguments and (pkg_info -X in our case) fails.
DESCR improved
Minor fixes in documentation ans NEWS
Major changes:
Lots of tasks from TODO are implemented.
pkg_src_fetch_var:
- minor fixes in comments
- new options -h|--help for use message
- new options -f|--fields|-v|--vars for specifying a list of fields
to be generated. By default PKGNAME and PKPATH
are generated as earlier versions did.
Example:
echo 'wip/distbb' | \
pkg_src_fetch_var -f='PKGNAME PKGPATH DEPENDS BUILD_DEPENDS'
- bmake '+=' operator is also supported
pkg_src_summary:
- new options -h|--help for use message
- new options -f|--fields for specifying a list of fields
to be generated. By default PKGNAME and PKPATH
are generated as earlier versions did.
- 'print-summary-data' pkgsrc target is not used anymore.
Instead, variable's values are obtained directly by bmake.
Side effect/incompatibility: NOTFOR and ONLYFOR are set to
<empty_string> instead of 'any' string in case
NOT_FOR_PLATFORM and ONLY_FOR_PLATFORM are not specified.
pkg_micro_src_summary:
- new options -f|--fields for specifying a list of fields
to be generated. By default PKGNAME and PKPATH
are generated as earlier versions did.
Example:
pkg_micro_src_summary -f 'PKGNAME PKGPATH DEPENDS BUILD_DEPENDS' \
lang/lua wip/distbb
- In case pkg_src_fetch_var failes pkg_micro_src_summary fallbacks
to pkg_src_summary.
pkg_src_fetch_var:
- read PKGPATHs instead of Makefile filenames.
In order to Makefiles from PKGPATH, PKGSRCDIR environment
variable is used (/usr/pkgsrc by default).
- TAB character is used as a fields separator instead of SPC
pkg_micro_src_summary:
- added options: -h|--help|-f|--fields
-f|--fields is for specifying fields to be included
to the summary, PKGNAME and PKGPATH by default