#34884 closed defect (fixed)
sudo @1.7.7 livecheck fails to get the latest version
Reported by: | nonstop.server@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | haspatch | Cc: | |
Port: | sudo |
Description
The default livecheck does not present the latest version for this port.
% port -v livecheck sudo sudo seems to have been updated (port version: 1.7.7, new version: 1.8.3p1)
After applying the attached patch, livecheck correctly returns the latest version for sudo.
% port -d livecheck sudo [ snip output for brevity ] DEBUG: livecheck phase started at Sat Jun 16 12:43:57 CEST 2012 DEBUG: Executing org.macports.livecheck (sudo) DEBUG: Portfile modification date is Sat Jun 16 12:43:54 CEST 2012 DEBUG: Port (livecheck) version is 1.7.7 DEBUG: Fetching http://www.sudo.ws/sudo/dist/ DEBUG: The regex is "sudo-([0-9.]+p\d).tar.gz"" DEBUG: The regex matched "sudo-1.7.4p1.tar.gz"", extracted "1.7.4p1" DEBUG: The regex matched "sudo-1.7.4p2.tar.gz"", extracted "1.7.4p2" DEBUG: The regex matched "sudo-1.7.4p3.tar.gz"", extracted "1.7.4p3" DEBUG: The regex matched "sudo-1.7.4p4.tar.gz"", extracted "1.7.4p4" DEBUG: The regex matched "sudo-1.7.4p5.tar.gz"", extracted "1.7.4p5" DEBUG: The regex matched "sudo-1.7.4p6.tar.gz"", extracted "1.7.4p6" DEBUG: The regex matched "sudo-1.7.6p1.tar.gz"", extracted "1.7.6p1" DEBUG: The regex matched "sudo-1.7.6p2.tar.gz"", extracted "1.7.6p2" DEBUG: The regex matched "sudo-1.7.8p1.tar.gz"", extracted "1.7.8p1" DEBUG: The regex matched "sudo-1.7.8p2.tar.gz"", extracted "1.7.8p2" DEBUG: The regex matched "sudo-1.7.9p1.tar.gz"", extracted "1.7.9p1" DEBUG: The regex matched "sudo-1.8.1p1.tar.gz"", extracted "1.8.1p1" DEBUG: The regex matched "sudo-1.8.1p2.tar.gz"", extracted "1.8.1p2" DEBUG: The regex matched "sudo-1.8.3p1.tar.gz"", extracted "1.8.3p1" DEBUG: The regex matched "sudo-1.8.3p2.tar.gz"", extracted "1.8.3p2" DEBUG: The regex matched "sudo-1.8.4p1.tar.gz"", extracted "1.8.4p1" DEBUG: The regex matched "sudo-1.8.4p2.tar.gz"", extracted "1.8.4p2" DEBUG: The regex matched "sudo-1.8.4p3.tar.gz"", extracted "1.8.4p3" DEBUG: The regex matched "sudo-1.8.4p4.tar.gz"", extracted "1.8.4p4" DEBUG: The regex matched "sudo-1.8.4p5.tar.gz"", extracted "1.8.4p5" DEBUG: The regex matched "sudo-1.8.5p1.tar.gz"", extracted "1.8.5p1" DEBUG: The regex matched "sudo-1.8.5p2.tar.gz"", extracted "1.8.5p2" sudo seems to have been updated (port version: 1.7.7, new version: 1.8.5p2)
Attachments (1)
Change History (4)
Changed 12 years ago by nonstop.server@…
comment:1 follow-up: 3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Status: | new → assigned |
Thanks. Note that the version number does not always end in "pn", e.g. the current version of the port 1.7.7 does not.
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 12 years ago by nonstop.server@…
Replying to ryandesign@…:
Thanks. Note that the version number does not always end in "pn", e.g. the current version of the port 1.7.7 does not.
Nice catch, I totally overlooked the version string not always ending in "pn".
Thanks for the correction.
Note: See
TracTickets for help on using
tickets.
proposed patch