On Sat, December 5, 2015 2:20 pm, openbsd-m...@clark-communications.com wrote: > I mostly follow -stable, and have scripts/tools that enable me to > (re)build > stable from source with minimal human intervention. > > To further automate this process, it would be helpful to have the current > release number and (at least) the most current patch number.
What is your build process? The machine doing the build is running the same version it's building, right? Does 'uname -r' not work for you? As for the patch number, someone can correct me if I am wrong, but I don't believe it is recorded anywhere else. I used to parse the errata page but to be kinder to the server, I started parsing my local mirror which I actually found to be easier to get the info from. I maintain a "patchlevel" file on each system to keep track of what patch I have applied and I check it against the patches on my mirror in daily.local so I keep getting notified of out of date systems. I also add it to the motd so I see it when I log in, as well. I prefer this slightly manual intervention because I like to know what is changing on my systems. I'm already patching manually, so also maintaining the patchlevel file is minor. Tim.