Remove <timers.h>
This header just includes <sys/timers.h> and seems to be never used.
Also, this header doesn't exist on NetBSD, OpenBSD, and Linux.
Discussed-with: swildner
rc.d/root: Add 'nojail' keyword to fix jail boot
A jail cannot remount the root filesystem so it was failing to boot
because of error:
Mounting root filesystem rw failed; startup aborted.
Add the 'nojail' keyword to exclude this rc script in jail boot.
FreeBSD also has this keyword for this script for 20+ years.
With this fix, a jail boots OK but there are still some errors during
the boot, so there are more rc scripts that need the 'nojail' keyword
or need tweaks for jail. Will look into this later.
Reported-by: fgudin (Francis GUDIN) on IRC
nrelease: Fix build due to 'pkg autoremove' removing itself
Since 2025Q1, if the 'ports-mgmt/pkg' package is installed as a
dependency of another package, it will be marked as 'automatic'
and will be removed by a later 'pkg autoremove', which would cause
the nrelease build to fail. Therefore, explicitly install it to
fix the issue.
Reported-by: tuxillo
Discussed-with: bapt
Import openresolv-3.14.0 with the following changes:
unbound: Add option for marking domains as private
resolvconf: Add option to exclude a whole file on match
vi(1): Reorganize version.h and thus avoid another local modification
Meanwhile, remove the unnecessary '-I${SRCDIR}/vi' from CFLAGS.
Obtained-from: FreeBSD
libz: Remove the 'ZLIBprivate_1.0' version together with its symbols
These three symbols are private and are not even needed to be exported
by the private 'ZLIBprivate_1.0' version tag. So just remove them and
be the same as the default vendor zlib.map as well as other systems
(like FreeBSD and Debian Linux).