notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details
py-libzfs Python libzfs bindings
2.0.1 filesystems on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.0.1Version of this port present on the latest quarterly branch.
Ignore IGNORE: requires kernel source files in /usr/src
Maintainer: asomers@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-11-07 19:52:55
Last Update: 2026-06-29 18:32:31
Commit Hash: 638ebd4
Also Listed In: devel python
License: BSD2CLAUSE
WWW:
https://github.com/asomers/py-libzfs
Description:
Python libzfs bindings using cython.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}libzfs>0:filesystems/py-libzfs@${PY_FLAVOR}
To install the port:
cd /usr/ports/filesystems/py-libzfs/ && make install clean
We doubt a package is available for this port because we see it marked as as:
  • Ignore
Packages are normally not provided for ports that are marked as above.
To add the package, run one of these commands:
  • pkg install filesystems/py-libzfs
  • pkg install py312-libzfs
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-libzfs listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-libzfs
Package flavors (<flavor>: <package>)
  • py312: py312-libzfs
distinfo:
TIMESTAMP = 1782756163 SHA256 (asomers-py-libzfs-v2.0.1_GH0.tar.gz) = 15af7ab1bda567e621ec414a569514ad925b0b0f045f74eb0c7258d50496c93b SIZE (asomers-py-libzfs-v2.0.1_GH0.tar.gz) = 99113

Packages (timestamps in pop-ups are UTC):
py311-libzfs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.1.2023020700_41.1.2023020700_4-1.1.2023020700_21.1.2023020700_4n/an/an/a
FreeBSD:13:quarterly1.1.2023020700_41.1.2023020700_4-1.1.2023020700_21.1.2023020700_4n/an/an/a
FreeBSD:14:latest---1.1.2023020700_2----
FreeBSD:14:quarterly1.1.2023020700_41.1.2023020700_4-1.1.2023020700_21.1.2023020700_4---
FreeBSD:15:latest--n/a-n/an/a--
FreeBSD:15:quarterly1.1.2023020700_41.1.2023020700_4n/a-n/an/a--
FreeBSD:16:latest2.0.0-n/a-n/an/a--
 

py312-libzfs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest2.0.02.0.0--2.0.1---
FreeBSD:14:quarterly--------
FreeBSD:15:latest2.0.02.0.1n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest-2.0.1n/a-n/an/a--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-cython>=3.2.4 : lang/cython@py312
  2. py312-setuptools>=63.1.0 : devel/py-setuptools@py312
  3. python3.12 : lang/python312
Test dependencies:
  1. python3.12 : lang/python312
Runtime dependencies:
  1. python3.12 : lang/python312
This port is required by:
for Run
  1. devel/py-libioc
  2. filesystems/py-prometheus-zfs
  3. sysutils/iocage-devel

Configuration Options:
No options to configure
Options name:
filesystems_py-libzfs
USES:
compiler:c11 python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/asomers/py-libzfs/tar.gz/v2.0.1?dummy=/
Collapse this list.
Port Moves
  • port moved here from devel/py-libzfs on 2024-11-06
    REASON: Moved to new category filesystems

Number of commits found: 12

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.0.1
29 Jun 2026 18:32:31
commit hash: 638ebd4decbd8d38240394cf7c9eb1352de1f024commit hash: 638ebd4decbd8d38240394cf7c9eb1352de1f024commit hash: 638ebd4decbd8d38240394cf7c9eb1352de1f024commit hash: 638ebd4decbd8d38240394cf7c9eb1352de1f024 files touched by this commit
Alan Somers (asomers) search for other commits by this committer
filesystems/py-libzfs: v2.0.1

This fixes a bug with the ZFSVdev.Replace method.

https://github.com/asomers/py-libzfs/releases/tag/v2.0.1

Sponsored by:	ConnectWise
2.0.0
27 May 2026 17:44:14
commit hash: ab895c97828bad3757d6cfadca7daa22d8a19f99commit hash: ab895c97828bad3757d6cfadca7daa22d8a19f99commit hash: ab895c97828bad3757d6cfadca7daa22d8a19f99commit hash: ab895c97828bad3757d6cfadca7daa22d8a19f99 files touched by this commit
Alan Somers (asomers) search for other commits by this committer
filesystems/py-libzfs: 2.0.0

Truenas has abandoned this project.  I've made a personal fork and
applied various fixes there.  Switch the port to point at my fork.

https://github.com/asomers/py-libzfs/blob/master/CHANGELOG.md

Sponsored by:	ConnectWise
Reviewed by:	arrowd
Approved by:	ports (arrowd)
Differential Revision: https://reviews.freebsd.org/D57277
1.1.2023020700_4
07 May 2026 21:47:29
commit hash: 2a7c0561200c6cf9d0c0252cd4a7ab446eca8e4acommit hash: 2a7c0561200c6cf9d0c0252cd4a7ab446eca8e4acommit hash: 2a7c0561200c6cf9d0c0252cd4a7ab446eca8e4acommit hash: 2a7c0561200c6cf9d0c0252cd4a7ab446eca8e4a files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: drop support for FreeBSD 13, mips and risc64sf

Reviewed by:            many (*)
Differential Revision:  https://reviews.freebsd.org/D55624
Differential Revision:  https://reviews.freebsd.org/D55642 (merged in from bofh)

many (*)
  acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga
  jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka
  nobutaka pkubaj se tagattie thj

  Anton Saietskii
  GenericRikka
  Gert Doering
  Jan Bramkamp
  Oleh Hushchenkov
  Oleksandr Kryvulia
  Ralf van der Enden
  Yamagi

  desktop kde python tcltk office
