Commit graph

1228 commits

Author SHA1 Message Date
Philip Paeps
a48dc9b03b zoneinfo: don't install version
The commit teaching the build to install tzdata.zi for libcxx also
instals version.  It turns out this makes at least one piece of third
party software cry: rubygem-tzinfo expects any file in zoneinfo to be at
least 44 bytes long.  Clearly this is a bug in rubygem-tzinfo but since
nothing actually uses version, we may as well not install it ... as we
did previously.

Reported by:	delphij
Fixes:		91506dba7f zoneinfo: also install tzdata.zi and version
MFC after:	1 day
Approved by:	re (cperciva)

(cherry picked from commit 23a0c88b03)
(cherry picked from commit 16ad4d77121dd117513c6044c0f076df144fa368)
2025-05-24 11:33:02 +06:00
Dag-Erling Smørgrav
747efc2aee namei: Update documentation.
This should have been done 2+ years ago when the td argument was dropped
from NDINIT() and the NDFREE() macro and the SAVENAME and SAVESTART
flags were retired.

Approved by:	re (cperciva)
MFC after:	3 days
Fixes:		7e1d3eefd4 ("vfs: remove the unused thread argument from NDINIT*")
Fixes:		269c564b90 ("vfs: retire NDFREE")
Sponsored by:	NetApp, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D50375

(cherry picked from commit ee84b4e2fd)
(cherry picked from commit 68bc635cc9b099fb03cfcd519046c385af0c5355)
2025-05-21 19:37:10 +02:00
Alexander Ziaee
b7a44a8429
ObsoleteFiles: Remove mount_fusefs.8 entry
This causes make delete-old to delete the manual for mount_fusefs(8) on
(zfs) systems that do not (need) MANCOMPRESS.

MFC after:		3 days
Reviewed by:		carlavilla, imp
Approved by:		carlavilla (mentor)
Differential Revision:	https://reviews.freebsd.org/D49667

(cherry picked from commit 7d2b5f3d2a)
2025-04-21 23:17:52 -04:00
Bjoern A. Zeeb
42be6050ce iwlwififw: remove Intel iwlwifi firmware from src.git
Following the example of rtw88 and rtw89 only ship iwlwifi firmware
from ports/packages.  Users are asked to run fwget(8) to install the
firmware needed for their system or build it from ports
(see also UPDATING).

This is the end of a long story adding wireless support to fwget(8),
migrating the firmware for multiple branches into ports, splitting them
up into flavors, and updating some install media and the installer to
provide firmware.

The overall amount for new firmware amongst all drivers would have
added more than 100M of binary blobs to src.git for the first import,
ignoring future updates which (along with some duplication between
multiple drivers) was considered too much.

While maintenance within the src tree certainly would have been
easier in the longer term this seems to be the better solution and
I would like to thank everyone who helped along the path to get there.

The iwlwififw.4 man page is to stay (for now) and will likely point
at the appropriate firmware package flavor in the future as well
so people may find it easier to transition.  In the long term this
information is likely not needed anymore.

Sponsored by:	The FreeBSD Foundation
Requested by:	core (Oct 2022)
Reviewed by:	thj, jrm (earlier)
Differential Revision: https://reviews.freebsd.org/D49713

(cherry picked from commit 558d638896)
(cherry picked from commit 918783b75a)
2025-04-18 14:36:03 +00:00
Michael Osipov
7577dae4d6 caroot: update the root bundle
Summary:
- Seven (7) new roots
- Four (4) distrusted roots
- Fifteen (15) removed (expired) roots

Reviewed by:	kevans
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D49294

(cherry picked from commit 0100da4deb)
2025-03-20 11:18:27 +01:00
Alexander Ziaee
afec5d1968
ObsoleteFiles: Remove if_rtwn.4 removal
if_rtwn.4 was previously removed, but actually it is correct because
the interfaces is called rtwn.

Fixes:			4262dbc579
MFC after:		3 days
Reported by:		bz
Approved by:		mhorne (mentor)
Differential Revision:	https://reviews.freebsd.org/D49323

(cherry picked from commit 732c168842)
2025-03-16 16:07:46 -04:00
John Baldwin
e75ef6dece twe.4: Remove manpage for previously-removed driver
Reviewed by:	ziaee, imp
Fixes:		062a7b918f twe: Remove driver
Differential Revision:	https://reviews.freebsd.org/D48403
(cherry picked from commit ed49d3b31d)
2025-02-27 10:04:59 -05:00
Jose Luis Duran
24d3fd31f8
ObsoleteFiles.inc: Remove test debug file from wrong dir
Reported by:	des
Reviewed by:	des, emaste
Approved by:	emaste (mentor)
Fixes:	88d448ec81 ("mk: Move vm stack test debug symbols")
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D48991

