On Jun 23, 2026, at 18:44, Jim Secan wrote:
I'm not sure if it was intended for there to be a way to do this. But there are other ways to get older Portfiles than by using git. "port install" accepts not only port names but also URLs. So you can browse our list of ImageMagick packages at: https://packages.macports.org/ImageMagick/ and pick whichever .tbz2 file you want. For example if you want 6.9.12-46_0: sudo port install https://packages.macports.org/ImageMagick/ImageMagick-6.9.13-46_0+openexr+x11.darwin_11.x86_64.tbz2 You probably don't need to match up the Darwin version and architecture because MacPorts won't actually install the binary; it'll extract the Portfile from the archive and build it from source on your system. You can even point MacPorts at a Portfile from your backups, whether that's in your sources directory or part of an installed archive, but again it'll be rebuilt from source on your system.
You're quoting from step 2. The answer is in step 1, where it says to browse the history of the port. You can get there eventually through the link to the top of the repository given in the how-to, if you know what category the port is in (which you can get from "port info"), or a bit more directly through the ports website. For example, go to: Press the "GitHub" link which takes you to: Press the "History" link which takes you to: The first line shown there today is: The preceding commit is therefore was at a previous version. Which one? Looking five lines down I see the next commit that mentions updating the version, which is: "ImageMagick, perlmagick: Update to 6.9.13-46" So the commits on lines 2–5 all install that version. If that's the version you'd like to install, go to the most recent of those lines -- line 2 -- which says: "ImageMagick: Add runtime dependencies" and look at the right, where it gives the truncated commit hash: 08846a7 You can click the overlapping-squares button to its right to copy the non-truncated hash to the clipboard, and then proceed with the how-to using that value. You'd think it might be possible to "sudo port install" a URL to a Portfile on GitHub or other web site, but that doesn't appear to work. It appears to only accept URLs to binary archives, out of which it will extract the Portfile, after verifying the archive's integrity. |
- Falling Back to Archived Version Jim Secan
- Re: Falling Back to Archived Version Nils Breunese
- Re: Falling Back to Archived Version Jim Secan
- Re: Falling Back to Archived Version Nils Breunese
- Re: Falling Back to Archived Version Jim Secan
- Re: Falling Back to Archived Ve... contextnerror
- Re: Falling Back to Archived Ve... Ryan Carsten Schmidt
- Re: Falling Back to Archive... Saj Goonatilleke
- Re: Falling Back to Arc... Ryan Carsten Schmidt
- Re: Falling Back to Archive... Nils Breunese
- Re: Falling Back to Archive... Jim Secan
