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

Ryan Schmidt ryandesign at macports.org
Tue Jan 30 16:46:02 UTC 2018

On Jan 30, 2018, at 10:10, Michael Dickens wrote:

> On Tue, Jan 30, 2018, at 11:08 AM, Ryan Schmidt wrote:
>> On Jan 30, 2018, at 08:25, Michael Dickens wrote:
>>> 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

What I mean is that your livecheck.regex specifically mentions version 2.11. If the project ever releases version 2.12, for example, the livecheck will no longer match.

More information about the macports-dev mailing list