(cherry picked from commit e159dcc37e)
2025-02-16 04:13:51 +00:00
Ronald Klop
f564bcc766 Remove obsolete clang18 files for aarch64
This fixes a warning from "make delete-old" about a non-empty directory
on aarch64.

Reviewed by:	dim
Fixes:		0fca6ea1d4
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D48904

(cherry picked from commit 09b435d3dc)
2025-02-13 09:23:49 +01:00
Jose Luis Duran
911d0089d0
mk: Move vm stack test debug symbols
Avoid the creation of a /usr/tests/sys/vm/stack/.debug directory by
placing sys/vm/stack test debug symbols under /usr/lib/debug.

Reviewed by:	emaste
Approved by:	emaste (mentor)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D48796

(cherry picked from commit 88d448ec81)
(cherry picked from commit 955f974a1a)
2025-02-12 01:36:34 +00:00
Joseph Mingrone
75bca5af38
ObsoleteFiles.inc: Remove bogus entries
Reviewed by:	emaste

(cherry picked from commit 6651a75af2)
2025-01-23 16:54:34 -04:00
Dimitry Andric
c51597b87e libcxx-compat: don't remove headers that were reintroduced by reverts
PR:		280562
MFC after:	1 month

(cherry picked from commit b60301d8b5)
2024-12-01 12:17:12 +01:00
Dimitry Andric
d544fe589b Merge llvm-project release/19.x llvmorg-19.1.0-rc1-0-ga4902a36d5c2
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project release/19.x llvmorg-19.1.0-rc1-0-ga4902a36d5c2.

PR:		280562
MFC after:	1 month

(cherry picked from commit 36b606ae6a)
2024-12-01 12:17:07 +01:00
Dimitry Andric
0eb20fbda7 Merge llvm-project main llvmorg-19-init-18630-gf2ccf80136a0
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project main llvmorg-19-init-18630-gf2ccf80136a0, the
last commit before the upstream release/19.x branch was created.

PR:		280562
MFC after:	1 month

(cherry picked from commit 0fca6ea1d4)
2024-12-01 12:16:52 +01:00
John Baldwin
5d425cdf4e ObsoleteFiles.inc: Add missing .gz suffix to various manpage entries
Reported by:	Mark Millard <marklmi@yahoo.com>

(cherry picked from commit c04ef1bfb4)
2024-11-30 14:28:09 -05:00
John Baldwin
f333500783 ObsoleteFiles.inc: Remove dtrace/amd64/kinst test directory
Reported by:	Mark Millard <marklmi@yahoo.com>
Fixes:		911f026039 dtrace: move kinst tests to common

(cherry picked from commit 20cd6bbc10)
2024-11-30 14:25:16 -05:00
Joseph Mingrone
80b19c3150
ObsoleteFiles.inc: Update after libpcap upgrade from 1.10.4 to 1.10.5
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 407a9cced6)
2024-10-07 21:41:10 -03:00
Gordon Tetlow
3d8501d90e
openssl: Remove fips module from base system.
To comply with FIPS 140 guidance, you must be using a specifically
validated and approved version of the fips module. Currently, only
OpenSSL 3.0.8 and 3.0.9 have been approved by NIST for FIPS 140
validation. As such, we need to stop shipping later versions of the
module in the base system.

Differential Revision: https://reviews.freebsd.org/D46223

(cherry picked from commit 86dd740dd7)
2024-09-06 21:17:19 -07:00
John Baldwin
ec8c44812a ObsoleteFiles.inc: Don't remove recently added mixer(8) tests
An earlier set of mixer(8) tests were removed leading to this entry,
but now the entry is removing the new tests.

Fixes:		94a86f3f69 mixer(8): Add tests
(cherry picked from commit 09ed116dc5)
2024-08-26 15:03:57 -04:00
Christos Margiolis
f63d0c39d9 ObsoleteFiles.inc: Update after sound changes
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit c3516c6533)
2024-08-26 16:53:43 +03:00
Dag-Erling Smørgrav
91b21801e8 ifnet(9): Remove mention of defunct ifaddr_byindex(9).
Fixes:		964b8f8b99
MFC after:	3 days
Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D46174

(cherry picked from commit 9f080f17a6)
2024-08-01 18:15:57 +02:00
Olivier Certner
9f06e6c990
Remove remnants of portsnap(8)
This was prompted by noticing that '/var/db/portsnap' still exists on
newly-installed machines.

