So I tried to figure out how to install the latest release version and keep it updated as well, without starting from scratch with a new image every time. This set of files is used for building and installing applications on Free BSD, and other BSD-based operating systems.Another tip is that if there is a minus (-) sign next to something that needs to be kept, do not install the new file but either leave the file to be dealt with manually or merge the two files.2014-06-04 Live demo in BSD Now Episode 040 | Originally written by TJ for | Last updated: 2014/11/01 NOTE: the author/maintainer of the tutorial(s) is no longer with the show, so the information below may be outdated or incorrect.It's recommended to properly set up sudo instead of using the root account, and the FAQ has instructions for that.To get your initial copy of the ports tree, you can either download the -stable tree directly via CVS like so: # cd /usr # ftp BSD/`uname -r`/gz # ftp BSD/`uname -r`/SHA256# signify -C -p /etc/signify/openbsd-`uname -r | cut -c 1,3`-x SHA256gz Signature Verified gz: OK # tar xzf gz # rm gz SHA256# cd ports # cvs -d [email protected]:/cvs -q up -r OPENBSD_`uname -r | sed 's/\./_/'` -Pd Be sure to choose a mirror that's close to you for better speeds.Like most of the other BSDs, Open BSD supports multiple ways of installing third party software.
Things must be kept in sync with the base system version.
Note: To create a custom configuration file, go to /usr/src/sys/i386/conf and make a copy of the GENERIC file; name it something like MYKERNEL.
Note: Unfortunately the mergemaster is the most complex and the least amount of help is provided. It compares the configuration files in use on the current system with the new configuration files from the newly compiles source.
It uses diff to display both files at the same time.
Lines that are new and will be added if the new configuration file is installed have a plus ( ) sign by them.