Opened 6 years ago

Closed 6 years ago

#58001 closed defect (fixed)

XviD: livecheck not working

Reported by: chrstphrchvz (Christopher Chavez) Owned by: chrstphrchvz (Christopher Chavez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: XviD

Description

…though I'm not sure why it doesn't work when the pattern seems to clearly be in the page loaded (should match xvidcore-1.3.5.tar.bz2).

$ port -d livecheck xvid
[…]
DEBUG: Port (livecheck) version is 1.3.5
DEBUG: Fetching https://labs.xvid.com/Downloads.43.0.html
DEBUG: The regex is "xvidcore-([0-9.]+).tar.bz2"
Error: cannot check if XviD was updated (regex didn't match)

I thought about simplifying this to something like xvidcore-(\d+\.\d+\.\d+) but that doesn't work either. Anything more complex than (\d+\.\d+) seems to not work; is there some quirk in MacPorts'/Tcl's regex at play here?

It seems non-ideal for the . in ${extract.suffix} to not be escaped (\.), but maybe that's not an issue worth worrying about, or ${extract.suffix} might be unnecessary.

It might also be better to use livecheck.url ${homepage}source/ since that's what the existing one redirects to.

Change History (3)

comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

When I curl that URL, I get a page that contains nothing useful, and this message:

      <div class="content">
        <h1>StackPath</h1>
        <hr>
        <h2>Sorry, you have been blocked.</h2>
        <p>
          This website is using a security service to protect itself from online attacks. You performed an action that triggered the service and blocked your request.
        </p>
      </div>

Somebody will need to talk to the XviD people about talking to their hosting provider about relaxing whatever security service they're using.

Or we need to find a different URL we can use that is not under such restrictions.

comment:2 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

Thanks for investigating. Indeed that is a Cloudflare message that is "intentionally enabled" by the site owner, and supposedly has no easy way to bypass.

There is a web SVN; but the latest version isn't tagged, so who knows if the next one will be. I just sent a message to their mailing list to see if there's any suggestions on what to use instead.

comment:3 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

Owner: set to chrstphrchvz
Resolution: fixed
Status: newclosed

In 1fb4b55090b31ceb8cec0ac195cc3592c6c301b8/macports-ports (master):

XviD: new livecheck URL

Closes #58001

Note: See TracTickets for help on using tickets.