Subject: CVS commit: wip/pkg_cmp_summary
From: Aleksey Cheusov
Date: 2008-02-10 20:06:08
Message id: E1JOHVP-0006Xg-Qk@sc8-pr-cvs1.sourceforge.net

Log Message:

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 `>'

Files:
RevisionActionfile
0addwip/pkg_cmp_summary/DESCR
0addwip/pkg_cmp_summary/Makefile
0addwip/pkg_cmp_summary/PLIST
0addwip/pkg_cmp_summary/files/Makefile
0addwip/pkg_cmp_summary/files/pkg_cmp_summary
0addwip/pkg_cmp_summary/files/pkg_cmp_summary.1