it to all kernel configs that contain "options MODULAR". This
option turns on module autoloading by default (which is the current
default). This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
the moment, this can only load very simple modules due to missing
symbols. It is being add at this time to make pullups to the
netbsd-7 branch easier. It is not enabled by default in any kernels.
The timezone files are still installed in ${DESTDIR}/usr/share/zoneinfo/**,
and they are identical before and after this change.
This is almost the last step in moving NetBSD's tzdata sources from
share/zoneinfo to external/public/tz/dist, to ease future maintenance.
All that remains is to delete src/share/zoneinfo, but that will be
delayed for a while.
The following new time zones are added:
Asia/Chita Asia/Srednekolymsk
The following new file is installed:
zone1970.tab
The following existing file is now installed, whereas we previously
did not install it:
leapseconds
Summary of changes in tzdata2014f (2014-08-05 17:42:36 -0700):
* Russia will subtract an hour from most of its time zones on 2014-10-26
at 02:00 local time. There are some exception.
* The following new zones are added to deal with changes in Russia:
Asia/Chita and Asia/Srednekolymsk.
* Australian eastern time zone abbreviations are now AEST/AEDT not EST,
and similarly for the other Australian zones.
* Asia/Novokuznetsk shifts from NOVT to KRAT (remaining on UTC+7)
effective 2014-10-26 at 02:00 local time.
* The time zone abbreviation for Xinjiang Time (observed in Ürümqi)
has been changed from URUT to XJT.
* Prefer MSK/MSD for Moscow time in Russia, even in other cities.
* Change time zone abbreviations in (western) Samoa to use "ST" and
"DT" suffixes, as this is more likely to match common practice.
* America/Metlakatla now uses PST, not MeST, to abbreviate its time zone.
* Time zone abbreviations have been updated for Japan's two time
zones used 1896-1937.
* China's five zones have been simplified to two, since the post-1970
differences in the other three seem to have been imaginary. The
zones Asia/Harbin, Asia/Chongqing, and Asia/Kashgar have been
removed; backwards-compatibility links still work, albeit with
different behaviors for time stamps before May 1980. Asia/Urumqi's
1980 transition to UTC+8 has been removed, so that it is now at
UTC+6 and not UTC+8.
* Some zones have been turned into links, when they differed from existing
zones only for older UTC offsets where the data were likely invented.
The affected zones are: Africa/Bamako, Africa/Banjul,
Africa/Conakry, Africa/Dakar, Africa/Freetown, Africa/Lome,
Africa/Nouakchott, Africa/Ouagadougou, Africa/Sao_Tome, and
Atlantic/St_Helena. This also affects the backwards-compatibility
link Africa/Timbuktu.
* Asia/Shanghai's pre-standard-time UT offset has been changed from
8:05:57 to 8:05:43, the location of Xujiahui Observatory. Its
transition to standard time has been changed from 1928 to 1901.
* Asia/Taipei switched to JWST on 1896-01-01, then to JST on 1937-10-01,
then to CST on 1945-09-21 at 01:00, and did not observe DST in 1945.
In 1946 it observed DST from 05-15 through 09-30; in 1947
from 04-15 through 10-31; and in 1979 from 07-01 through 09-30.
* Asia/Riyadh's transition to standard time is now 1947-03-14, not 1950.
* Europe/Helsinki's 1942 fall-back transition was 1942-10-04 at 01:00, not
1942-10-03 at 00:00.
* Pacific/Pago_Pago has been changed from UTC-11:30 to UTC-11 for the period
from 1911 to 1950.
* Pacific/Chatham has been changed to New Zealand standard time plus
45 minutes for the period before 1957, reflecting a 1956 remark in
the New Zealand parliament.
* Europe/Budapest has several pre-1946 corrections.
* Africa/Accra is now assumed to have observed DST from 1920 through 1935.
* Time in Russia before 1927 or so has been corrected by a few seconds in
the following zones: Europe/Moscow, Asia/Irkutsk, Asia/Tbilisi,
Asia/Tashkent, Asia/Vladivostok, Asia/Yekaterinburg, Europe/Helsinki, and
Europe/Riga.
* A new file 'zone1970.tab' supersedes 'zone.tab' in the installed data.
The new file's extended format allows multiple country codes per zone.
The older file is still installed but is deprecated; its format is
not changing and it will still be distributed for a while, but new
applications should use the new file.
* The file 'iso3166.tab' is planned to switch from ASCII to UTF-8.
It is still ASCII now, but commentary about the switch has been added.
* Changes affecting documentation and commentary.
so it performs the test at the time the rule is invoked. We can't
use a ".if defined" test because that would be tested at the time the
sys.mk file is parsed, which may be before CTFCONVERT has been set by
bsd.own.mk.
Remove the now-unnecessary assignment "CTFCONVERT ?= : ctfconvert",
and the similar assignment to CTFMERGE. Now the build logs are not
cluttered by many unnecessary invocations of the ": ctfconvert ..."
* Elide some unnecessary pairs of quotation marks, to improve readability.
For example, shell_quote "''" is now \'\' instead of ''\'''\'''.
* Don't add quotes around words that contain only safe characters,
to improve readability.
* LC_COLLATE=C to prevent [a-zA-Z] from matching non-ASCII characters.
* Use ${SED} if defined.
This is basically cribbed from regular serial ports, and just adds
hooks to call the pps support routines.
Also, note in the ucom(4) man page that there is about 1 ms of
latency. Discussed on tech-kern in October of 2013, with the only
concern being that someone who didn't know what they were doing might
set up a stratum 1 server, and that somehow might have worse
timekeeping than whatever else that person might have done; the man
page comment is a mitigation for this.
This patch has been live-tested in netbsd-5/i386 and netbsd-6/i386,
and has been running on machines without a USB-serial GPS device for
most of a year with no adverse consequences (very little happens if
the PPS ioctls are not invoked).
Somehow, options(4) ended up with a bizarre claim that DIAGNOSTIC can
reduce performance by 15%. While that might have been true at some
isolated point due to a bug, it's an outlier. Since at least 2BSD,
DIAGNOSTIC has added asserts, resulting in at most
difficult-to-perceived performance degredation, and many people have
been running production systems (meaning systems they intend to use,
rather than debugging targets) with this option. (The decision a
while ago to enable DIAGNOSTIC in -current's GENERIC reflects this; if
it really were a 15% hit such enabling by default would be unreasonable.)
1999, or 2008 depending on what you count as break-up).
In any case in recent twenty years it was easier to get there
through Russia than through Georgia.
(Whether your government recognize it or not is another issue.
If you want to visit it these days, you have to enter Russia.
Following Ukrainians, even before the recent unrest and referendum
it was strongly advised not to discuss this topic with locals there.
At least it was advised not to call Krym a part of Ukraine.)
Fix Kerch' entry as well.
when generating html groff runs netpbm behind your back. Needless to
say we don't have netpbm in base, so this fails on a clean install; so
for now disable generating html for /usr/share/doc by default.
Workaround for PR 48970.
It seems that all available document preparation toolchains are made
of fail.
Move the documents that are papers to /usr/share/doc/papers.
Give them suitable names (including the author and year).
The key property of papers that distinguishes them from documentation
is that they're historical: they're published at a particular time and
aren't updated or maintained. (Except cosmetically.)
We should only ship papers that are of interest to users, either for
historical perspective or because they're the original research
writeup of stuff that went into the system and is still pertinent.
The ffs papers clearly meet this standard; the other one here (about
passwords, in 1978) is probably past its sell-by date.
Rename the following reference documents to match their programs:
shell -> sh
viref -> vi
and rename the following to match their topic better:
ipctut -> sockets
ipc -> sockets-advanced
Also, the old "timed" and "timedop" docs are now ref5/timed and
ref8/timed respectively, as the first of these documented the
protocol.
Move all the reference manuals to subdirs of /usr/share/doc/reference.
We have subdirs ref1-ref9, corresponding to man page sections 1-9.
Everything that's the reference manual for a program (sections 1, 6,
8), C interface (sections 2, 3), driver or file system (section 4),
format or configuration (section 5), or kernel internal interface
(section 9) belongs in here.
Section 7 is a little less clear: some things that might go in section
7 if they were a man page aren't really reference manuals. So I'm only
putting things in reference section 7 that are (to me) clearly
reference material, rather than e.g. tutorials, guides, FAQs, etc.
This obviously leaves some room for debate, especially without first
editing the docs with this distinction in mind, but if people hate
what I've done things can always be moved again.
Note also that while roff macro man pages traditionally go in section
7, I have put all the roff documentation (macros, tools, etc.) in one
place in reference/ref1/roff. This will make it easier to find and
also easier to edit it into some kind of coherent form.
Update the <bsd.doc.mk> infrastructure, and update the docs to match
the new infrastructure.
- Build and install text, ps, pdf, and/or html, not roff sources.
- Don't wire the chapter numbers into the build system, or use them in
the installed pathnames. This didn't matter much when the docs were a
museum, but now that we're theoretically going to start maintaining
them again, we're going to add and remove documents periodically and
having the chapter numbers baked in creates a lot of thrashing for no
purpose.
- Specify the document name explicitly, rather than implicitly in a
path. Use this name (instead of other random strings) as the name
of the installed files.
- Specify the document section, which is the subdirectory of
/usr/share/doc to install into.
- Allow multiple subdocuments. (That is, multiple documents in one
output directory.)
- Enumerate the .png files groff emits along with html so they can be
installed.
- Remove assorted hand-rolled rules for running roff and roff widgetry
and add enough variable settings to make these unnecessary. This
includes support for
- explicit use of soelim
- refer
- tbl
- pic
- eqn
- Forcibly apply at least minimal amounts of sanity to certain
autogenerated roff files.
- Don't exclude USD.doc, SMM.doc, and PSD.doc directories from the
build, as they now actually do stuff.
Note: currently we can't generate pdf. This turns out to be a
nontrivial problem with no immediate solution forthcoming. So for now,
as a workaround, install compressed .ps as the printable form.
"-Os" was specfied when gcc 4.5.x was imported and the commit log says
"-O2 produces much bigger code with gcc 4.5 than it did with gcc 4.1"
but "-Os" disables most inline declarations and makes some applications
much slower. "-O2 -fno-reorder-blocks" seems enough to reduce sizes
and disabling -freorder-blocks wouldn't cause particular performance
impact on ancient m68k machines with small cache memories.
See my post on port-m68k@ for more details:
http://mail-index.NetBSD.org/port-m68k/2014/06/22/msg000488.html
No objection in the thread and "seems fine to me" from mrg@.