Commit graph

324 commits

Author SHA1 Message Date
Aleksey Cheusov
0fef397dce New tool pkg_lint_summary, see appropriate man page
version -> 0.36.0
2010-03-01 15:20:44 +00:00
Aleksey Cheusov
b097234e19 add missed file, thanks to Volkmar Seifert for pointing out 2010-02-23 21:04:37 +00:00
Aleksey Cheusov
936b3f2020 Update to 0.35.1
FIXED: bug in pkg_src_summary caused by incorrect PKGNAME version
   stripping. (pkg_src_summary -A multimedia/gnash didn't generate
   summary for multimedia/gst-plugins0.10-ffmpeg and
   audio/gst-plugins0.10-fluendo-mp3)
2010-01-08 00:03:50 +00:00
Aleksey Cheusov
bb9414beba updates for regression tests (adapted for latest changes in pkgsrc and WIP) 2010-01-07 14:53:16 +00:00
Aleksey Cheusov
ab94a4e8f3 update to 0.35.0
- New tool pkg_summary2deps
 - pkg_summary2build_graph  is reimplemented using pkg_summary2deps
2009-11-12 14:24:44 +00:00
Aleksey Cheusov
7c6ba82932 another minor fix for handling bin_summary.txt and regression tests 2009-11-12 12:08:37 +00:00
Aleksey Cheusov
716b2b228f fix for previous commit 2009-11-11 23:18:01 +00:00
Aleksey Cheusov
d5b2c2998e pkg_summary2deps is adapted to bin_summary (pkg_info -X).
One regression tests for bin_summary.
2009-11-11 23:13:18 +00:00
Aleksey Cheusov
2087446798 manual page for pkg_summary2deps
minor fixes in usage message of pkg_summary2deps
2009-11-11 21:46:30 +00:00
Aleksey Cheusov
4e27df83ad Five additional regression tests pkg_summary2deps -R
pkg_summary2build_deps is reimplemented using pkg_summary2deps
2009-11-11 21:07:51 +00:00
Aleksey Cheusov
e39d808b41 In order to handle correxctly -R, an algorithm is changed.
A number of fixes (fields order and others).
2009-11-10 22:09:12 +00:00
Aleksey Cheusov
28e777fafa fixes in regression tests for pkg_summary2deps 2009-11-09 20:38:49 +00:00
Aleksey Cheusov
ec345a2544 fixes and regression tests for pkg_summary2deps -r
-r and -R imply -n
2009-11-09 00:06:47 +00:00
Aleksey Cheusov
b145a3d6e8 initial support for option -R 2009-11-08 23:10:32 +00:00
Aleksey Cheusov
df5e56dd36 separator between enriched pkgpath and pkgname: , -> ; 2009-11-08 22:09:10 +00:00
Aleksey Cheusov
14ad84eae6 preliminary support for -R 2009-11-08 22:02:23 +00:00
Aleksey Cheusov
7d29c052af new option pkg_summary2deps -r 2009-11-08 21:12:37 +00:00
Aleksey Cheusov
4f43e8e222 Initial version of pkg_summary2deps. Regression tests for it.
version -> 0.35rc1
2009-11-08 18:39:37 +00:00
Aleksey Cheusov
b611010243 another example 2009-11-08 18:37:36 +00:00
Aleksey Cheusov
9684e91de2 additional regression test 2009-10-31 21:56:29 +00:00
Aleksey Cheusov
ac834529f6 update to 0.34.2
Fix for a bug (cyclic dependencies again)
   in pkg_summary2build_graph recently introduced in revision 1.2
2009-10-31 19:51:13 +00:00
Aleksey Cheusov
7dcd7c4f7e update to 0.34.1
- Yet another fix for
           pkg_src_summary -A meta-pkgs/php4-extensions
    (DEPENDS field should contain enriched PKGPATHs for php4 packages)
2009-10-26 10:00:38 +00:00
Aleksey Cheusov
84a862ae5f merged with psu-0-34-0 branch
update to 0.34.0
  - FIX: pkg_summary2build_graph is reimplemented and now handles
    correctly summaries with enriched PKGPATHS and ASSIGNMENTS field.
    Regression tests for this utility have been added.
2009-10-21 08:37:20 +00:00
Aleksey Cheusov
c4ec3c6415 Update to 0.33.0
- FIX: 'pkg_src_summary -A meta-pkgs/php4-extensions'
    wrongly shows summaries for php5-xxx packages.
    Obviously meta-pkgs/php4-extensions depends on php4-xxx packages.

  - FIX: {alter,natives} in DEPENDS and BUILD_DEPENDS
    are handled correctly now.
2009-10-19 13:04:09 +00:00
Aleksey Cheusov
f83919df93 adapted for recent removal of python23 2009-10-15 15:35:46 +00:00
Aleksey Cheusov
d557c8d229 update to version 0.32.0
- Default values of variables PKG_SUFX, DISTDIR, PKGSRCDIR, BMAKE
    and PKG_INFO_CMD are embedded to scripts itself and are obtained
    from pkgsrc. Manual pages do not tell what is the default.

  - tests/test.sh:

    fix in regression test #3, pkgsrc vs. pkgsrc+wip ==> XXXX vs. XXXXX

    fix in regression test #11 (Darwin)

    "make test" doesn't need "make install" anymore
