git: tzsetup: Sync with FreeBSD.

Peter Avalos pavalos at
Thu Feb 14 11:34:48 PST 2013

commit 1ada9eb12082d4614c52070d2c548b895546ccac
Author: Peter Avalos <pavalos at>
Date:   Thu Feb 14 10:23:09 2013 -0800

    tzsetup: Sync with FreeBSD.
    Primarily this is an update for the new libdialog, but while I'm here:
    - Add a menu entry for UTC in the main menu.
    - Add support for chrooted installs.
    - Add examples to the man-page.
    - Instead of having to know which timezone was picked last time, you
    now can run "tzsetup -r" which will reinstall the last choice. This
    data is recorded in /var/db/zoneinfo.
    - Add a new options (-s) that, when specified, skips the question about
    adjusting the clock to UTC. That avoids to write on /etc/wall_cmos_clock
    which is useful in some cases (example: host user in a jail).
    - Remove paths.h and embed it in the source.
    - Fix style(9) issues.
    Obtained-from:   FreeBSD

Summary of changes:
 usr.sbin/tzsetup/Makefile  |   8 +-
 usr.sbin/tzsetup/paths.h   |   5 -
 usr.sbin/tzsetup/tzsetup.8 |  64 +++-
 usr.sbin/tzsetup/tzsetup.c | 933 +++++++++++++++++++++++++++++++--------------
 4 files changed, 692 insertions(+), 318 deletions(-)
 delete mode 100644 usr.sbin/tzsetup/paths.h

DragonFly BSD source repository

More information about the Commits mailing list