Go to file
rin 09399eea1c Unconditionally include <sys/systm.h> for KASSERT{,MSG}().
Fix (!DIAGNOSTIC && !DEBUG) build.
2022-09-04 22:34:58 +00:00
bin Change back various occurrences of \*[Le], \*[Ge] (less/greater equal) 2022-08-28 10:48:15 +00:00
common proplib: Allocate sizeof(*ctx), not sizeof(struct ...). 2022-08-07 23:49:46 +00:00
compat fix various typos in comments and log messages. 2022-05-29 10:47:39 +00:00
crypto etc: Fix permissions of various editable configuration files. 2022-08-30 13:40:37 +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 Document the pktqueue interface. 2022-09-04 21:37:50 +00:00
doc xen: Add experimental support for PVH dom0. 2022-09-01 12:36:14 +00:00
etc /etc/ssh: Install ssh_known_hosts with mode 644. 2022-08-30 22:36:48 +00:00
external dtrace_fbt: Allow tracing names that start with `__'. 2022-09-02 11:03:50 +00:00
games fortunes: add something 2022-08-26 20:07:04 +00:00
include Add sincos{,f,l} from FreeBSD 2022-08-27 08:31:58 +00:00
lib reallocarr(3): Touch up xrefs. 2022-08-31 12:18:41 +00:00
libexec Fix CVE-2020-10188 2022-08-26 22:01:20 +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 remove threads; size constraints and behavioral change 2022-05-16 14:55:56 +00:00
sbin cgdconfig(8): Gracefully handle failed verification with shared keys. 2022-08-30 08:48:41 +00:00
share Document the pktqueue interface. 2022-09-04 21:37:50 +00:00
sys Unconditionally include <sys/systm.h> for KASSERT{,MSG}(). 2022-09-04 22:34:58 +00:00
tests lint: rename dcs manipulation functions to be clearer 2022-08-28 08:41:06 +00:00
tools bump the netbsd version GCC to yesterday's date. 2022-07-23 19:01:18 +00:00
usr.bin Only update distrib/sets/lists/tests/mi with valid files 2022-09-03 15:03:32 +00:00
usr.sbin Make build with WARNS=5. 2022-09-03 07:45:08 +00:00
BUILDING By default, do not install any bootable images. 2022-08-22 16:50:25 +00:00
Makefile Deprecate extsrc/, EXTSRCSRCDIR, MKEXTSRC 2022-08-21 07:10:03 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING UPDATING: extsrc deprecated 2022-08-21 07:15:28 +00:00
build.sh build.sh: usage improvements 2022-08-21 07:57:50 +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