Go to file
rillig bf28682f65 lint: extend test for strict _Bool handling
There is no danger in allowing (flags & FLAG) as a controlling
expression, provided that it is immediately compared to zero, such as in
an if statement or as the operand of a logical operator.
2021-01-11 00:28:28 +00:00
bin df: bump man page date 2021-01-06 20:38:09 +00:00
common arm bswap32: fix fatal typo in thumb code (PR 55854) 2020-12-11 09:02:33 +00:00
compat Use the compat machinery to build "native" IPF binaries as ipfilter 2021-01-05 11:07:59 +00:00
crypto merge conflicts, regen 2020-12-10 00:33:08 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Various entropy integration improvements. 2021-01-10 23:24:25 +00:00
doc new pppd 2021-01-09 16:44:35 +00:00
etc Various entropy integration improvements. 2021-01-10 23:24:25 +00:00
external remove more 2021-01-09 16:41:09 +00:00
extsrc
games - Don't allocate memory dynamically on the stack (for SSP) 2021-01-08 15:16:04 +00:00
include Correct typo in previous. 2020-12-04 23:04:58 +00:00
lib Optimize CPU and memory use of cdbw(3) 2021-01-07 14:41:50 +00:00
libexec Bozohttpd clobbers files greater than 4GB on 32bit archs. 2020-11-19 10:45:36 +00:00
regress citrus SUBDIR is gone 2020-06-27 11:06:43 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin Also replace calls to dirname. 2021-01-09 16:25:19 +00:00
share Various entropy integration improvements. 2021-01-10 23:24:25 +00:00
sys Disable nouveau for now. It can cause long pauses at boot and sometimes 2021-01-10 19:20:16 +00:00
tests lint: extend test for strict _Bool handling 2021-01-11 00:28:28 +00:00
tools Don't bother with gdbserver for archs that don't build it. 2020-12-05 21:27:31 +00:00
usr.bin make(1): make a few more bool expressions more precise 2021-01-10 23:59:53 +00:00
usr.sbin Explicitly cast offset calculation, size_t may be smaller than off_t. 2021-01-10 13:44:57 +00:00
build.sh add "distsets" alias for "distribution sets". 2020-09-20 10:29:05 +00:00
BUILDING Reintroduce the support of MKCATPAGES 2020-11-10 21:47:40 +00:00
Makefile G/c spurious whitespace. 2020-10-29 20:26:24 +00:00
Makefile.inc
README.md Use first-level heading for "NetBSD" title in README.md 2020-01-10 12:33:28 +00:00
UPDATING UPDATING: lint1/ops.c may require OBJDIR to be cleaned 2021-01-09 20:51:08 +00:00

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