Commit graph

569 commits

Author SHA1 Message Date
Aleksey Cheusov
9eee7d8c67 fix test failures on Linux/bash 2010-12-13 10:29:23 +00:00
Aleksey Cheusov
713b2b6e93 forgot to add these two files 2010-12-13 10:14:19 +00:00
Aleksey Cheusov
cf8f2bcb3b pkg_summary2deps:
- new option -X for exiting with non-zero status in case of problems
pkg_lint_summary:
   - -d option: non-zero status if problems were detected
2010-12-12 16:03:11 +00:00
Aleksey Cheusov
a09e0f29da New tool pkg_summary2leaves has been added. 2010-12-11 23:36:05 +00:00
Aleksey Cheusov
a9c488a6dd fix for previous commits that break -h 2010-12-11 12:40:47 +00:00
Aleksey Cheusov
b569e084cf pkg_summary2deps:
Options -N and -P were added
2010-12-09 22:23:54 +00:00
Aleksey Cheusov
86b4b0b53f add mixxed file for regression tests 2010-12-09 20:28:30 +00:00
Aleksey Cheusov
96ad49f7d8 pkg_summary2deps:
option -a was added for outputting all matched dependencies separated
   by `|' symbol, not only the first one.
2010-12-08 22:09:37 +00:00
Aleksey Cheusov
2e7527ec34 update DESCR 2010-11-27 14:39:51 +00:00
Aleksey Cheusov
6a57a90f78 Option -n was added to pkg_uniq_sumary 2010-11-24 23:20:09 +00:00
Aleksey Cheusov
9d4d738ee7 Damn it! 2010-11-23 23:46:11 +00:00
Aleksey Cheusov
ed61152079 Add man page 2010-11-23 23:43:50 +00:00
Aleksey Cheusov
97c0442d67 Update to 0.49.1
Man page for pkg_digger(1) was added.
2010-11-23 22:45:17 +00:00
Aleksey Cheusov
223a9f7301 Update to 0.49
New tools pkg_digger and pkg_digger_backend were added. pkg_digger
  is a powerful high-level package searcher.  Run 'pkg_digger -h' for
  details.

  psu_funcs.awk:
    - fix in pkgver_position, pkgname2pkgbase and pkgname2version
      functions for glob square brackets without *+ after them

  pkg_summary2deps:
    - New option -l was added
    - New option -c was added

  pkg_lint_summary:
    - Option -d was fully reimplemented, now it uses pkg_summary2deps.
    - New option -D was added
    - New option -c was added
    - New option -u was added

  pkg_grep_summary:
    - New option -f was added to specify fields to output
    - New artificial search field: PKGPAIR = PKGPATH,PKGBASE
      (e.g. textproc/dict-server,dict-server)
    - New options -r and -R, see the manual page for details.
    - Doubled -T shows strategies with their description separated by
      TAB character.

  pkg_summary2build_graph:
    marked as deprecated
2010-11-19 23:18:03 +00:00
Aleksey Cheusov
163fec4975 Option -u was added to pkg_lint_summary 2010-11-19 23:02:38 +00:00
Aleksey Cheusov
89cec5feb7 Option "-c" was added to pkg_lint_summary.
Man page for pkg_lint_summary was updated.
2010-11-18 22:41:50 +00:00
Aleksey Cheusov
168a7bb7a8 Option -c was added to pkg_summary2deps 2010-11-18 21:56:21 +00:00
Aleksey Cheusov
13a96b65cb fix for glob braces without *+ after them 2010-11-17 22:24:42 +00:00
Aleksey Cheusov
836e09fab7 pkg_lint_summary: option -d is fully reimplemented, now it uses
pkg_summary2deps.
    New option -D was added.
2010-11-14 22:20:45 +00:00
Aleksey Cheusov
d2afdf71a0 fix 2010-11-14 19:24:51 +00:00
Aleksey Cheusov
b0133c314c another test for pkg_summary2deps 2010-11-14 19:03:58 +00:00
Aleksey Cheusov
91fcd61e31 Option -l was added to pkg_summary2deps.
More regression tests.
2010-11-14 18:11:55 +00:00
Aleksey Cheusov
d422e9bb54 fix for option -d 2010-11-14 18:07:42 +00:00
Aleksey Cheusov
3a572f561b version -> 0.49beta2
Updates in regression tests, NEWS, TODO, README and DESCR.
2010-11-14 01:24:04 +00:00
Aleksey Cheusov
18c7f7df5a License has been changed from MIT to 2-clause BSD. 2010-11-14 01:04:30 +00:00
Aleksey Cheusov
e60bf688e9 marked as deprecated 2010-11-14 01:03:32 +00:00
Aleksey Cheusov
bb80a2c1c2 "pkg_digger -s" and "pkg_digger_backend -s" show available strategies with their description 2010-11-13 21:35:30 +00:00
Aleksey Cheusov
ad25f96e70 Doubled -T shows strategies with their description separated by TAB. 2010-11-13 21:30:40 +00:00
Aleksey Cheusov
368642c661 New tool "pkg_digger", powerful searcher for pkg_summary.txt, actually
a slightly modified copy/paste of pkg_online_find.
   pkg_online_find will be reimplemented and will use pkg_digger.
   pkg_digger -h
2010-11-13 21:12:28 +00:00
Aleksey Cheusov
d180422295 pkg_digger has been renamed to pkg_digger_backend 2010-11-13 19:59:34 +00:00
Aleksey Cheusov
5d1fc4d997 Also install pkg_digger
Run several pkg_grep_summary in parallel to work faster
    on multi-CPU systems.
2010-11-13 01:17:35 +00:00
Aleksey Cheusov
5522f52ef4 version -> 0.49beta1 2010-11-12 23:38:37 +00:00
Aleksey Cheusov
5a002f182d pkg_digger.in:
- corrections for exit status and messages sent to stderr
   - fixes for -q
   - clean-ups
2010-11-12 23:21:12 +00:00
Aleksey Cheusov
d09981a3ae Two new options were added tp pkg_grep_summary: -r and -R 2010-11-12 22:56:54 +00:00
Aleksey Cheusov
96beab860c implementation for -r, -3 and -9 2010-11-12 22:29:40 +00:00
Aleksey Cheusov
ae7a5d937d -1 option was implemented; some fixes 2010-11-12 21:37:42 +00:00
Aleksey Cheusov
3fe239df11 New artificial field: PKGPAIR (e.g. textproc/dict-server,dict-server) 2010-11-12 20:49:00 +00:00
Aleksey Cheusov
e5532642bc initial version of pkg_digger 2010-11-12 20:06:50 +00:00
Aleksey Cheusov
720720a8bc Option -v was added to pkg_grep_summary 2010-11-11 22:34:45 +00:00
Aleksey Cheusov
bbec3921f1 Option -f was added to pkg_grep_summary 2010-11-11 21:56:39 +00:00
Aleksey Cheusov
8bc2760cc3 version -> 0.48 2010-11-07 18:36:16 +00:00
Aleksey Cheusov
13ff455010 Update to 0.48
Build system has been changed from mk-files to mk-configure

  pkg_subgraph_deps:
    - manual page was added.
    - new option -t was added.
    - tsort(1)-like input is also accepted, i.e., two equal tokens on
      input mean isolated node of graph (package with no dependencies and
      dependent packafes)

  pkg_bin_summary:
    - manual page was added, usage message was also improved.
2010-11-07 18:35:45 +00:00
Aleksey Cheusov
bd45b922f6 pkg_subgraph_deps also accepts tsort(1)-like input, e.g. two equal tokens on
input mean isolated node of graph (package with no dependencies and
   dependent packafes).
2010-11-07 14:34:54 +00:00
Aleksey Cheusov
d6161bf611 Manual page for pkg_bin_summary was added.
Usage message is also updated and fixed.
2010-11-07 13:56:17 +00:00
Aleksey Cheusov
0d605f8eb5 Manual page for pkg_subgraph_deps was added.
New option -t for pkg_subgraph_deps was added.
2010-11-07 13:12:21 +00:00
Aleksey Cheusov
b83d5d0224 Update to 0.47.0
Long options are considered deprecated. Do not use them. They will
  be removed in the future.

  pkg_summary2deps:
    - has been completely reimplemented.  Now it handles
      glob pattern like libao-[a-z]*-[0-9]* correctly.
    - Options -r and -R now work differently.
    - New option -s for was added.

  pkg_src_summary:
    - FIX: With -A option "bad" dependencies, i.e. ones with incorrect
      assignments like XXX_VERSION_REQD=<unsupported-value>, are
      skipped, thus allowing distbb to outout much better diagnistics.
    - Minor fix for -G debugging option
    - Simplification: due to changes in pkg_summary2deps,
      "enrich_XDEPENDS" helper script is not needed anymore, so it was
      removed.
2010-11-07 11:36:43 +00:00
Aleksey Cheusov
a52b216604 Merge with psu-0-47 branch. 2010-11-07 11:34:51 +00:00
Aleksey Cheusov
eff02306db Update to 0.46
pkg_src_fetch_var:
     -All tokens on input are treated as pkgpath, not only $1. Support
      for paexec slave mode was added.

  pkg_lint_summary:
     - Documentation and sample of use for -L was added.
     - If -L is applied, existense of all files from REQUIRES is
       checked, not only pkgsrc libraries.

  All shell scripts use 'mktemp -d' for creating a temporary directory
  instead of $$.

  pkg_micro_src_summary:
     - become even more "parallelized".
2010-10-31 14:35:16 +00:00
Aleksey Cheusov
54fee8b709 fix 2010-10-30 23:34:02 +00:00
Aleksey Cheusov
4e29e42891 $SH is used for calling $0 (for easier debugging) 2010-10-30 23:15:24 +00:00
Aleksey Cheusov
847180ea23 10 packages per slave for pkg_src_fetch_var for minimizing context switch 2010-10-30 23:02:38 +00:00
Aleksey Cheusov
ee3068cccd fix for previous commit 2010-10-30 22:55:12 +00:00
Aleksey Cheusov
d10ad4966a Process all tokens, not only $1 2010-10-30 21:51:14 +00:00
Aleksey Cheusov
b3560447e8 'mktemp -d' is used for creating temp dir instead of $$ 2010-10-30 12:48:43 +00:00
Aleksey Cheusov
b127fe5e5c Several subprocesses of pkg_src_fetch_var(1) are run in parallel.
'mktemp -d' is used for creating temp dir.
2010-10-30 12:47:35 +00:00
Aleksey Cheusov
06c0446654 man page: documentation and sample for -L was added.
-L is now used for checking existance of ALL libraries,
    not only system ones.
Minor clean-ups
2010-10-30 11:21:04 +00:00
Aleksey Cheusov
710d1dbbb4 +1 priority task 2010-10-29 13:56:25 +00:00
Aleksey Cheusov
f260b5baa6 -s option for paexec slave mode 2010-10-28 20:16:13 +00:00
Aleksey Cheusov
f1527a1521 Updated to 0.45.0
FIX: Now pkg_lint_summary -d handles correctly glob patterns like
      liboa-[a-z]*-[0-9]*

  All scripts using regexp are run with locale C (LC_ALL=C) in order
      to avoid locale-dependent behaviour.

  New option -n for was added to pkg_subgraph_deps in order to output
      only nodes without edges

  New option -L was added to pkg_lint_summary for ensuring that
      all non-pkgsrc libraries exist on filesystem.

  New option -d was added to pkg_cmp_summary for using DEPENDS in
      comparison.
2010-10-20 21:11:17 +00:00
Aleksey Cheusov
a5b7cb0f31 Option -d were added to pkg_cmp_summary for using DEPENDS in comparison. 2010-10-20 20:58:04 +00:00
Aleksey Cheusov
0ee3e4fa79 Ooops, I forgot to commit this file 2010-10-18 08:28:07 +00:00
Aleksey Cheusov
9b2f375ab8 New option -L were added to pkg_lint_summary for ensuring that
all non-pkgsrc libraries exist on filesystem.
2010-10-17 20:42:33 +00:00
Aleksey Cheusov
3e69bb1663 New option -n for pkg_subgraph_deps to output only nodes without edges 2010-10-17 18:57:07 +00:00
Aleksey Cheusov
382c04828d All scripts using regexp are run with locale C (LC_ALL=C) in order to avoid
locale-dependent behaviour.
2010-10-17 18:47:49 +00:00
Aleksey Cheusov
6574b1a2ea adapted for recent changes in pkgsrc; One fix 2010-10-17 18:43:51 +00:00
Aleksey Cheusov
8f35ee85e9 FIX: Now pkg_lint_summary -d handles correctly glob patterns like
liboa-[a-z]*-[0-9]*
2010-10-17 18:30:14 +00:00
Aleksey Cheusov
4ef765fcf3 Oops, I forgot to commit this 2010-10-17 18:25:43 +00:00
Aleksey Cheusov
035466b41b Update to 0.44.0
As of this version pkg_summary-utils uses its own pkgsrc-dewey.awk
  and therefore  CONFLICTS with awk-pkgsrc-dewey.
2010-10-17 15:42:54 +00:00
Aleksey Cheusov
0c0f0011de pkg_src_summary: fix abug with PSS_OPTIONS introduced in 0.43.0
version -> 0.43.1
2010-10-11 21:47:12 +00:00
Aleksey Cheusov
cd2db8db80 another fix for a bug introduced in 0.43 (paexec_reorder) 2010-10-11 14:10:08 +00:00
Aleksey Cheusov
999f4b541c ++pkgrevision 2010-10-11 14:01:00 +00:00
Aleksey Cheusov
bac51c31a4 PSS_PPERS is always set to 1 until I really fix it 2010-10-11 13:38:41 +00:00
Aleksey Cheusov
9feff202f2 paexec>=0.15.0 is needed 2010-10-10 20:46:19 +00:00
Aleksey Cheusov
08686e3f58 Update to 0.43.0:
Regression tests framework has been completely reworked.

  All tool using short options conform to POSIX Utility Syntax Guidelines.

  pkg_summary4view:
     - reworked
     - content of DEPENDS, BUILD_DEPENDS etc. is sorted alphabetically.

  pkg_src_summary:
     - fix in PSS_PPERS
     - new artificial field ALLDISTFILES, list of distfiles with
       their sizes separated by colon
2010-10-10 20:34:02 +00:00
Aleksey Cheusov
be3f8c94e1 Updated for paexec>=0.15.0
Conflicts with older versions
++pkgrevision
2010-10-10 18:23:39 +00:00
Aleksey Cheusov
f6d9bc5af2 additions and minor fixes for usage message 2010-09-14 21:40:42 +00:00
Aleksey Cheusov
821b176dab new task 2010-08-30 13:59:25 +00:00
Aleksey Cheusov
0c45fcd558 Update to 0.42.2
pkg_src_summary:
      - fix for -b and -l, they didn't work with non-empty PSS_SLAVES
2010-07-30 17:46:43 +00:00
Aleksey Cheusov
08e83c6898 +1 task for pkg_grep_summary 2010-07-30 16:17:44 +00:00
Aleksey Cheusov
8064ad3a50 update date 2010-07-30 15:59:43 +00:00
Aleksey Cheusov
a7e28b77a8 fix a typo 2010-07-30 15:59:14 +00:00
Aleksey Cheusov
0d1ae036bb adapt tests for recent pkgsrc (Linux) 2010-07-30 15:47:17 +00:00
Aleksey Cheusov
51c663b0a9 -1 task (already done) 2010-07-25 16:26:18 +00:00
Aleksey Cheusov
bb2d6fa567 -1 task (done) 2010-07-25 16:17:04 +00:00
Aleksey Cheusov
adbb174405 pkg_grep_summary:
- Add new searcgh strategy "strlist".
2010-07-25 16:16:10 +00:00
Aleksey Cheusov
d661249ac4 Update to 0.42.1
pkg_grep_summary:
      - FIXED: search strategy "substring"
  pkg_summary2deps:
      - More verbose error message "Cannot find PKGPATH for %s"
  get_processed_pkgs is separated into an individual libexec script
2010-07-25 14:55:38 +00:00
Aleksey Cheusov
b66c5ed652 more verbose error message "Cannot find PKGPATH for %s" 2010-07-25 14:46:05 +00:00
Aleksey Cheusov
28c86e1f1b FIXED: search strategy "substring" in pkg_grep_summary 2010-07-24 22:45:22 +00:00
Aleksey Cheusov
4657f42401 Minor spell corrections 2010-07-24 22:29:23 +00:00
Aleksey Cheusov
71c9dc0c3d Update to 0.42.0
pkg_src_summary, pkg_summary2deps:
     Forcibly remove `/' at the end of PKGPATH. This unbreaks some
     packages in distbb bulk builds.

  pkg_summary2deps:
     One more fix for alternative dependencies. This unbreaks
     editors/leim20 and some others.
