Commit Graph

14444 Commits

Author SHA1 Message Date
christos fc08ea7529 fix groff html generation 2013-03-21 02:04:17 +00:00
christos 131c9e0b6e handle NOMANDOC in the html case too 2013-03-21 01:48:14 +00:00
jmmv 76512a9d94 Synchronize the clock periodically in vmt(4).
Add periodic clock synchronization to vmt(4) so that the guest clock
remains synchronized even when the host is suspended (which is a very
typical situation in a laptop).

Do this by default once per minute, but provide a sysctl to tune this
value (machdep.vmt0.clock_sync.period).

Sent to tech-kern@ for review and addressed a couple of issues.
2013-03-16 01:26:52 +00:00
njoly 39d8199988 Fix a few file system paths to use Pa macro. 2013-03-15 19:32:30 +00:00
njoly ed42c35850 Add missing Ta macro. 2013-03-14 19:18:32 +00:00
njoly 46cf583aec Kill extra .Sh. 2013-03-14 19:17:58 +00:00
njoly 653fde3199 Fix dates. 2013-03-14 19:16:52 +00:00
nonaka 2c1464a536 Add support for the Huawei E171 3G Modem.
Tested by Saifi Khan at http://mail-index.netbsd.org/netbsd-users/2013/03/14/msg012629.html
2013-03-14 13:08:56 +00:00
riastradh b757dad44d Fix documentation of rbtree(3) iteration.
. Fix sense of rb_tree_iterate(rbt, NULL, ...).
. Document RB_TREE_MIN/RB_TREE_MAX to avoid relying on that sense.
. Document RB_TREE_FOREACH and RB_TREE_FOREACH_REVERSE to simplify
iteration.

