Ryan Carsten Schmidt <[email protected]> wrote:

> On Jun 23, 2026, at 18:44, Jim Secan wrote:
>> 
>> 
>> Is there no way I can recover using the archive parts I have in my backup 
>> other than via a rebuild using git?
> 
> 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.

This does look simpler than hunting for Git hashes. Jim, maybe you can update 
the wiki page at https://trac.macports.org/wiki/howto/InstallingOlderPort if 
this works for you?

Nils

Reply via email to