Trying to figure out how to tell when one of the #BSDs needs to be upgraded.
- #OpenBSD doesn't seem to have point releases*, so it's just a matter of running
doas syspatchand looking at the return code.
- #FreeBSD: I guess I could do:
curl -sL https://download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/ |grep -o '<[0-9][0-9].[0-9]>' |sort -un |tail -1??
What do you guys think?
- #NetBSD: Unclear here:
rld@discovery:I'm guessing NetBSD 12.0 is a beta release? So just use the release on the front page? But IIRC, there was some version confusion when it was still 11.0RC2 or something like that. It might have been written differently between the website and the version number reported by uname, but I don't remember for sure.$ curl -sL https://netbsd.org/ |grep -o '<[0-9][0-9].[0-9]>' |sort -un |tail -1$ curl -sL https://wiki.netbsd.org/ports/amd64/ |grep -o '<[0-9][0-9].[0-9]>' |sort -un |tail -1
11.1
rld@discovery:
12.0
rld@discovery:~$
I guess I could start with that and see if it breaks. I just like to maintain a script that tries to intelligently perform updates an all OSes I run.
#RunBSD
@rl_dane
For OpenBSD I joined the announce list. I get an email whenever there is a syspatch or release.