GhostBSD/ghostbsd 7a9ccb7contrib/libcbor/doc/source requirements.txt

Merge pull request #384 from ghostbsd/dependabot/pip/contrib/libcbor/doc/source/pygments-2.20.0

build(deps): bump pygments from 2.16.1 to 2.20.0 in /contrib/libcbor/doc/source
DeltaFile
+1-1contrib/libcbor/doc/source/requirements.txt
+1-11 files

GhostBSD/ghostbsd 179897bcontrib/libcbor/doc/source requirements.txt

build(deps): bump pygments in /contrib/libcbor/doc/source

Bumps [pygments](https://github.com/pygments/pygments) from 2.16.1 to 2.20.0.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.16.1...2.20.0)

---
updated-dependencies:
- dependency-name: pygments
  dependency-version: 2.20.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support at github.com>
DeltaFile
+1-1contrib/libcbor/doc/source/requirements.txt
+1-11 files

GhostBSD/ghostbsd 441fd38contrib/libcbor/doc/source requirements.txt

Merge pull request #383 from ghostbsd/dependabot/pip/contrib/libcbor/doc/source/requests-2.33.0

build(deps): bump requests from 2.32.0 to 2.33.0 in /contrib/libcbor/doc/source
DeltaFile
+1-1contrib/libcbor/doc/source/requirements.txt
+1-11 files

GhostBSD/ghostbsd 2a55b26contrib/libcbor/doc/source requirements.txt

build(deps): bump requests in /contrib/libcbor/doc/source

Bumps [requests](https://github.com/psf/requests) from 2.32.0 to 2.33.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.32.0...v2.33.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.33.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support at github.com>
DeltaFile
+1-1contrib/libcbor/doc/source/requirements.txt
+1-11 files

GhostBSD/ghostbsd 1782e26contrib/libcbor/doc/source requirements.txt

Merge branch 'stable/15' of github.com:ghostbsd/ghostbsd-src into stable/15
DeltaFile
+1-1contrib/libcbor/doc/source/requirements.txt
+1-11 files

GhostBSD/ghostbsd 9d08765contrib/ncurses configure, crypto/openssl/crypto/ec ecp_nistz256_table.c

Merge remote-tracking branch 'freebsd/stable/15' into stable/15
DeltaFile
+15,906-15,332contrib/ncurses/configure
+28,572-0sys/contrib/dev/broadcom/brcm80211/brcmsmac/phy/phy_n.c
+14,894-9,513crypto/openssl/crypto/ec/ecp_nistz256_table.c
+10,184-10,183crypto/openssl/test/ecdsatest.h
+9,620-1,938crypto/openssl/test/quic_record_test.c
+10,099-0sys/contrib/dev/broadcom/brcm80211/brcmsmac/phy/phytbl_n.c
+89,275-36,9665,377 files not shown
+438,489-240,4195,383 files

GhostBSD/ghostbsd edc9c3eusr.sbin/virtual_oss/virtual_oss main.c

virtual_oss: Combine -d, -l and -L option getopt code

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D55671

(cherry picked from commit a2b601343bf9261c4ada51e4d4c30c5b9320bb2b)
DeltaFile
+3-21usr.sbin/virtual_oss/virtual_oss/main.c
+3-211 files

GhostBSD/ghostbsd 1ff01f6sys/fs/deadfs dead_vnops.c, sys/fs/nfsclient nfs_clport.c

vn_delayed_setsize(): post-commit review' changes

(cherry picked from commit 92d7808d88f0de979d76446c76c7324731c41302)
DeltaFile
+25-27sys/kern/vfs_vnops.c
+6-6sys/sys/vnode.h
+3-3sys/fs/deadfs/dead_vnops.c
+1-1sys/fs/nfsclient/nfs_clport.c
+35-374 files

GhostBSD/ghostbsd fc1c679sys/fs/p9fs p9fs.h p9fs_vnops.c

p9fs: use atomics for updating node->flags

(cherry picked from commit c2012c7faf74c9e7b4e3de2472e10b58ed096996)
DeltaFile
+6-3sys/fs/p9fs/p9fs.h
+4-4sys/fs/p9fs/p9fs_vnops.c
+3-3sys/fs/p9fs/p9fs_vfsops.c
+13-103 files

GhostBSD/ghostbsd 47f2998sys/fs/nfsclient nfs_clvnops.c nfs_clbio.c

nfsclient: convert to use vn_delayed_setsize()

(cherry picked from commit 5c71df9850355e20cf8f89fb656b18ef79cdf178)
DeltaFile
+7-61sys/fs/nfsclient/nfs_clvnops.c
+2-2sys/fs/nfsclient/nfs_clbio.c
+1-1sys/fs/nfsclient/nfs_clport.c
+0-1sys/fs/nfsclient/nfsnode.h
+10-654 files

GhostBSD/ghostbsd db4caf6sys/fs/p9fs p9fs_vnops.c

p9fs: locking improvements for p9fs_stat_vnode_dotl()

PR:     293492

(cherry picked from commit 2b256f00aaee4713b8e6f0e3c0f3493065f710c4)
DeltaFile
+39-3sys/fs/p9fs/p9fs_vnops.c
+39-31 files

GhostBSD/ghostbsd 89559b5sys/fs/deadfs dead_vnops.c, sys/kern vfs_vnops.c vnode_if.src

vfs: add VOP_DELAYED_SETSIZE() and related infrastructure

(cherry picked from commit 45117ffcd533ddf995f654db60b10899ae8370ec)
DeltaFile
+73-1sys/kern/vfs_vnops.c
+31-0sys/sys/vnode.h
+8-0sys/kern/vnode_if.src
+1-0sys/fs/deadfs/dead_vnops.c
+1-0sys/kern/vfs_default.c
+114-15 files

GhostBSD/ghostbsd 9c49c39usr.sbin/virtual_oss/virtual_oss virtual_oss.c

virtual_oss: Use virtual_oss_timestamp() to avoid duplication

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week

(cherry picked from commit e75c8faf277dded0a80d469cb8182583716a2211)
DeltaFile
+13-16usr.sbin/virtual_oss/virtual_oss/virtual_oss.c
+13-161 files

GhostBSD/ghostbsd c4e303fusr.sbin/virtual_oss/virtual_oss virtual_oss.c

virtual_oss: Use virtual_oss_delay_ns() to avoid duplication

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week

(cherry picked from commit 3a410851bf02c247e71bcd06fdeec2706c6b6070)
DeltaFile
+1-4usr.sbin/virtual_oss/virtual_oss/virtual_oss.c
+1-41 files

GhostBSD/ghostbsd 7566892lib/libsys sigreturn.2

sigreturn.2: refresh the man page

(cherry picked from commit 9da4a804f0916b24519b8baa7ed460a7ba23d8c8)
DeltaFile
+16-8lib/libsys/sigreturn.2
+16-81 files

GhostBSD/ghostbsd 521519ftools/build depend-cleanup.sh

depend-cleanup.sh: rebuild strnlen.o on riscv64 if it came from strnlen.S

We have to switch back to the previous rule once the temporary
build fix has been replaced with a permanent fix.

MFC after:      1 week
See also:       2a4e3112c811b9892e14e15cfd23538e7e47329c
PR:             293353, 293296

(cherry picked from commit b5514e1c6d9e7ec09b299a983d1ce32852e0d9dc)
DeltaFile
+4-1tools/build/depend-cleanup.sh
+4-11 files

GhostBSD/ghostbsd 0536513lib/libc/riscv/string Makefile.inc

libc/riscv64: temporarily disable strnlen() implementation until a fix is developed

strnlen() doesn't seem to cope well with a length argument such that
string pointer plus length overflows past the end of the address space.

Reviewed by:    fuz
MFC after:      1 week
PR:             293353, 293296
Differential Revision:  https://reviews.freebsd.org/D55714

(cherry picked from commit 2a4e3112c811b9892e14e15cfd23538e7e47329c)
DeltaFile
+0-1lib/libc/riscv/string/Makefile.inc
+0-11 files

GhostBSD/ghostbsd 6388835libexec/rc/rc.d virtual_oss

rc: virtual_oss: Silence potential hw.snd.default_unit error

PR:             293582
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week

(cherry picked from commit e85f221def717660c9daf4c0616dfb9cdfb75827)
DeltaFile
+1-1libexec/rc/rc.d/virtual_oss
+1-11 files

GhostBSD/ghostbsd b4d8d9bcontrib/jemalloc/src jemalloc.c

rallocx path: only set errno on the realloc case.

PR:             291677
Obtained from:  jemalloc (commit 83b075789b4239035931c1ee212576d00153bbf0)
Fixes:          c43cad871720 ("jemalloc: Merge from jemalloc 5.3.0 vendor branch")
MFC after:      3 days
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2059

(cherry picked from commit 2c5cd07828ad76c332e3bedc29fc641809e85396)
DeltaFile
+3-1contrib/jemalloc/src/jemalloc.c
+3-11 files

GhostBSD/ghostbsd 3abef03contrib/jemalloc/src jemalloc.c

Set errno to ENOMEM on rallocx() OOM failures

realloc() and rallocx() shares path, and realloc() should set errno to
ENOMEM upon OOM failures.

PR:             291677
Obtained from:  jemalloc (commit 38056fea64c34ca4fef0a16212776eaa4de80b78)
Fixes:          c43cad871720 ("jemalloc: Merge from jemalloc 5.3.0 vendor branch")
MFC after:      3 days
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2059

(cherry picked from commit 5583b64f230fe0ea4e3d4bf4566205b521190fbb)
DeltaFile
+1-0contrib/jemalloc/src/jemalloc.c
+1-01 files

GhostBSD/ghostbsd d74dfe0sbin/camcontrol camcontrol.c

camcontrol: Add SPDX-License-Identifier tag

Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55269

(cherry picked from commit 25ed5ee654a8cd7d9f694307c62bb84ff4d16866)
DeltaFile
+2-0sbin/camcontrol/camcontrol.c
+2-01 files

GhostBSD/ghostbsd b1d4b83sbin/camcontrol camcontrol.c

camcontrol: Print 'transport revision'

As described in Serial ATA Revision 3.5a

Reviewed by:    mav
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2044

(cherry picked from commit f4f9054dc47b430872d38c7a75fea753c6fe796f)
DeltaFile
+29-0sbin/camcontrol/camcontrol.c
+29-01 files

GhostBSD/ghostbsd 2a3d650. Makefile.inc1

packages: Don't create empty packages

If a package plist only contains directories, but no files, do not
create the package.

This fixes an issue where setting "package=foo" in mtree causes the
"foo" package to always be created, even if nothing else installs in
that package, because the mtree entry is always added to the plist.

This most often happens:

* With architecture-specific directories, because mtree can't install
  a directory conditionally based on architecture, and

* With packages that are completely empty when a particular src.conf
  knob is disabled, because mtree will still create the directories.

Although it's theoretically possible that we might want to create a
package that only contains directories, there are no such packages

    [8 lines not shown]
DeltaFile
+18-11Makefile.inc1
+18-111 files

GhostBSD/ghostbsd 1346ffb. Makefile.inc1

Makefile.inc1: Remove svn support

We don't need this, and we don't use this. It's left over from the svn
days. We stopped supporting svn as a project entirely when 12.x went
EOL. And VCS_REVSION isn't in any current ucl file or anywhere else in
the tree.

Sponsored by:           Netflix
Reviewed by     :       kevans, brd
Differential Revision:  https://reviews.freebsd.org/D52912

(cherry picked from commit 28b858f5059c8b25fa08be494699997000fce58c)

Makefile.inc1: Add back missing if

The .if defined(_MKSHOWCONFIG) covered an unusually large area, so it
should have not been removed in the last commit. I must have tested in
the wrong tree before pushing...


    [4 lines not shown]
DeltaFile
+1-22Makefile.inc1
+1-221 files

GhostBSD/ghostbsd bb87befcontrib/libcbor/doc/source requirements.txt

Merge pull request #382 from ghostbsd/dependabot/pip/contrib/libcbor/doc/source/tornado-6.5.5

build(deps): bump tornado from 6.3.3 to 6.5.5 in /contrib/libcbor/doc/source
DeltaFile
+1-1contrib/libcbor/doc/source/requirements.txt
+1-11 files

GhostBSD/ghostbsd fadbfd8contrib/libcbor/doc/source requirements.txt

build(deps): bump tornado in /contrib/libcbor/doc/source

Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.3.3 to 6.5.5.
- [Changelog](https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst)
- [Commits](https://github.com/tornadoweb/tornado/compare/v6.3.3...v6.5.5)

---
updated-dependencies:
- dependency-name: tornado
  dependency-version: 6.5.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support at github.com>
DeltaFile
+1-1contrib/libcbor/doc/source/requirements.txt
+1-11 files

GhostBSD/ghostbsd 7fe98eelib/libmt mtlib.c, usr.bin/mt mt.1

mt(1)/libmt: Add LTO-10 density codes and specs.

These were obtained from IBM specs and actual tapes/drives.

Standard LTO-10 cartriges hold 30TB raw, 75TB with 2.5:1 compression.
Premium LTO-10 cartridges hold 40TB raw, 100TB with 2.5:1 compression.
LTO-10 tape drives are not backward compatible with previous generation
LTO tapes. (This is a change from older generation drives.)

Since the Premium tape is a new thing for LTO, we'll call this density
code LTO-10P vs. the standard LTO-10.  The barcode identifier for LTO-10
tapes is "LA"; the barcode identifier for LTO-10P tapes is "PA".

LTO-10 cartridges contain 1035m of tape, while LTO-10 Premium
cartridges contain 1337m of tape and have slightly higher density.
(Obtained from MAM data on actual tape cartridges and the density
report, obtained via 'mt getdensity'.)  LTO-10 cartridges use a
polyethylene naphthalate (PEN) film substrate. LTO-10 Premium
cartridges use an Aramid (aromatic polyamide) substrate that is thinner

    [12 lines not shown]
DeltaFile
+8-1usr.bin/mt/mt.1
+2-0lib/libmt/mtlib.c
+10-12 files

GhostBSD/ghostbsd fdddd00krb5/include autoconf.h

krb5: Fix -Wint-conversion when bootstrapping on GNU/Linux

This shows up in GitHub Actions as a warning, and some compilers can
default to it being an error.

(cherry picked from commit 4dd2b869cd078ed6f40c42d1ef429222da16a58f)
DeltaFile
+5-0krb5/include/autoconf.h
+5-01 files

GhostBSD/ghostbsd b373cf4krb5/include autoconf.h

krb5: Include <features.h> on Linux so __GLIBC__ can be checked

__GLIBC__ is not pre-defined by the toolchain, it comes from features.h,
so we need to make sure that's included by this point.

Fixes:  4dd2b869cd07 ("krb5: Fix -Wint-conversion when bootstrapping on GNU/Linux")
(cherry picked from commit 34e7a57673c9730ee5d1f7ebb07e152567bd8e0b)
DeltaFile
+3-0krb5/include/autoconf.h
+3-01 files

GhostBSD/ghostbsd 4c7dbe9sys/dev/usb/quirk usb_quirk.c, sys/dev/usb/storage umass.c

usb: umass: add SCSIEJECT quirk and fix RTW8821CU_CD (USB mode switch)

Several Realtek (and lots other) USB dongles present themselves as
CDROM device first.  Upon eject they do a mode switch and suddenly
are a different kind of device (sometimes even with different IDs),
e.g., a wireless dongle.

In order to avoid the CDROM stage and rather than adding the quirk
handling to more drivers, add support to umass and if enabled
automatically eject the "CDROM" to make it the real device.

Longer-term some other drivers could stop using their hand-rolled
support for this.  It is unclear as-to how much we need the list of
(eject) quirks from u3g here, or if these are very specific to that
kind of devices.

Sponsored by:   The FreeBSD Foundation
Fixes:          b3b6a959c85a, 9c0cce328363
Reviewed by:    imp

    [3 lines not shown]
DeltaFile
+56-1sys/dev/usb/storage/umass.c
+1-1sys/dev/usb/quirk/usb_quirk.c
+57-22 files