newapple:~ root# port fetch file ---> Fetching distfiles for file ---> Attempting to fetch file-5.44.tar.gz from http://mirror.leaseweb.com/gentoo/distfiles/ newapple:~ root# find /opt/local/var/macports/distfiles -name file-5.44.tar.gz /opt/local/var/macports/distfiles/file/file-5.44.tar.gz newapple:~ root# ls /opt/local/var/macports/distfiles/file file-5.41.tar.gz file-5.44.tar.gz
Note that I had an older one left in there too; port clean doesn't get rid of that unless you use the --dist or --all flag. To get an older version, you may have to go to github to get the older version of the Portfile, look at that, and see where it fetches from. For "file", the relevant Portfile (and patch files, which may exist for some ports) are in https://github.com/macports/macports-ports/tree/master/sysutils/file <https://github.com/macports/macports-ports/tree/master/sysutils/file> (don't ask me how to get a particular historical version of a file from github, I don't use it that much) > On Jul 1, 2023, at 16:51, Kenneth Wolcott <[email protected]> wrote: > > Hi; > > Another very basic question that I missed the answer to in my search: > > How to just download the source of a port? > > I already have installed the port in question, I'd just like to > examine the source. > > All the "easy" ways to obtain the source code seem to be temporarily > blocked by circumstances (original web site down, etc). > > The specific port I'm interested in is "file". > > Thanks, > Ken Wolcott >
