pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: postoffice



On Wed, Apr 19, 2006 at 05:08:03PM +0200, Pierre-Philipp Braun wrote:
> I've got a little trouble with PKGNAME that can't be equal to DISTNAME
> as it finishes with .pre3 I'm using PKGNAME=postoffice-1.3.3 as a hack
> for now.  any advice would be appreciated (and this also belongs to
> the next points, unless I read & find all the relevant parts in pkgsrc
> guide)

just remove the . in .pre3.  from pkg_info(8):

PACKAGE WILDCARDS

[...]

  The collating sequence of the various package version numbers is unusual,
  but strives to be consistent.  The magic string ``alpha'' equates to
  alpha version and sorts before a beta version.  The magic string ``beta''
  equates to beta version and sorts before a release candidate.  The magic
  string ``rc'' equates to release candidate and sorts before a release.
  The magic string ``pre'', short for ``pre-release'', is a synonym for
  ``rc''.  For example, name-1.3rc3 will sort before name-1.3 and after
  name-1.2.9.  Similarly name-1.3alpha2 will sort before name-1.3beta1 and
  they both sort before name-1.3rc1.  In addition, alphabetic characters
  sort in the same place as their numeric counterparts, so that name-1.2e
  has the same sorting value as name-1.2.5 The magic string ``pl'' equates
  to a patch level and has the same value as a dot in the dewey-decimal
  ordering schemes.


regards,

-- 
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --

Attachment: pgpuajCwUHrys.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index