2010-06-22 21:45:09 +00:00
Aleksey Cheusov
f17f5644c6 FIX for previous commit 2010-06-21 12:28:21 +00:00
Aleksey Cheusov
2039364d59 Yet another fix for alternative dependencies. This unbreaks
print/foomatic-filters-cups, net/ispman and editors/leim20.
2010-06-14 20:58:10 +00:00
Aleksey Cheusov
377aa1981c pkg_src_summary -A: extra / at the end of PKGPATH inside DEPENDS and
BUILD_DEPENDS are removed. This may fix some problems.
2010-06-13 19:13:12 +00:00
Aleksey Cheusov
8126c39012 Remove `/' at the end of PKGPATH. This unbreaks some packages
in distbb bulk builds.
2010-06-13 18:38:46 +00:00
Aleksey Cheusov
07a55162f2 version -> 0.42beta1 2010-06-13 17:39:55 +00:00
Aleksey Cheusov
c529b0eff6 New option -p 2010-06-13 17:39:22 +00:00
Aleksey Cheusov
33f3ef9f2a -1 task (done) 2010-06-13 17:38:49 +00:00
Aleksey Cheusov
aa4d4c2dfd +1 new task for pkg_grep_summary 2010-06-05 20:41:58 +00:00
Aleksey Cheusov
10249e7379 Minor fixes release: 0.41.1
pkg_lint_summary:
     fix for -d: alternative dependencies are handles correctly now

  pkg_bin_summary:
     If REQUIREDBY was requested, PKGNAME if also generated forcibly.
2010-06-04 21:47:41 +00:00
Aleksey Cheusov
5dd41f818f fix for -d: alternative dependencies are handles correctly 2010-06-04 21:14:44 +00:00
Aleksey Cheusov
813b108f32 comment lines 2010-06-04 21:14:04 +00:00
Aleksey Cheusov
70286c2a95 Force to -a/-f PKGNAME if REQUIREDBY was requested 2010-05-30 21:02:13 +00:00
Aleksey Cheusov
c4a0d7b682 Minor update 2010-05-30 19:46:58 +00:00
Aleksey Cheusov
5289f1129e Update to 0.41.0:
pkg_grep_summary:
   - new variable "fields" that may be used in awk_condition.
     See man page for details.
   - new search strategy "kw" (or "keywords") for matching all words
     within query.

 pkg_src_summary:
   - new option -l for adding library dependencies to BUILD_DEPENDS.

 New tool: pkg_bin_summary, wrapper for 'pkg_info -X' which outputs
 build information variables and and installation information
 variables as well some special variables, e.g. ASSIGNMENTS and
 REQUIREDBY.

 Path to "pkg_info" command is embedded to all scripts using it.
2010-05-30 19:40:49 +00:00
Aleksey Cheusov
2bebc3833e pkg_src_summary:
- new option -l for adding library dependencies to BUILD_DEPENDS.
2010-05-30 19:29:40 +00:00
Aleksey Cheusov
21145919c4 embed path to pkg_info to scripts at compile time 2010-05-30 18:59:41 +00:00
Aleksey Cheusov
f406545b94 pkg_grep_summary:
- new search strategy "kw"
New tool pkg_bin_summary
version -> 0.41rc1
2010-05-30 18:40:03 +00:00
Aleksey Cheusov
a9a9f884f6 pkg_grep_summary:
- new search strategy "kw" (or "keywords") for matching all words
    within query.
2010-05-30 18:21:26 +00:00
Aleksey Cheusov
e6fdb4f662 Tests for pkg_bin_summary. Fix. 2010-05-30 16:50:28 +00:00
Aleksey Cheusov
b40eddbe0b New variable to use in awk_condition: fields.
It works when field to match is `.' .
Man page update, tests.
2010-05-30 16:07:13 +00:00
Aleksey Cheusov
7f8b5827e7 update: new tools appeared since last update 2010-05-30 15:20:34 +00:00
Aleksey Cheusov
27cbf440b2 New art. field: REQUIREDBY 2010-05-30 14:58:33 +00:00
Aleksey Cheusov
c89714d441 New artificial field: ASSIGNMENTS 2010-05-30 13:36:06 +00:00
Aleksey Cheusov
dd7e137b64 initial version for pkg_bin_summary 2010-05-30 12:53:28 +00:00
Aleksey Cheusov
0748dd7d26 Update to 0.40.0
pkg_grep_summary:
  - new option -t that implements the following search strategies:
    empty (synonym to -e), exact (synonym to -s), prefix, suffix,
    substring, first, last, word, re (synonym to -m),
    strfile (synonym to -S) and awk (synonym to non-option mode).
  - new option -T that displays all available search strategies.
  - new option -i for ignoring the case while matching
  - update of manual page
  - FIXED: Multiline fields don't like my optimization.
     Disabling optimization for them
  - minor optimization
