Go to file
rillig 598b5fa387 lint: fix integer overflow on seeing -(uint64_t)INT64_MIN
Seen in external/cddl/osnet/dist/lib/libuutil/common/uu_strtoint.c,
which is protected by a NOLINT in ../Makefile.inc.
2022-04-19 23:16:14 +00:00
bin Introduce a new macro JNUM to replace the idiom jp-jobtab+1 2022-04-18 06:02:27 +00:00
common libc/atomic: Fix membars in __atomic_load/store_* stubs. 2022-04-09 23:38:57 +00:00
compat remove obsolete files. 2021-06-18 06:34:00 +00:00
crypto libcrypto: remove lint hack for __int128 2022-04-15 23:21:33 +00:00
dist/pf Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889. 2021-07-24 21:31:31 +00:00
distrib make: only switch to POSIX mode if '.POSIX:' is the first line 2022-04-18 15:06:27 +00:00
doc new OpenSSH 2022-04-15 14:02:08 +00:00
etc fix various typos in comments and log messages. 2022-04-16 18:15:20 +00:00
external sqlite: suppress a few lint warnings 2022-04-19 22:40:45 +00:00
extsrc
games fix various typos in comments and log messages. 2022-04-16 18:15:20 +00:00
include err.h: dead once is dead enough 2022-01-06 00:16:47 +00:00
lib fix for PR 55496 2022-04-19 22:26:57 +00:00
libexec fix various typos in comments. 2022-04-17 21:24:52 +00:00
regress fix various typos, mainly in comments, but also log messages, docs, game text. 2022-04-08 10:17:52 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin fix various typos in comments and log messages. 2022-04-16 18:15:20 +00:00
share fix various typos in comments and log messages. 2022-04-16 18:15:20 +00:00
sys Revert "mmap(2): If we fail with a hint, try again without it." 2022-04-19 22:53:34 +00:00
tests lint: fix integer overflow on seeing -(uint64_t)INT64_MIN 2022-04-19 23:16:14 +00:00
tools Disconnect 'tools/lib{elf,dwarf}' from the build. 2022-04-18 19:46:35 +00:00
usr.bin lint: fix integer overflow on seeing -(uint64_t)INT64_MIN 2022-04-19 23:16:14 +00:00
usr.sbin fix various typos in comments and log messages. 2022-04-16 18:15:20 +00:00
BUILDING Rename: 2021-12-20 20:33:20 +00:00
Makefile Makefile: fix location of postinstall program for MAKEVERBOSE > 2 2022-03-19 14:35:13 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING s/dissallow/disallow/ 2021-12-07 21:45:31 +00:00
build.sh Don't try to install netbsd-CONFIG.debug files build with kernel= 2021-12-31 15:43:35 +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