Unrar 4.00 is out, but before I propose an update, we need to make
up our mind how to deal with unrar's versioning.

The crux of the matter is that the "official" version number of unrar,
as recorded in version.hpp, is different from the numbering of the
distfile.  This appears to be deliberate upstream policy and not a
case of accidental omission.  And it causes no end of confusion.
(The FreeBSD port is at EPOCH=5...)

The port currently uses the 4.0.2 distfile.  This corresponds to a
"4.00 beta 2" version:

  #define RARVER_MAJOR     4
  #define RARVER_MINOR     0
  #define RARVER_BETA      2
  #define RARVER_DAY      26
  #define RARVER_MONTH    11
  #define RARVER_YEAR   2010

There were a number of further betas with 4.0.x distfiles, and now there
is an official "4.00" release with a 4.0.7 distfile:

  #define RARVER_MAJOR     4
  #define RARVER_MINOR     0
  #define RARVER_BETA      0
  #define RARVER_DAY       2
  #define RARVER_MONTH     3
  #define RARVER_YEAR   2011

It comes down to this:  For the PKGNAME, do we want to use the
official version number (also displayed in the banner when running
unrar) or the one of the distfile?

I'm mildly in favor of the official numbering, but whatever we
decide on, I'll make sure to add sufficient commentary to the
Makefile so people can stick to one policy in the future.

-- 
Christian "naddy" Weisgerber                          [email protected]

Reply via email to