Update with same filename but different URL path not picked up

Nils Breunese nils at breun.nl
Fri Nov 8 20:53:27 UTC 2019


I’m the maintainer for AdoptOpenJDK in MacPorts and I'm trying to update the OpenJ9-based OpenJDK subports. The URL's for the patched files have a different path, but the filenames themselves are the same as the current one. (Yes, AdoptOpenJDK should have updated the filenames as well, and they will in the future.)

Example subport: openjdk8-openj9
Currently in MacPorts: https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09_openj9-0.17.0/OpenJDK8U-jdk_x64_mac_openj9_8u232b09_openj9-0.17.0.tar.gz
Newer patched version: https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u232-b09.1_openj9-0.17.0/OpenJDK8U-jdk_x64_mac_openj9_8u232b09_openj9-0.17.0.tar.gz

When I update master_sites to include ‘.1' it seems MacPorts doesn’t care that the URL path has changed and uses the previous version. I guess this is because files are cached/mirrored based on filename only? Is there any way around this?


More information about the macports-dev mailing list