Go to file
riastradh 1cac5d57e4 certctl(8): Avoid clobbering prepopulated /etc/openssl/certs.
Also avoid clobbering some other edge cases like symlinks or
non-directories there.

This way, we have the following transitions on system updates:

- If /etc/openssl/certs is empty (as in default NetBSD<10 installs):
  quietly populated on rehash.

- If /etc/openssl/certs is nonempty (you've added things to it,
  e.g. by hand or with mozilla-rootcerts) and has never been managed
  by certctl(8): left alone on rehash, with an error message to
  explain what you need to do.

- If /etc/openssl/certs has been managed by certctl(8): quietly
  updated on rehash.

Note: This means current installations made since certctl(8) was
added will be treated like /etc/openssl/certs is nonempty and has
never been managed by certctl(8).  To work around this, you can just
delete /etc/openssl/certs and rerun `certctl rehash'.
2023-08-28 22:25:49 +00:00
bin use -O1 on sh3, GCC 12 and parser.c. 2023-08-14 03:18:14 +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 PR57519: Fix awk script script (escape opening curly) so building with non-gnu versions of awk is possible (e.g. Solaris 11.4) 2023-08-21 18:46:57 +00:00
dist/pf Don't write random data to the header. 2023-08-19 14:56:22 +00:00
distrib lists/comp/ad.riscv: Add new ldscripts for mknative to binutils 2023-08-28 02:45:24 +00:00
doc mozilla-certdata: Record in doc/3RDPARTY. 2023-08-26 05:47:05 +00:00
etc tests/usr.bin/error: add basic tests for several error message styles 2023-08-26 10:06:16 +00:00
external gdb: mknative everyone 2023-08-28 03:26: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 time.h: fix typo in comment 2023-08-19 08:54:36 +00:00
lib libkvm: whitespace 2023-08-23 14:00:11 +00:00
libexec ld.elf_so: Split hash functions into a separate file. 2023-07-30 09:20:14 +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 +IAB - Internet Architecture Board 2023-08-28 15:50:17 +00:00
sys fix SFAS_DEBUG enabled build for acorn32: 2023-08-28 18:04:33 +00:00
tests certctl(8): Avoid clobbering prepopulated /etc/openssl/certs. 2023-08-28 22:25:49 +00:00
tools Update build instructions for Solaris 11.3 hosts 2023-08-24 19:30:48 +00:00
usr.bin error: clean up comparison of word vectors 2023-08-26 15:18:27 +00:00
usr.sbin certctl(8): Avoid clobbering prepopulated /etc/openssl/certs. 2023-08-28 22:25:49 +00:00
BUILDING BUILDING: list known mk.conf vars. tweak section headers 2023-07-22 18:50:04 +00:00
Makefile more NBUILDJOBS deprecation 2023-06-11 10:43:51 +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: use mk.conf (if present) as MAKECONF 2023-07-18 16:59:57 +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