From: Stuart Henderson Subject: Re: syspatch(8): log applied patches To: j@bitminer.ca Cc: Tech Date: Thu, 12 Jun 2025 13:14:55 +0100 I think this makes sense. ok sthen@ On 2025/05/11 12:37, j@bitminer.ca wrote: > > It would be nice to have syspatch log changes it makes. > > There is precedent in pkg_add and sysupgrade. > > Comments? > > > John > > > Index: syspatch.sh > =================================================================== > RCS file: /cvs/src/usr.sbin/syspatch/syspatch.sh,v > diff -u -p -r1.168 syspatch.sh > --- syspatch.sh 13 Dec 2023 17:50:23 -0000 1.168 > +++ syspatch.sh 11 May 2025 16:13:03 -0000 > @@ -325,5 +325,6 @@ if ((OPTIND == 1)); then > for _PATCH in ${_PATCHES}; do > apply_patch ${_OSrev}-${_PATCH} > _PATCH_APPLIED=true > + logger -t syspatch Applied ${_PATCH} > done > fi >