Bug 58642 - ports with a non-conforming PORTVERSION
Summary: ports with a non-conforming PORTVERSION
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-28 17:30 UTC by Oliver Eikemeier
Modified: 2003-11-02 11:34 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Eikemeier 2003-10-28 17:30:15 UTC
This is a followup to PR 56958.

The following ports have a hyphen in their version number:

Toni Andjelkovic <toni@soth.at>
  devel/pcsc-lite:
    1.2.0-rc1 => 1.2.0.r1

John R. Shannon <john@johnrshannon.com>
  devel/gdb53-act:
    5.3-act => 5.3

Vivek Khera <khera@kciLink.com>
  mail/postfix-current:
    2.0.14-20030812 => 2.0.14.20030812
    PORTEPOCH => 2

neither pkg_version nor portupgrade see the part of the version
before the last '-', i.e. devel/pcsc-lite is seen as version rc1,
1.3.0-b2 would be regarded as a previous version.

portlint detects this. The patch in PR 56960 too. See also the
FreeBSD Porter's Handbook, 4.2.4 Package Naming Conventions:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-naming.html

Fix: 

change the version numbers (and PORTEPOCH) as show above.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2003-11-02 11:34:17 UTC
State Changed
From-To: open->closed

Commited, thanks!