Hi ports@, I'd like to pull down all of the distfiles for the software that I have installed, maybe once a release. I could stuff this, with the install ISO, src.tar.gz, ports.tar.gz, etc, on a DVD or more likely a BluRay.
It seems like I can mirror distfiles with dpb, but I'm not sure this is perfect. I did dpb -F 2 lang/go, which pulled down the go distfiles just fine. It also pulled down bash, a dependency. But it did not appear to pull down bash's dependencies. This is my first concern. The other is that I need to get pkgpaths out of pkg_info, to pull all of these down. Though I'm not 100% sure all of the distfiles would get fetched if I passed all of these to dpb, given the above. Either way, it seems like a next step. I can't figure out a good way to get pkgpaths out of pkg_info. pkg_info will show all installed packages. pkg_info -P will show a pkgpath for specified packages, but not all installed. I can certainly write a script, but I feel like this is an already trodden path that I'm not aware of. Would appreciate any advice you can offer. Thank you! -Henrich