[MacPorts] #66568: libressl: improve livecheck

MacPorts noreply at macports.org
Fri Dec 30 05:41:28 UTC 2022

#66568: libressl: improve livecheck
  Reporter:  Zweihorn     |      Owner:  artkiver
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  libressl     |

Comment (by artkiver):

 From the extant Portfile we have:

 livecheck.type      regex
 livecheck.url       https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/
 livecheck.regex     "(\\d+\\.\\d+\\.\\d+)"

 running %sudo port -v livecheck

 Results in:

 libressl seems to have been updated (port version: 3.6.1, new version:

 But how that is processed, is totally opaque to me.

 I am reading https://guide.macports.org/chunked/reference.livecheck.html
 without many additional insights.

 Whereas https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/ is basically just a
 directory, so I am guessing it is just enumerating whatever the most
 recent version is from that, but if I for example, change that to
 https://www.libressl.org it doesn't seem to break, but it doesn't change
 anything either, nor does adding for example:

 livecheck.distname  "The latest stable release"

 In other words, I would love to know where to look to get a deeper
 understanding of the livecheck code itself, but I am currently a bit out
 of my depth.

Ticket URL: <https://trac.macports.org/ticket/66568#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list