2009-09-19 13:31:58 +00:00
Aleksey Cheusov
6d89839305 "make test" doesn't need "make install" anymore 2009-09-09 09:45:28 +00:00
Aleksey Cheusov
8ba75a9be9 fix in regression test #3, pkgsrc vs. pkgsrc+wip ==> XXXX vs. XXXXX
fix in regression test #11 (Darwin)
2009-09-07 20:32:21 +00:00
Aleksey Cheusov
925d453b97 update regression tests for current pkgsrc sources 2009-09-06 07:48:19 +00:00
Aleksey Cheusov
7f93979018 pkg_src_summary: final implementation for PSS_PRE_PATH and PSS_POST_PATH
manual page update
version -> 0.31.0
2009-08-09 18:13:38 +00:00
Aleksey Cheusov
1d7991b421 PSS_PRE_PATH and PSS_POST_PATH environment variables are added to PATH
in a distributed mode of work.
2009-08-09 17:39:38 +00:00
Aleksey Cheusov
831ae387b5 not need for &&, set -e is enough 2009-07-17 16:46:47 +00:00
Aleksey Cheusov
5e496c6309 minor cleanups: less fork(2)s, shorter pipe 2009-07-17 16:44:14 +00:00
Aleksey Cheusov
ba40acdd41 more complete list of utilities 2009-07-17 16:07:20 +00:00
Aleksey Cheusov
cfe13d76bb minor update 2009-06-08 21:03:36 +00:00
Aleksey Cheusov
90f8eef7cf After removing unneeded files appropriate empty directories
are also removed
TODO: one task done
2009-06-08 11:24:49 +00:00
Aleksey Cheusov
c3a0fb3b50 change usage message
TODO file: one task done
2009-06-05 14:20:40 +00:00
Aleksey Cheusov
c4810de71e ADDED: -o option to pkg_refresh_summary script for skipping summaries
of newest packages and printing summaries about older ones.
    Regression test for this new option. Man page update.
Clean-ups.
2009-06-04 21:39:08 +00:00
Aleksey Cheusov
2e8bc70906 Update to 0.30.0
New utility pkg_summary2build_graph that converts src_summary
    to build dependency graph.
2009-05-30 14:18:32 +00:00
Aleksey Cheusov
c478cb6ca1 new task 2009-05-26 19:33:21 +00:00
Aleksey Cheusov
76ecdb401a minor updates 2009-05-10 20:18:35 +00:00
Aleksey Cheusov
c94302711f version -> 0.29.0
release notes in NEWS
2009-05-10 20:17:58 +00:00
Aleksey Cheusov
c0dc2bbba0 RUNAWK scripts use latest power_getopt.awk module.
This make arguments handling code cleaner, easier and shorter.
DEPENDS on latest runawk.
2009-05-10 13:44:00 +00:00
Aleksey Cheusov
b8d347a427 src_summary is now also fault-tolerant just like wip/distbb.
paexec(1) child processed is now run with -slez options.
   Additional options may also be passed to paexec(1) through
   PSS_PAEXEC_EXTRA_OPTS environment variable.
2009-05-10 13:10:05 +00:00
Aleksey Cheusov
9263ce75a2 Smarter TRACE=1 mode
TEST_CMD is used only when it is really necessary
2009-04-28 19:50:21 +00:00
Aleksey Cheusov
3a9a3c8f0d new plans 2009-04-09 19:11:45 +00:00
Aleksey Cheusov
d6ea740962 version -> 0.28.0
- pkg_src_summary
      new option -i|--installed:
              generate src_summary for the installed packages only,
              do not read list of packages from stdin and
              from pkgpathN arguments

  - New tool pkg_cleanup_distdir which is actually a replacement for
    lintpkgsrc -o|-r and works much faster.

      pkg_cleanup_distdir - analyses ALLSRCFILES field of src_summary
      given on input and optionally removes files and directories in DISTDIR
      not referenced by any package.

  - pkg_grep_summary:
      new options -s and -m which make it easier for use.

  - New tool pkg_summary2bb_pkgs (needs more testing)
2009-04-01 10:03:36 +00:00
Aleksey Cheusov
2190fffb5b more tasks 2009-04-01 07:58:12 +00:00
Aleksey Cheusov
11b6d4ff2c New option:
-i|--installed     generate src_summary for the installed packages
                     only, do not read list of packages from stdin and
                     from pkgpathN arguments
2009-03-31 21:18:04 +00:00
Aleksey Cheusov
30cf9ca249 New tool pkg_cleanup_distdir which is actually a replacement for
lintpkgsrc -o|-r and works much faster.

    pkg_cleanup_distdir - analyses ALLSRCFILES field of src_summary
    given on input and optionally removes files and directories in DISTDIR
    not referenced by any package.
