Opened 4 years ago
Closed 4 years ago
#60950 closed defect (fixed)
lzw_codec: Version is commit hash
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.3 |
Keywords: | Cc: | ||
Port: | lzw_codec |
Description
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@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.
Change History (1)
comment:1 Changed 4 years ago by tenomoto (Takeshi Enomoto)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In a0af0a26aa259693c6a04c422e52b8f84eeb67e2/macports-ports (master):