[MacPorts] #45108: stunnel livecheck
#45108: stunnel livecheck ---------------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: haspatch maintainer | Port: stunnel ---------------------------------+-------------------------------- I've added livecheck to stunnel. -- Ticket URL: <https://trac.macports.org/ticket/45108> MacPorts <http://www.macports.org/> Ports system for OS X
#45108: stunnel @5.03_0: add livecheck -----------------------------+--------------------------------- Reporter: mschamschula@… | Owner: larryv@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch maintainer Port: stunnel | -----------------------------+--------------------------------- Changes (by larryv@…): * owner: macports-tickets@… => larryv@… * status: new => assigned * version: 2.3.1 => Comment: This looks cleaner to me: {{{ diff --git a/dports/security/stunnel/Portfile b/dports/security/stunnel/Portfile index e2ef458..1d0789e 100644 --- a/dports/security/stunnel/Portfile +++ b/dports/security/stunnel/Portfile @@ -53,3 +53,7 @@ default_variants +libwrap notes " A fake certificate has been installed as ${prefix}/etc/stunnel/stunnel.pem " + +livecheck.type regex +livecheck.url http://www.stunnel.org/versions.html +livecheck.regex {Version (\d+(?:\.\d+)*) released} }}} -- Ticket URL: <https://trac.macports.org/ticket/45108#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#45108: stunnel @5.03_0: add livecheck -----------------------------+--------------------------------- Reporter: mschamschula@… | Owner: larryv@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch maintainer Port: stunnel | -----------------------------+--------------------------------- Comment (by mschamschula@…): Larry, I also considered the option of running the regex on http://www.stunnel.org/versions.html but somewhere in the back of my mind I seem to remember the versions page as having been out of sync with the release version in the past. Otherwise, I'm good with your patch, maybe replacing the homepage URL path: {{{ diff --git a/dports/security/stunnel/Portfile b/dports/security/stunnel/Portfile index e2ef458..1d0789e 100644 --- a/dports/security/stunnel/Portfile +++ b/dports/security/stunnel/Portfile @@ -53,3 +53,7 @@ default_variants +libwrap notes " A fake certificate has been installed as ${prefix}/etc/stunnel/stunnel.pem " + +livecheck.type regex +livecheck.url ${homepage}versions.html +livecheck.regex {Version (\d+(?:\.\d+)*) released} }}} -- Ticket URL: <https://trac.macports.org/ticket/45108#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#45108: stunnel @5.03_0: add livecheck -----------------------------+--------------------------------- Reporter: mschamschula@… | Owner: larryv@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch maintainer Port: stunnel | -----------------------------+--------------------------------- Changes (by larryv@…): * status: assigned => closed * resolution: => fixed Comment: Replying to [comment:2 mschamschula@…]:
somewhere in the back of my mind I seem to remember the versions page as having been out of sync with the release version in the past.
Well, if that’s a possibility, we might as well just stick with your original. r125553 -- Ticket URL: <https://trac.macports.org/ticket/45108#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts