Go to file
roy cdfaff8fa4 Import dhcpcd-7.2.1 with the following changes:
*  auth: Use consttime_memequal to avoid latency attack
*  DHCP: Fix a potential 1 byte read overflow with DHO_OPTSOVERLOADED
*  DHCPv6: Fix a potential buffer overflow reading NA/TA addresses
2019-04-26 14:32:27 +00:00
bin Better interactive SIGINT handling (when a trap is set), and other 2019-04-25 03:54:10 +00:00
common add missing atomic_and_16_nv_cas.c atomic_and_8_nv_cas.c. 2019-04-17 07:40:34 +00:00
compat - various updates for GCC 7 riscv definitions: -mabi and -march changed 2019-04-18 10:07:07 +00:00
crypto attribute police 2019-04-26 01:51:55 +00:00
dist/pf - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
distrib Add a test case for signbit. 2019-04-26 08:52:16 +00:00
doc libpthread(3): Import C11 thread support library 2019-04-24 15:04:51 +00:00
etc Fix build, install wsmoused 2019-04-25 11:21:34 +00:00
external Import dhcpcd-7.2.1 with the following changes: 2019-04-26 14:32:27 +00:00
extsrc
games Report the users score _after_ the game has ended and the screen has 2019-03-19 00:11:34 +00:00
include Don't install YP headers when MKYP=no 2019-04-24 10:26:08 +00:00
lib Remove unused 387 implementations. 2019-04-26 10:11:14 +00:00
libexec r_symndx is no longer declared, use symnum and initialize it before use. 2019-04-15 19:13:03 +00:00
regress Eliminate regress/libexec/ld.elf_so/expand 2019-04-06 16:25:52 +00:00
rescue fix duplicated chunk from merge 2019-01-27 04:33:29 +00:00
sbin Suggested by Christos: 2019-04-22 10:44:55 +00:00
share RFU 2019-04-24 14:15:35 +00:00
sys Expose device type. You can query it with e.g. drvctl -p ld0 disk-info/type. 2019-04-26 14:28:40 +00:00
tests Add a test case for signbit. 2019-04-26 08:52:16 +00:00
tools Add MKLLVMRT to build a subset of the LLVM stack for JIT purposes. 2019-04-03 15:21:58 +00:00
usr.bin A couple of fixes so that NetBSD/cats builds (on linux), works, and 2019-04-26 07:35:21 +00:00
usr.sbin Fix building rpcbind with MKYP=no 2019-04-24 10:27:49 +00:00
BUILDING regen 2018-07-29 20:53:41 +00:00
Makefile .WAIT for tools to complete. 2018-11-11 07:43:35 +00:00
Makefile.inc Re-add files that were accidentally deleted in my previous commit. 2018-05-02 07:34:44 +00:00
README.md Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING add a quick note about gcc 7 likely causing update build failures. 2019-02-08 09:57:01 +00:00
build.sh Tyop in error message... 2019-04-25 05:12:49 +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