<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/tzsetup, branch upstream/11.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2016-06-01T15:39:11Z</updated>
<entry>
<title>Fix tzsetup not installing /etc/localtime for UTC</title>
<updated>2016-06-01T15:39:11Z</updated>
<author>
<name>Steven Hartland</name>
<email>smh@FreeBSD.org</email>
</author>
<published>2016-06-01T15:39:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dc30160e1a155c59a73bf3e9ff726b8133d55ff8'/>
<id>urn:sha1:dc30160e1a155c59a73bf3e9ff726b8133d55ff8</id>
<content type='text'>
If tzsetup UTC is run then it successfully configured the system for UTC
including installing /etc/localtime however if the user ran just tzsetup
for interactive configuration and select UTC no /etc/localtime was installed
which resulted in failures for utilities which require said file.

Change set_zone_utc to call install_zoneinfo("UTC") to ensure that
/etc/localtime is created for interactive UTC selection.

Users who have previously run tzsetup in interactive mode and select UTC
can install the missing /etc/localtime by running tzsetup -r.

Also correct static miss-match for set_zone_utc.

MFC after:	2 weeks
Relnotes:	Yes
Sponsored by:	Multiplay
</content>
</entry>
<entry>
<title>Avoid buffer overflow or truncation when constructing path_zoneinfo_file.</title>
<updated>2016-05-26T01:45:04Z</updated>
<author>
<name>Don Lewis</name>
<email>truckman@FreeBSD.org</email>
</author>
<published>2016-05-26T01:45:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ee67f7cc774eede896ccaaceff0b9948d383ec63'/>
<id>urn:sha1:ee67f7cc774eede896ccaaceff0b9948d383ec63</id>
<content type='text'>
Reported by:	Coverity
CID:		1011160
MFC after:	1 week
</content>
</entry>
<entry>
<title>Use NULL instead of 0 for pointers.</title>
<updated>2016-04-15T04:10:47Z</updated>
<author>
<name>Marcelo Araujo</name>
<email>araujo@FreeBSD.org</email>
</author>
<published>2016-04-15T04:10:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b9165344966975aff9ff30176418ed90f80373b2'/>
<id>urn:sha1:b9165344966975aff9ff30176418ed90f80373b2</id>
<content type='text'>
fgetln(3) will returns NULL if cannot get a line from a stream.
strsep(3) it will returns NULL if the end of the string was reached.
jemalloc(3) malloc will returns NULL if it cannot allocate memory.
fgetln(3) it will returns NULL if it cannot get a line from a stream.

MFC after:	4 weeks
</content>
</entry>
<entry>
<title>Revert r289269 for now.  After looking at share/zoneinfo/Makefile this could</title>
<updated>2015-10-27T01:26:50Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2015-10-27T01:26:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=427c435f648c239c96867a31000729725329d236'/>
<id>urn:sha1:427c435f648c239c96867a31000729725329d236</id>
<content type='text'>
potentially break non-root installs and we need a better solution, probably
by doing it differently when no UI is involved.
</content>
</entry>
<entry>
<title>Use chroot(2) instead of using prefixes for files.</title>
<updated>2015-10-13T22:55:17Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2015-10-13T22:55:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a2668e81281128400059423b1f188f7cb96273bf'/>
<id>urn:sha1:a2668e81281128400059423b1f188f7cb96273bf</id>
<content type='text'>
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
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Add META_MODE support.</title>
<updated>2015-06-13T19:20:56Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2015-06-13T19:20:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ccfb965433c67f3bda935a3cdf334be2e3c4348d'/>
<id>urn:sha1:ccfb965433c67f3bda935a3cdf334be2e3c4348d</id>
<content type='text'>
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision:       D2796
Reviewed by: brooks imp
</content>
</entry>
<entry>
<title>dirdeps.mk now sets DEP_RELDIR</title>
<updated>2015-06-08T23:35:17Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2015-06-08T23:35:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=44d314f704764f0247a540648a4b4fc3e8012133'/>
<id>urn:sha1:44d314f704764f0247a540648a4b4fc3e8012133</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge sync of head</title>
<updated>2015-05-27T01:19:58Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2015-05-27T01:19:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=98e0ffaefb0f241cda3a72395d3be04192ae0d47'/>
<id>urn:sha1:98e0ffaefb0f241cda3a72395d3be04192ae0d47</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tzsetup: remove set but unused variable</title>
<updated>2015-04-19T08:45:37Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2015-04-19T08:45:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b1abc63706ff91596af2b7e1530f19b3b424e8de'/>
<id>urn:sha1:b1abc63706ff91596af2b7e1530f19b3b424e8de</id>
<content type='text'>
	- leave a comment explaining which variable it used to be

Reported by:	gcc5.1
</content>
</entry>
<entry>
<title>Convert usr.sbin to LIBADD</title>
<updated>2014-11-25T16:57:27Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2014-11-25T16:57:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c6db8143eda5c775467145ac73e8ebec47afdd8f'/>
<id>urn:sha1:c6db8143eda5c775467145ac73e8ebec47afdd8f</id>
<content type='text'>
Reduce overlinking
</content>
</entry>
</feed>