2009-03-31 20:31:46 +00:00
Aleksey Cheusov
805c748398 replacement for lintpkgsrc -o and -r (not implemented yet) 2009-03-31 19:19:03 +00:00
Aleksey Cheusov
cd452063c6 Support for "enriched summaries" (PKGPATH=category/pkg:VAR=value) 2009-03-31 18:50:26 +00:00
Aleksey Cheusov
eb572c2d1b Two new option was added to pkg_grep_summary: -s and -m
which make it easier for use

    Manual page was updated.
    More regression tests for pkg_grep_summary.
2009-03-31 18:48:01 +00:00
Aleksey Cheusov
f596be3e97 updated for latest changes in pkgsrc-current 2009-03-31 18:21:14 +00:00
Aleksey Cheusov
6c65972adc updated for latest changes in pkgsrc 2009-03-31 18:09:39 +00:00
Aleksey Cheusov
2d381bbedb assignments inside PKGPATH are handled correctly too 2009-03-22 12:40:48 +00:00
Aleksey Cheusov
05ed782139 New utility for extracting summaries for packages ready for bulk build
removing summaries for conflicting (common PKGNAME) packages.
version -> 0.27.0
2009-03-22 12:30:12 +00:00
Aleksey Cheusov
1f05365e69 new tasks 2009-03-16 13:04:27 +00:00
Aleksey Cheusov
8a41f40c66 update to version 0.26.0
Major changes:

    pkg_src_summary analyses DEPENDS and BUILD_DEPENDS for correctness.
    That is if appropriate directories don't exist, building summary
    fails with stderr messages.

    'pkg_micro_src_summary -f' supports comma separated fields

    pkg_cmp_summary: new option -P for comparison PKGPATH without PKGNAME
2009-03-05 22:45:28 +00:00
Aleksey Cheusov
220ef7cf70 possible task 2009-03-05 22:36:48 +00:00
Aleksey Cheusov
0c0c472bf7 tests fore pkg_micro_src_summary: comma-separated fields 2008-12-26 19:21:23 +00:00
Aleksey Cheusov
ed8713adfd and -f <field1,field2> supports it too 2008-12-26 19:20:35 +00:00
Aleksey Cheusov
d5843db8d6 'pkg_micro_src_summary -f' supports comma separated fields
TODO file: one task done
2008-12-26 19:17:43 +00:00
Aleksey Cheusov
cf5fd7ef88 pkg_cmp_summary: new option -P for comparison PKGPATH without PKGNAME
version -> 0.25beta1
2008-12-26 17:10:23 +00:00
Aleksey Cheusov
7513a7085a two tasks done 2008-12-26 13:35:51 +00:00
Aleksey Cheusov
cd7e8c0225 update to 0.24.0
pkg_micro_src_summary, pkg_src_summary, pkg_update_src_summary:
  -X=value options are not supported. Use -Xvalue instead!
2008-12-26 13:33:19 +00:00
Aleksey Cheusov
0b44b05e28 -i=value and -f=value are not supported anymore.
Use -ivalue and -fvalue instead.
2008-12-26 13:30:52 +00:00
Aleksey Cheusov
3f8eae9142 remove support for -a=value and -r=value,
add support for -avalue and -rvalue. More regression tests
2008-12-26 12:42:00 +00:00
Aleksey Cheusov
932586d8b9 support for -f=value has been removed, -fvalue - implemented,
regression tests
2008-12-26 12:07:24 +00:00
Aleksey Cheusov
e2ef584b0d support for -f=value has been removed, -fvalue implemented,
regression tests
2008-12-26 12:02:27 +00:00
Aleksey Cheusov
5091e4d34b updated to 0.23.0
tools based on runawk uses alt_getopt.awk module
  for handling options, regression tests

  pkg_src_fetch_var doesn't accept -f=<value>

  minor clean-ups in pkg_update_src_summary
2008-12-25 23:41:25 +00:00
Aleksey Cheusov
29f5a2fc6e options are handled by runawk's alt_getopt.awk module, regression tests
as always

minor fix in pkg_micro_src_summary (no -f=<value> !)
2008-12-25 23:19:24 +00:00
Aleksey Cheusov
beb176cc75 fixes for 'pkg_cmp_summary -cp', regression test for this 2008-12-25 22:31:48 +00:00
Aleksey Cheusov
2578891607 pkg_cmp_summary options are handled by runawk's alt_getopt.awk module,
more regression tests for this tool. Yes, I'm paranoid.
2008-12-25 22:13:58 +00:00
Aleksey Cheusov
7f6be1e941 added: -h|--help options for pkg_assignments2pkgpath, regression tests 2008-12-25 21:15:07 +00:00
Aleksey Cheusov
ebae1778fe options are handled using alt_getopt.awk module 2008-12-25 21:07:13 +00:00
Aleksey Cheusov
c77dd3e48c options are handled by getopt.awk module 2008-12-25 21:02:00 +00:00
Aleksey Cheusov
aa7ba27d03 version -> 0.23.0beta1 2008-12-25 20:56:26 +00:00
Aleksey Cheusov
c24a697ae4 regression test for pkg_summary4view 2008-12-25 20:50:06 +00:00
Aleksey Cheusov
fc14ead7de awk -> runawk, plain getline -> xgetline0
result summary is pkg_uniq_summary'ed
2008-12-25 15:35:25 +00:00
Aleksey Cheusov
dac5de94de version -> 0.22.0
merge changes from 'deve' branche
  See files/NEWS file for details
2008-12-01 21:31:33 +00:00
Aleksey Cheusov
cbb71a6654 external .mk for future versions of PSU 2008-11-25 22:15:04 +00:00
Aleksey Cheusov
656ae389c6 'pkg_grep_summary fvalue==""' ====> 'pkg_grep_summary -e'
more documentation in comments
2008-11-25 17:59:41 +00:00
Aleksey Cheusov
08f1c569a7 BUGS section 2008-11-25 17:58:28 +00:00
Aleksey Cheusov
734a3894db clean-ups in comments (VARIANTS7) 2008-11-22 12:40:27 +00:00
Aleksey Cheusov
b776f7a7e8 pkg_src_summary -> $0 2008-11-14 20:44:42 +00:00
Aleksey Cheusov
4a7e9725ed minor fix 2008-11-11 21:21:51 +00:00
Aleksey Cheusov
c7eee3f055 pkg_uniq_summary is now installed 2008-11-11 21:10:31 +00:00
Aleksey Cheusov
fe84e550aa Version 0.21.0, by Aleksey Cheusov, Tue, 11 Nov 2008 22:59:51 +0200
new executable pkg_uniq_summary for filtering out repeated summaries

  Man pages are rewritten in 'man' macroses. Now they may be seen
  under Solaris too.
  Homemade macro VB and VE are used to implement EXAMPLES section,
  these macro implements "verbatim" output.

  pkg_src_summary fix: when reading DESCR files failed a bad error
  message was output (`` was output instead of real filename).

  regression tests (test.sh)
2008-11-11 20:59:18 +00:00
Aleksey Cheusov
a646404195 new executable 2008-11-11 20:53:43 +00:00
Aleksey Cheusov
534a693d13 man pages: homemade macro VB and VE are used to implement EXAMPLES section 2008-11-07 17:55:46 +00:00
Aleksey Cheusov
18c326ae3c 'rewritten with more "standard" macroses.
Less logically formatted now, but works correctly under Solaris.
2008-11-06 23:59:26 +00:00
Aleksey Cheusov
fc8f071249 \- ===> "-" 2008-11-06 23:52:39 +00:00
Aleksey Cheusov
35f54f9c5b rewritten with more "standard" macroses 2008-11-06 23:46:08 +00:00
Aleksey Cheusov
378f716025 rewritten with more "standard" macroses 2008-11-06 23:33:33 +00:00
Aleksey Cheusov
c047ef0ceb rewritten with more "standard" macroses 2008-11-06 23:19:36 +00:00
Aleksey Cheusov
542e8db66e rewritten with more "standard" macroses 2008-11-06 23:02:18 +00:00
Aleksey Cheusov
9a239f223b rewritten with more "standard" macroses 2008-11-06 22:42:12 +00:00
Aleksey Cheusov
dff66f01c9 rewritten with more "standard" macroses 2008-11-06 22:21:57 +00:00
Aleksey Cheusov
bdbf222398 rewritten with more "standard" macroses 2008-11-06 22:07:19 +00:00
Aleksey Cheusov
09ae270e01 updated to 0.20.1
ficed: when reading DESCR files failed bad error message was output
   (`` instead of real filename)
2008-11-06 19:07:14 +00:00
Aleksey Cheusov
65bd586e36 .Bd -literal for things that should not be wrapped 2008-11-05 22:34:17 +00:00
Aleksey Cheusov
39a82a3106 more tasks 2008-11-02 17:15:06 +00:00
Aleksey Cheusov
80d3c07378 fix in version normalizing 2008-10-27 21:58:01 +00:00
Aleksey Cheusov
5249d2728b version -> 0.20.0
Regression test framework appeared (run 'bmake test').
  Regression tests for most utilities.

  FIXED: Broken pkg_src_summary -m.
  Affected versions: 0.17.0-0.19.0

  pkg_summary4view: /usr/bin/awk -f --> runawk
