===> The following configuration options are available for openzfs-kmod-2023113000:
DEBUG=on: Build with debugging support
GCOV=off: Build kernel module with GCOV support (Requires gcc)
INVARIANTS=on: Build kernel module with INVARIANTS
===> Use 'make config' to modify these settings
Amend /boot/loader.conf as follows to use this module:
- change zfs_load="YES" to NO
- change opensolaris_load="YES" to NO
- add openzfs_load="YES"
- (for ARM64) add cryptodev_load="YES"
filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities.
It is added mainly to turn the sysutils/fusefs-* pseudo-category into
a proper one, but is also useful for the sundry of other file systems
related ports found in the tree.
Ports that seem like they belong there are moved to the new category.
Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are
not moved as they currently don't fetch and don't have TIMESTAMP set
in their distinfo, but that is required to be able to push a rename
of the port by the pre-receive hook.
Approved by: portmgr (rene)
Reviewed by: mat
Pull Request: https://github.com/freebsd/freebsd-ports/pull/302
PR: 281988
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
Also move conditional flags for non sparc64/arm ARCH to fixed flags.
Reviewed by: brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
sysutils/openzfs, sysutils/openzfs-kmod: update to ZFS 2.2.2
Among other things, this fixes an important data corruption bug. It
also fixes the build on FreeBSD 14.
https://github.com/openzfs/zfs/releases/tag/zfs-2.2.2
PR: 275239
MFH: 2023Q4
Approved by: mikael (ports)
Sponsored-by: Axcient
sysutils/openzfs*: Minor port housekeeping
Update the WWW to the official openzfs/zfs github repo, since the ZoF
repo is no longer used after merging to ZoL and renaming to openzfs/zfs.
While here, make a few small changes suggested by portlint.
Approved by: lwhsu (implicit)
PR: 267453
Sponsored by: iXsystems, Inc.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
sysutils/openzfs-kmod: fix build on powerpc64*
/wrkdirs/usr/ports/sysutils/openzfs-kmod/work/zfs-2d5622f5b/module/icp/algs/blake3/blake3_x86-64.c:78:28:
error: implicit declaration of function 'zfs_vsx_available' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
return (kfpu_allowed() && zfs_vsx_available());
^
/wrkdirs/usr/ports/sysutils/openzfs-kmod/work/zfs-2d5622f5b/module/icp/algs/blake3/blake3_x86-64.c:144:28:
error: implicit declaration of function 'zfs_vsx_available' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
return (kfpu_allowed() && zfs_vsx_available());
cleanup: remove support for FreeBSD 13.0 which expired today.
- Mk/bsd.port.mk: mark 13.0 as unsupported
- Tools/scripts/portsearch: Drop support for FreeBSD <= 4
- archivers/zstd: revert "Fix build on FreeBSD 13.0"
- deskutils/xdg-desktop-portal: remove check for 13.0
- devel/libpeas: remove outdated comment
- editors/imhex: remove compatibility for 13.0
- editors/libreoffice: remove compatibility for 13.0
- editors/openoffice-4: remove compatibility for 13.0
- editors/openoffice-devel: remove compatibility for 13.0
- emulators/linux_base-c7: remove compatiblity for 13.0
- graphics/drm-kmod: remove detection for 13.0
- graphics/gpu-firmware-amd-kmod: do not check 13.0 anymore
- graphics/linux-c7-libdrm: remove support for 13.0
(Only the first 15 lines of the commit message are shown above )
sysutils/openzfs*: Update to latest master
Notable changes:
* openzfs/zfs@2d5622f5b Importing from cachefile can trip assertion
* openzfs/zfs@a582d5299 Updates for snapshots_changed property
* openzfs/zfs@0c4064d9a Fix zpool status in case of unloaded keys
* openzfs/zfs@e713b69e5 arcstat: fix -p option
* openzfs/zfs@fbc210fab Enable relatime by default
* openzfs/zfs@947465b98 libzfs: Remove unused zpool_get_physpath()
* openzfs/zfs@4fc1ea9c6 zpool: fix redundancy check after vdev removal
* openzfs/zfs@673aa7e6c Don't double-zero buffers in fault management nvlists
* openzfs/zfs@9681de465 Add snapshots_changed as property
* openzfs/zfs@68aa3379e Skip checksum benchmarks on systems with slow cpu
* openzfs/zfs@e8cf3a4f7 Implement a new type of zfs receive: corrective receive
(-c)
* openzfs/zfs@3a1ce4914 Add createtxg sort support for simple snapshot iterator
(Only the first 15 lines of the commit message are shown above )
sysutils/openzfs*: Bump to fix build
This updates the ports to bc8192cd5 and fixes the sysutils/openzfs
build after openzfs/zfs#13316 overhauled the build system.
The update also fixes the sysutils/openzfs-kmod build errors for
unused-but-set-variable warnings, which have been corrected upstream.
Approved by: lwhsu (implicit)
Sponsored by: iXsystems, Inc.
sysutils/openzfs*: Bump to latest master
Notable commits:
2e160dee9 Fix assert in FreeBSD-specific dmu_read_pages
3e73ea0c1 ZTS: zpool_trim_start_and_cancel_pos.ksh
03ef8f09e Add missing checks for unsupported features
8e43fa12c Fix vdev_rebuild_thread deadlock
75a089ed3 Fix overly broad locking in spa_vdev_config_exit()
f01eaed45 Add upper bound for slop space calculation
515686296 Wrap bare EINVAL returns with SET_ERROR
94fa1c3d9 Force symlink creation for zpool.d compat links
b9c07ec71 send_iterate_snap : doall send without fromsnap
9312e0fd1 Fix error message when zfs module are already unloaded
11f2e9a49 vdev_ops: don't try to call vdev_op_hold or vdev_op_rele when NULL
(Only the first 15 lines of the commit message are shown above )
sysutils/openzfs*: Bump to fix build on HEAD
Reviewed by: wg
Approved by: wg (ports)
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D28335
sysutils/openzfs*: Bump, fix kmod on 13-CURRENT
When the kernel is built with INVARIANTS we also need to build ZFS
with INVARIANTS. Additionally, the knob for this has been broken out
from WITH_DEBUG=true to WITH_INVARIANTS=true in the OpenZFS build
system. We add an INVARIANTS option to the port for this, and enable
the DEBUG and INVARIANTS options by default on 13-CURRENT to ensure
that a default configuration builds openzfs-kmod with the correct
options.
Users building their 13-CURRENT kernel without INVARIANTS will need to
disable the INVARIANTS option in the port manually. I'm not aware of a
better way to implement this decision at the moment.
Reviewed by: wg
Approved by: wg (ports)
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D27442
sysutils/openzfs*: Bump to catch up with 1300123
* 5c810ac49 FreeBSD: Skip RAW kstat sysctls by default
* 01a65c586 FreeBSD: catch up with 1300123 version bump
* 3928ec533 Restore identification of VDEVs using non-native block size
* 1e36af8c7 Properly format NAME subsection of zfs/zpool subcommands
* eb02a4c6f Add missing zfs_arc_evict_batch_limit tunable
* 2aaab887b arcstat: Add -a and -p options from FreeNAS
* e53d678d4 Share zfs_fsync, zfs_read, zfs_write, et al between Linux and
FreeBSD
* 666aa69f3 Non-l2arc pool reads shouldn't be l2arc misses
* 241c62bdd Makefile.bsd: remove directory that no longer exists
* ff2f54246 FreeBSD: delete unreferenced file
* 777b8ccc3 Fix commitcheck on FreeBSD
* 13d65987a zed syslog entries drop important info
* ab6a0e236 Ignore zpool_influxdb binary
Reviewed by: wg
Approved by: wg (ports)
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D26968
sysutils/openzfs*: Bump for vop_fplookup_vexec after 1300121
Otherwise lookup can fail with EOPNOTSUPP or panic.
Reviewed by: wg
Approved by: wg (ports)
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D26822
sysutils/openzfs*: Update to fix 12.1-REL build
Bump to 79f0935fa for header changes to fix the package build on FreeBSD 12.1
PR: ports/250001
Reported by: tleavitt@alumni.usc.edu
Reviewed by: wg
Approved by: wg (ports)
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D26656
sysutils/openzfs*: Bump to update cache_purgevfs usage after 1300117
Fixes build failure on 13-CURRENT
Reviewed by: wg
Approved by: wg (ports)
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D26583
sysutils/openzfs*: Bump for recent changes
See the differential revision for a short log of noteworthy changes or
the git log at https://github.com/openzfs/zfs for an exhaustive list.
Reviewed by: wg
Approved by: wg (ports)
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D26457
openzfs*: Bump OpenZFS ports for zstd, vdev ashift optimizations
And the manpages no longer say "Linux" as the OS. :)
Reviewed by: wg
Approved by: wg (ports)
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D26154
openzfs*: Bump OpenZFS ports
FreeBSD highlights:
* Fix enforcement of POSIX mode bits
* Fix enforcement of NFSv4 ACLs
* Fix Clang 11 build for 13-CURRENT
* Fix send/recv operations with a large number of snapshots/datasets
* Default to autotrim=on (fixes POLA)
* Automatic fallback to /boot/ to look for zpool.cache (fixes POLA)
* Fix l2arc_dev_rebuild_start thread name
* Create taskq threads in appropriate proc
* Restore ARC MFU/MRU pressure
VuXML will be updated to mention the permissions/ACLs issue once a
report documenting the issue appropriately has been written.
Reviewed by: wg
Approved by: wg (ports)
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D26107
sysutils/openzfs-kmod: fix the build with a nonstandard SRC_BASE
ports that need FreeBSD's src code should check $SRC_BASE rather than assume
/usr/src. For example, it should be possible to build openzfs-kmod with a
command like this:
env SRC_BASE=$HOME/freebsd/base/head make
Approved by: freqlabs (maintainer)
MFH: 2020Q3
Sponsored by: Axcient
Differential Revision: https://reviews.freebsd.org/D26033
openzfs*: Bump OpenZFS ports
Fixes build after vaccess signature change on HEAD
Reviewed by: wg
Approved by: wg (ports)
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D26007
openzfs*: Update to latest master
Brings in several fixes for FreeBSD issues, see the commit logs
on GitHub for details.
Reviewed by: wg
Approved by: wg (ports)
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D25915
openzfs*: Bump OpenZFS ports
Key highlight is added legacy compat names for vfs.zfs.arc_min and arc_max.
Reviewed by: wg
Approved by: wg (ports)
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D25748
openzfs*: Bump to latest master
Some FreeBSD highlights:
* Adopt new vfs_checkexp KPI on -CURRENT
* Reap ABD cache, fixing memory leak
* Depend on xdr module instead of krpc on -CURRENT
Reviewed by: wg (ports)
Approved by: mav (mentor)
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D25352
openzfs*: Update to latest master
Some highlights for FreeBSD:
* Updated for cryptodev API changes in HEAD
* Improved zvol locking
* Fixed top and arc kstats
* Marked i386 as broken
Reviewed by: mav, wg
Approved by: mav (mentor), wg (ports)
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D25122
sysutils/openzfs*: Update to latest master
FreeBSD-specific changes:
Use new FreeBSD API to largely eliminate object locking
Fix zlib leak on FreeBSD
Update FreeBSD SPL atomics (synced with FreeBSD in an attempt to unbreak i386)
Avoid the GEOM topology lock recursion when autoexpanding a pool
taskq: Don't leak system_delay_taskq on FreeBSD (on module unload)
See the full commit log on GitHub.
Reviewed by: mav, wg
Approved by: mav (mentor), wg (ports)
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D24759
sysutils/openzfs*: Switch to merged OpenZFS repo
FreeBSD support has been merged into the openzfs/zfs repo on Github.
Switch the port to use the new upstream. Update maintainer to be me.
Reviewed by: kmoore, mav, wg
Approved by: kmoore (maintainer)
Approved by: mav (mentor)
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D24434
Update OpenZFS ports to 2020031600
Bring in the latest fixes, including fixing the build with Clang 10.
Approved by: wg (ports)
Approved by: mav (mentor)
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D24086
Mark BROKEN: fails to build
/wrkdirs/usr/ports/sysutils/openzfs-kmod/work/ZoF-5ccfc14/module/os/freebsd/zfs/zfs_dir.c:813:22:
error: too many arguments to function call, expected 0, have 1
getnewvnode_reserve(1);
Reported by: pkg-fallout
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330