267655 |
20-Jun-2014 |
gjb |
Remove svn:mergeinfo carried over from stable/9.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
267654 |
20-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
247781 |
04-Mar-2013 |
dteske |
MFC r247780:
Fix VERBOSE reporting on results when removing _PATH_LOCALTIME for UTC option.
PR: bin/164976 Submitted by: dteske
|
247729 |
03-Mar-2013 |
dteske |
MFC r230520:
Clean up reinstall option and remove duplicate code
- Move the reinstall logic to be before menus are initialised (menus are not needed when reinstalling a zonefile).
- Remove unnecessary re-initialization of path_db.
- Update variable name and error message because we now use the zone name relative to /usr/share/zoneinfo, not the full path.
PR: bin/164041 Submitted by: dteske
|
247728 |
03-Mar-2013 |
dteske |
MFC r230296:
Don't write /var/db/zoneinfo when zone is not actually changed.
If the specified zone file does not exist or the -n flag is specified, do not update /var/db/zoneinfo.
PR: bin/164039 Submitted by: dteske
|
247727 |
03-Mar-2013 |
dteske |
MFC r230299:
Fix #ifdef VERBOSE for UTC case
Update verbose output to match what actually happens when selecting the UTC option, and when the -n option is used.
Patch updated slightly for new libdialog.
PR: bin/164042 Submitted by: dteske
|
247726 |
03-Mar-2013 |
dteske |
Dummy commit to show r247722 was (in addition to being an MFC for r227934), an MFC for r227947:
calloc +1 DIALOG_LISTITEM to prevent possible wild pointer access in dlg_default_listitem().
and also for r228176: Sync xdialog_menu() implementation with sade.
|
247722 |
03-Mar-2013 |
dteske |
MFC r227934: Port to new libdialog.
|
247721 |
03-Mar-2013 |
dteske |
MFC r230005:
Use a reasonable-sized buffer when formatting error messages about installing zoneinfo. While we're in the vicinity, add some missing error checking to eliminate an unhelpful error message when unlink() fails.
/me is embarrassed by the quality of his 16-year-old code. The whole thing is awful and could stand a complete rewrite.
PR: 164038 Submitted by: Devin Teske (but implemented differently)
|
243297 |
19-Nov-2012 |
emaste |
MFC r232297: Grammar: tzsetup now has more than one option.
|
227305 |
07-Nov-2011 |
marius |
MFC: r227006, r227281, r227282
Add a PCI front-end to esp(4) allowing it to support AMD Am53C974 and replace amd(4) with the former in the amd64, i386 and pc98 GENERIC kernel configuration files. Besides duplicating functionality, amd(4), which previously also supported the AMD Am53C974, unlike esp(4) is no longer maintained and has accumulated enough bit rot over time to always cause a panic during boot as long as at least one target is attached to it (see PR 124667).
PR: 124667 Approved by: re (kib) Obtained from: NetBSD (based on)
|
227142 |
06-Nov-2011 |
dougb |
MFC r227011:
If the user is moving from any other time zone to UTC we need to delete any old /var/db/zoneinfo file that may exist so that tzsetup -r does the right thing.
Approved by: re (kensmith)
|
225736 |
23-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
222139 |
20-May-2011 |
ru |
- add missing options and arguments to program's usage() and sync it with manpage's SYNOPSIS
- generally clean up a manpage's formatting
Reviewed by: edwin
|
220172 |
30-Mar-2011 |
edwin |
Add a menu entry for UTC in the main menu.
PR: bin/156019 Submitted by: Daniel O'Conner Reviewed by: Garrett Cooper <gcooper@FreeBSD.org> MFC after: 1 week
|
217309 |
12-Jan-2011 |
nwhitehorn |
Update dialog to version 20100428. This changes the license under which dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new features and a new and better libdialog API. The existing libdialog will be kept temporarily as libodialog for compatibility purposes until sade, sysinstall and tzsetup have been either updated or replaced.
__FreeBSD_version is now 900030.
Discussed on: -current Approved by: core Obtained from: http://invisible-island.net/dialog
|
210243 |
19-Jul-2010 |
nork |
Fix support for chrooted installs.
Approved by: imp (mentor)
|
209190 |
15-Jun-2010 |
emaste |
Use literal format strings. Found by clang.
|
208831 |
05-Jun-2010 |
edwin |
Add comment that this value is unused. It is obvious that it isn't used, but both clang and Coverity talk about it.
Found with: Coverity Prevent(tm) CID: 8066
|
208830 |
05-Jun-2010 |
edwin |
When there is a problem with writing, also bail out.
Found with the clang checker.
|
201390 |
02-Jan-2010 |
ed |
The last big commit: let usr.sbin/ use WARNS=6 by default.
|
198350 |
21-Oct-2009 |
edwin |
- Add support for chrooted installs. - Add examples to the man-page.
MFC after: 1 week
|
198267 |
20-Oct-2009 |
edwin |
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.
MFC after: 1 week
|
198255 |
19-Oct-2009 |
edwin |
Make the usage of the default zoneinfo file to install clearer.
MFC after: 1 week
|
198254 |
19-Oct-2009 |
edwin |
When tzsetup is run as non-root and the "CMOS clock question on UTC" is answered as No, it would abort without properly ending the dialog session.
MFC after: 1 week
|
195339 |
04-Jul-2009 |
attilio |
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).
Sponsored by: Sandvine Incorporated Initially submitted by: Matt Koivisto <mkoivisto at sandvine dot com> Approved by: re (kib)
|
179530 |
03-Jun-2008 |
jkim |
- Replace rcsid with __FBSDID. - Remove paths.h and embed it in the source. - Remove stale alpha support. - Clean up compiler warnings and fix style(9) bugs.
|
179497 |
02-Jun-2008 |
jkim |
Fix a crash when Arctic Ocean is selected.
MFC after: 1 week
|
140442 |
18-Jan-2005 |
ru |
Sort sections.
|
133425 |
10-Aug-2004 |
murray |
Update wording regarding geography to match the man page and web site. Specifically, change the second level menu title from 'Country' to 'Country or Region', since e.g. Hong Kong is not a country.
Submitted by: Xin LI <delphij@frontfree.net>
|
131500 |
02-Jul-2004 |
ru |
Mechanically kill hard sentence breaks.
|
123035 |
28-Nov-2003 |
olgeni |
Cosmetic fix: a message was mixed with a dialog box border line.
Approved by: re (rwatson)
|
113091 |
04-Apr-2003 |
obrien |
style.Makefile(5)
|
99968 |
14-Jul-2002 |
charnier |
The .Nm utility
|
96647 |
15-May-2002 |
des |
Explicitly cast NCONTINENTS to int to silence an overflow warning.
|
91728 |
06-Mar-2002 |
obrien |
Default to UTC on sparc64 also.
|
81251 |
07-Aug-2001 |
ru |
mdoc(7) police:
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
|
80029 |
20-Jul-2001 |
obrien |
Perform a major cleanup of the usr.sbin Makefiles. These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
|
79755 |
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
79537 |
10-Jul-2001 |
ru |
mdoc(7) police: removed HISTORY info from the .Os call.
|
75249 |
05-Apr-2001 |
obrien |
Remove -Wall. It breaks compiling with non-gcc compilers.
|
75215 |
05-Apr-2001 |
obrien |
Default the UTC question to "yes" on the Alpha.
|
75214 |
05-Apr-2001 |
obrien |
This builds fine with -Wall.
|
74816 |
26-Mar-2001 |
ru |
- Backout botched attempt to introduce MANSECT feature. - MAN[1-9] -> MAN.
|
74532 |
20-Mar-2001 |
ru |
Set the default manual section for usr.sbin/ to 8.
|
70486 |
29-Dec-2000 |
ben |
Convert to use the <sys/queue.h> macros rather than fiddling with the queue structure internals.
Reviewed by: markm
|
70092 |
16-Dec-2000 |
jkh |
Use dialog_noyes() for UTC selection; uses No as default answer now.
|
68965 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
68716 |
14-Nov-2000 |
ru |
Use Fx macro wherever possible.
|
66907 |
10-Oct-2000 |
wollman |
Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby <time.h>).
|
65911 |
16-Sep-2000 |
ache |
Remove unneded -lmytinfo
|
60938 |
26-May-2000 |
jake |
Back out the previous change to the queue(3) interface. It was not discussed and should probably not happen.
Requested by: msmith and others
|
60833 |
23-May-2000 |
jake |
Change the way that the queue(3) structures are declared; don't assume that the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk Reviewed by: phk Approved by: mdodd
|
56487 |
23-Jan-2000 |
charnier |
Convert err() to errx(), reason is already provided. Complete the abort on allocation failure instead of deferencing NULL later.
|
50778 |
01-Sep-1999 |
chris |
Re-add the libmytinfo/libncurses stuff - removing it breaks static linkage.
Pointed out by: bde
|
50768 |
01-Sep-1999 |
chris |
The libraries `libmytinfo' and `libncurses' are not required by this program.
|
50479 |
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
49435 |
05-Aug-1999 |
ru |
- ignore the user-supplied umask, set it to 0022 by default - install /etc/wall_cmos_clock with 0444 mode rather than 0666 - -Wall inspection
PR: 12967
|
48121 |
23-Jun-1999 |
mharo |
Make UTC or local time message a little more clear.
|
43544 |
02-Feb-1999 |
wollman |
Add a `default' feature to tzsetup for use in script-driven installation (if someone writes the other half). Also rewrite the man page in a more appropriate (formal) style.
|
41852 |
16-Dec-1998 |
peter |
Old stuff lying around a source tree: Create/remove /etc/wall_cmos_clock without using system() and magic paths.
|
32394 |
10-Jan-1998 |
steve |
Minor brace gymnastics so that /etc/wall_cmos_clock is really created.
PR: 5473 Submitted by: MIHIRA Yoshiro <sanpei@yy.cs.keio.ac.jp>
|
30999 |
07-Nov-1997 |
joerg |
Teach tzsetup to understand blank lines in the iso3166 file.
Found by: evanc@synapse.net (Evan Champion)
|
30763 |
27-Oct-1997 |
charnier |
Add usage(). Document -n flag. Do not touch/remove /etc/wall_cmos_clock when -n (do nothing) is used.
|
26827 |
23-Jun-1997 |
steve |
Fix a minor nit in the .Dd macro invocation so that the revision date is displayed correctly.
|
22997 |
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
22815 |
16-Feb-1997 |
jkh |
Ask about local or UTC here, like we used to.
|
22181 |
01-Feb-1997 |
jhay |
At the end it was much simpler than I thought. 26 * 26 = 676 and not 576. South Africa and a few other countries exists again. This fix pr 2595. This should go into 2.2.
|
21915 |
21-Jan-1997 |
jkh |
Make some of the less necessary user feedback #ifdef VERBOSE.
We could also make this stuff only come out when getpid() != 1 and thus avoid the install case (where it really is just too verbose, and people have complained), but this seems less messy and no one complained when tzsetup didn't print the final "things went fine!" messages (which sort of contravene the UNIX spirit of only yelling when you need to anyway).
|
21880 |
20-Jan-1997 |
wosch |
Sort cross references.
|
21673 |
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
19887 |
19-Nov-1996 |
joerg |
Remove two uninitialized and unused variables that used to cause a segfault before.
|
19872 |
19-Nov-1996 |
wollman |
Completely re-vamped `tzsetup':
- It no longer attempts to fiddle wall-vs-UTC-in-RTC. The results were just confusing most of the time.
- The program no longer contains a pre-compiled list of timezones (compiled by groveling through the tzdata source files for comments starting with `ZONE-DESCR'). Now it uses the new `zone.tab' file supplied with current versions of the timezone data files, to determine the list at run time. (It also requires the ISO 3166 table I committed some months ago.)
AS A RESULT, this program will NOT work until the new timezone data files are committed (should happen sometime soon).
|
18035 |
04-Sep-1996 |
bde |
Removed unused `-I.'s from CFLAGS.
"." means the object directory, so it is just confusing to use it when nothing is included from the object directory unless the object directory is also the source directory. It is confusing for "." not to mean the source directory anyway, so used `-I.'s should be replaced by `-I${.OBJDIR}'.
|
17849 |
27-Aug-1996 |
wosch |
sync copyright with /usr/share/examples/etc/bsd-style-copyright
|
17725 |
20-Aug-1996 |
wosch |
add pathnames.h, -Wall cleanup
|
16927 |
03-Jul-1996 |
jkh |
Only print the selected timezone in verification rather than the bogus time.
|
14983 |
01-Apr-1996 |
joerg |
Copy /etc/localtime, unless it's already a symlink.
|
14946 |
31-Mar-1996 |
joerg |
Another round of fixes:
. Replace my NIH-suffering code to detect the number of lines on the terminal by the curses variable LINES.
. Fix the selection code for countries with more than one screenful of locations. The very few people living in America/US/Pacific now won't be charged for Indiana any longer... :)
. Removed the gross code that copied over the timezone file to /etc/localtime, and create a symlink now instead.
|
14758 |
22-Mar-1996 |
joerg |
All this was horribly broken. The menues were overflowing, the `diff' calculation wrong, bogus `reboot now!' hints given, and the displayed month off by one.
Fix all of this.
Requested by: jkh
|
14270 |
27-Feb-1996 |
wosch |
Convert "time zone" to "timezone" in NAME section
Submitted by: obrien@cs.ucdavis.edu (David E. O'Brien)
|
13602 |
24-Jan-1996 |
wosch |
add a manpage
|
13122 |
30-Dec-1995 |
peter |
recording cvs-1.6 file death
|
11249 |
06-Oct-1995 |
jkh |
Don't put up bogus confirmation dialog.
|
9202 |
11-Jun-1995 |
rgrimes |
Merge RELENG_2_0_5 into HEAD
|
8857 |
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
8050 |
24-Apr-1995 |
wollman |
Grand new all-singing, dialog-wielding tzsetup(8). Still needs a man page.
|
4091 |
02-Nov-1994 |
ache |
Restore back -i for adjkerntz
|
4066 |
02-Nov-1994 |
ache |
Remove -i option from adjkerntz
|
2854 |
18-Sep-1994 |
ache |
Add 'rm -f /etc/localtime' before cp to /etc/localtime, I have a link here and got strange results without 'rm'
|
2751 |
13-Sep-1994 |
wollman |
A little script to help users in setting up their timezone. (Try it!)
|