git: tzsetup(8): Sync with FreeBSD, more or less, with some modifications.
swildner at crater.dragonflybsd.org
Wed May 20 08:52:38 PDT 2020
Author: Sascha Wildner <saw at online.de>
Date: Wed May 20 17:31:35 2020 +0200
tzsetup(8): Sync with FreeBSD, more or less, with some modifications.
* When in a VM, skip the initial question about the hardware clock
being set to UTC because it is assumed that the hardware clock in
a VM is set to UTC.
* Split out the dialog(3) code into #ifdef HAVE_DIALOG.
* Some miscellaneous fixes.
The dialog(3) code separation allows us to build tzsetup(8) as a
bootstrap tool without needing libdialog and friends. Prepare the
Makefile for this by not defining HAVE_DIALOG when bootstrapping.
It will be used in a later commit to upgrade /etc/localtime upon
installing new timezones.
Summary of changes:
usr.sbin/tzsetup/Makefile | 6 +-
usr.sbin/tzsetup/tzsetup.8 | 2 +-
usr.sbin/tzsetup/tzsetup.c | 243 ++++++++++++++++++++++++---------------------
3 files changed, 135 insertions(+), 116 deletions(-)
DragonFly BSD source repository
More information about the Commits