https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246883

            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: [email protected]
          Reporter: [email protected]

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

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

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

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

Documentation does not state 99 limits:
PORTREVISION is a monotonically increasing value which is reset to 0 with every
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.html#5.2.3.1

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to