Opened 3 months ago

Closed 3 weeks ago

#73236 closed update (fixed)

cmake: Update to 3.31.10

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mascguy (Christopher Nielsen), Dave-Allured (Dave Allured), lcvisser (Ludo Visser)
Port: cmake

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Please update cmake to the latest version of 3.x.

Livecheck currently does not work because kitware enabled anubis on their gitlab instance, and this prevents fetching the distfile as well.

Updating to the latest version is the ideal opportunity to switch to downloading the official release tarballs instead.

Change History (7)

comment:1 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: cmake: Update to 3.31.9cmake: Update to 3.31.10

comment:2 Changed 3 months ago by Dave-Allured (Dave Allured)

Cc: Dave-Allured added

comment:3 Changed 2 months ago by Dave-Allured (Dave Allured)

Ryan, I find that running curl manually on the command line will download a valid index page for livecheck. I used the URL displayed by port -d livecheck. However, running port -d livecheck on the same command line gets the Anubis error page. Why doesn't MacPorts run the same curl command that I can run manually? How does Anubis know the difference?

P.S. To clarify, I used the current gitlab URL for this test, not the URL for the "official release tarball".

P.P.S. I am pursuing this because it also affects another Kitware port that I am trying to fix: vtk.

Last edited 2 months ago by Dave-Allured (Dave Allured) (previous) (diff)

comment:4 in reply to:  3 Changed 8 weeks ago by Dave-Allured (Dave Allured)

Why doesn't MacPorts run the same curl command that I can run manually?

Never mind. I am switching to the official release download, as you recommended. Testing in progress.

comment:5 Changed 4 weeks ago by lcvisser (Ludo Visser)

Cc: lcvisser added

comment:6 in reply to:  3 Changed 4 weeks ago by jmroot (Joshua Root)

Replying to Dave-Allured:

Why doesn't MacPorts run the same curl command that I can run manually? How does Anubis know the difference?

MacPorts links with libcurl. Since they are different programs, curl and MacPorts use different User-Agent strings.

comment:7 Changed 3 weeks ago by Ludo Visser <ludo.visser@…>

Resolution: fixed
Status: assignedclosed

In ff63f299fe499902d1705c6e652627467473764b/macports-ports (master):

cmake: update to version 3.31.10

  • update to latest legacy version 3.31.10
  • use github instead of KitWare gitlab to avoid the block by anubis

Closes: #73234
Closes: #73236

Note: See TracTickets for help on using tickets.