Commit Graph

17358 Commits

Author SHA1 Message Date
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