Tomasz Pajor wrote:
I've run /usr/ports/infrastructure/build/out-of-date, got the output, http://puffy.pl/update

What is the best way to update all the ports?

Either you use pkg_add to update your ports from the snapshot directory on the ftp server (set PKG_PATH to the right directory, AFAIR it is described in the FAQ) or you can try a "little" Perl script I wrote. It builds ports (in parallel builds if you wish) in the correct build order and updates the installed packages. Instructions how to get the script can be found here:
http://www.markus-hennecke.de/openbsd_current_en.html#autoupdate

Remember to copy the autoupdaterc file to ~/.autoupdaterc, so that broken ports that need the in-tree libtool to build properly are build correctly and the logging is set up. Adjust the list of pseudo flavors to your liking.

Just a warning: The officially supported way is to update via snapshots, so there may be some ports that don't build using the script. Most of the time this can be solved by using the in-tree libtool, if you run across one of those ports let me know and I will add the port to the list of libtool_ports in the rc file. If you don't know how to handle a situation where a specific port does not build for whatever reasons using the script is definitely not a good idea...

I would like to hear either success or failure reports from those using the script.

Kind regards,
  Markus

Reply via email to