<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/tzsetup, branch releng/10.3</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Revert the merge of r289269 for now as it may break non-root installs.</title>
<updated>2015-10-27T01:28:11+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2015-10-27T01:28:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cce507fe6216f7b601bf2d023a46d0eff8d5b899'/>
<id>cce507fe6216f7b601bf2d023a46d0eff8d5b899</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r289269:</title>
<updated>2015-10-27T00:37:19+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2015-10-27T00:37:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=76808de368859076fbb0cd109104eaeb699321a3'/>
<id>76808de368859076fbb0cd109104eaeb699321a3</id>
<content type='text'>
Use chroot(2) instead of using prefixes for files.

Previously, the code prefixes the chroot path to actual file paths to
simulate the effect.  This, however, will not work for tzset(3) which
expects the current system have a working set of timezone data files,
and that is not always the case.

This changeset simplifies the handling of paths and use an actual
chroot(2) call to implement the effect.

PR:		bin/197313
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use chroot(2) instead of using prefixes for files.

Previously, the code prefixes the chroot path to actual file paths to
simulate the effect.  This, however, will not work for tzset(3) which
expects the current system have a working set of timezone data files,
and that is not always the case.

This changeset simplifies the handling of paths and use an actual
chroot(2) call to implement the effect.

PR:		bin/197313
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r261296:</title>
<updated>2014-03-01T03:09:16+00:00</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2014-03-01T03:09:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=25821aeb14177bd54a8c4ed2c92d1753f4d23b85'/>
<id>25821aeb14177bd54a8c4ed2c92d1753f4d23b85</id>
<content type='text'>
Merge from CheriBSD:
commit c1acf022c533c5ae27e0cd556977eafe3f5959eb
Author: Brooks Davis &lt;brooks@one-eyed-alien.net&gt;
Date:   Fri Jan 17 21:46:44 2014 +0000

	Add an option WITHOUT_NCURSESW to suppress building and linking to
	libncursesw.  While wide character support it useful we'd like to
	only need one ncurses library on embedded systems.

Sponsored by:	DARPA, AFRL
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Merge from CheriBSD:
commit c1acf022c533c5ae27e0cd556977eafe3f5959eb
Author: Brooks Davis &lt;brooks@one-eyed-alien.net&gt;
Date:   Fri Jan 17 21:46:44 2014 +0000

	Add an option WITHOUT_NCURSESW to suppress building and linking to
	libncursesw.  While wide character support it useful we'd like to
	only need one ncurses library on embedded systems.

Sponsored by:	DARPA, AFRL
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix VERBOSE reporting on results when removing _PATH_LOCALTIME for UTC option.</title>
<updated>2013-03-04T11:34:31+00:00</updated>
<author>
<name>Devin Teske</name>
<email>dteske@FreeBSD.org</email>
</author>
<published>2013-03-04T11:34:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d2dc532df5c793a8d1d2a065651a6e8797965dc9'/>
<id>d2dc532df5c793a8d1d2a065651a6e8797965dc9</id>
<content type='text'>
PR:		bin/164976
Submitted by:	dteske
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		bin/164976
Submitted by:	dteske
</pre>
</div>
</content>
</entry>
<entry>
<title>Grammar: tzsetup now has more than one option.</title>
<updated>2012-02-29T14:44:42+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2012-02-29T14:44:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c8b4c0aa6ca7e36fe401d14520557e0862603aab'/>
<id>c8b4c0aa6ca7e36fe401d14520557e0862603aab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>It's not an error if unlink(2) fails because the pathname doesn't exist.</title>
<updated>2012-02-08T05:03:04+00:00</updated>
<author>
<name>Garrett Wollman</name>
<email>wollman@FreeBSD.org</email>
</author>
<published>2012-02-08T05:03:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=41b549dc805faa580865ea26fe672c9812c91131'/>
<id>41b549dc805faa580865ea26fe672c9812c91131</id>
<content type='text'>
Noticed by: kevlo
Pointy hat to: wollman
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Noticed by: kevlo
Pointy hat to: wollman
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up reinstall option and remove duplicate code</title>
<updated>2012-01-25T02:15:40+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2012-01-25T02:15:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3129859c9285ce9fa7e088f3b0619d79a895ee9b'/>
<id>3129859c9285ce9fa7e088f3b0619d79a895ee9b</id>
<content type='text'>
- 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:	Devin Teske &lt;dteske vicor com&gt;
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- 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:	Devin Teske &lt;dteske vicor com&gt;
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #ifdef VERBOSE for UTC case</title>
<updated>2012-01-18T04:37:35+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2012-01-18T04:37:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=da4b02cf70bed251885a571cd472d061d969696b'/>
<id>da4b02cf70bed251885a571cd472d061d969696b</id>
<content type='text'>
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:	Devin Teske &lt;dteske vicor com&gt;
MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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:	Devin Teske &lt;dteske vicor com&gt;
MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't write /var/db/zoneinfo when zone is not actually changed.</title>
<updated>2012-01-18T04:12:32+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2012-01-18T04:12:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e2027608721c75259448b9d4456ae50f840804ae'/>
<id>e2027608721c75259448b9d4456ae50f840804ae</id>
<content type='text'>
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:	Devin Teske &lt;dteske vicor com&gt;
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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:	Devin Teske &lt;dteske vicor com&gt;
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Use a reasonable-sized buffer when formatting error messages about</title>
<updated>2012-01-12T05:50:32+00:00</updated>
<author>
<name>Garrett Wollman</name>
<email>wollman@FreeBSD.org</email>
</author>
<published>2012-01-12T05:50:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8c261aeac36d902aef59c6ca6b63982697b5395e'/>
<id>8c261aeac36d902aef59c6ca6b63982697b5395e</id>
<content type='text'>
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)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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)
</pre>
</div>
</content>
</entry>
</feed>
