Go to file
christos 559c967b97 Import tzcode 2023d:
localtime.c no longer mishandles TZif files that contain a single
    transition into a DST regime.  Previously, it incorrectly assumed
    DST was in effect before the transition too.  (Thanks to Alois
    Treindl for debugging help.)

    localtime.c's timeoff no longer collides with OpenBSD 7.4.

    The C code now uses _Generic only if __STDC_VERSION__ says the
    compiler is C11 or later.

    tzselect now optionally reads zonenow.tab, to simplify when
    configuring only for timestamps dated from now on.

    tzselect no longer creates temporary files.

    tzselect no longer mishandles the following:

      Spaces and most other special characters in BUGEMAIL, PACKAGE,
      TZDIR, and VERSION.

      TZ strings when using mawk 1.4.3, which mishandles regular
      expressions of the form /X{2,}/.

      ISO 6709 coordinates when using an awk that lacks the GNU
      extension of newlines in -v option-arguments.

      Non UTF-8 locales when using an iconv command that lacks the GNU
      //TRANSLIT extension.

    zic no longer mishandles data for Palestine after the year 2075.
    Previously, it incorrectly omitted post-2075 transitions that are
    predicted for just before and just after Ramadan.  (Thanks to Ken
    Murchison for debugging help.)

    zic now works again on Linux 2.6.16 and 2.6.17 (2006).
2023-12-23 20:48:38 +00:00
bin Correctly compute the "Filesystem" column with when using -W 2023-12-18 08:27:24 +00:00
common s/miltiple/multiple/ in comment. 2023-12-07 07:10:44 +00:00
compat compat: Disable relro in 32-bit arm compat. 2023-05-13 10:56:54 +00:00
crypto Merge conflicts between 9.5 and 9.6 2023-12-20 17:15:20 +00:00
dist/pf Don't write random data to the header. 2023-08-19 14:56:22 +00:00
distrib bump libssh 2023-12-20 17:17:21 +00:00
doc new postfix 2023-12-23 20:32:30 +00:00
etc PR/57759: Hauke Fath: Restore local additions, lost in revision 1.104 2023-12-09 16:18:48 +00:00
external merge conflicts between 3.7.3 and 3.8.4 2023-12-23 20:30:42 +00:00
games Drop -O[01] hacks for vax; no longer necessary for patched GCC 10 2023-10-07 12:15:49 +00:00
include fix triple s typos in comments. 2023-12-08 21:46:02 +00:00
lib Import tzcode 2023d: 2023-12-23 20:48:38 +00:00
libexec httpd(8): Add missing newline to `SSL Error' messages. 2023-12-18 03:48:57 +00:00
regress s/multipies/multiplies/. 2023-12-06 22:23:11 +00:00
rescue remove threads; size constraints and behavioral change 2022-05-16 14:55:56 +00:00
sbin avoid use after free. skip the QUIET check already in gpt_warn(). 2023-12-13 06:51:57 +00:00
share Update documentation with -q and -N options. 2023-12-23 20:15:19 +00:00
sys Remove "#ifdef RAMDISK_HOOKS" block, RB_DFLTROOT boot flag is obsolete long ago. 2023-12-23 18:59:27 +00:00
tests tests/indent: don't create an unneeded file 2023-12-17 10:02:09 +00:00
tools tools/Makefile: Correct inverted comment. NFC 2023-11-30 06:29:33 +00:00
usr.bin tests/make: add the expected output to the test for variable debugging 2023-12-20 09:46:00 +00:00
usr.sbin Return a proper exit status on failure on creating msdosfs. 2023-12-20 15:07:16 +00:00
BUILDING BUILDING: list known mk.conf vars. tweak section headers 2023-07-22 18:50:04 +00:00
Makefile Makefile: Run `postinstall -d /', not `postinstall -d //'. 2023-09-08 12:01:56 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING UPDATING: fix a couple of spelling mistakes 2023-09-24 16:33:41 +00:00
build.sh build.sh: add support for git worktree 2023-09-04 02:21:17 +00:00

README.md

NetBSD

NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.

Building

You can cross-build NetBSD from most UNIX-like operating systems. To build for amd64 (x86_64), in the src directory:

./build.sh -U -u -j4 -m amd64 -O ~/obj release

Additional build information available in the BUILDING file.

Binaries

Testing

On a running NetBSD system:

cd /usr/tests; atf-run | atf-report

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P src

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/src.git