2010-05-29 23:43:00 +00:00
Aleksey Cheusov
580e421d28 pkg_grep_summary: now works up to ~30% faster 2010-05-29 22:55:05 +00:00
Aleksey Cheusov
885e1efbeb hide internal variables 2010-05-29 22:39:12 +00:00
Aleksey Cheusov
69ad0c9559 FIXED: Multiline fields don't like my optimization.
Disabling optimization for them.
Minor clean-ups.
2010-05-29 22:33:09 +00:00
Aleksey Cheusov
f4b84ae239 Update for TODO
Minor rewordings in man page and ussage message
2010-05-29 20:34:31 +00:00
Aleksey Cheusov
5c223831ff pkg_grep_summary:
- new option -i for ignoring case while matching
  - man page update
version -> 0.40rc1
2010-05-29 19:24:56 +00:00
Aleksey Cheusov
ce3a64708a Code cleanup, simplifications 2010-05-29 18:41:53 +00:00
Aleksey Cheusov
8941cbc5b3 pkg_grep_summary:
- new search strategy "empty"
  - man page updates
2010-05-29 18:23:02 +00:00
Aleksey Cheusov
8609bbb223 pkg_grep_summary:
- new search strategies: "awk" and "strfile"
   - update of manual page
   - more tests
2010-05-29 17:54:27 +00:00
Aleksey Cheusov
c304bbff50 pkg_grep_summary:
- new option "T" that displays all available search strategies
  - update for manual page
  - regression test
