Go to file
riastradh 5278b8e44d Makefile: Run `postinstall -d /', not `postinstall -d //'.
This happens when doing `build.sh install=/'.  The message is less
confusing and it makes postinstall's job simpler for detecting when
it's installing to / rather than somewhere else.
2023-09-08 12:01:56 +00:00
bin At the request of bad@ enhance the synopsis of the set built-in 2023-09-01 01:57:54 +00:00
common port-arm/57388: Minor bug fix in bcopy.S 2023-07-23 07:54:37 +00:00
compat compat: Disable relro in 32-bit arm compat. 2023-05-13 10:56:54 +00:00
crypto lib: Handle various external lib directories with build_install. 2023-09-06 23:44:42 +00:00
dist/pf Don't write random data to the header. 2023-08-19 14:56:22 +00:00
distrib libbozohttpd, libluabozohttpd: Bump major for libssl.so bump. 2023-09-06 12:44:45 +00:00
doc don't care about GCC 11 version (we've skipped it). 2023-09-05 21:22:57 +00:00
etc certctl(8): Install certs.conf in /usr/share/examples too. 2023-09-03 18:31:01 +00:00
external lib: Handle various external lib directories with build_install. 2023-09-06 23:44:42 +00:00
games fix new GCC 12 warning that can't happen by forcing unsigned context for 2023-08-01 07:55:57 +00:00
include time.h: fix typo in comment 2023-08-19 08:54:36 +00:00
lib raise() has understood threads for a long time, don't reimplment it. 2023-09-07 19:59:20 +00:00
libexec Fix memory leaks in bozo_cleanup 2023-09-07 06:40:56 +00:00
regress s/defult/default/ 2023-08-24 14:53:02 +00:00
rescue remove threads; size constraints and behavioral change 2022-05-16 14:55:56 +00:00
sbin fix potentially uninitialised data being used. 2023-08-07 23:27:07 +00:00
share Permit calling cv_signal()/cv_broadcast() after mutex release. 2023-09-07 20:01:43 +00:00
sys Fix a ~16 year old perf regression: when creating a socket, add a reference 2023-09-07 20:12:33 +00:00
tests tests/lint: allow lint libraries to be installed 2023-09-07 06:24:31 +00:00
tools Update build instructions for Solaris 10 hosts 2023-09-02 18:45:48 +00:00
usr.bin tests/make: fix test for conditions of the form 'a > b' 2023-09-07 05:36:33 +00:00
usr.sbin sysinst(1): Run `certctl rehash' on fresh installs. 2023-09-07 16:38:08 +00:00
BUILDING BUILDING: list known mk.conf vars. tweak section headers 2023-07-22 18:50:04 +00:00
Makefile Makefile: Run `postinstall -d /', not `postinstall -d //'. 2023-09-08 12:01:56 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING certctl(8): Avoid clobbering prepopulated /etc/openssl/certs. 2023-08-28 22:25:49 +00:00
build.sh build.sh: add support for git worktree 2023-09-04 02:21:17 +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