With this change, all mentions of portsnap(8) in the tree are gone,
except for the historical note in the AUTHORS section of manpage
phttpget(8).

locate(1) will thus start indexing again '/var/db/portsnap' on machines
where this directory still exists, which may be a good way to push
administrators to delete it.

Reviewed by:            cperciva
Approved by:            emaste (mentor)
MFC after:              3 days
Sponsored by:           The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D45023

(cherry picked from commit 9b30b96c1f)

ObsoleteFiles.inc: Remove /var/db/portsnap

This is a followup to commit "Remove remnants of portsnap(8)"
(9b30b96c1f).  I wasn't aware of OLD_DIRS.

Approved by:            markj (mentor)
MFC after:              1 day
MFC with:               9b30b96c1f
Sponsored by:           The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D45023

(cherry picked from commit 54bbcc09a7)

Approved by:            markj (mentor)
2024-05-09 15:52:53 +09:00
Mitchell Horne
a7a6873023 BSD.usr.dist: remove empty /usr/libdata/gcc directory
I am unsure of its exact historical usage, but, we no longer ship GCC
with FreeBSD, and it should have been removed.

Reviewed by:	imp, emaste
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D44440

(cherry picked from commit cc1268a926)
2024-05-01 15:42:57 -03:00
Dimitry Andric
feb6e2786d Add a few missed libclang_rt files to ObsoleteFiles.inc
PR:		276104
Reported by:	Mark Millard <marklmi@yahoo.com>
MFC after:	3 days

(cherry picked from commit 0ab121e9f9)
2024-04-24 23:26:24 +02:00
Dimitry Andric
de8261c4ac Merge llvm-project main llvmorg-18-init-16003-gfc5f51cf5af4
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project main llvmorg-18-init-16003-gfc5f51cf5af4.

PR:		276104
MFC after:	1 month

(cherry picked from commit 647cbc5de8)
2024-04-19 23:13:53 +02:00
Dimitry Andric
c9157d925c Merge llvm-project main llvmorg-18-init-15088-gd14ee76181fb
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project main llvmorg-18-init-15088-gd14ee76181fb.

PR:		276104
MFC after:	1 month

(cherry picked from commit 5f757f3ff9)
2024-04-19 23:12:03 +02:00
Kyle Evans
9fc1d78e39 caroot: routine update
Changes:
- One (1) modified
- Eight (8) added
- One (1) expired, now untrusted

MFC after:	3 days

(cherry picked from commit 0d3b2bdbf7)
2024-02-13 13:14:51 -06:00
Marius Strobl
d6ec20a309 geom_map(4): Garbage collect disconnected driver
The last MIPS user has been removed in c09981f1 2 years ago, the last
ARM one in 58d5c511 even 5.5 years ago.

(cherry picked from commit 03e8d25b1f)
2024-01-18 21:14:46 +01:00
Dag-Erling Smørgrav
cef433d3fb uniq: Replace NetBSD's unit tests with our own.
These new tests cover more functionality and are easier to extend.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D43381

(cherry picked from commit e762fd81e2)

uniq: Fix interactive use.

Output a line as soon as it is possible to determine that it will have
to be output.  For the basic case, this means output each line as it is
read unless it is identical to the previous one.  For the -d case, it
means output the first instance as soon as the second is read, unless
the -c option was also given.  The -D and -u cases were already fine.

Add test cases for interactive use with no options and with -d.

Explicitly ignore -d when -D is also specified.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	rew, kevans
Differential Revision:	https://reviews.freebsd.org/D43382

(cherry picked from commit 11715600e6)

uniq: Clean up and test obsolete options.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D43402

(cherry picked from commit e2ec8ee02a)

uniq: Error out if writing to the output failed.

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	kevans
Differential Revision:	https://reviews.freebsd.org/D43407

(cherry picked from commit 899837e8f5)
2024-01-17 19:28:23 +01:00
Dimitry Andric
fe013be447 Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project main llvmorg-17-init-19304-gd0b54bb50e51, the
last commit before the upstream release/17.x branch was created.

PR:		273753
MFC after:	1 month

(cherry picked from commit 06c3fb2749)
2024-01-07 18:46:17 +01:00
Bjoern A. Zeeb
a8c36fd7a3 net80211: remove ieee80211_unref_node()
ieee80211_unref_node() was only used in two error cases in
ieee80211_send_nulldata().  There we do not need to guard against
ni pointer reuse after decrementing the refcount of the ni as we
only update the stats and return.

Update the man page and remove the link for the now gone function.

Note: the last uses of the function were removed in 493d625543.

