Re: CVS commit: src

2024-04-10 Thread Robert Elz
Date:Thu, 11 Apr 2024 02:15:39 +
From:"Taylor R Campbell" 
Message-ID:  <20240411021539.a3272f...@cvs.netbsd.org>

  | However, this means that update builds need manual intervention to
  | delete $DESTDIR/var/run/named or else checkflist will fail, so add a
  | note to UPDATING about this.

This is why I'd like to add a new keyword in the sets lists, like
"obsolete" is - probably "optional" to mark files that aren't installed
by the build, but might exist, and should simply be ignored if
found - it isn't an error for them to exist, but nor is it an error
for them to be absent.   Such files don't go in any of the constructed
sets files (whether they happen to exist or not).

Or since there is no particular set to list them in (as they belong
in none) perhaps an additional lists file to contain just these
optional files, (to keep the format, they'd still need some keyword,
so perhaps still "optional" - but excluding them from being added
to all sets .*z files would be automatic, as none would be built from
that one.

  | PR misc/57877

kre


CVS commit: src

2024-04-10 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Apr 11 02:15:39 UTC 2024

Modified Files:
src: UPDATING
src/distrib/sets/lists/base: mi

Log Message:
Nix /var/run/named entry from set lists.

Normally we don't do this, but /var/run/named is

(a) used by running daemons, so postinstall should not delete it, and
(b) deleted at boot-time anyway by /etc/rc.d/mountcritlocal, so
there's no sense in having it checked by mtree.

However, this means that update builds need manual intervention to
delete $DESTDIR/var/run/named or else checkflist will fail, so add a
note to UPDATING about this.

Do the same with /var/run/lwresd just in case.

PR misc/57877


To generate a diff of this commit:
cvs rdiff -u -r1.345 -r1.346 src/UPDATING
cvs rdiff -u -r1.1342 -r1.1343 src/distrib/sets/lists/base/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2024-04-10 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Apr 11 02:15:39 UTC 2024

Modified Files:
src: UPDATING
src/distrib/sets/lists/base: mi

Log Message:
Nix /var/run/named entry from set lists.

Normally we don't do this, but /var/run/named is

(a) used by running daemons, so postinstall should not delete it, and
(b) deleted at boot-time anyway by /etc/rc.d/mountcritlocal, so
there's no sense in having it checked by mtree.

However, this means that update builds need manual intervention to
delete $DESTDIR/var/run/named or else checkflist will fail, so add a
note to UPDATING about this.

Do the same with /var/run/lwresd just in case.

PR misc/57877


To generate a diff of this commit:
cvs rdiff -u -r1.345 -r1.346 src/UPDATING
cvs rdiff -u -r1.1342 -r1.1343 src/distrib/sets/lists/base/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/UPDATING
diff -u src/UPDATING:1.345 src/UPDATING:1.346
--- src/UPDATING:1.345	Fri Feb  9 22:08:30 2024
+++ src/UPDATING	Thu Apr 11 02:15:39 2024
@@ -1,4 +1,4 @@
-$NetBSD: UPDATING,v 1.345 2024/02/09 22:08:30 andvar Exp $
+$NetBSD: UPDATING,v 1.346 2024/04/11 02:15:39 riastradh Exp $
 
 This file (UPDATING) is intended to be a brief reference to recent
 changes that might cause problems in the build process, and a guide for
@@ -19,6 +19,11 @@ See also: BUILDING, build.sh, Makefile.
 Recent changes:
 ^^^
 
+20240410:
+	Update builds may require manually deleting
+	$DESTDIR/var/run/named (and, potentially,
+	$DESTDIR/var/run/lwresd) in order to avoid checkflist failure.
+
 20230828:
 	If:
 - you updated to current and ran postinstall between 20230826

Index: src/distrib/sets/lists/base/mi
diff -u src/distrib/sets/lists/base/mi:1.1342 src/distrib/sets/lists/base/mi:1.1343
--- src/distrib/sets/lists/base/mi:1.1342	Tue Apr  9 15:17:22 2024
+++ src/distrib/sets/lists/base/mi	Thu Apr 11 02:15:39 2024
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1342 2024/04/09 15:17:22 nia Exp $
+# $NetBSD: mi,v 1.1343 2024/04/11 02:15:39 riastradh Exp $
 #
 # Note:	Don't delete entries from here - mark them as "obsolete" instead,
 #	unless otherwise stated below.
@@ -6376,8 +6376,6 @@
 ./var/preserve	base-util-root
 ./var/quotas	base-util-root
 ./var/run	base-sys-root
-./var/run/lwresdbase-obsolete		obsolete
-./var/run/named	base-obsolete		obsolete
 ./var/rwho	base-netutil-root
 ./var/shm	base-sys-root
 ./var/spool	base-sys-root



CVS commit: src/doc

2024-04-10 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Apr 11 02:08:17 UTC 2024

Modified Files:
src/doc: 3RDPARTY

Log Message:
doc/3RDPARTY: Tidy up am-utils entry.

Add vendor branch and release branch pattern.


To generate a diff of this commit:
cvs rdiff -u -r1.2002 -r1.2003 src/doc/3RDPARTY

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.2002 src/doc/3RDPARTY:1.2003
--- src/doc/3RDPARTY:1.2002	Tue Apr  9 17:06:12 2024
+++ src/doc/3RDPARTY	Thu Apr 11 02:08:17 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.2002 2024/04/09 17:06:12 wiz Exp $
+#	$NetBSD: 3RDPARTY,v 1.2003 2024/04/11 02:08:17 riastradh Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -56,16 +56,18 @@ You want the unix2 (dual-licensed) tar f
 Please read src/sys/dev/acpi/acpica/README before any modification.
 
 Package:	am-utils [amd]
-Version:	6.2
-Current Vers:	6.2
+Version:	6.2 (20140117)
+Current Vers:	6.2 (20140117)
 Maintainer:	Erez Zadok 
 Archive Site:	ftp://ftp.am-utils.org/pub/am-utils/
-Home Page:	http://www.am-utils.org/
+Home Page:	https://www.am-utils.org/
 Date:		2020-06-13
 Mailing List:	am-utils
 Responsible:	christos
 License:	BSD (4-clause)
 Location:	external/bsd/am-utils/dist
+Vendor tag:	ezk
+Release tag:	am-utils-x-y-MMDD
 Notes:
 Amd2netbsd script to convert to BSD make system and remove unneeded files.
 Fix symbolic links before import.



CVS commit: src/doc

2024-04-10 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Apr 11 02:08:17 UTC 2024

Modified Files:
src/doc: 3RDPARTY

Log Message:
doc/3RDPARTY: Tidy up am-utils entry.

Add vendor branch and release branch pattern.


To generate a diff of this commit:
cvs rdiff -u -r1.2002 -r1.2003 src/doc/3RDPARTY

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/misc

2024-04-10 Thread Jan Schaumann
Module Name:src
Committed By:   jschauma
Date:   Wed Apr 10 20:50:18 UTC 2024

Modified Files:
src/share/misc: acronyms acronyms.comp

Log Message:
+FYSA   for your situational awareness
+NIPR   non-classified IP router (network)
+RIPR   releasable IP router (network)
+SIPR   secret IP router (network)

(all US military speak)


To generate a diff of this commit:
cvs rdiff -u -r1.314 -r1.315 src/share/misc/acronyms
cvs rdiff -u -r1.388 -r1.389 src/share/misc/acronyms.comp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/sys

2024-04-10 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Wed Apr 10 20:00:12 UTC 2024

Modified Files:
src/sys/sys: disklabel.h

Log Message:
s/Unfornately/Unfortunately/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/sys/sys/disklabel.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/disklabel.h
diff -u src/sys/sys/disklabel.h:1.127 src/sys/sys/disklabel.h:1.128
--- src/sys/sys/disklabel.h:1.127	Tue Nov  1 06:47:41 2022
+++ src/sys/sys/disklabel.h	Wed Apr 10 20:00:12 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: disklabel.h,v 1.127 2022/11/01 06:47:41 simonb Exp $	*/
+/*	$NetBSD: disklabel.h,v 1.128 2024/04/10 20:00:12 andvar Exp $	*/
 
 /*
  * Copyright (c) 1987, 1988, 1993
@@ -127,7 +127,7 @@ struct	partition {		/* the partition tab
  * padding at the end, but that would have been confusing (although that
  * is what actually happens), because the partitions structure is supposed
  * to be variable size and putting a padding uint32_t would be weird.
- * Unfornately mips32 and i386 align uint64_t standalone at an 8 byte
+ * Unfortunately mips32 and i386 align uint64_t standalone at an 8 byte
  * boundary, but in structures at a 4 byte boundary so matt's
  * change did not affect them.
  *



CVS commit: src/sys/sys

2024-04-10 Thread Andrius Varanavicius
Module Name:src
Committed By:   andvar
Date:   Wed Apr 10 20:00:12 UTC 2024

Modified Files:
src/sys/sys: disklabel.h

Log Message:
s/Unfornately/Unfortunately/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/sys/sys/disklabel.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/bin/ed

2024-04-10 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Wed Apr 10 17:52:41 UTC 2024

Modified Files:
src/bin/ed: glbl.c

Log Message:
ed: fix inconsistency in comment


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/bin/ed/glbl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/bin/ed

2024-04-10 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Wed Apr 10 17:52:41 UTC 2024

Modified Files:
src/bin/ed: glbl.c

Log Message:
ed: fix inconsistency in comment


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/bin/ed/glbl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/ed/glbl.c
diff -u src/bin/ed/glbl.c:1.10 src/bin/ed/glbl.c:1.11
--- src/bin/ed/glbl.c:1.10	Fri Jan  4 19:13:58 2019
+++ src/bin/ed/glbl.c	Wed Apr 10 17:52:41 2024
@@ -1,6 +1,6 @@
-/*	$NetBSD: glbl.c,v 1.10 2019/01/04 19:13:58 maya Exp $	*/
+/*	$NetBSD: glbl.c,v 1.11 2024/04/10 17:52:41 rillig Exp $	*/
 
-/* glob.c: This file contains the global command routines for the ed line
+/* glbl.c: This file contains the global command routines for the ed line
editor */
 /*-
  * Copyright (c) 1993 Andrew Moore, Talke Studio.
@@ -33,7 +33,7 @@
 #if 0
 static char *rcsid = "@(#)glob.c,v 1.1 1994/02/01 00:34:40 alm Exp";
 #else
-__RCSID("$NetBSD: glbl.c,v 1.10 2019/01/04 19:13:58 maya Exp $");
+__RCSID("$NetBSD: glbl.c,v 1.11 2024/04/10 17:52:41 rillig Exp $");
 #endif
 #endif /* not lint */
 



CVS commit: src/distrib/sets/lists/debug32

2024-04-10 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Wed Apr 10 16:14:26 UTC 2024

Modified Files:
src/distrib/sets/lists/debug32: ad.aarch64 ad.mips64eb ad.mips64el
ad.mipsn64eb ad.mipsn64el ad.powerpc64 ad.riscv64 md.amd64
md.sparc64

Log Message:
Add missing directory from the new set of PAM files that get installed


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/distrib/sets/lists/debug32/ad.aarch64 \
src/distrib/sets/lists/debug32/ad.mips64eb \
src/distrib/sets/lists/debug32/ad.mips64el \
src/distrib/sets/lists/debug32/ad.mipsn64eb \
src/distrib/sets/lists/debug32/ad.mipsn64el \
src/distrib/sets/lists/debug32/ad.powerpc64 \
src/distrib/sets/lists/debug32/ad.riscv64 \
src/distrib/sets/lists/debug32/md.amd64 \
src/distrib/sets/lists/debug32/md.sparc64

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/debug32/ad.aarch64
diff -u src/distrib/sets/lists/debug32/ad.aarch64:1.1 src/distrib/sets/lists/debug32/ad.aarch64:1.2
--- src/distrib/sets/lists/debug32/ad.aarch64:1.1	Tue Apr  9 15:17:23 2024
+++ src/distrib/sets/lists/debug32/ad.aarch64	Wed Apr 10 16:14:26 2024
@@ -1,4 +1,4 @@
-# $NetBSD: ad.aarch64,v 1.1 2024/04/09 15:17:23 nia Exp $
+# $NetBSD: ad.aarch64,v 1.2 2024/04/10 16:14:26 nia Exp $
 ./usr/lib/eabi/i18n/libBIG5_g.a			comp-c-debuglib	debuglib,compat
 ./usr/lib/eabi/i18n/libDECHanyu_g.a			comp-c-debuglib	debuglib,compat
 ./usr/lib/eabi/i18n/libEUCTW_g.a			comp-c-debuglib	debuglib,compat
@@ -484,6 +484,7 @@
 ./usr/libdata/debug/usr/lib/eabi/libzfs.so.0.0.debug	comp-sys-debug	debug,compat,zfs
 ./usr/libdata/debug/usr/lib/eabi/libzfs_core.so.0.0.debug	comp-sys-debug	debug,compat,zfs
 ./usr/libdata/debug/usr/lib/eabi/libzpool.so.0.0.debug	comp-sys-debug	debug,compat,zfs
+./usr/libdata/debug/usr/lib/eabi/security	comp-sys-debug	debug,compat,pam
 ./usr/libdata/debug/usr/lib/eabi/security/pam_afslog.so.4.debug	comp-sys-debug	debug,compat,pam
 ./usr/libdata/debug/usr/lib/eabi/security/pam_chroot.so.4.debug	comp-sys-debug	debug,compat,pam
 ./usr/libdata/debug/usr/lib/eabi/security/pam_deny.so.4.debug	comp-sys-debug	debug,compat,pam
@@ -658,6 +659,7 @@
 ./usr/libdata/debug/usr/lib/eabihf/libzfs.so.0.0.debug	comp-sys-debug	debug,compat,zfs
 ./usr/libdata/debug/usr/lib/eabihf/libzfs_core.so.0.0.debug	comp-sys-debug	debug,compat,zfs
 ./usr/libdata/debug/usr/lib/eabihf/libzpool.so.0.0.debug	comp-sys-debug	debug,compat,zfs
+./usr/libdata/debug/usr/lib/eabihf/security	comp-sys-debug	debug,compat,pam
 ./usr/libdata/debug/usr/lib/eabihf/security/pam_afslog.so.4.debug	comp-sys-debug	debug,compat,pam
 ./usr/libdata/debug/usr/lib/eabihf/security/pam_chroot.so.4.debug	comp-sys-debug	debug,compat,pam
 ./usr/libdata/debug/usr/lib/eabihf/security/pam_deny.so.4.debug	comp-sys-debug	debug,compat,pam
Index: src/distrib/sets/lists/debug32/ad.mips64eb
diff -u src/distrib/sets/lists/debug32/ad.mips64eb:1.1 src/distrib/sets/lists/debug32/ad.mips64eb:1.2
--- src/distrib/sets/lists/debug32/ad.mips64eb:1.1	Tue Apr  9 15:17:23 2024
+++ src/distrib/sets/lists/debug32/ad.mips64eb	Wed Apr 10 16:14:26 2024
@@ -1,4 +1,4 @@
-# $NetBSD: ad.mips64eb,v 1.1 2024/04/09 15:17:23 nia Exp $
+# $NetBSD: ad.mips64eb,v 1.2 2024/04/10 16:14:26 nia Exp $
 ./usr/lib/64/i18n/libBIG5_g.a			comp-c-debuglib	debuglib,compat
 ./usr/lib/64/i18n/libDECHanyu_g.a			comp-c-debuglib	debuglib,compat
 ./usr/lib/64/i18n/libEUCTW_g.a			comp-c-debuglib	debuglib,compat
@@ -484,6 +484,7 @@
 ./usr/libdata/debug/usr/lib/64/libzfs.so.0.0.debug	comp-sys-debug	debug,compat,zfs
 ./usr/libdata/debug/usr/lib/64/libzfs_core.so.0.0.debug	comp-sys-debug	debug,compat,zfs
 ./usr/libdata/debug/usr/lib/64/libzpool.so.0.0.debug	comp-sys-debug	debug,compat,zfs
+./usr/libdata/debug/usr/lib/64/security	comp-sys-debug	debug,compat,pam
 ./usr/libdata/debug/usr/lib/64/security/pam_afslog.so.4.debug	comp-sys-debug	debug,compat,pam
 ./usr/libdata/debug/usr/lib/64/security/pam_chroot.so.4.debug	comp-sys-debug	debug,compat,pam
 ./usr/libdata/debug/usr/lib/64/security/pam_deny.so.4.debug	comp-sys-debug	debug,compat,pam
@@ -658,6 +659,7 @@
 ./usr/libdata/debug/usr/lib/o32/libzfs.so.0.0.debug	comp-sys-debug	debug,compat,zfs
 ./usr/libdata/debug/usr/lib/o32/libzfs_core.so.0.0.debug	comp-sys-debug	debug,compat,zfs
 ./usr/libdata/debug/usr/lib/o32/libzpool.so.0.0.debug	comp-sys-debug	debug,compat,zfs
+./usr/libdata/debug/usr/lib/o32/security	comp-sys-debug	debug,compat,pam
 ./usr/libdata/debug/usr/lib/o32/security/pam_afslog.so.4.debug	comp-sys-debug	debug,compat,pam
 ./usr/libdata/debug/usr/lib/o32/security/pam_chroot.so.4.debug	comp-sys-debug	debug,compat,pam
 ./usr/libdata/debug/usr/lib/o32/security/pam_deny.so.4.debug	comp-sys-debug	debug,compat,pam
Index: src/distrib/sets/lists/debug32/ad.mips64el
diff -u src/distrib/sets/lists/debug32/ad.mips64el:1.1 src/distrib/sets/lists/debug32/ad.mips64el:1.2
--- 

CVS commit: src/distrib/sets/lists/debug32

2024-04-10 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Wed Apr 10 16:14:26 UTC 2024

Modified Files:
src/distrib/sets/lists/debug32: ad.aarch64 ad.mips64eb ad.mips64el
ad.mipsn64eb ad.mipsn64el ad.powerpc64 ad.riscv64 md.amd64
md.sparc64

Log Message:
Add missing directory from the new set of PAM files that get installed


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/distrib/sets/lists/debug32/ad.aarch64 \
src/distrib/sets/lists/debug32/ad.mips64eb \
src/distrib/sets/lists/debug32/ad.mips64el \
src/distrib/sets/lists/debug32/ad.mipsn64eb \
src/distrib/sets/lists/debug32/ad.mipsn64el \
src/distrib/sets/lists/debug32/ad.powerpc64 \
src/distrib/sets/lists/debug32/ad.riscv64 \
src/distrib/sets/lists/debug32/md.amd64 \
src/distrib/sets/lists/debug32/md.sparc64

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2024-04-10 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Wed Apr 10 14:24:31 UTC 2024

Modified Files:
src/doc: CHANGES

Log Message:
Changes since the end of March


To generate a diff of this commit:
cvs rdiff -u -r1.3048 -r1.3049 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2024-04-10 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Wed Apr 10 14:24:31 UTC 2024

Modified Files:
src/doc: CHANGES

Log Message:
Changes since the end of March


To generate a diff of this commit:
cvs rdiff -u -r1.3048 -r1.3049 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.3048 src/doc/CHANGES:1.3049
--- src/doc/CHANGES:1.3048	Thu Mar 28 16:17:50 2024
+++ src/doc/CHANGES	Wed Apr 10 14:24:31 2024
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3048 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.3049 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -313,3 +313,26 @@ Changes from NetBSD 10.0 to NetBSD 11.0:
 		selectively reject individual interfaces, allowing them to
 		be matched by ugen(4) and accessed through libusb.
 		[thorpej 20240326]
+	moused(8): Remove undocumented and unused option 'C'.
+		[rilling 20240329]
+	ugen(4): Add a "ugen-unit" device property which devpubd(8) scripts
+		can query to determine which /dev/ugenN.xx nodes a given ugen
+		or ugenif device is using.  [thorpej 20240329]
+	libc: Limit writes to stdio FILE handles via fvwrite to INT_MAX
+		rather than BUFSIZE. Improves performance dramatically.
+		From enh via Apple libc.  [christos 20240329]
+	evbarm: Add interrupt support to the Texas Instruments gpio(4) driver
+		used on the Beaglebone Black.  [jakllsch 20240401]
+	dk(4): Add support for discovering Atari TOS partitions as wedges.
+		[charlotte 20240402]
+	rumpuser(3): New RUMP_STDOUT, RUMP_STDERR environment variables.
+		[riastradh 20240404]
+	config(1): Improve determinism for reproducible builds.
+		[riastradh 20240405]
+	qemufwcfg(4): Add RISC-V support.  [skrll 20240406]
+	vax: Switch vax to X.Org server version 120.  [tsutsui 20240407]
+	evbmips: Following evbarm, document kernel configurations in
+		sys/arch/evbmips/conf/README.evbmips. [andvar 20240407]
+	sysinst(8): Split compatibility libraries into separate sets,
+		base32 and debug32. Split HTML man pages into new manhtml
+		set.  [nia 20240410]