[MacPorts] #45108: stunnel @5.03_0: add livecheck
MacPorts
noreply at macports.org
Sat Sep 20 17:07:29 PDT 2014
#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
More information about the macports-tickets
mailing list