2008-10-26 11:17:46 +00:00
Aleksey Cheusov
cbd20d9224 fixed: broken pkg_src_summary -m
my-show-var shoud be placed after 'VARIANTS7+= ...'
2008-10-26 11:07:45 +00:00
Aleksey Cheusov
26abc22bd4 mode-sh for Emacs editor 2008-10-26 11:06:19 +00:00
Aleksey Cheusov
7f3fbdb154 pkg_summary4view: /usr/bin/awk -f --> runawk
This fixes problem with stupid Solaris's oawk, *%$*%$*%$*^$*%$
tests/test.sh: yet another fix for Solaris' stupid /bin/sh, (&^%*&^%*&%$
2008-10-23 18:25:48 +00:00
Aleksey Cheusov
eb1a1cd29d fix in regression tests 2008-10-23 18:16:19 +00:00
Aleksey Cheusov
cfc24c46eb Regression tests for 'pkg_refresh_summary', 'pkg_src_summary' and
'pkg_summary4view'
2008-10-23 16:10:19 +00:00
Aleksey Cheusov
84a8975f3f regression tests for pkg_micro_src_summary 2008-10-23 15:42:00 +00:00
Aleksey Cheusov
9184eb14a7 regression tests for pkg_list_all_pkgs 2008-10-23 15:11:56 +00:00
Aleksey Cheusov
77395d389a On Solaris pkgsrc shell replacement is used
instead of native sh*t (/bin/sh), Gr-r-r-r /-)
2008-10-22 22:16:19 +00:00
Aleksey Cheusov
dd1b973b3f Heh. Lots of todo tasks are already done :-) 2008-10-22 21:24:42 +00:00
Aleksey Cheusov
99d40b2577 package now has TEST_TARGET=test
more regression tests for pkg_cmp_summary
2008-10-22 20:17:40 +00:00
Aleksey Cheusov
9cd4efa573 initial regression tests 2008-10-22 19:20:38 +00:00
Aleksey Cheusov
899ed33d44 updated to 0.19.0
all scripts are preprocessed before installation
  (sed 's,@@bindir@@,${BINDIR},g' etc.)

  pkg_src_summary: fix for packages having more than one file listed
  in DESCR_SRC

  FIX for pkg_src_summary -p: For a huge number of packages 'make
  plist' fails because this stage requires package's sources
  extracted.  Now 'make plist' failures are not critical,
  i.e. summary for such package is generated in any case.

  fix in pkg_src_fetch_var.in: comments are removed
  PKGNAME=pkgname-ver ### trtrtr -> PKGNAME=pkgname-ver

  fix in pkg_micro_src_summary: If PKGREVISION is set to 0 (or empty)
  in Makefile (bug?), then nb0 is *not* added to PKGNAME
