[Tor-BSD] FreeBSD/HardenedBSD - auto updating packages

nusenu nusenu-lists at riseup.net
Wed Feb 21 17:37:00 EST 2018

> There's two ways of doing it:
> 1. Run `pkg update` first to update the repo metadata, then use `pkg
> version` (with extra arguments) to check if the tor package gets
> upgraded. Cache this as a boolean value. Run `pkg upgrade` and after
> it's finished upgrading all packages, if the cached boolean value is
> true, then restart tor. This can be integrated into the script that
> gets written by cron.
> 2. Write a plugin for pkg that restarts services whenever packages
> with enabled rc.d scripts get updated. I would prefer this route as it
> would be generically applied and useful outside of just tor.
> I can do either option. However, my time is limited and it'd take me
> around two weeks to getting around to doing it. 

Any update on this? Since there are some upcoming security updates, 
this would be a perfect timing.

twitter: @nusenu_

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.nycbug.org/pipermail/tor-bsd/attachments/20180221/c97b2b1d/attachment.bin>

More information about the Tor-BSD mailing list