[PC-BSD Testing] Checking ports a la portsnap
sc at sdf.lonestar.org
Fri Mar 14 07:11:06 PST 2008
Kris Moore wrote:
> I can't include all 14k binary ports in a package, and try to
> figure out which ones a user has installed, ...
Portsnap takes just a minute to scan the entire ports tree. It's
very fast, and does check each individual port that the user has
added. Maybe there's a way to do something similar to that. In
an update process that already takes an hour, a few more minutes
spent checking which additional ports are in use (certainly a
comparative few of the 17,000) would be very welcome.
Maybe it would be OK to first complete the basic installation as
normal, and then to start quietly adding the additional ports
found during the scan, in the background of the otherwise
upgraded and functioning system. Show the user a nice GIU
message explaining that it's doing that. Write out a scan result
file, and then write a progress file based on that (e.g. line by
line, "blah-port - updating... completed").
More information about the Testing