2010-05-29 16:45:14 +00:00
Aleksey Cheusov
84ff5eff03 implementation for "-t re" (regexp search strategy) 2010-05-29 16:09:02 +00:00
Aleksey Cheusov
35c1d318e6 pkg_grep_summary: new option -t 2010-05-29 15:20:56 +00:00
Aleksey Cheusov
baaaa60885 Update to 0.39.0
pkg_src_summary:
  - new option "-b".
  - fix for -r and -a options
    (-a BOOTSTRAP_DEPENDS -r DEPENDS worked incorrectly).
2010-05-24 20:53:57 +00:00
Aleksey Cheusov
e18a48c81c Another for -b, now it works correctly in combination with -m 2010-05-24 11:17:20 +00:00
Aleksey Cheusov
f564ffde90 Another fix for -b 2010-05-22 13:28:07 +00:00
Aleksey Cheusov
1b7166c12d fixes for newly created -b 2010-05-22 13:21:11 +00:00
Aleksey Cheusov
fcff35d386 fix for -r and -a options 2010-05-22 11:47:05 +00:00
Aleksey Cheusov
ad7f9d9566 version -> 0.39rc1 2010-05-22 09:04:46 +00:00
Aleksey Cheusov
7f031e3fee Add -b option for adding BOOTSTRAP_DEPENDS to BUILD_DEPENDS 2010-05-22 09:03:30 +00:00
Aleksey Cheusov
d811e20640 minor update 2010-05-01 21:09:02 +00:00
Aleksey Cheusov
e8e3b59703 Update to 0.38.0
New mega tool -- pkg_subgraph_deps!

  pkg_src_summary:
    - Fix in adding ASSIGNMENTS inside DEPENDS and BUILD_DEPENDS.
    - Portions of this script were separated into individual scripts under
      libexec/ subdirectory.
    - Improvements for -G
    - New implementation for -A + -m. Speed-ups. Clean-ups.

  pkg_summary2deps:
    - FIX: no double removal of -version anymore.

  pkg_summary2bb_pkgs:
    - FIX: do not output two packages with the same PKGNAME if they
      both have non-empty ASSIGNMENTS, e.g
      net/nicotine:PYTHON_VERSION_REQD={24,25}

  Updates in manual pages.

  More regresion tests.

  Makefile:
    - Overridable DIFF_PROG that defaults to "diff -U10"
