Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2020 21:50:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 246883] PKG REVISIONS limited with two characters not number
Message-ID:  <bug-246883-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246883

            Bug ID: 246883
           Summary: PKG REVISIONS limited with two characters not number
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: please@forget.me.uk

I am producing packages in the format:
${PORTNAME}-${PORTVERSION}[_${PORTREVISION}][,${PORTEPOCH}].=20

When PORTREVISION is 99+ pkg manager does not respect packages. Maximum
revision 99.=20

'pkg upgrade' thinks it is 99 is the latest package revision in the reposit=
ory
even repository has a definition of higher numbers of 99.=20

It might be in this part of the code:
https://github.com/freebsd/pkg/blob/16207928cbdbd8e950071e6067f8bc5a0a62185=
6/libpkg/pkg_version.c#L72=20

Documentation does not state 99 limits:
PORTREVISION is a monotonically increasing value which is reset to 0 with e=
very
increase of DISTVERSION, typically every time there is a new official vendor
release. If PORTREVISION is non-zero, the value is appended to the package
name. [...]
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.htm=
l#5.2.3.1

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246883-227>