[MacPorts] #60950: lzw_codec: Version is commit hash

MacPorts noreply at macports.org
Mon Aug 3 03:19:36 UTC 2020


#60950: lzw_codec: Version is commit hash
------------------------+-----------------------
 Reporter:  ryandesign  |      Owner:  tenomoto
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.3
 Keywords:              |       Port:  lzw_codec
------------------------+-----------------------
 The version of the lzw_codec port is a commit hash:

 {{{
 port info --version lzw_codec
 version: 54be8e96e64bf56525996b1c41b424b827728a00
 }}}

 Commit hashes are not suitable for use as port version numbers because
 they are not monotonically increasing.

 This project doesn't have any tags, but the program reports its version as
 0.11:

 {{{
 $ lzw_codec --version 2>&1 | head -n1
 This is LZW codec v0.11, (C) pts at fazekas.hu in Late Dec 2001
 }}}

 So maybe that's the version number the portfile should use. Note that when
 you change it, you'll also need to increase the `epoch` because:

 {{{
 $ ~/macports/macports-user-ryandesign/scripts/vercmp 0.11
 54be8e96e64bf56525996b1c41b424b827728a00
 MacPorts considers 0.11 to be less than
 54be8e96e64bf56525996b1c41b424b827728a00.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/60950>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list