<div dir="auto"><div><div dir="auto">What I'd like to do is run my own local archive in my own machine without running a webserver.<br></div><div dir="auto"><br></div><div dir="auto">I'd like to compile my ports from source and install them. I'd like to uninstall them. The next time I install I'd like to use the previously built results. The archives created in var/macports/software are perfect for overlaying so I fail to understand how to make this work.</div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 14 Jan 2020, 18:45 Ryan Schmidt, <<a href="mailto:ryandesign@macports.org">ryandesign@macports.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On Jan 14, 2020, at 03:52, Raphael Cohn wrote:<br>
<br>
> I'm trying to get macports to use a local (file://) repository for a macports installed in a non-standard prefix (in this case, a project local macports, ie per user, per project) with a mixture of private and public port files. I want to be able to build from source the first time, then use a previously built archive for any subsequent operations. For example. uninstalling and reinstalling a bunch of ports as the project evolves.<br>
> <br>
> Ideally, I thought I could just create an entry in archive_sites.conf that pointed to <prefix>/var/macports/software, but that doesn't work; adding use of incoming/verified to point to a package in software (symlink) doesn't work; signing with my own key doesn't work. I must be missing something.<br>
> <br>
> Is this even possible?<br>
<br>
I don't think I understand what you're trying to do.<br>
<br>
<prefix>/var/macports/software is where MacPorts puts compressed archives of the ports you've installed. If you uninstall a port, its corresponding archive in that directory will be deleted.<br>
<br>
So it doesn't make sense to list that location in archive_sites.conf, since there would never be an occasion when you need to install a port and there would be an archive already there. The archive would only be there if the port is already installed.<br>
<br>
</blockquote></div></div></div>