Commit Graph

17571 Commits

Author SHA1 Message Date
lukem 5b36091254 sets: enhance MAKEVERBOSE support
Add more messages for various sets operations.
Add ${_MKMSG_CREATE} to bsd.own.mk.

Enhance maketars to be a bit more verbose even with -q,
to make it more obvious why certain operations may be slow.
May help debugging PR 47562.
2023-06-10 16:08:41 +00:00
lukem 7e6b40ad41 maketars: add comments for skipped mtree keywords
Reorder skipkeys alphabetically and add comment explaining
the purpose and why sha256 is not part of the variable.
2023-06-10 14:11:08 +00:00
gutteridge 373751d8bd Add bpf to the device nodes provided in the evbmips ramdisk
Intended to address an issue noted by Denis Ovsienko on port-mips,
where dhcpcd doesn't work with the netbsd-INSTALL_OCTEON kernel. (I am
not able to test this directly, but verified by mounting the ramdisk
images generated before and after this change.)
2023-06-09 21:41:52 +00:00
simonb 6a879404f5 Alignment nit. 2023-06-09 03:43:02 +00:00
kre 3ab9b3b3e3 Revert previous, I missed an update... 2023-06-08 22:56:14 +00:00
kre e7ca993906 lua is currently building liblua.so.6.0 not ...6.1 2023-06-08 22:54:04 +00:00
nikita 4514e46e6b distrib: lua minor version bump 2023-06-08 21:14:09 +00:00
martin 743f390d28 Fix markup of libh_ MKDEBUGLIB=yes only files 2023-06-06 08:27:44 +00:00
pgoyette ded2c960bc Fix MKDEBUGLIB build by adding these installed files to the debug
set list.

XXX
One could argue that these files are not of any use, so why install
them?  I don't have a good argument either way, and this is (for
now) a simple work-around for PR bin/57455   Please feel free to
commit a different fix to avoid installing these files at all.
2023-06-06 06:51:00 +00:00
lukem 7615e96ba2 mkvars.mk: sort MKEXTRAVARS and remove dupes
Sort MKEXTRAVARS.
Remove obsolete MKBFD.
Remove entries already in <bsd.own.mk> _MKVARS.no or _MKVARS.yes:
	MKCOMPATTESTS MKDTC MKDYNAMICROOT MKFIRMWARE MKMANZ
	MKRADEONFIRMWARE MKSLJIT MKSOFTFLOAT MKXORG_SERVER

Sorted output of comparing "before" and "after" is identical
besides those variables listed above.
2023-06-03 21:20:53 +00:00
andvar 4ce1b76da5 fix typo xbase-obsolet -> xbase-obsolete. 2023-06-03 19:57:33 +00:00
riastradh aa47a9a159 ld.elf_so: Fix missing tab in debug/shl.mi in last change.
XXX pullup-10
2023-06-03 13:20:42 +00:00
lukem c4b7a9e794 bsd.own.mk: rename GCC_NO_* to CC_WNO_*
Rename compiler-warning-disable variables from
	GCC_NO_warning
to
	CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
2023-06-03 09:09:01 +00:00
riastradh 067c5136b3 ld.elf_so: Test dynamic-then-static abuse via ctor.
XXX pullup-10
2023-06-02 19:09:11 +00:00
riastradh f4e534dd53 ld.elf_so: Test another edge case of mismatched TLS models.
One library defines a symbol and _doesn't_ use it, so it has no
indication of whether the symbol is for static TLS or dynamic TLS,
and then two other libraries use it in different ways.

XXX pullup-10
2023-06-02 19:08:48 +00:00
riastradh e0bd56e642 ld.elf_so: Add new files to debug/shl.mi.
XXX pullup-10
2023-06-02 12:08:26 +00:00
martin eba8370ebe Add recent ld.elf_so test helpers debug info 2023-06-02 11:09:39 +00:00
riastradh 6b7ae3bea1 ld.elf_so: Test TLS abuse of static def, dynamic use and vice versa.
XXX pullup-10
2023-06-01 22:26:40 +00:00
riastradh 05e97b5a42 ld.elf_so: Test extern dynamic TLS too.
XXX pullup-10
2023-06-01 20:50:18 +00:00
rillig 9458670356 tests/make: clean up comments, extend a few tests 2023-06-01 07:27:30 +00:00
christos 64d14f900e new openssl man pages 2023-05-31 19:44:42 +00:00
riastradh 3e86fda22b ld.elf_so: Fix set lists for MKDEBUG=yes builds with t_tls_extern.
XXX pullup-10
2023-05-31 13:02:10 +00:00
riastradh 12037d6a69 ld.elf_so: New test for extern initial-exec TLS, PR toolchain/50277.
XXX pullup-10
2023-05-31 00:18:44 +00:00
riastradh 4448c6469d openssl: Add missing sparc compat openssl engines to set list. 2023-05-27 10:12:11 +00:00
riastradh aae5207d1c openssl: Nix capi.so engine -- it's for the Windows crypto API.
Not likely to work in NetBSD base!
2023-05-27 02:28:45 +00:00
riastradh 6c7ceb7a1b openssl: Fix typo in mips set list. 2023-05-27 00:09:06 +00:00
riastradh 3cfc95ce12 openssl: padlock.so engine for VIA CPUs makes sense only on x86. 2023-05-27 00:08:30 +00:00
riastradh 717caf24ae openssl: Wire up dynamic engine build goo.
This restores the devcrypto engine, which was converted from static
to dynamic since the previous OpenSSL update.

XXX Pretty sure I got some of the set list package names wrong, but
it's not clear what the right ones are or what consequences any of
this has.

