HomeFreeBSD

devel/py-libzfs: Unbreak FreeBSD <13.1

Description

devel/py-libzfs: Unbreak FreeBSD <13.1

Commits in the previous update fixed incorrect zpool status
handling, but broke the build for older versions of ZFS.

Now, zpool_status_t enumerators are checked at configure time.
This fixes the build for all supported FreeBSD releases and fixes
the incorrect zpool status handling.

  • Check zpool_status_t enumerators at configure time
  • Fix round-tripping ZFSException through pickle
  • Remove zpool_get_physpath

Approved by: lwhsu (implicit)
Sponsored by: iXsystems, Inc.

(cherry picked from commit 19c3e861b7680d7eae1fa65ca94b08201c3ddf5d)

Details

Provenance
freqlabsAuthored on Aug 16 2022, 10:57 AM
Parents
R11:af0a5e4af6e2: net/rsync: Update to 3.2.5
Branches
Unknown
Tags
Unknown