Sponsored by:	The FreeBSD Foundation
Reviewed by:	adrian, emaste
Differential Revision: https://reviews.freebsd.org/D42035

(cherry picked from commit 1137943b1c)
2023-11-30 00:36:58 +00:00
Antranig Vartanian
bd7dceb27c
ping6(8): Add ping6(8) as MLINK to ping(8)
Reviewed by:	chuck
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D42203

(cherry picked from commit d6e457328d)
2023-11-10 15:41:32 +08:00
John Baldwin
e8daee3212 ObsoleteFiles.inc: Remove old mixer(8) tests
These were removed when the new mixer(3) library was imported.

PR:		274602
Fixes:		903873ce15 Implement and use new mixer(3) library for FreeBSD.
(cherry picked from commit f7c4f49649)
2023-10-24 12:03:19 -07:00
John Baldwin
495a104751 Retire old diskless setup scripts
These scripts predate /etc/rc.diskless* and use a different scheme.  A
comment was added to them back in 2002 noting they were 3 years old at
that point.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D41951

(cherry picked from commit 7736786b08)
(cherry picked from commit f97a3f6a01)
2023-10-24 10:08:05 -07:00
Mark Johnston
4b1770ef48 netinet tests: Add error handling tests for UDP with v4-mapped sockets
This provides a regression test for commit abca3ae773.

Add it to the existing v4-mapped address test file, and rename
accordingly.

Reviewed by:	tuexen, karels, rrs
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D39216

(cherry picked from commit ae5c3dfd3e)
2023-10-24 09:19:46 -04:00
Olivier Certner
f173bbdbc1 cr_canseeotheruids(), cr_canseeothergids(): Man pages: Impacts of rename
When these functions were renamed 7 years ago, their man pages were not.
Rename the latter in accordance and fix the names inside them.  Fix
references to them as well.  Add the old man pages to the list of
obsolete files.

Reviewed by:            mhorne
MFC after:              2 weeks
Sponsored by:           Kumacom SAS
Differential Revision:  https://reviews.freebsd.org/D40630

(cherry picked from commit c59ab75c04)
2023-10-17 16:42:58 -03:00
Piotr Kubaj
56a2b5d640 ObsoleteFiles.inc: only leave ofwdump.8.gz when WITH_FDT is set
Approved by:	mhorne
Differential Revision: https://reviews.freebsd.org/D41905
MFC after:	3 days

(cherry picked from commit 4cf8075264)
2023-10-04 02:42:32 +02:00
Dimitry Andric
2d5eb9b95a ObsoleteFiles: remove duplicated and incorrect libclang_rt powerpc64le entries
PR:		273776
MFC after:	3 days

(cherry picked from commit e2d3168d12)
2023-10-03 19:53:44 +02:00
Dimitry Andric
237b0c5b22 ObsoleteFiles: cleanup more old libclang_rt files for powerpc64le
PR:		273776
MFC after:	3 days

(cherry picked from commit 8a99263e9d)
2023-09-22 08:34:08 +02:00
Dimitry Andric
0cf2f7f358 ObsoleteFiles: cleanup old libclang_rt files for powerpc64le
PR:		273776
MFC after:	3 days

(cherry picked from commit cadbf320b3)
2023-09-22 08:33:22 +02:00
Dimitry Andric
f035125408 ObsoleteFiles: cleanup old libclang_rt files for powerpc64
PR:             273776
MFC after:      3 days

(cherry picked from commit b9c012a60b)
2023-09-22 08:32:59 +02:00
John Baldwin
9deb9bca9c ObsoleteFiles.inc: Add libclang_rt libraries for riscv64 for LLVM 14/15.
Reviewed by:	dim
Approved by:	re (gjb)
Differential Revision:	https://reviews.freebsd.org/D41701

(cherry picked from commit 25b58f9a4a)
2023-09-06 20:34:10 -07:00
Kyle Evans
5829e12051 caroot: update the root bundle
Summary:
- Six (6) new roots
- Four (4) distrusted roots

Note that this was intentionally generated with OpenSSL 1.1.1 to avoid
mixing updates and non-functional changes -- there will be some churn
with OpenSSL 3.  The next commit will update the current batch of
trusted certs with the format OpenSSL 3 produces, which I've tested
against OpenSSL 1.1.1 to be sure that that doesn't hurt us in older
branches.

Approved by:	re (kib)