Addresses PR lib/46034 and PR lib/47144.  It would have been nice to
make `x = NULL; while ((x = rb_tree_iterate(t, NULL, ...)) != NULL)'
DTRT to traverse t, but it's too much late for that now.

We probably ought to have an RB_TREE_FOREACH{,_REVERSE}_SAFE too.

ok christos
2013-03-13 13:38:05 +00:00
riastradh ff2657ee99 Fix argument order for config_attach_loc in autoconf(9). 2013-03-13 00:09:21 +00:00
apb 16e5ec363d Import tzdata2013b from ftp://ftp.iana.org/tz/releases/tzdata2013b.tar.gz
Changes from tzdata2013a to tzdata2013b:

  Changes affecting current and future time stamps:

    Haiti uses US daylight-saving rules this year, and presumably future years.
    This changes time stamps starting today.  (Thanks to Steffen Thorsen.)

    Paraguay will end DST on March 24 this year.
    (Thanks to Steffen Thorsen.)  For now, assume it's just this year.

    Morocco does not observe DST during Ramadan;
    try to predict Ramadan in Morocco as best we can.
    (Thanks to Erik Homoet for the heads-up.)

  Changes affecting commentary:

    Update URLs in tz-link page.  Add URLs for webOS, BB10, iOS.
    Update URL for Solaris.  Mention Internet RFC 6557.
    Update Internet RFCs 2445->5545, 2822->5322.
    Switch from FTP to HTTP for Internet RFCs.
2013-03-12 14:50:20 +00:00
christos 88a527aa60 PR/47632: Supratim Chakraborty: Spelling Mistake for Variadic functions 2013-03-08 16:50:02 +00:00
wiz 9fe5b6f853 New sentence, new line. 2013-03-06 22:18:29 +00:00
wiz 5c22ed0e04 Use more markup. 2013-03-06 22:07:54 +00:00
christos d79f48086b - create the directories if missing
- use $() instead of ``
2013-03-06 17:32:51 +00:00
yamt eb29b1d4e9 don't make ctfconvert remove original debug info 2013-03-06 11:19:08 +00:00
christos b5a766a4fb Add a rule to rebuild dependency files that contain stale entries automatically. 2013-03-05 21:59:01 +00:00
pooka 44e3d14dbc Make "make DBG=-g -O2" for a library once again produce a shared library
with debugging symbols (irregardless of .debug).
2013-03-05 21:16:24 +00:00
christos aa3d3ee6d3 MKDEPINCLUDES support. 2013-03-05 02:02:07 +00:00
apb f9811da719 Merge tzdata2013a from ftp://ftp.iana.org/tz/releases/tzdata2013a.tar.gz
Changes from tzdata2012j to tzdata2013a:

   Change affecting binary data format:

     The zone offset at the end of version-2-format zone files is now
     allowed to be 24:00, as per POSIX.1-2008.  (Thanks to Arthor David Olson.)

   Changes affecting current and future time stamps:

     Chile's 2013 rules, and we guess rules for 2014 and later, will be
     the same as 2012, namely Apr Sun>=23 03:00 UTC to Sep Sun>=2 04:00 UTC.
     (Thanks to Steffen Thorsen and Robert Elz.)

     New Zones Asia/Khandyga, Asia/Ust-Nera, Europe/Busingen.
     (Thanks to Tobias Conradi and Arthur David Olson.)

   Many changes affect historical time stamps before 1940.
   These were deduced from: Milne J. Civil time. Geogr J. 1899
   Feb;13(2):173-94 <http://www.jstor.org/stable/1774359>.
2013-03-03 19:55:39 +00:00
apb 95e6547152 Import tzdata2013a from ftp://ftp.iana.org/tz/releases/tzdata2013a.tar.gz
Changes from tzdata2012j to tzdata2013a:

   Change affecting binary data format:

     The zone offset at the end of version-2-format zone files is now
     allowed to be 24:00, as per POSIX.1-2008.  (Thanks to Arthor David Olson.)

   Changes affecting current and future time stamps:

     Chile's 2013 rules, and we guess rules for 2014 and later, will be
     the same as 2012, namely Apr Sun>=23 03:00 UTC to Sep Sun>=2 04:00 UTC.
     (Thanks to Steffen Thorsen and Robert Elz.)

     New Zones Asia/Khandyga, Asia/Ust-Nera, Europe/Busingen.
     (Thanks to Tobias Conradi and Arthur David Olson.)

   Many changes affect historical time stamps before 1940.
   These were deduced from: Milne J. Civil time. Geogr J. 1899
   Feb;13(2):173-94 <http://www.jstor.org/stable/1774359>.
2013-03-03 19:42:30 +00:00
joerg d0be9fb298 All current semaphores support process sharing. 2013-03-01 18:39:52 +00:00
joerg e240adbd0b Retire OSI network stack. OK core@ 2013-03-01 18:25:13 +00:00
joerg db135d737c Add infrastructure for building MCLinker. 2013-02-27 21:25:05 +00:00
jmmv 82977e8c6a Provide Kyua instructions in tests(7) when MKKYUA!=no.
I was first going to do this by doing automatic replacements of special
macros within the tests.7 file, but that turned out to be too complex
and confusing.

Instead, just rename the previous tests.7 to tests.atf.7 and add a new
tests.kyua.7 file.  Choose which one to install as tests(7) depending on
the MKKYUA knob.
2013-02-25 02:02:41 +00:00
jmmv 9c3a2b4adc Do not bother installing any XML calatog when MKKYUA!=no. We won't need
these any more, and we can possibly get rid of the directory altogether
at a later point.
2013-02-25 00:23:01 +00:00
jmmv 704facb580 Autogenerate Kyuafiles next to Atffiles when MKKYUA is set.
This is suboptimal: the current high-level definitions of test programs
in the Makefiles do not carry enough information to support all the
features of Kyuafiles.  For example, it is not possible to register test
programs that do *not* use the ATF libraries, which is something that
has been frequently requested around here; nor it is possible to attach
arbitrary metadata to test programs from the Makefile, which is handy
particularly for ATF-less test programs.

For these reasons, consider this a transitional step.

Note that, with this change, you should now be able to use the 'kyua'
tool to run the tests in /usr/tests.
2013-02-23 22:01:51 +00:00
jmmv 5b7eb38d00 Stop assuming that test programs and directories are the same thing during
Atffile generation.

This is needed to be able to generate Kyuafiles (coming later), as these
clearly differentiate between the definition of test programs and the
recursion into other subdirectories (or files).

In particular: rename ATFFILE_EXTRA_TPS to ATFFILE_EXTRA_SUBDIRS and
change the logic in bsd.test.mk to keep track of subdirectories aside from
_TESTS when creating the Atffile.
2013-02-23 21:20:14 +00:00
plunky 70aa4411eb since /etc/rc.d/network now prints messages about DAD
to the console during boot, lets provide a hint what it
is:

    duplicate address detection
2013-02-22 08:19:50 +00:00
christos 5a9353fcc0 Add a hook to create a manifest file if needed under cygwin 2013-02-17 00:36:00 +00:00
jmmv 7d3a48f1d2 Hook Lutok into the build. This is all protected by the MKKYUA guard. 2013-02-16 21:40:05 +00:00
jmmv 3bd42d5026 Add ATFFILE_EXTRA_TPS.
The new ATFFILE_EXTRA_TPS variable can hold a set of test programs or
subdirectories to be added to the generated Atffile, without needing these
to be built by the current Makefile.

This is to be used in conjunction with MK* knobs and external/ so that
a 3rd-party component can place its tests in the corresponding tests/
directory and have the parent Atffile recognize them.

An alternative would be to use 'tp-glob' in the Atffile and list the names
of the directories/tests that may or may not exist.  However, this would
require providing manually-crafted Atffiles -- and because the majority are
auto-generated, there would be some confusion.
2013-02-16 15:00:44 +00:00
wiz f3f78ea6f0 Use Nx, fix typo. 2013-02-15 21:03:17 +00:00
jmmv 88eb066b41 Add the MKKYUA knob.
MKKYUA defaults to no and will remain as such until the import is complete
and validated.

This knob does not currently have any effects on the build as nothing relies
on it yet.  Upcoming imports and changes in this area will all be guarded by
this flag.
2013-02-15 19:49:48 +00:00
christos fbf6778a1b Since the libraries are produced with different MK flags than the programs,
we check for existance of the files instead of the MK flags.
2013-02-14 03:02:47 +00:00
christos 4880aaed67 Add PROGDPLIBS 2013-02-14 01:58:00 +00:00
nakayama 93c32b3617 Fix copy and paste miss introduced in rev 1.327. 2013-02-13 08:00:47 +00:00
pgoyette 108fc19ea1 Remove a spurious '%' in "tech%nical" 2013-02-12 20:50:22 +00:00
christos aecff02552 me.7 is supplied both by groff and here. Don't include both. 2013-02-12 20:46:10 +00:00
jmcneill 01401401c3 add TOOL_MKNOD 2013-02-10 22:05:51 +00:00
christos 014096fb90 Allow setting _LIB_PREFIX externally. 2013-02-09 17:18:17 +00:00
spz cd9c73575e typo in a MKDEBUGLIB part 2013-02-09 12:17:20 +00:00
jdc 029dae7672 Update the bugs, now that seeprom has a major assigned. 2013-02-08 15:18:44 +00:00
matt 4609daf1bc Add missing } 2013-02-08 04:06:25 +00:00
christos 738b87c983 - factor out variables so that the code is more readable, make them conistent
- use _LIB_PREFIX correctly.
2013-02-08 02:30:53 +00:00
joerg da5d20679e Include AF_INET6. 2013-02-05 17:36:03 +00:00
jdc 897e710fa7 Add tda.4 to the build and to the set lists. 2013-02-03 14:51:57 +00:00
jdc 1219014e46 We adjust the fan speeds every 60 seconds (20 seconds is for the initial
adjustment only).
2013-02-03 08:22:21 +00:00
jdc 1d5000c919 Note that a callout should be stopped before being destroyed. 2013-02-03 08:19:58 +00:00
matt 467e80acbc Add support for MACHINE_ARCH earmhf and earmhfeb 2013-02-03 05:36:36 +00:00