1.1.2023020700_4
19 Mar 2026 16:46:44
commit hash: 026e198d178474486d9cf683695c2b557752eb12commit hash: 026e198d178474486d9cf683695c2b557752eb12commit hash: 026e198d178474486d9cf683695c2b557752eb12commit hash: 026e198d178474486d9cf683695c2b557752eb12 files touched by this commit
Alan Somers (asomers) search for other commits by this committer
filesystems/py-libzfs: patch collections.Sequence import error

In Python 3.10 collections.Sequence module was moved into the
collections.abc.Sequence module, but nvpair.pxi is still using the old
path.

This patch fixes the import and also keeps backwards compatibility with
<=py3.9.

While I'm here, clean up the Makefile's style, and take maintainership.

PR:		293920
Approved by:	Goran Mekić (maintainer)
Sponsored by:	ConnectWise
Reported by:	js
1.1.2023020700_3
18 Mar 2026 13:52:38
commit hash: f274d1ecd24e8639e6cbaefddae679887d146756commit hash: f274d1ecd24e8639e6cbaefddae679887d146756commit hash: f274d1ecd24e8639e6cbaefddae679887d146756commit hash: f274d1ecd24e8639e6cbaefddae679887d146756 files touched by this commit
Alan Somers (asomers) search for other commits by this committer
filesystems/py-libzfs: fix WWW

Upstream has relocated.

PR:		284149
Submitted by:	ax61@disroot.org
Approved by:	Goran Mekić <meka@tilda.center> (maintainer)
1.1.2023020700_3
15 Jan 2026 11:54:07
commit hash: b6e8968a67196dce482f90319c9924cd3c7d383ecommit hash: b6e8968a67196dce482f90319c9924cd3c7d383ecommit hash: b6e8968a67196dce482f90319c9924cd3c7d383ecommit hash: b6e8968a67196dce482f90319c9924cd3c7d383e files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
filesystems/py-libzfs: Change USE_PYTHON from cython to cython0

PR:		291778
1.1.2023020700_3
22 Dec 2025 21:27:23
commit hash: 28c3a79a6e9dffa203b5f2008c8f5a27fdf7a797commit hash: 28c3a79a6e9dffa203b5f2008c8f5a27fdf7a797commit hash: 28c3a79a6e9dffa203b5f2008c8f5a27fdf7a797commit hash: 28c3a79a6e9dffa203b5f2008c8f5a27fdf7a797 files touched by this commit
Alan Somers (asomers) search for other commits by this committer
filesystems:py-libzfs: fix the build on FreeBSD 16

freebsd-src recently removed ZFS's libuutil[^1].  Patch py-libzfs so it
won't attempt to link to that library on FreeBSD 16.

[^1]: https://cgit.freebsd.org/src/commit/?id=66e85755595

Sponsored by:	ConnectWise
PR:		291530
Approved by:	brd (ports)
1.1.2023020700_2
06 Dec 2025 15:26:58
commit hash: f3f63d8635c962ae38191a4774df55790e18946ecommit hash: f3f63d8635c962ae38191a4774df55790e18946ecommit hash: f3f63d8635c962ae38191a4774df55790e18946ecommit hash: f3f63d8635c962ae38191a4774df55790e18946e files touched by this commit
Alan Somers (asomers) search for other commits by this committer
filesystems/py-libzfs: fix the build on FreeBSD 15

There were two problems:

* Needed to backport a newer py-libzfs PR due to a libzfs API change
* Since 15.0 is now released, its OSVERSION reset to 1500000

PR:		291393
Sponsored by:	ConnectWise
Approved by:	Goran Mekić <meka@tilda.center> (maintainer)
MFH:		2025Q4
1.1.2023020700_2
08 Mar 2025 04:05:21
commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
1.1.2023020700_1
24 Dec 2024 18:14:06
commit hash: fff0adf0ea22271dc2fdd6125ff883629829325acommit hash: fff0adf0ea22271dc2fdd6125ff883629829325acommit hash: fff0adf0ea22271dc2fdd6125ff883629829325acommit hash: fff0adf0ea22271dc2fdd6125ff883629829325a files touched by this commit
Alan Somers (asomers) search for other commits by this committer
Author: Goran Mekić
filesystems/py-libzfs: Fix support for 14.0+

The ZFS on 14.0 changed to include skipped bytes in the percentage of
resilver. As old code didn't take into account that variable on 14.0+,
the percentage was always wrong.

Also, take maintainership.

PR:		283522
Reviewed by:	asomers
Approved by:	lwhsu (ports)
Sponsored by:	ConnectWise
1.1.2023020700
12 Nov 2024 14:42:14
commit hash: e23491925df343abb49f1ba7c9a45befe1affe70commit hash: e23491925df343abb49f1ba7c9a45befe1affe70commit hash: e23491925df343abb49f1ba7c9a45befe1affe70commit hash: e23491925df343abb49f1ba7c9a45befe1affe70 files touched by this commit
Ryan Steinmetz (zi) search for other commits by this committer
*/*: Reset MAINTAINER for freqlabs ports due to fatal email bounces for multiple
months
1.1.2023020700
06 Nov 2024 15:17:35
commit hash: 6e2da9672f79f44048d597f0f61e4646cdeade9dcommit hash: 6e2da9672f79f44048d597f0f61e4646cdeade9dcommit hash: 6e2da9672f79f44048d597f0f61e4646cdeade9dcommit hash: 6e2da9672f79f44048d597f0f61e4646cdeade9d files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
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

Number of commits found: 12