[macports-ports] branch master updated: SDRplay: fix livecheck.

Michael Dickens michaelld at macports.org
Tue Jan 30 16:10:57 UTC 2018


On Tue, Jan 30, 2018, at 11:08 AM, Ryan Schmidt wrote:
> 
> On Jan 30, 2018, at 08:25, Michael Dickens wrote:
> 
> > Michael Dickens (michaelld) pushed a commit to branch master
> > in repository macports-ports.
> > 
> > 
> > https://github.com/macports/macports-ports/commit/0ddb648a6972bbde95b3708b7de8847a9dcef14e
> > 
> > The following commit(s) were added to refs/heads/master by this push:
> > 
> >      new 0ddb648  SDRplay: fix livecheck.
> > 
> > 0ddb648 is described below
> > 
> > 
> > commit 0ddb648a6972bbde95b3708b7de8847a9dcef14e
> > 
> > Author: Michael Dickens
> > AuthorDate: Tue Jan 30 09:25:31 2018 -0500
> > 
> >     SDRplay: fix livecheck.
> >     
> >     Will now show that an update happened, not the actual new version. There's no way to determine that information from their website without actually downloading the file -- which is behind a reCAPTCHA.
> > 
> > ---
> >  science/SDRplay/Portfile | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> > 
> > diff --git a/science/SDRplay/Portfile b/science/SDRplay/Portfile
> > index 82fb5b5..b29b345 100644
> > --- a/science/SDRplay/Portfile
> > +++ b/science/SDRplay/Portfile
> > @@ -86,4 +86,5 @@ destroot {
> >  }
> >  
> >  livecheck.url       http://www.sdrplay.com/downloads/
> > -livecheck.regex     macdl.php.>API/HW Driver.*v(\[0-9.\]+)
> > +livecheck.version   15th Nov 2017
> > +livecheck.regex     {<a href="/macdl.php">API/HW Driver – v2.11</a> \((.*)\)<a href="/macdl.php">}
> 
> The version number will always be 2.11?
> 

No, the livecheck version is the date. It used to be that the version worked, but that's not the case any longer. The latest version is actually 2.11.2, so comparing with the embedded version (2.11) doesn't work. The date should work though. - MLD


More information about the macports-dev mailing list