(cherry picked from commit 65fd80909e)
2023-09-05 09:55:02 -05:00
Martin Matuska
f789381671 zfs: merge openzfs/zfs@32949f256 (zfs-2.2-release) into stable/14
Notable upstream pull request merges:
  #15024 Add missed DMU_PROJECTUSED_OBJECT prefetch
  #15029 Do not request data L1 buffers on scan prefetch
  #15036 FreeBSD: catch up to __FreeBSD_version 1400093
  #15039 Fix raw receive with different indirect block size
  #15047 FreeBSD: Fix build on stable/13 after 1302506
  #15049 Fix the ZFS checksum error histograms with larger record sizes
  #15052 Reduce bloat in ereport.fs.zfs.checksum events
  #15056 Avoid extra snprintf() in dsl_deadlist_merge()
  #15061 Ignore pool ashift property during vdev attachment
  #15063 Don't panic if setting vdev properties is unsupported for this
         vdev type
  #15067 spa_min_alloc should be GCD, not min
  #15071 Add explicit prefetches to bpobj_iterate()
  #15072 Adjust prefetch parameters
  #15079 set autotrim default to 'off' everywhere
  #15080 ZIL: Fix config lock deadlock
  #15088 metaslab: tuneable to better control force ganging
  #15096 Avoid waiting in dmu_sync_late_arrival()
  #15097 BRT should return EOPNOTSUPP
  #15103 Remove zl_issuer_lock from zil_suspend()
  #15107 Remove fastwrite mechanism
  #15113 libzfs: sendrecv: send_progress_thread: handle SIGINFO/SIGUSR1
  #15122 ZIL: Second attempt to reduce scope of zl_issuer_lock
  #15129 zpool_vdev_remove() should handle EALREADY error return
  #15132 ZIL: Replay blocks without next block pointer
  #15148 zfs_clone_range should return descriptive error codes
  #15153 ZIL: Avoid dbuf_read() before dmu_sync()
  #15161 Make zoned/jailed zfsprops(7) make more sense
  #15172 copy_file_range: fix fallback when source create on same txg
  #15180 Update outdated assertion from zio_write_compress
  #15216 Relax error reporting in zpool import and zpool split
  #15227 ZIL: Tune some assertions
  #15228 ZIL: Revert zl_lock scope reduction
  #15233 ZIL: Change ZIOs issue order

Obtained from:	OpenZFS
OpenZFS commit:	32949f2560
Approved by:	re (gjb)
2023-09-03 09:15:24 +02:00
Enji Cooper
0c785f0602 Fix GoogleTest 1.14.0 import
- Prune headers and tests no longer installed after the upgrade.
- Remove GoogleTest-related files when MK_GOOGLETEST == no.
- Disable `-Werror` with gcc to unbreak the gcc12 CI run with
  `lib/googletest`. Any issues found by g++ will be filed
  upstream and hopefully resolved in a future version.
- Remove clang -Werror issues which are resolved in version 1.14.0 to
  avoid masking valid issues.

MFC after:	1 week
MFC with:	28f6c2f292
2023-08-18 19:33:58 -07:00
Warner Losh
d0b2dbfa0e Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16 11:55:03 -06:00
Marius Strobl
9cb4ee9a64 man4: Remove stale MLINK to ath_pci.4
Reported by:	Jose Luis Duran
Fixes:	37c8ee8847 ath(4): Remove MIPS AHB frontend and join PCI one w/ main support again
2023-08-09 14:35:25 +02:00
Marius Strobl
76fc279f1b ObsoleteFiles.inc: Correct typo
Fixes:	37c8ee8847 ath(4): Remove MIPS AHB frontend and join PCI one w/ main support again
2023-08-08 22:52:16 +02:00
Marius Strobl
37c8ee8847 ath(4): Remove MIPS AHB frontend and join PCI one w/ main support again
Following the removal of general MIPS support, there's no longer a need
to have the AHB bus-frontend in place, which according to Linux sources
also isn't used with any non-MIPS SoCs. For simplicity, PCI bus support
is only made conditional on the main one again, i. e. device ath_pci is
removed, and built into the main module, i. e. if_ath_pci.ko obsoleted,
respectively.
Effectively, this reverts the following commits and associated changes:
dba9c85977
e849bb3ecb

Approved by:	adrian
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D41354
2023-08-08 22:30:13 +02:00
Jessica Clarke
995d2b3e3b ObsoleteFiles.inc: Don't try and delete /usr/lib32/libdtrace.so.2
OLD_FILES and OLD_LIBS implicitly include the libcompat variant, whereas
MOVED_LIBS exists specifically for files that have moved between /lib
and /usr/lib, and thus don't get a libcompat equivalent.

Reported by:	des
Fixes:		5fd1da4d85 ("ObsoleteFiles.inc: Add an entry for libdtrace.so.2 in /usr/lib")
2023-08-05 07:02:27 +01:00