NOTICE: This package has been removed from pkgsrc

./wip/pkg_cmp_summary, Compares two package summary files (pkg_summary.txt format)

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ]


Branch: CURRENT, Version: 0.6.2, Package name: pkg_cmp_summary-0.6.2, Maintainer: cheusov

pkg_cmp_summary compares files that contain summary information
about packages (pkg_summary.txt format).
These files may be generated by pkg_info -X, pkg_src_summary
or anything else.
Actually PKGNAME fields are compared only.
All PKGNAMEs are checked, i.e. versions are compared and
presense is checked.

Format of the results:
<R> <PKGBASE> <VER1> <VER2>
where R is
- present in the first file but absent in the second one (disappears)
+ absent in the first file but present in the second one (appears/new)
<NUM> more than one package with the same PKGBASE is in the first file
= versions are the same
< second file contains more recent version (upgrade is possible)
> first file contains earlier version (downgrade is possible)
? versions are incomparable (e.g. 1.2.3 vs. 20080101)

PKGBASE is PKGNAME with version stripped,
VER1 and VER2 are package versions. VER2 is present only if
R is `<' or `>'


Required to run:
[wip/runawk]

Version history: (Expand)


CVS history: (Expand)


   2008-04-06 22:40:45 by Aleksey Cheusov | Files touched by this commit (3) | Package removed
Log message:
moved to pkg_summary-utils

   2008-04-06 22:39:55 by Aleksey Cheusov | Files touched by this commit (4) | Package removed
Log message:
moved to pkg_summary-utils

   2008-02-24 21:42:22 by Aleksey Cheusov | Files touched by this commit (2)
Log message:

FIXED: works incorrectly if the first file is empty
   2008-02-24 17:24:04 by Aleksey Cheusov | Files touched by this commit (2)
Log message:

space is used as a PKGPATH/PKGBASE separator to make it easier to parse
   2008-02-24 17:05:10 by Aleksey Cheusov | Files touched by this commit (2)
Log message:

ADDED:
   -h option for help
   -p option for using PKGPATH+PKGBASE pair for identifing a package,
     that is graphics/gqview, graphics/gqview-devel and graphics/gqview-gtk1
     are different though all they use the same PKGBASE
   2008-02-18 10:21:34 by Aleksey Cheusov | Files touched by this commit (3)
Log message:
now it uses wip/awk-pkgsrc-dewey

   2008-02-17 01:15:29 by Aleksey Cheusov | Files touched by this commit (2)
Log message:
fixed: 9.9[a-z]nb999

   2008-02-16 22:07:34 by Aleksey Cheusov | Files touched by this commit (2)
Log message:

++version
I hope now it is compatible with dewey algorithm.
   Found bug - let me now.