make.1 clarify use of MAKEOBJDIRPREFIX
Note that MAKEOBJDIRPREFIX should be an absolute path.
Also that MAKEOBJDIRPREFIX and MAKEOBJDIR *can* be set
via makefile variables, but that care is needed to avoid
unwanted side effects.
ARP/ND6: Revert prior
Turns out some people actually use this behaviour and strictly speaking
it is allowed by RFC5227 2.4 where it says:
At any time, if a host receives
an ARP packet (Request *or* Reply) where the 'sender IP address' is
(one of) the host's own IP address(es) configured on that interface,
but the 'sender hardware address' does not match any of the host's
own interface addresses, then this is a conflicting ARP packet
The key part is "any of the host's own interface addreses".
lint: add more details to 'statement not reached' message
In lib/libcompat/regexp/regexp.c, the FAIL macro expands to a compound
statement containing a function call statement and a return statement,
and the macro invocation is followed by a semicolon, forming an extra
empty statement. Which of these statements is unreachable now becomes
clear from the diagnostic, without having to inspect the preprocessed
source code.
libuv: Build without pic on sun2.
Not necessary because we never build shared libraries anyway. Works
around errors like:
/home/riastradh/netbsd/current/src/../obj.sun2/external/mit/libuv/lib/libuv.a(version.o): in function `uv_version_string':
version.c:(.text+0xc): relocation truncated to fit: R_68K_GOT16 against symbol `_GLOBAL_OFFSET_TABLE_' defined in .got.plt section in /home/riastradh/netbsd/current/src/../obj.sun2/external/mit/libuv/lib/libuv.a(version.o)
makemandb(8): Fix static build with PROGDPLIBS.
XXX This shouldn't have to mention transitive dependencies -- we
should have a mechanism for upstream build goo for libarchive to
transmit the information automatically to downstream build goo for
makemandb.
add a few cryptography related acronyms:
EDDSA Edwards-curve digital signature algorithm
HBS hash-based signature
LMS Leighton-Micali Signature
XMSS eXtended Merkle Signature Scheme
XOF eXtendable-Output Function
This commit is intended to be what was intended to happen in the
commit of Sun Nov 10 01:22:24 UTC 2024, see:
http://mail-index.netbsd.org/source-changes/2024/11/10/msg154310.html
The commit message for that applies to this one (wholly). I believe that
the problem with that version which caused it to be reverted has been found
and fixed in this version (a necessary change was made as part of one of
the fixes, but the side-effect implications of that were missed -- bad bad me.)
In addition, I found some more issues with setting close-on-exec on other
command lines
With:
func 3>whatever
fd 3 (anything > 2) got close on exec set. That makes no difference
to the function itself (nothing gets exec'd therefore nothing gets closed)
but does to any exec that might happen running a command within the function.
[34 lines not shown]
UPDATING: Expand list of deletions for zstd mess.
1. Don't use $ for variables -- if you copy & paste, e.g.,
rm -rf $DESTDIR/usr/lib/libarchive*
and DESTDIR is not actually defined in the environment, you might
be an unhappy camper. (Resolvable by using /bin/pax to extract
the library from base.tgz but not great!)
2. Nix compat libraries and libmagic too.
3. Sort for easier maintenance.