2008-10-22 19:15:14 +00:00
Aleksey Cheusov
2b4f4e17f0 yet another todo 2008-10-22 19:10:06 +00:00
Aleksey Cheusov
3ce7961fa1 After some thoughts I remove @@bindir@@ etc. from scripts 2008-10-22 19:09:38 +00:00
Aleksey Cheusov
4eb64c0b76 the same as previous commit but for PKGREVISION=.
`nb' should added to PKGNAME
2008-10-13 19:17:23 +00:00
Aleksey Cheusov
677090e38b pkg_micro_src_summary: If PKGREVISION is set to 0 in Makefile, then
nb0 is *not* added to PKGNAME
2008-10-13 19:14:11 +00:00
Aleksey Cheusov
f59cb05bb6 fix: comments are removed
PKGNAME=pkgname-ver ### trtrtr -> PKGNAME=pkgname-ver
2008-10-12 13:47:41 +00:00
Aleksey Cheusov
713350ca98 FIX for pkg_src_summary -p: For a huge number of packages 'make plist'
failes because this stage requires package's sources extracted.
   I made failure of 'make plist' not critical, i.e. summary for given
   package is generated in any case.
2008-10-11 10:21:35 +00:00
Aleksey Cheusov
f9d9cec756 executable are prefixed with @@bindir@@
awk modules - with @@awkmoddir@@
version -> 0.18.1
pkg_src_summary: fix for packages having more than one file listed in
   DESCR_SRC
2008-10-11 08:52:06 +00:00
Aleksey Cheusov
eb337c1b3e updated to 0.18.0 (intermediate release)
all scripts are preprocessed before installation
    (sed 's,@@bindir@@,${BINDIR},g' etc.)
2008-10-05 20:10:10 +00:00
Aleksey Cheusov
35f26665e7 update to 0.17.2
FIX: pkg_src_summary may fail for packages when fields contain
  quotes (e.g. COMMENT field for devel/apache-ant15/Makefile rev. 1.10)
2008-10-04 11:49:12 +00:00
Aleksey Cheusov
646a291ea2 updated to version 0.17.1
FIX for -A option: strip ending / symbol from dependencies
    (DEPENDS and BUILD_DEPENDS)

    www/typo3/Makefile revision 1.5
        DEPENDS+=   ...  ../../archivers/php-zlib/
                                                ^^^
                                                /
            extra slash character here --------/
2008-09-30 20:56:05 +00:00
Aleksey Cheusov
4912ffd205 update to 0.17.0
pkg_src_summary:

     Fields with empty values (like NOT_FOR=) are not printed.

     The following fields are added to the default list of fields
     generated by pkg_src_summary: NO_BIN_ON_FTP, NO_SRC_ON_FTP,
     NO_BIN_ON_CDROM, NO_SRC_ON_CDROM.

     New field ALLSRCFILES (also generated by default) - sum of
     DISTFILES and PATCHFILES prepanded with DIST_SUBDIR.

  pkg_grep_summary:

     pkg_grep_summary FIELD 'fvalue == ""' also matches packages
     with no FIELD at all. That is no field becomes synonym to
     FIELD=

     new option -e
        pkg_grep_summary -e FIELD is shorter equivalent for
        pkg_grep_summary FIELD 'fvalue == ""'
2008-09-19 23:41:59 +00:00
Aleksey Cheusov
54e1d03a68 added: -e option to pkg_grep_summary.
pkg_grep_summary -e NO_BIN_ON_FTP <equivalent_to>
   pkg_grep_summary NO_BIN_ON_FTP 'fvalue == ""'

empty field ( e.g. NO_BIN_ON_FTP= ) is equivalent to absent field.
   For example 'pkg_grep_summary -e NO_BIN_ON_FTP' now matches
   the following package summaries

     PKGNAME=dictem-0.82
     PKGPATH=textproc/dictem

     PKGNAME=distbb-0.19.1
     PKGPATH=wip/distbb
2008-09-19 21:06:11 +00:00
Aleksey Cheusov
4890d76df7 version -> 0.16.1
-h option added to pkg_list_all_pkgs
2008-09-15 18:27:00 +00:00
Aleksey Cheusov
a0a433bcde notes about PSS_OPTIONS environment variable 2008-09-13 14:17:51 +00:00
Aleksey Cheusov
dd5e5e9e5a spell checks and minor fixes 2008-09-13 10:18:11 +00:00
Aleksey Cheusov
4b6fcf25bf updates in NEWS 2008-09-13 08:31:55 +00:00
Aleksey Cheusov
b00d8c5be7 version -> 0.16.0 2008-09-13 08:23:06 +00:00
Aleksey Cheusov
75d0c1876c Code that moves/add ASSIGNMENTS to PKGPATH is separated into a separate
script "pkg_assignments2pkgpath". One application for it is distbb.
pkg_src_summary: PKGPATH enriched with variable assignments and passed
   to pkg_src_summary may contain spaces. They should be represented
   as ~.

   Example: pkg_src_summary \
     sysutils/mc:PKG_OPTIONS.mc=-x11~-subshell~-slang~-samba~ncurses~-edit
2008-09-13 08:20:54 +00:00
Aleksey Cheusov
200c67824a PSS_FIELDS is exported BEFORE recursive calls for -M and -m 2008-09-07 19:16:38 +00:00
Aleksey Cheusov
7ad7a55f22 version -> 0.15.0
Major changes

     pkg_grep_summary: in order to support summaries for multi-variant
     packages it is strongly recommented to use 'fvalue' variable in
     condition, not $2. Man page and README update accordingly.

     pkg_cmp_summary: -m option added for comparing summaries for
     multi-variant packages
     (PKGPATH=category/name:variable_assignments format).

pkg_cmp_summary -m implies -p
2008-09-07 18:17:38 +00:00
Aleksey Cheusov
4ccdd36754 FIX. Previous commits broke pkg_grep_summary 2008-09-07 17:18:08 +00:00
Aleksey Cheusov
6ddfd3350d version -> 0.14.1
FIX in pkg_src_summary: I forgot that grep's exit status may be 1 which is
    fatal if 'set -e'
pkg_cmp_summary:
    support for multi-variant package summaries.
    Option -m added for this.
pkg_grep_summary: in order to support summaries for multi-variant packages
    it is strongly recommented to use 'fvalue' variable in condition
    instead of '$2'. Man page and README update accordingly.
2008-09-07 16:53:32 +00:00
Aleksey Cheusov
d20d451093 version -> 0.14.0
Major changes

   pkg_src_summary: added option -M which implies -m and moves/adds
   ASSIGNMENTS field to PKGPATH.

     Example:

	0 ~>export PSS_FIELDS='PKGPATH PKGNAME'
	0 ~>pkg_src_summary -M lang/lua www/php-apc www/ap2-python
	PKGPATH=lang/lua
	PKGNAME=lua-5.1.3nb1

	PKGPATH=www/php-apc:PHP_VERSION_REQD=4
	PKGNAME=php4-apc-4.4.8.3.0.16

	PKGPATH=www/php-apc:PHP_VERSION_REQD=5
	PKGNAME=php5-apc-5.2.6.3.0.16

	PKGPATH=www/ap2-python:PKG_APACHE=apache2,PYTHON_VERSION_REQD=25
	PKGNAME=ap2-py25-python-3.2.10

	PKGPATH=www/ap2-python:PKG_APACHE=apache2,PYTHON_VERSION_REQD=24
	PKGNAME=ap2-py24-python-3.2.10

	PKGPATH=www/ap2-python:PKG_APACHE=apache2,PYTHON_VERSION_REQD=23
	PKGNAME=ap2-py23-python-3.2.10

	PKGPATH=www/ap2-python:PKG_APACHE=apache22,PYTHON_VERSION_REQD=25
	PKGNAME=ap22-py25-python-3.2.10

	PKGPATH=www/ap2-python:PKG_APACHE=apache22,PYTHON_VERSION_REQD=24
	PKGNAME=ap22-py24-python-3.2.10

	PKGPATH=www/ap2-python:PKG_APACHE=apache22,PYTHON_VERSION_REQD=23
	PKGNAME=ap22-py23-python-3.2.10

	0 ~>
2008-09-06 22:37:17 +00:00
Aleksey Cheusov
e5ccfc7415 version -> 0.13.1
VARIANTS7 is reimplemented through pbulk's mk/pbulk/pbulk-index.mk.
   I hope this API it will not change...
2008-09-06 21:27:33 +00:00
Aleksey Cheusov
8a04b48f68 version -> 0.13.0, NEWS updated accordingly
Major changes:

   -----------------
   pkg_src_summary: new option -m added that generates summary
   for all variants of multi-variant packages
   (Python {23,24,25}, PHP {4,5}, Apache {1.3,2,2.2} etc.)

     Example:

        0 ~>export PSS_FIELDS='PKGPATH PKGNAME'
        0 ~>time -p ./pkg_src_summary -m lang/lua www/php-apc www/ap2-python
        PKGPATH=lang/lua
        PKGNAME=lua-5.1.3nb1

        PKGPATH=www/php-apc
        PKGNAME=php4-apc-4.4.8.3.0.16
     => ASSIGNMENTS=PHP_VERSION_REQD=4

        PKGPATH=www/php-apc
     => PKGNAME=php5-apc-5.2.6.3.0.16
     => ASSIGNMENTS=PHP_VERSION_REQD=5

        PKGPATH=www/ap2-python
     => PKGNAME=ap2-py25-python-3.2.10
     => ASSIGNMENTS=PYTHON_VERSION_REQD=25 PKG_APACHE=apache2

        PKGPATH=www/ap2-python
     => PKGNAME=ap22-py25-python-3.2.10
     => ASSIGNMENTS=PYTHON_VERSION_REQD=25 PKG_APACHE=apache22

        PKGPATH=www/ap2-python
        PKGNAME=ap2-py24-python-3.2.10
        ASSIGNMENTS=PYTHON_VERSION_REQD=24 PKG_APACHE=apache2

        PKGPATH=www/ap2-python
        PKGNAME=ap22-py24-python-3.2.10
        ASSIGNMENTS=PYTHON_VERSION_REQD=24 PKG_APACHE=apache22

        PKGPATH=www/ap2-python
        PKGNAME=ap2-py23-python-3.2.10
        ASSIGNMENTS=PYTHON_VERSION_REQD=23 PKG_APACHE=apache2

        PKGPATH=www/ap2-python
        PKGNAME=ap22-py23-python-3.2.10
        ASSIGNMENTS=PYTHON_VERSION_REQD=23 PKG_APACHE=apache22

        0 ~>

     See lines with '=>'.

   -----------------
   pkg_src_summary: the following format of input PKGPATH is supported:
   real_pkgpath[:var1=value1[,var2=value2[...]]]

     Example:

        0 ~>export PSS_FIELDS='PKGNAME PKGPATH DEPENDS BUILD_DEPENDS'
        0 ~>pkg_src_summary textproc/dictem:EMACS_TYPE=xemacs
     => PKGNAME=xemacs-dictem-0.82
        PKGPATH=textproc/dictem
     => DEPENDS=dict-client>=1.9.14:../../textproc/dict-client xemacs>=21.4<21.5:../../editors/xemacs xemacs>=21.4<21.5:../../editors/xemacs
        BUILD_DEPENDS= checkperms>=1.1:../../sysutils/checkperms
     => ASSIGNMENTS=EMACS_TYPE=xemacs

        0 ~>pkg_src_summary www/ap2-wsgi:PYTHON_VERSION_DEFAULT=23,PKG_APACHE_DEFAULT=apache2
     => PKGNAME=ap2-py23-wsgi-1.3
        PKGPATH=www/ap2-wsgi
     => DEPENDS=  python23>=2.3:../../lang/python23 apache>=2.0.51<2.2:../../www/apache2  python23>=2.3.5nb6:../../lang/python23 apache>=2.0.61nb2:../../www/apache2
        BUILD_DEPENDS= libtool-base>=1.5.18nb5:../../devel/libtool-base perl>=5.0:../../lang/perl5  checkperms>=1.1:../../sysutils/checkperms
     => ASSIGNMENTS=PYTHON_VERSION_DEFAULT=23 PKG_APACHE_DEFAULT=apache2

        0 ~>

     See lines with '=>'.
2008-09-06 20:31:30 +00:00
Aleksey Cheusov
03e99ba5f4 version -> 0.13alpha2
-m is fully implemented

  example:

      0 ~>time -p ./pkg_src_summary -m lang/lua www/php-apc www/ap2-python
      PKGPATH=lang/lua
      PKGNAME=lua-5.1.3nb1

      PKGPATH=www/php-apc
      PKGNAME=php4-apc-4.4.8.3.0.16
      ASSIGNMENTS=PHP_VERSION_REQD=4

      PKGPATH=www/php-apc
      PKGNAME=php5-apc-5.2.6.3.0.16
      ASSIGNMENTS=PHP_VERSION_REQD=5

      PKGPATH=www/ap2-python
      PKGNAME=ap2-py25-python-3.2.10
      ASSIGNMENTS=PYTHON_VERSION_REQD=25 PKG_APACHE=apache2

      PKGPATH=www/ap2-python
      PKGNAME=ap22-py25-python-3.2.10
      ASSIGNMENTS=PYTHON_VERSION_REQD=25 PKG_APACHE=apache22

      PKGPATH=www/ap2-python
      PKGNAME=ap2-py24-python-3.2.10
      ASSIGNMENTS=PYTHON_VERSION_REQD=24 PKG_APACHE=apache2

      PKGPATH=www/ap2-python
      PKGNAME=ap22-py24-python-3.2.10
      ASSIGNMENTS=PYTHON_VERSION_REQD=24 PKG_APACHE=apache22

      PKGPATH=www/ap2-python
      PKGNAME=ap2-py23-python-3.2.10
      ASSIGNMENTS=PYTHON_VERSION_REQD=23 PKG_APACHE=apache2

      PKGPATH=www/ap2-python
      PKGNAME=ap22-py23-python-3.2.10
      ASSIGNMENTS=PYTHON_VERSION_REQD=23 PKG_APACHE=apache22

      0 ~>
2008-09-06 19:26:34 +00:00
Aleksey Cheusov
de9fbb5d8a VARIANTS7:
PHP_VERSION_DEFAULT    -> PHP_VERSION_REQD
   PYTHON_VERSION_DEFAULT -> PYTHON_VERSION_REQD
   PKG_APACHE_DEFAULT     -> PKG_APACHE
2008-09-06 17:20:26 +00:00
Aleksey Cheusov
98b8610e67 version -> 0.13alpha1
The following format of input PKGPATH is supported:
        real_pkgpath[:var1=value1[,var2=value2[...]]]

  Example:

      0 ~>pkg_src_summary textproc/dictem:EMACS_TYPE=xemacs
      PKGPATH=textproc/dictem
   => PKGNAME=xemacs-dictem-0.82
   => ASSIGNMENTS=EMACS_TYPE=xemacs

      0 ~>pkg_src_summary www/ap2-wsgi:PYTHON_VERSION_DEFAULT=23,PKG_APACHE_DEFAULT=apache2
      PKGPATH=www/ap2-wsgi
   => PKGNAME=ap2-py23-wsgi-1.3
   => ASSIGNMENTS=PYTHON_VERSION_DEFAULT=23 PKG_APACHE_DEFAULT=apache2

      0 ~>

Initial support for building src_summary for multi-variant packages (-m),
    new special artificial output field VARIANTS7 is supported.
    Unfortunately pkgsrc developers declined this idea

    http://mail-index.netbsd.org/tech-pkg/2008/07/20/msg001320.html

    VARIANTS7 because I hope they will change their mind.

  Example:

      0 ~>./pkg_src_summary -a 'VARIANTS7' www/ap2-wsgi
      PKGPATH=www/ap2-wsgi
      PKGNAME=ap22-py24-wsgi-1.3
   => VARIANTS7=PYTHON_VERSION_DEFAULT=25,24,23 PKG_APACHE_DEFAULT=apache2,apache22

      0 ~>./pkg_src_summary -a 'VARIANTS7' lang/lua
      PKGPATH=lang/lua
      PKGNAME=lua-5.1.3nb1
   => VARIANTS7=

      0 ~>./pkg_src_summary -a 'VARIANTS7' www/php-apc
      PKGPATH=www/php-apc
      PKGNAME=php5-apc-5.2.6.3.0.16
   => VARIANTS7=PHP_VERSION_DEFAULT=4,5

      0 ~>
2008-09-06 17:17:27 +00:00
Aleksey Cheusov
d51725888a When used incorrectly, usage message is output 2008-09-06 16:05:20 +00:00
Aleksey Cheusov
779f52d762 one todo for pkg_src_summary 2008-07-28 19:15:58 +00:00
Aleksey Cheusov
ae92d8d3a4 minor fix 2008-07-07 14:36:33 +00:00
Aleksey Cheusov
288e355c8b release notes 2008-07-07 14:27:10 +00:00
Aleksey Cheusov
51c3bb7985 version -> 0.12.0
- added: pkg_grep_summary
   - do not depend on wip/paexec, install it manually
   - fixes in usage message of pkg_grep_summary
2008-07-07 14:25:26 +00:00