Go to file
rillig cc53a52313 make(1): improve test for undefined subexpression in :C modifier
In the previous test output, it was unnecessarily hard to see what
happens because of the many empty strings.  Enclosing the capturing
groups in parentheses helps against this.
2020-08-09 15:15:29 +00:00
bin Use the right size for several calloc calls. 2020-08-09 00:53:38 +00:00
common Centralise SYNC/BDSYNC in asm.h and introduce a new LLCSCSYNC and use it 2020-08-06 10:00:20 +00:00
compat
crypto move $VERSION from Makefile.inc into the single Makefile that uses it. 2020-07-23 07:53:35 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib make(1): add test for non-obvious .MAKE.EXPORTED edge case 2020-08-09 12:59:16 +00:00
doc new dhcp 2020-08-03 21:12:29 +00:00
etc Add missed bpf(4) node for dhcpcd(8) in INSTALL floppies. 2020-08-09 00:56:44 +00:00
external Put back fbtile.c to SRCS.fb per xsrc dist file changes: 2020-08-09 15:02:52 +00:00
extsrc
games robots: Use arc4random_uniform for better uniform distribution 2020-07-26 15:38:22 +00:00
include nameser_compat.h: correct preprocessor error syntax 2020-06-28 02:16:19 +00:00
lib Fix grammar. 2020-07-30 21:23:36 +00:00
libexec Add -DNO_BLOCKLIST_SUPPORT also to small/Makefile. 2020-07-13 10:35:17 +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 Find the if a device points to an active filesystem by looking at the mount 2020-08-08 11:44:55 +00:00
share Add TOFU 2020-08-09 13:48:00 +00:00
sys ONe '#' is enough for a comment 2020-08-09 09:23:17 +00:00
tests Fix missing "-m tranport" options. Pointed out by k-goda@IIJ. 2020-08-05 01:10:50 +00:00
tools Build mkubootimage for evbsh3 too. 2020-07-28 21:38:15 +00:00
usr.bin make(1): improve test for undefined subexpression in :C modifier 2020-08-09 15:15:29 +00:00
usr.sbin evbmips: add ofctl(8) and /dev/openfirm support 2020-07-24 12:07:09 +00:00
build.sh make(1): remove references to the removed lst.lib 2020-07-26 09:17:24 +00:00
BUILDING
Makefile automatically remove old debug files for modules. 2020-05-15 16:34:44 +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 blocklist migration has been automated. 2020-06-15 21:52:03 +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