XXX Needs testing.
2023-05-26 22:27:50 +00:00
riastradh 93c12d2bae openssl: Add /usr/lib/${ARCHDIR}/openssl/engines to aarch64 build. 2023-05-26 22:26:25 +00:00
riastradh 1bca1b82cb Revert "openssl: Nix build goo for dynamically loaded engines."
Turns out there is a regression lurking here: the devcrypto engine
was made dynamic-only (https://github.com/openssl/openssl/pull/7859),
so to maintain that functionality, we need to build dynamic engines.
Will fix the aarch64 build issue and wire things up separately.
2023-05-26 22:26:10 +00:00
riastradh 6377aad786 openssl: Nix build goo for dynamically loaded engines.
- Engines are deprecated in openssl 3.

- We never actually had the .so engines wired up to be built in
  openssl 1.1, and judging by the lack of obsolete entries in the set
  lists, I don't think we ever had them wired up to be built at all.
2023-05-26 13:21:51 +00:00
lukem 8e5c6bed5f obsolete mkstr(1) and xstr(1)
These were only used on PDP-11 for two programs we don't ship,
and have been obsolete since the VAX days.

xstr never worked in the build.sh cross-build environment (22 years), or
parallel make environment (nearly 28 years), didn't work in the orignal 386bsd
import, and has never been needed in NetBSD as we don't have the older BSD
programs (pascal, pre-nvi ex) that needed mkstr/xstr on PDP-11.

PR toolchain/35964
2023-05-24 13:00:14 +00:00
rillig a9183f83be tests/indent: migrate test driver from AWK to Lua
Lua reports more details when os.execute fails, which is useful when
running old versions of indent for comparison.  The new test driver also
supports multiple test files in the same run.
2023-05-20 21:32:05 +00:00
hauke 1958a15c49 Creating Type&Creator mappings for .bin (macbinary encoded) files,
mkisofs changes files, then turns around and complains they have been
changed.

This is a self-inflicted wound, so demote the error to a warning.

Reported upstream as <https://codeberg.org/schilytools/schilytools/issues/58>.

Arguably fixes PR toolchain/42166

Request pull-ups to netbsd-{8,9,10}.

XXX What about macppc?
2023-05-19 14:47:16 +00:00
christos e44743be40 we should only need this one 2023-05-19 11:43:20 +00:00
christos 4dce0d564d add compat OpenSSL 2023-05-18 00:28:37 +00:00
christos f5345a0b77 mark things compat 2023-05-18 00:24:22 +00:00
christos 7b56c6d54e fix mips OpenSSL-3.x compat 2023-05-17 15:01:17 +00:00
christos c78b7b8064 try to fix powerpc compat 2023-05-16 19:25:06 +00:00
christos 62bc4070d8 add compat files 2023-05-15 21:12:11 +00:00
phx 34815acdf9 Update loadbsd source and distribution binary to version 3.3.
- Loading the kernel to the highest priority memory segment is default now.
- New option -l to revert the to the previous behaviour of largest segment.
- New option -M to define a minimum size for the memory segment.
- Fixed some warnings and typos.
- Put assembler inline source into its own source text startit.s.
- Can be built with Bebbo's gcc6 Amiga port or with vbcc.
2023-05-14 16:13:05 +00:00
riastradh 283c6b4be3 openssl compat: Try this again!
compatdir appears to be for things like /usr/lib that have
/usr/lib/eabi as a subdirectory, so for /usr/lib/openssl it would
mean we have /usr/lib/openssl/eabi as a subdirectory.  But that's not
what we have; we have /usr/lib/eabi/openssl.

Let's try using NetBSD.dist.compat.in instead, which appears to be
intended for this purpose, from what I can gather.
2023-05-14 11:04:56 +00:00
mrg 877aec1b8e mark /usr/lib/openssl and /usr/lib/openssl/modules as "compatdir".
remove them as explicit part of all arm64 builds when they're only
(currently) used and consumed by llvm builds.

this fixes gcc builds and i don't think it breaks llvm ones though
i'm still waiting for that test.
2023-05-14 07:07:23 +00:00
riastradh 8f8672b0ba openssl: More set list fixes. 2023-05-13 20:13:05 +00:00
rillig 9db90c6e6b tests/indent: add test for lexing of numbers 2023-05-13 13:24:01 +00:00
rillig af5234764a distrib/sets: format tests list 2023-05-13 13:21:35 +00:00
riastradh bf2355496c aarch64: New directories for compat openssl on aarch64.
Hope I got the setlist tags right, not really sure how this works.
2023-05-13 13:04:14 +00:00
riastradh 15effa6c57 distrib/sets/lists: Nix trailing whitespace.
No functional change intended.
2023-05-12 11:13:09 +00:00
christos 147b6c818d switch sparc64/aarch64 to OpenSSL-3.x 2023-05-11 17:57:14 +00:00
christos 1c3e8d3916 update the sets for OpenSSL-3.x 2023-05-10 15:52:07 +00:00
rillig de72ac4409 tests/make: clean up tests for .for loops
Most of the tests from forloop.mk were already in directive-for.mk.
2023-05-10 13:03:06 +00:00
sjg ff8067fc6f make: add :mtime to provide mtime of file
The value of the variable is passed to stat(2)
and st_mtime is new value.
An optional arg can be used if stat(2) fails, otherwise
the current time is used.

See varmod-mtime.mk for usage examples.
2023-05-09 20:14:27 +00:00
skrll 75b842b847 RISC-V support that works on QEMU with a single hart.
Thanks for Simon Burge for plic(4).
2023-05-07 12:41:45 +00:00
skrll f64a275a51 Add imx6sx dtb files for BE too 2023-05-06 08:43:20 +00:00
bouyer eacf400a5c Add imx6sx dtb files 2023-05-04 13:41:46 +00:00
phx 8d9149a73d Driver for the MNT ZZ9000 Zorro board. Submitted by Alain Runa.
It was formerly known as mntzz, which Alain released three years ago.
Since then, the ZZ9000 had several firmware updates which changed some
hardware interface details rendering the former driver non functional in some
aspects. Also the audio card plug-in ZZ9000AX became available from MNT
Research. Considering the major rewrite of the driver in some areas he
decided to rename it to zz9k(9). The driver consists of several sub-drivers
each addressing different functionality of the MNT ZZ9000 & ZZ9000AX combo
card.

zz9k* is the main card driver and need to be enabled if any of the sub-driver
is enabled. zz9k on its own is not very useful, it only provides a common
zz9kbus for the other sub-drivers to connect to, so only enable it if one of
the zz9k sub-drivers are enabled.
zzfb* represents the graphics driver for the boot console and the dumb
framebuffer for X11 based on WSCONS. ZZFB_CONSOLE option enables the ZZ9000
to become the boot console.
zz* represents the ethernet interface of the ZZ9000. It basically works but
is considered experimental.
zzax* represents the ZZ9000AX audio card driver, audio* attaches to it to
provide audio output and input functionality. The driver is not functional
yet.
zzusb* represents the ZZ9000AX usb driver. It was not implemented yet and
probably never will.
2023-05-03 13:49:29 +00:00
hgutch 6d7231e655 Unbreak creation of i386 PIEs on amd64.
Functional patch by RVP;  set lists updated accordingly.

This fixes PR toolchain/57380.
2023-04-27 20:55:27 +00:00
rillig 1d3cf26e0d tests/lint: test command line parsing for message and query IDs
The parsing methods differ but shouldn't.
2023-04-23 08:47:27 +00:00
gutteridge 04d453bc9d Add new test t_open_pr_57260
New test case that reflects the fix in PR kern/57260. The majority of
work for this case itself was by riastradh@, who'd supplied the basis
for it in the ticket, and provided further guidance.
2023-04-21 21:50:04 +00:00
brook 44b53cb84a Install /boot/boot.cfg with EFI bootloaders.
On ARM ports, the EFI boot loader handles a boot.cfg file if it
exists, but one is not installed by default.  In contrast, both the
i386 and amd64 ports do install boot.cfg by default.  Bring these
ports into agreement by installing boot.cfg on ARM ports with EFI boot
loaders.
2023-04-19 18:39:18 +00:00
nikita f0dad708b3 Resolve conflicts for lua 5.4.4 import.
Adjust various files for lua 5.4.4.
2023-04-16 20:46:16 +00:00
riastradh d5970c6d00 aarch64: Build drm modules. 2023-04-11 10:30:41 +00:00
rillig d0a5c1bc3c lint: warn about 'extern' declarations inside function bodies
https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html

The previous attempt (message 351 about 'extern' declarations outside
headers) did not cover the proposal from the tech-userlevel mailing list
but instead warns about a different usage pattern of the 'extern'
keyword.
2023-03-28 20:04:51 +00:00
rillig b2baa50111 lint: warn about extern declarations outside headers
https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html
2023-03-28 14:44:34 +00:00
andvar 6ab5321285 s/displyed/displayed/ 2023-03-26 15:08:24 +00:00
abs 703c4250b9 Update device-streams binaries from Roc Vallès
- Split device-streams.tar.gz.uue into seperate source and
  binaries device-streams-2.2.1-src.tar.gz and device-streams-2.2.1.lha
  to match upstream
- Add device-streams.README.md from upstream
- Add simple 'update' script to help updating next time
- Binaries now avoid 32 bit file offset issues (they use 64 bit
  offsets where supported, and otherwise avoid corrupting data due
  to 32 bit limits)
- Binaries now built with updated bebbo/amiga-gcc toolchain

Pullup: netbsd-10, netbsd-9 and possibly netbsd-8
2023-03-23 13:56:24 +00:00
riastradh 40028e8037 libm: Bump minor for new long double transcendental functions.
XXX Still missing: remquol, remainderl.
2023-03-23 12:38:13 +00:00
mrg cabac0c060 un-obsolete ./usr/lib/libisns.so*. it's normal for these to be
symlinks in this case, and they also exist in the case that
MKDYNAMICROOT is not set.

also fixes running "makefs" against a destdir and it's METALOG*.
2023-03-23 05:38:18 +00:00
mlelstv 5d501e0c8a Can't use disklabel to find the real size of a disk since a fake disklabel
read from disk is trusted. Revert to use drvctl again.
2023-03-18 11:36:23 +00:00
uwe 75fb75f5dc portfeatures(9): the man page for the __HAVE macros
The man page itself is a skeleton/template for now.  Please add short
descriptions and xrefs.  If the target man page doesn't yet document
relevant __HAVE macros (hi, mutex(9)), please add something there,
possibly in a .Sh IMPLEMENTATION NOTES section.
2023-03-06 00:49:31 +00:00
andvar e01ab26acb s/degub/debug/ in syspkgs definitions. 2023-03-05 18:03:35 +00:00
rillig eaf30a03e7 lint: split platform-specific test for loss of accuracy
Lint distinguishes between platforms where size_t is unsigned int and
platforms where size_t is unsigned long.
2023-02-27 23:07:53 +00:00
mrg 03646e0f95 bump amdgpu_drv version, obsolete old one. 2023-02-26 20:16:13 +00:00
martin b0d8bd80da Add mew file make/unit-tests/meta-ignore.inc 2023-02-24 12:47:23 +00:00
mlelstv 9921d00860 Handle arbitrary raw partitions.
Fetch geometry from disklabel to be consistent.
Use disktab format instead of the normal human-readable output for parsing
the disklabel.
Avoid overflows in size computation.
2023-02-18 07:58:34 +00:00
abs 62fe57d219 Enable basic command line editing in evbarm, sparc64 and vax installer shells
(Following the pattern in amd64)

When a user selects "exit installer" or hits ^Z in sysinst, the
calling install.sh runs a shell, plus shows a message indicating
they can type "exit" to return to the installer.

Add -E to the arguments to this shell, to enable command line editing,
(primarily for arrow keys, but basic emacs sequences will also work)

With the change of all the install.sh scripts in amd64, evbarm,
i386, sparc64 and vax are identical apart from NetBSD RCD tags and
the sysctl -nx kern.consdev check (some of the latter are definitely
either wrong, or have an incorrect comment attached. Will return
to later)
2023-02-12 19:27:20 +00:00
abs 1f318b35b6 Switch install.sh to use /usr/sbin/sysinst for sysinst rather than ./sysinst
Matches i386/cdroms/install.sh and amd64/installimage/install.sh

resultant install image verified to still run sysinst correctly
2023-02-12 19:18:41 +00:00
tsutsui 42aea38f3c Build a RAMDISK root kernel on NetBSD/next68k release build.
No sysinst(8) yet, but useful on bootstrap and rescue ops.
2023-02-11 19:12:31 +00:00
abs e1dce1bfa4 Enable basic command line editing in i386 installer shells
(Following the pattern in amd64)

When a user selects "exit installer" or hits ^Z in sysinst, the
calling install.sh runs a shell, plus shows a message indicating
they can type "exit" to return to the installer.

Add -E to the arguments to this shell, to enable command line editing,
(primarily for arrow keys, but basic emacs sequences will also work)
2023-02-11 17:52:19 +00:00
tsutsui 8c5fe5c1e4 Prepare MD distrib files to build next68k iso-image. 2023-02-11 07:22:30 +00:00
uki f527611a02 Fix annotation checksum in +CONTENTS of syspkg
- Fix bug that file in DESTDIR is not referenced correctly.
- Change checksum algorithm to SHA256 from MD5.
- Remove invalid option of cksum(1) in regpkg.
2023-02-11 04:16:57 +00:00
christos 3244fba725 bump libcrypto minor 2023-02-08 15:52:46 +00:00
rillig cd59f013cc tests/lint: merge tests for initialization 2023-02-05 13:01:28 +00:00
rillig 134e5c5e76 tests/lint: remove redundant tests
The names of the tests were misleading: 'recursive' should have been
'nested', and the interesting topic in the 'cast' tests was not the cast
but the pointer dereference.
2023-02-05 12:25:11 +00:00
wiz b17ce4f0d4 stop building and installing xfwp
As proposed on tech-x11
https://mail-index.netbsd.org/tech-x11/2022/12/29/msg002333.html
2023-02-04 16:34:36 +00:00
mlelstv b526349c2e Add start script to attach iscsi volumes at boot.
The default is to execute the script (iscsid_volumes=YES), so if you have
any volumes defined, you should also start iscsid (iscsid=YES) to avoid
error messages.
2023-02-03 13:53:40 +00:00
christos 28f2f55f42 add t_strchrnul 2023-01-30 19:51:33 +00:00
maya 11fbdb110b Make sure to mount /var/shm
Programs such as firefox seem to require it,
and this file is used by the live image as well.
2023-01-29 22:12:25 +00:00
rillig 6b8b6837b1 tests/lint: merge tests for '>>' 2023-01-29 17:02:09 +00:00
mrg 7474491c39 add missing ./etc/fonts/conf.avail/10-yes-antialias.conf, noted by wiz. 2023-01-28 05:25:17 +00:00
sjg ca0cc05370 make: .[NO]READONLY for control of read-only variables
Reviewed by: rillig
2023-01-23 23:01:52 +00:00
rillig f25c712f32 tests/lint: merge tests for declaration after statement 2023-01-22 17:17:24 +00:00
rillig e104b7676c lint: add support for the C11 type qualifier '_Atomic'
That keyword can be used as a type specifier as well, support for that
will be added later.
2023-01-21 13:07:21 +00:00
rillig 149d92727c tests/lint: test _Atomic, added in C11 2023-01-21 11:57:03 +00:00
mrg 438090b61f updates for fontconfig 2.14.1. 2023-01-21 04:04:30 +00:00
rillig d67dd6957e tests/make: rename files that are not test cases 2023-01-19 23:26:14 +00:00
mrg 7cfe05bb83 updates for fontconfig 2.14. 2023-01-19 06:29:10 +00:00
abs aab51fcd54 Enable basic command line editing in amd64 installer shells
When a user selects "exist installer" or hits ^Z in sysinst, the
calling install.sh runs a shell, plus shows a message indicating
they can type "exit" to return to the installer.

Add -E to the arguments to this shell, to enable command line editing,
(primarily for arrow keys, but basic emacs sequences will also work)

At this point this is only on amd64, as this is the port which is
least likely to be installing on particularly esoteric terminal
hardware, and is also likely to have the highest proportion of less
experienced users
2023-01-16 15:00:03 +00:00
skrll 99938ff141 Switch RISC-V to new binutils (2.39) 2023-01-16 10:28:09 +00:00
rillig 68eada2d32 distrib/sets: add missing directory for xlint tests 2023-01-16 00:23:55 +00:00
rillig 66827794fe tests/lint: add basic tests for lint (not lint1 or lint2) 2023-01-15 23:18:05 +00:00
rillig 7997ddce85 tests/lint: add test for parsing sizeof expressions 2023-01-15 00:53:19 +00:00
rillig 84d60f5dbf distrib/sets: sort list of test files
In ASCII, '_' comes before lowercase letters.
2023-01-15 00:34:10 +00:00
christos 812b7abba7 Add the .xsce scripts 2023-01-09 14:37:50 +00:00
wiz 56342e0eba add some files that are obsolete with binutils 2.39 2023-01-08 21:11:45 +00:00
wiz 8ef7fe6e07 sort 2023-01-08 21:11:07 +00:00
christos be0a5d5087 Turn on -z separate-code for x86, like linux has done. This splits the text
and data segment load sections into two pieces, for at total of 4 PT_LOAD
sections: two for text (r--, r-x) and two for data (r--, rw-). For x86_64
this changes the default max page size from 2M to 4K.
2023-01-06 15:47:38 +00:00
rillig 7c0153f0bf tests/lint: merge tests for ':?' with null pointer constant 2023-01-04 05:25:08 +00:00
andvar 3b26fa5cee s/succes/success/ in comments. 2022-12-30 09:08:47 +00:00
christos 7d5c4b1825 annotate the 234 linker scripts 2022-12-28 22:04:05 +00:00
wiz bb716201ab Fix debug set list for old (default) binutils 2022-12-27 08:38:37 +00:00
christos e61e3b5147 make gnu ctf needed for all new binutils. 2022-12-26 16:42:50 +00:00
jakllsch bc07e571e3 fix libopcodes.so.11.0 binutils condition 2022-12-25 15:02:29 +00:00
christos 2632356c13 fix sets for binutils 2.39 2022-12-24 23:01:34 +00:00
nat 111c077e20 Driver for DaynaPORT SCSI/Link (dse.4).
Written by Hiroshi Noguchi, of which an updated version was posted to
port-mac68k in 2001.

Attachments were added to kernel configs for platforms that already had
the Cabletron (se.4) driver added, although other platorms may benefit.

Reviewed on tech-net by Izumi Tsutsui.
2022-12-22 11:05:54 +00:00
pgoyette 4999202e65 Missed the compat_netbsd32_100 stuff in previous commit 2022-12-20 04:10:11 +00:00
jakllsch 89823b19df add compat_100 module setlist entries 2022-12-20 00:31:55 +00:00
martin 1b142bcf55 Add notes about FFS and extended attributes. 2022-12-16 16:58:14 +00:00
kre d942351a30 tzdata update to 2022g
Added zoneinfo files:
	America/Ciudad_Juarez
2022-12-11 06:59:36 +00:00
kre f03d0da556 Sort (NFCI) 2022-12-11 06:50:31 +00:00
brad 50bb9ed19f Split the BMP280 / BME280 driver into common code and create I2C and
SPI attachments.
2022-12-03 01:04:42 +00:00
ozaki-r 9ac30c6562 tests: fix Makefile and lists for MKRUMP=no
Pointed out by Michael Scholz, thanks.
2022-12-01 04:24:37 +00:00
ozaki-r efcd8443e2 tests: build and install t_ip_reass.c 2022-11-30 06:07:51 +00:00
knakahara d432a9d987 Add ATF for unnumbered interfaces. 2022-11-25 08:43:15 +00:00
jakllsch 53080d75ac Fix h_lualibm debug set lists. 2022-11-22 17:35:45 +00:00
christos ae082add65 lua libm API from Phil Rulon 2022-11-21 22:01:32 +00:00
brad 068b504f95 A driver for the Bosch BMP280 / BME280 temperature, humidity and
atmospheric pressure sensor.  This is an inexpensive to moderately
expensive chip available from a large number of places.  The driver
supports all aspects of the two chips, except for the repeating read
mode which would allow for sub-second queries, such as fall detection
or perhaps even as an altimeter.  This driver also only supports the
I2C interface and not the SPI interface.

The BME280, the one with humidity, is not fully tested at this point,
awaiting upon a breakout board and may not show proper humidity.
2022-11-21 21:24:00 +00:00
yamt 0c679c37c9 Update a few www.raspberrypi.com URLs 2022-11-19 09:19:27 +00:00
brad 50bf6d2dfd A driver for the Aosong AHT20 temperature and humidity sensor. While
slow for an I2C sensor it is inexpensive and should work well enough
in most indoor conditions.  All features of the chip are supported.
2022-11-17 19:20:05 +00:00
ozaki-r 1e993fdc4c distrib: add missing ./usr/libdata/debug/usr/tests/net/inpcb 2022-11-17 09:58:42 +00:00
ozaki-r a97d0b3002 tests: build and install added test files 2022-11-17 08:45:35 +00:00
chs 87ba0e2a31 Restore backward compatibility of UFS2 with previous NetBSD releases by
disabling support in UFS2 for extended attributes (including ACLs).
Add a new variant of UFS2 called "UFS2ea" that does support extended attributes.
Add new	fsck_ffs operations "-c	ea" and	"-c no-ea" to convert file systems
from UFS2 to UFS2ea and	vice-versa (both of which delete all existing extended
attributes in the process).
2022-11-17 06:40:38 +00:00
mrg 4d9ba19d12 updates for pixman 0.42.2.
this enables NEON for arm64.  maybe firefox will be faster on pbp...
2022-11-12 04:00:57 +00:00
mrg 0cb9ef9131 updates for libdrm 2.4.114.
unfortunately, the i915 ioctls are no longer handled by kdump/ktruss
as the new one conflicts with base.  this needs a clean build in these
dirs (and rescue).  the radeon ioctls have been enabled instead.
2022-11-12 02:20:15 +00:00
mrg 734e66fe1b updates for libpciaccess 0.17. 2022-11-12 02:03:08 +00:00
blymn f6bac76c05 Added new libcurses test checkfile. 2022-11-10 06:13:58 +00:00
knakahara 9d1cf4af54 Add test for sys/netipsec/ipsec.c:r1.176. 2022-11-09 08:21:20 +00:00
blymn d52c24fb19 Added a new check file for libcurses test slk 2022-11-08 06:08:33 +00:00
ozaki-r 3df6c9b812 tests: add tests for invalid extra operations on a shutdown socket
The tests cover some error paths that normally happen.
2022-11-04 08:01:42 +00:00
ozaki-r e4b0921362 sets: fix wrong keywords for tests/net/tcp 2022-11-04 07:54:27 +00:00
ozaki-r c3619612ae tests: add tests for TCP with nc 2022-11-02 09:37:56 +00:00
jmcneill 155e7aa0de Silence a warning when machdep.dmi.chassis-asset-tag is not present 2022-10-30 15:08:50 +00:00
mrg bb9b328495 add new libXpresent manuals. 2022-10-29 21:06:48 +00:00
ozaki-r 2fd9c36db0 Remove in_pcb_hdr.h 2022-10-28 05:23:09 +00:00
andvar a5139dfcb4 fix RCSID. 2022-10-26 22:13:09 +00:00
mrg 9daf42ae15 updates for xkeyboard-config 2.37. 2022-10-17 07:40:22 +00:00
jmcneill c99ed817c0 ec2_init: Add support for Oracle Cloud 2022-10-15 18:32:30 +00:00
ryo 5e1953a459 add new files 2022-10-14 19:43:35 +00:00
knakahara ae6e8d4c4e Add test for sadb_x_policy->sadb_x_policy_flags. 2022-10-11 09:55:21 +00:00
andvar fcd4015a32 s/immediatedly/immediately/ 2022-10-06 20:42:13 +00:00
christos 34f3a6ce05 bump libssh for OpenSSH-9.1 2022-10-05 22:40:12 +00:00
charlotte 647f8d1674 Avoid dead link to the NVRAM FAQ in docs for sparc, too 2022-09-28 06:09:14 +00:00
charlotte b35ff126c8 Avoid dead link to the NVRAM/Hostid FAQ 2022-09-28 06:06:59 +00:00
christos f4f2f74084 bump libmagic 2022-09-24 20:36:49 +00:00
christos 9b4d9e4e15 bump bind libraries 2022-09-23 12:19:18 +00:00
ozaki-r 3761620b42 tcp: separate syn cache stuffs into tcp_syncache.[ch] files
No functional change.
2022-09-20 07:19:14 +00:00
mrg 8c9c14a2c1 add missing showfont(1). remove obsolete comment. 2022-09-11 05:54:00 +00:00
rillig 6c89b5e2d3 distrib/sets: remove more extra keywords from obsolete entries
Found by fmt-list.
2022-09-10 16:03:43 +00:00
rillig d267a17955 distrib/sets: remove duplicate entries 2022-09-10 15:54:11 +00:00
rillig c5d7b85fc8 distrib/sets: remove duplicate lines in comp package 2022-09-10 15:50:57 +00:00
rillig a4fe786631 distrib/sets: remove extra keywords for obsolete files
They were ignored when building the distribution, but fmt-list
complained about them.
2022-09-10 15:45:02 +00:00
rillig 928bf40d6e distrib/sets/sets.subr: fix typo in comment 2022-09-10 12:31:42 +00:00
wiz ab1d953c71 grep: when -r is used, but no path argument provided, search the current dir
As discussed on tech-userlevel.
2022-09-09 22:14:28 +00:00
rillig 5afb8d05a5 distrib/sets/sets.subr: remove trailing whitespace 2022-09-08 05:26:34 +00:00
rillig 9ef29268a6 distrib/sets: remove trailing empty lines 2022-09-08 05:16:45 +00:00
rillig ba6367b404 distrib/sets: fix typo in comment 2022-09-08 05:16:20 +00:00
rillig f6315b462e distrib/sets/fmt-list: clean up string formatting
No functional change.
2022-09-08 05:05:08 +00:00
martin 855dd252b4 Comment out emuxki here for now - I don't think they belong here and
something else(tm) is wrong with the setup anyway, so better fix the build
for now and leave cleanup to somebody else.
2022-09-07 11:37:25 +00:00
khorben 347306b26e emuxki(4): allow building as a module
Tested on NetBSD/amd64 with a Sound Blaster Live! Value (CT4870)

Note that this required setting outputs.master to the maximum value
allowed (255) to get sound out, and then cranking the volume pretty
high.

Additional sound cards sponsored by the NetBSD Foundation; thanks!
2022-09-07 00:29:23 +00:00
phx 78422e2eab Update loadbsd source and distribution binary to version 3.2.
Including the following changes by Gunther Nikl:
- Added detection of A600.
- Fix handling of multiple -n options.
Make it compile with recent AmigaOS gcc ports (for example gcc6), as
older ports no longer work with current NetBSD header files.
2022-09-06 17:50:18 +00:00
thorpej 221afdb85b Document the pktqueue interface. 2022-09-04 21:37:50 +00:00
thorpej a2e7052758 Sort. 2022-09-04 20:06:26 +00:00
rillig eaa6b09061 tests/make: remove nonexistent file from file list
The file had been added accidentally, it never existed in distdir.
2022-09-03 03:33:37 +00:00
thorpej 6ffff4f242 Garbage-collect the remaining vestiges of netisr. 2022-09-03 02:47:59 +00:00
sjg cb2c55cb6a Enable make/unit-tests/directive-for-break
Also ensure MAKE_VERSION is ignored.
2022-09-02 18:54:25 +00:00
tsutsui 6baa9127b6 Avoid more obsolescent binary primaries not supported by crunched test(1).
See PR/54835 and PR/56983 for details.
2022-08-28 12:44:00 +00:00
christos aa52e7fbf7 fix sets 2022-08-28 07:30:41 +00:00
dholland a611fd1e16 Attach tradcpp to the build. 2022-08-27 21:53:38 +00:00
christos 5dd94c5e95 Add sincos{,f,l} from FreeBSD 2022-08-27 08:31:58 +00:00
lukem dac6dcb8de Deprecate extsrc/, EXTSRCSRCDIR, MKEXTSRC
Remove support for building extsrc/:
1. Makefile: remove do-extsrc target.
2. build.sh: remove options -y and -Y extsrcdir.
3. distrib/sets: remove support for extsrc in various tools
   including the options -L ext and -y, and the extsrc sets.
4. doc/BUILDING.mdoc: remove docs for extsrc/, EXTSRCSRCDIR, MKEXTSRC (etc)
5. bsd.own.mk and various Makefiles: remove support for extsrc/,
   EXTSRCSRCDIR, MKEXTSRC.

As proposed on tech-kern and tech-userlevel on 2022-01-07
and followed up on 2022-08-21.
2022-08-21 07:10:03 +00:00
tsutsui f4c6ab5a8c Fix yet another "[: SMALL test, no fallback usage" error on installation.
The same problem as PR/54835 of the miniroot scripts, i.e.
avoid and replace use of -o binary primary marked obsolescent
by POSIX.1-2017:
 https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_12
8_16

Noticed on installation of NetBSD 9.3 on TT030, and
maybe should be pulled up to netbsd-9.
2022-08-20 20:50:41 +00:00
kre ed6340463e Add Europe/Kyiv to the sets list - fix the builds. Apologies... 2022-08-17 14:03:05 +00:00
riastradh cc725e3507 viocon(4): New virtio tty driver imported from OpenBSD.
viocon* at virtio?

/dev/ttyVI??

Tested under qemu with:

qemu-system-aarch64 ... \
  -device virtio-serial \
  -chardev socket,path=/tmp/ttyVI00,server=on,wait=off,id=ttyVI00 \
  -device virtconsole,chardev=ttyVI00,name=org.NetBSD.dev.ttyVI00 \
  ...

I updated MAKEDEV.conf to create /dev/ttyVI?? on all ports where it
looks likely to work based on:
(a) having pci or a non-pci virtio attachment,
(b) `qemu-system-$ARCH -M ?' mentioned something resembling the port,
    and
(c) `qemu-system-$ARCH -device virtio-serial' launched without
    complaining about the virtio-serial device.

(Criterion (c) excluded sparc and sparc64.)
2022-08-12 11:15:40 +00:00
riastradh 920e28df65 cgdconfig(8): Add support for shared keys.
New clause `shared <id> algorithm <alg> subkey <info>' in a keygen
block enables `cgdconfig -C' to reuse a key between different params
files, so you can, e.g., use a single password for multiple disks.
This is better than simply caching the password itself because:

- Hashing the password is expensive, so it should only be done once.

  Suppose your budget is time t before you get bored, and you
  calibrate password hash parameters to unlock n disks before you get
  bored waiting for `cgdconfig -C'.

  . With n password hashings the adversary's cost goes up only by a
    factor of t/n.
  . With one password hashing and n subkeys the adversary's cost goes
    up by a factor of n.

  And if you ever add a disk, rehashing it will make `cgdconfig -C'
  go over budget, whereas another subkey adds negligible cost to you.

- Subkeys work for other types of keygen blocks, like shell_cmd,
  which could be used to get a key from a hardware token that needs a
  button press.

The <info> parameter must be different for each params file;
everything else in the keygen block must be the same.  With this
clause, the keygen block determines a shared key used only to derive
keys; the actual key used by cgdconfig is derived from the shared key
by the specified algorithm.

The only supported algorithm is hkdf-hmac-sha256, which uses
HKDF-Expand of RFC 5869 instantiated with SHA-256.

Example:

	algorithm aes-cbc;
	iv-method encblkno1;
	keylength 128;
	verify_method none;
	keygen pkcs5_pbkdf2/sha1 {
		iterations 39361;
		salt AAAAgMoHiYonye6KogdYJAobCHE=;
		shared "pw" algorithm hkdf-hmac-sha256
		    subkey AAAAgFlw0BMQ5gY+haYkZ6JC+yY=;
	};

The key used for this disk will be derived by

	HKDF-HMAC-SHA256_k(WXDQExDmBj6FpiRnokL7Jg==),

where k is the outcome of PBKDF2-SHA1 with the given parameters.

Note that <info> encodes a four-byte prefix giving the big-endian
length in bits of the info argument to HKDF, just like all other bit
strings in cgdconfig parameters files.

If you have multiple disks configured using the same keygen block
except for the info parameter, `cgdconfig -C' will only prompt once
for your passphrase, generate a shared key k with PBKDF2 as usual,
and then reuse it for each of the disks.
2022-08-12 10:49:17 +00:00
riastradh a7c16118d0 cgdconfig(8): New -t operation just prints the derived key in base64.
For testing purposes.
2022-08-12 10:48:27 +00:00
mrg a14297961e install new xorgproto files. 2022-08-12 07:35:55 +00:00
riastradh 5c23615bdf i915: Restore non-obsolete set list entries. 2022-08-05 08:48:36 +00:00
mlelstv d2698c432d Move libisns to /lib to allow /sbin/iscsid to work without /usr being
mounted.
2022-07-31 12:40:35 +00:00
pgoyette d4dfd05175 The new drm modules made the image file grow again! Bump the size
limit a bit.

XXX Other $ARCH might also need this.
2022-07-30 00:55:38 +00:00
riastradh 709f669d54 drm: Hook up the drmkms modules to the build. 2022-07-28 22:00:23 +00:00
martin 116a16e639 Revert editor mishap in r1.10 2022-07-28 16:45:31 +00:00
pgoyette 9781142f34 And, we're not ready for 10.0 yet, so remove a couple premature lines!
Thanks, Rin!
2022-07-28 00:33:57 +00:00
pgoyette a5b39220d5 remove duplicate entry and blank line that crept in from somewhere. 2022-07-28 00:14:40 +00:00
pgoyette 277dad01a2 Oopppss, /usr has no `e' :) 2022-07-27 20:34:30 +00:00
pgoyette b61ea6bcac Include debug files for new amdgpu modules 2022-07-27 20:28:41 +00:00
maya 895e74fe94 Enable amdgpu module & firmware on x86
Make it easier to test this one out, add `load amdgpu` before boot netbsd.

XXX there should probably be a drm block in sys/modules/Makefile which
includes aarch64.
2022-07-27 18:29:35 +00:00
wiz 5bea87492d Build and install pkgconfig files for liblzma and libarchive 2022-07-22 15:43:36 +00:00
kre fa7d65a3b6 Add ATF tests for realpath(1)
Note that realpath can act differently for root than for other users
(where an ordinary user will see EACCESS root just barrels right through).

The tests adapt themselves, when run as root, less error cases can be
tested than when run as some other user.
2022-07-21 09:52:48 +00:00
mrg 309ada3c2c properly mark glint_drv.so.1.debug obsolete 2022-07-17 05:51:29 +00:00
mrg 98b26dcb38 s3 driver is not available here either. 2022-07-16 19:46:50 +00:00
mrg fc58e94d8e revert part of the previous - sgimips is still default to xorg-server 1.10. 2022-07-15 18:58:09 +00:00
mrg ef2fc67d8d properly mark glint_drv has obsolete. 2022-07-15 11:34:59 +00:00
mrg 00aa3b9410 fix some builds (no longer built drivers.) 2022-07-15 10:44:21 +00:00
mrg 5b643e9ab6 properly mark an obsolete file obsolete. 2022-07-15 05:11:14 +00:00
mrg 896abb3b6a updates for xorg-server 21.1.3. 2022-07-15 04:47:55 +00:00
mrg 5e6699cc80 also move cvt manual parts into the xbase set. 2022-07-15 00:16:04 +00:00
mrg 93f87cd297 fix sets after making cvt(1) for everyone
remove duplicate entries for Xorg and gtf
2022-07-14 23:55:53 +00:00
mrg dcf0b487fd build and install libxcvt, and it's cvt(1). 2022-07-14 07:41:49 +00:00
mrg 355d19546f add libxvct include subdir. 2022-07-14 06:53:40 +00:00
hgutch 07aadaa0c8 Check for right sysctl node to make live image work OOTB on OpenStack:
machdep.dmi.system-product = OpenStack Compute
2022-07-13 18:51:03 +00:00
mrg 25f6f91bd6 bump the krb_drv.so version (oops forgot to commit this yesterday.)
should fix most of the 46 builds broken currently..
2022-07-12 23:19:53 +00:00
mrg 7c159d6853 updates for xcb-proto 1.15.2. 2022-07-12 02:44:43 +00:00
mrg 59904b6a7b updates for the merged cirrus driver (apline/laguna sub-drivers are gone.) 2022-07-12 01:51:05 +00:00
mrg 939d0e6b06 updates for libdrm 2.4.112. 2022-07-11 19:33:33 +00:00
nia 9668cd9f7d Add a manual page for udl(4) 2022-07-10 19:49:24 +00:00
mrg 441b3b4dac include bsd.own.mk to ensure that USE_XZ_SETS is set properly before using it.
this should fix PR#56919.
2022-07-10 04:01:07 +00:00
nia 51ce44ea2b Add a man page for slurm(4) 2022-07-08 16:50:10 +00:00
nia f16ece3123 Add a manual page for uintuos(4) 2022-07-08 08:59:33 +00:00
martin b570478b50 Tegra TX2 dtb files are build for big endian aarch64 too. 2022-07-06 15:24:58 +00:00
rillig 715e58e70b lint: add additional queries that are not enabled by default
In the last 18 months, several lint warnings have been made adjusted to
allow common usage patterns.  For example, lint no longer warns about a
constant condition in the statement 'do { ... } while (false)' (message
161), as this pattern is well-known in statement-like macros, making it
unlikely that the 'false' is a mistake.  Another example is casts
between unequal pointer types (message 247) for a few well-known
patterns that are unlikely to be bugs.

Occasionally, it is useful to query the code for patterns or events that
would not justify a warning.  These patterns are modeled as predefined
queries that can be selected individually, in addition to and
independently of the existing warnings and errors.

New queries can be added as needed, in the same way as new warnings.
Queries that are deemed no longer used can be deactivated in the same
way as warnings that are no longer used.

As long as none of the queries is enabled, they produce a minimal
overhead of querying a single global variable.  Computations that are
more expensive than a few machine instructions should be guarded by
any_query_enabled.

https://mail-index.netbsd.org/source-changes-d/2022/06/28/msg013716.html

ok christos@
2022-07-05 22:50:41 +00:00
martin 3b7b1db2d2 Build dtb files for the Tegra TX2 2022-07-04 18:25:45 +00:00
rillig 5716ac4baa tests/lint: remove .exp files, as they have become redundant
Now that each lint1 test lists all generated diagnostics as 'expect'
comments, the information from the .exp files is no longer needed.  The
only information that gets lost is the order of the diagnostics, which
is mostly relevant for paired messages like 'inconsistent definition' +
'previous definition was here'.
2022-06-17 20:23:58 +00:00
rillig 36dcebf9e1 tests/lint: add more details to messages in msg_200 until msg_299
Add some tests that were previously empty.  Some other tests are still
empty.
2022-06-16 21:24:41 +00:00
rillig 65e5c21b37 tests/lint: make expectation lines in the tests more detailed
This commit migrates msg_100 until msg_199.
2022-06-16 16:58:35 +00:00
tsutsui 34941bda13 Add luna68k specific section 4 man pages.
Taken from mostly OpenBSD/luna88k and partially NetBSD/hp300.
2022-06-12 03:51:13 +00:00
rillig b511067d09 tests/lint: fix test for loss of accuracy on ILP32 platforms
The test had been wrong since msg_132.c 1.14 from 2022-05-30.

Using 'unsigned long' in a test that was intended to behave the same on
ILP32 and LP64 was an accident.  Use 'unsigned long long' instead, which
is 64-bits wide on all platforms supported by lint.

Move the test about conversion from 'long' to 'int' to the
platform-specific test files.

Noticed by martin@ on powerpc.
2022-06-10 18:29:01 +00:00
uwe a503ab7560 Terminus Font: Import latin1 encoded versions from 4.49.1 2022-06-08 19:27:37 +00:00
nia 402b924225 revert bits and pieces I accidentally included in my last commit
from hannken
2022-06-06 13:28:55 +00:00
nia 3299e8e2bf Remove accidentally committed merge conflict line. 2022-06-06 10:57:05 +00:00
nia b7957d1677 build system: Revert all the recent additions of MK[...] knobs that
allow conditionally disabling the building of certain user space
programs in the 'base' set.

There is not enough consensus that this is the right way and a few
people had strong objections, see source-changes-d@.
2022-06-06 10:56:27 +00:00
pgoyette c1b2d682cf Add sets-lists entries for the new combined midi_seq module 2022-06-04 03:32:04 +00:00
andvar 7a3188d95f some srm firmware (including legacy platforms) still available at hp ftp.
not sure if HPE selling firmware CDs, but it is definitely not Compaq anymore.
2022-06-03 15:36:36 +00:00
andvar c8f8b6bbdf fix link to pkgsrc.tar.gz file in postinstall section. 2022-06-03 14:02:48 +00:00
andvar b9acd6afaf fix the title of the boot tape creation section. 2022-06-03 13:50:32 +00:00
riastradh 2b5e567d9c libc: Reintroduce getentropy.
This was introduced two years ago when the getrandom/getentropy API
question was still open, and removed because the discussion was
ongoing.  Now getentropy is more widely adopted and soon to be in
POSIX.  So reintroduce the symbol into libc since we'll be keeping it
anyway.  Discussion of details of the semantics, as interpreted by
NetBSD, is ongoing, but the symbol needs to get in before the
netbsd-10 branch.  The draft POSIX text is
(https://www.opengroup.org/austin/docs/austin_1110.pdf):

    SYNOPSIS
        #include <unistd.h>

        int getentropy(void *buffer, size_t length);

    DESCRIPTION
        The getentropy() function shall write length bytes of data
        starting at the location pointed to by buffer. The output
        shall be unpredictable high quality random data, generated by
        a cryptographically secure pseudo-random number
        generator. The maximum permitted value for the length
        argument is given by the {GETENTROPY_MAX} symbolic constant
        defined in <limits.h>.

    RETURN VALUES
        Upon successful completion, getentropy() shall return 0;
        otherwise, -1 shall be retunred and errno set to indicate the
        error.

    ERRORS
        The getentropy() function shall fail if:

        [EINVAL]        The value of length is greater than
                        {GETENTROPY_MAX}.

        The getentropy() function may fail if:

        [ENOSYS]        The system does not provide the necessary
                        source of entropy.

    RATIONALE
        The getentropy() function is not a cancellation point.

Minor changes from the previous introduction of getentropy into libc:

- Return EINVAL, not EIO, on buflen > 256.
- Define GETENTROPY_MAX in limits.h.

The declaration of getentropy in unistd.h and definition of
GETENTROPY_MAX in limits.h are currently conditional on
_NETBSD_SOURCE.  When the next revision of POSIX is finalized, we can
expose them also under _POSIX_C_SOURCE > 20yymmL as usual -- and this
can be done as a pullup without breaking existing compiled programs.
2022-05-31 13:42:58 +00:00
rin dd3ee07da4 Introduce libc_aligned.so for evbppc-powerpc32, which provides
strictly-aligned versions of memcmp(3), bcopy(3), memcpy(3), and
memmove(3).

This is used for 403 by ld.so.conf with machdep.no_unaligned variable.

With this library, unaligned memory accesses are significantly reduced
for 403 (from several hundreds to few tens per sec under heavy load);
only ld.elf_so (typically few times per fork) and statically-linked
binaries do such access.
2022-05-30 15:06:54 +00:00
nia da7913c09e mk: Add MKTIMED and MKMOUSED flags for compiling NetBSD without timed
and moused
2022-05-29 15:23:20 +00:00
nia 8469593b52 mk: Add a MKPPP flag to exclude pppd(8) and related utilities from
the build
2022-05-29 08:09:59 +00:00
andvar 67cf5ffde0 s/hierach/hierarch/ 2022-05-28 21:57:39 +00:00
nia e994758d71 mk: Add MKFINGER, MKTALK flags for not building
talk, talkd, finger, fingerd.
2022-05-28 14:31:11 +00:00
nia f2e2da3feb mk: Add MKNTP, MKTCPDUMP knobs. 2022-05-28 11:17:35 +00:00
nia cbb875961a mk: Add a MKLFS flag for excluding the log-structured filesystem userspace
tools from the build.
2022-05-27 07:28:20 +00:00
nia 6678627ac7 mk: Rename the MKMBONE option to MKMROUTING for greater accuracy and
to match the related kernel config option.
2022-05-25 21:25:46 +00:00
nia f52526086f mk: Allow setting MKDHCPD=no to build base without the ISC DHCP server,
useful for embedded images that don't need to act as one.
2022-05-25 20:44:01 +00:00
nia 3b39fcc49f debug pieces should also be installed conditionally based on MKMBONE 2022-05-25 12:47:40 +00:00
nia 30fbdc74a3 mk: Allow building base without the MBONE applications by setting
MKMBONE=no in mk.conf
2022-05-25 10:18:28 +00:00
andvar 9f4a9600be fix various typos in comments, docs and log messages. 2022-05-24 06:27:59 +00:00
rillig 6b107a132e tests/make: document and demonstrate .for i containing .if empty(i)
PR bin/43821 describes the inconsistency that in a '.for i' loop, the
condition '.if ${i:M*.c}' works since 2009 while the seemingly
equivalent condition '.if !empty(i:M*.c)' does not access the variable
'i' from the .for loop but instead the global 'i'.

Resolving this situation in a backwards-compatible and non-surprising
way is hard, as make has grown several features during the last 20 years
that interact in various edge cases.  For now, document the most obvious
pitfalls.
2022-05-23 22:33:56 +00:00
jmcneill 8bc77b2dd2 Restore Makefile.installimage include after variables are set. Makes amd64
USB install images bootable again.
2022-05-22 19:32:41 +00:00
rillig 345652c15e tests/compress: demonstrate truncation of target file
Reported by Giorgos Keramidas in PR#19722.
2022-05-22 17:55:08 +00:00