2010-05-01 21:06:44 +00:00
Aleksey Cheusov
e4557c9060 Update to 0.37.1
FIX: The following command no longer hangs up (infinite loop)
    pkg_src_summary -G -A graphics/py-cairo:PYTHON_VERSION_REQD=25

 Regression tests correspond to latest pkgsrc sources
2010-04-18 20:20:17 +00:00
Aleksey Cheusov
3c6dd17086 pkg_grep_summary:
- update manual page
   - fix for PKGPATHe
   - ++patchlevel
   - one more regression test
2010-03-27 21:45:33 +00:00
Aleksey Cheusov
fe8e703426 Updated to 0.37.0
pkg_lint_summary:
   - If problems were encountered, an exit status is 1

   - New option -d for checking that all required dependencies are
     present in input summary. For details, see a manual page.

 pkg_grep_summary:
   - New option -S for grepping summaries using a list of PKGPATHs,
     PKGBASEs or whatever else stored in a file. For details, see a
     manual page.

   - New artificial field for searching: "PKGPATHe". This is an
     enriched PKGPATH, i.e. PKGPATH and ASSIGNMENTS (if present)
     separated by a colon (`:') symbol.

   - optimizations
2010-03-26 23:17:20 +00:00
Aleksey Cheusov
6086e8ca90 Explain some problems in pkg_src_summary and pkg_summary2build_graph 2010-03-26 22:36:40 +00:00
Aleksey Cheusov
0447eea385 -1 task (already done) 2010-03-26 22:28:09 +00:00
Aleksey Cheusov
4c1040dd9c remove some garbage from test file 2010-03-26 21:15:37 +00:00
Aleksey Cheusov
95172ccda0 forgot to commit this 2010-03-25 21:01:27 +00:00
Aleksey Cheusov
e7ef346445 regression test for "pkg_grep_summary -S" 2010-03-25 21:00:29 +00:00
Aleksey Cheusov
4754557cc0 optimization for speed 2010-03-25 20:43:27 +00:00
Aleksey Cheusov
863d6b302f PKGPATH search field is a plain PKGPATH with any ASSIGNMENTS stripped 2010-03-25 20:37:22 +00:00
Aleksey Cheusov
c8c137a980 New artificial search field "PKGPATHe" equal to PKGPATH:ASSIGNMENTS 2010-03-25 20:23:57 +00:00
Aleksey Cheusov
8c97a45269 Adaptation of regression tests for latest changes in pkgsrc+wip 2010-03-24 16:03:28 +00:00
Aleksey Cheusov
547b92aa96 New option -S. See a manual page for details. 2010-03-24 14:27:05 +00:00
Thomas Klausner
c5b6e8a5e0 Reset maintainer, developer lost his commit bit. 2010-03-21 16:29:52 +00:00
Aleksey Cheusov
70d67c19cd new plans for pkg_grep_summary 2010-03-19 22:23:11 +00:00
Aleksey Cheusov
504e19f15c dependency: s,wip/pipestatus,devel/pipestatus, 2010-03-13 17:51:51 +00:00
Aleksey Cheusov
b2983c315d update, samples of usage 2010-03-12 22:13:10 +00:00
Aleksey Cheusov
ae015f9fa2 update 2010-03-12 22:06:55 +00:00
Aleksey Cheusov
5e14f112b7 If problems were encountered, an exit status is 1 2010-03-12 21:38:22 +00:00
Aleksey Cheusov
d9199b4084 pkg_lint_summary: new option -d that ckecks that ALL required dependencies
are present. Sample of usage:

   pkg_delete -f gtk2+
   pkg_info -Xa | pkg_lint_summary -d
2010-03-12 21:35:51 +00:00
Aleksey Cheusov
e403fabdce new function pkgname2version 2010-03-12 21:30:19 +00:00
Aleksey Cheusov
bc18b71f91 packaged as wip/pkg_status 2010-03-12 07:49:31 +00:00
Aleksey Cheusov
6ac6cbc2ce Option in PKG_STATUS_OPTIONS variable are always applied (it makes sense for -Q) 2010-03-11 21:02:43 +00:00
Aleksey Cheusov
9ee4adcabe Add -Q option to not print reminder about output format 2010-03-11 20:56:45 +00:00
Aleksey Cheusov
365e827939 pkg_status accepts options for pkg_info after --
More examples
Better usage message
2010-03-11 20:48:48 +00:00
Aleksey Cheusov
d5658089a9 option -D for debugging purposes was added 2010-03-11 10:53:15 +00:00
Aleksey Cheusov
1d7ca1163b update year in copyright notice 2010-03-10 22:31:49 +00:00
Aleksey Cheusov
58530b1d13 Add optional pkg-name as an argument and more goodies 2010-03-10 22:23:03 +00:00
Aleksey Cheusov
7bc37662c8 better help message 2010-03-10 22:08:23 +00:00
Aleksey Cheusov
2c03be74e4 cleaner output 2010-03-10 22:05:42 +00:00
Aleksey Cheusov
5b37e06017 new options passed to pkg_info: -a and -u 2010-03-10 21:57:18 +00:00
Aleksey Cheusov
698262188b initial version of tool for checking installed packages against pkgsrc tree or pkg_summary.txt 2010-03-10 21:46:00 +00:00
Aleksey Cheusov
fa08acc4f0 fix a typo 2010-03-01 21:35:10 +00:00
Aleksey Cheusov
b98015064f Update to 0.36.1
- New tool pkg_lint_summary. Given summary on input it makes some
   checnity checks. At the moment the only implemented check is (-l
   option) is PROVIDES/REQUIRES consistency.

  - pkg_grep_summary:
     - Artificial field PKGBASE is also supported.
       It is actually a PKGNAME without package version.
     - New regression tests
     - Minor update and mixes in manual page
2010-03-01 21:29:03 +00:00
Aleksey Cheusov
96347eb04c updated 2010-03-01 20:41:19 +00:00
Aleksey Cheusov
51ba68295e pkg_grep_summary:
- Artificial field PKGBASE is also supported.
     It is actually a PKGNAME without package version.
   - New regression tests
   - Minor update and mixes in manual page
2010-03-01 20:25:47 +00:00
Aleksey Cheusov
2f3f6265c2 pkg_lint_summary: output PKGPATH and PKGNAME separated by SPC, not colon 2010-03-01 19:35:16 +00:00
Aleksey Cheusov
3349d3c2f3 pkg_lint_summary: -l is mandatory option
+1 regression test for pkg_lint_summary
2010-03-01 16:23:09 +00:00
Aleksey Cheusov
a75ea9e8c9 regression test for pkg_lint_summary 2010-03-01 16:14:50 +00:00
Aleksey Cheusov
399a5c6ba3 fix for "make test" 2010-03-01 15:32:37 +00:00
Aleksey Cheusov
ef60f6f8f6 one more task 2010-03-01 15:28:09 +00:00
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