Go to file
rillig ac66081df5 assert.h: remove custom macro definitions for lint mode
In lint mode, 'assert(cond)' expanded to nothing.  This broke code like
sqlite that assumes 'assert(cond)' expands to an expression that can be
used as operand of the comma operator, as in 'return assert(i > 0), i'.
2023-09-12 22:08:24 +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 Back out recent change to replace pool_cache with then general allocator. 2023-09-12 16:17:21 +00:00
compat compat: Disable relro in 32-bit arm compat. 2023-05-13 10:56:54 +00:00
crypto Explicitly load the legacy provider instead of using EVP_CIPHER_fetch() which 2023-09-11 15:12:12 +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 Note namecache tuning for 32-bit systems. 2023-09-09 18:30:00 +00:00
etc certctl(8): Install certs.conf in /usr/share/examples too. 2023-09-03 18:31:01 +00:00
external DNSCommon.c: fix punctuation in a comment 2023-09-12 21:19:53 +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 assert.h: remove custom macro definitions for lint mode 2023-09-12 22:08:24 +00:00
lib ctime.3: fix merge mistake 2023-09-12 21:56:05 +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
sbin fix potentially uninitialised data being used. 2023-08-07 23:27:07 +00:00
share +RAT remoate access trojan 2023-09-11 15:07:52 +00:00
sys double quotes should be in front of value, not property name. 2023-09-12 22:07:33 +00:00
tests lint: mark unreachable function call arguments as used as well 2023-09-12 22:01:05 +00:00
tools Update build instructions for Solaris 10 hosts 2023-09-02 18:45:48 +00:00
usr.bin lint: mark unreachable function call arguments as used as well 2023-09-12 22:01:05 +00:00
usr.sbin cpuctl(8): note that AMD updates need to be applied on all CPUs at once 2023-09-12 20:45:17 +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
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