notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
FreshPorts needs to find a new hosting provide willing to take a 2U chassis and host it free of charge. This is part of the FreshPorts project. Preferably in the Austin area. This is not a primary server, but it used for development.
Port details
py-libzfs Python libzfs bindings
1.1.2022071900 devel on this many watch lists=2 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 Version of this port present on the latest quarterly branch.
Ignore IGNORE: requires kernel source files in /usr/src
Maintainer: freqlabs@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2015-06-23 22:54:33
Last Update: 2022-07-20 14:21:35
Commit Hash: aa6eefd
People watching this port, also watch:: font-bh-lucidatypewriter-100dpi, desktop-file-utils, py39-pycparser, font-misc-meltho, libraw
Also Listed In: python
License: BSD2CLAUSE
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}libzfs>0:devel/py-libzfs@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-libzfs/ && make install clean
A package is not available for ports marked as:
Forbidden / Broken / Ignore / Restricted
PKGNAME: py39-libzfs
Package flavors (<flavor>: <package>)
  • py39: py39-libzfs
distinfo:
Packages (timestamps in pop-ups are UTC):
py27-libzfs
ABIlatestquarterly
FreeBSD:11:aarch641.0.201712151.0.20191113
FreeBSD:11:amd64--
FreeBSD:11:armv61.0_51.0.20191113
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips641.0_5-
FreeBSD:12:aarch641.0.20181003-
FreeBSD:12:amd64--
FreeBSD:12:armv61.0.201810031.0.2020090900
FreeBSD:12:armv71.0.201810031.0.2020090900
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:13:riscv64--
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
FreeBSD:14:riscv64--
 
py36-libzfs
ABIlatestquarterly
FreeBSD:11:aarch641.0.20171215-
FreeBSD:11:amd64--
FreeBSD:11:armv6--
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch641.0.20181003-
FreeBSD:12:amd64--
FreeBSD:12:armv61.0.20181003-
FreeBSD:12:armv71.0.20181003-
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:13:riscv64--
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
FreeBSD:14:riscv64--
 
py37-libzfs
ABIlatestquarterly
FreeBSD:11:aarch64-1.0.20191113
FreeBSD:11:amd64--
FreeBSD:11:armv6-1.0.20191113
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64--
FreeBSD:12:amd64--
FreeBSD:12:armv6-1.0.2020090900
FreeBSD:12:armv7-1.0.2020090900
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-1.0.2020090900
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv61.0.2020090900-
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc641.0.2020090900-
FreeBSD:13:riscv64--
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc641.0.2020090900-
FreeBSD:14:riscv64--
 
py38-libzfs
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd641.1.20210908001.0.2020090900
FreeBSD:11:armv6--
FreeBSD:11:i3861.1.20210908001.0.2020090900
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64--
FreeBSD:12:amd64--
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64-1.0.2020090900
FreeBSD:13:riscv64--
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
FreeBSD:14:riscv641.1.2021100100-
 
py39-libzfs
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd64--
FreeBSD:11:armv6--
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-1.1.2022060900
FreeBSD:12:amd64-1.1.2022060900
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i386-1.1.2022060900
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64-1.1.2022060900
FreeBSD:13:amd64-1.1.2022060900
FreeBSD:13:armv6-1.1.2022060900
FreeBSD:13:armv7-1.1.2022060900
FreeBSD:13:i386-1.1.2022060900
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:13:riscv64-1.1.2022060900
FreeBSD:14:aarch641.1.2022071900-
FreeBSD:14:amd641.1.2022071900-
FreeBSD:14:armv61.1.2022071900-
FreeBSD:14:armv71.1.2022071900-
FreeBSD:14:i3861.1.2022071900-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
FreeBSD:14:riscv64--
 

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

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. devel/py-libiocage*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/truenas/py-libzfs/tar.gz/18fc26c?dummy=/
Collapse this list.

Number of commits found: 46

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
20 Jul 2022 14:21:35
 files touched by this commit commit hash:aa6eefd5e663357e8223399bc38c7987f5e35746  1.1.2022071900
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
19 Jul 2022 14:28:55
 files touched by this commit commit hash:51e0dba74499e88c49cca70424ffb14965090762  1.1.2022071900
Ryan Moeller (freqlabs) search for other commits by this committer
devel/py-libzfs: Bump for recent changes

- Add libzfs_error_action() message to libzfs exception descriptions
- Properly handle ZPOOL_STATUS_INCOMPATIBLE_FEAT
- Remove HAVE_ZPOOL_STATUS_NON_NATIVE_ASHIFT
- Fix attribute error for pool status
- Fix exception when lzc_sync fails
- Raise OSError if lzc_wait fails

Approved by:	lwhsu (implicit)
Sponsored by:	iXsystems, Inc.
09 Jun 2022 20:47:30
 files touched by this commit commit hash:5903d483038d0195ac4d2c07bb2563cb9fecfd4e  1.1.2022060900
Ryan Moeller (freqlabs) search for other commits by this committer
devel/py-libzfs: Bump to fix the build

- Fix build with master branch of OpenZFS
- Fix transfering clones from FreeBSD 12
- Fix scrub/resilver percentage and time remaining
- Allow validating zfs resource names
- Store cython-generated libzfs file for debugging
- Add information about where properties are inherited from
- Allow listing snapshots for ZFS volumes
- Return ZFS vdev name
- Add option to enable shares on pool import
- Remove HAVE_ZFS_ITER_SNAPSHOTS usages as we don't support old zfs versions
anymore
- Allow using min/max txg for listing down snapshots

Approved by:	lwhsu (implicit)
Sponsored by:	iXsystems, Inc.
14 Feb 2022 16:31:52
 files touched by this commit commit hash:546ae71b90520b33947513e5fceab78cd511ebc8  1.1.2022021400
Ryan Moeller (freqlabs) search for other commits by this committer
devel/py-libzfs: Fix various memory leaks

Several instances of handles not being closed after use have been fixed.

Approved by:	lwhsu (implicit)
Sponsored by:	iXsystems, Inc.
16 Oct 2021 09:51:39
 files touched by this commit commit hash:4460cf727a7788c9ce21f3344ce5745e5cd9fc4a  1.1.2021100100
Jimmy Olgeni (olgeni) search for other commits by this committer
*: fix tab vs. space issues, and comments according to the guide.
01 Oct 2021 16:46:19
 files touched by this commit commit hash:63a23cd02cc10257d5141dfdd52bd3b61de7fbd4  1.1.2021100100
Ryan Moeller (freqlabs) search for other commits by this committer
devel/py-libzfs: Avoid fallthrough macro conflict

Fixes build failure with recent OpenZFS.

Approved by:	lwhsu (implicit)
Reported by:	arrowd
Sponsored by:	iXsystems, Inc.
08 Sep 2021 14:18:04
 files touched by this commit commit hash:667055343ce837193f29bc34324585ffd5dff080  1.1.2021090800
Ryan Moeller (freqlabs) search for other commits by this committer
devel/py-libzfs: Bump to pull in latest changes

- Fix KeyError in __getstate__ with faulted pool
- Allow deleting snapshots by defining ranges of snapshots for a dataset
- Allow using zfs_prop_set_list for updating dataset properties

Approved by:	lwhsu (implicit)
Sponsored by:	iXsystems, Inc.
03 Aug 2021 14:15:14
 files touched by this commit commit hash:7f01a506fe9d84e403ac0cc66a6de464c8b51234  1.1.2021080301
Ryan Moeller (freqlabs) search for other commits by this committer
devel/py-libzfs: Fix lzc_wait and lzc_sync detection

A typo in the configure script caused detection of these functions to
always fail.  The build succeeds, but the configuration is incorrect.

While here, python:3.6+ is always the case since 3.6 is the lowest
version supported in the ports tree now.

Reviewed by:	lwhsu
Approved by:	lwhsu (ports)
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D31396
03 Aug 2021 10:22:21
 files touched by this commit commit hash:2e959732e90d5a01c90f8eee69b01a0d87797e0e  1.1.2021080300
Ryan Moeller (freqlabs) search for other commits by this committer
devel/py-libzfs: Update GH_ACCOUNT, fix build on legacy ZFS

Make lzc_wait conditional on support in ZFS, since it is a relatively
recent addition.

While here, update GH_ACCOUNT to truenas as suggested by diizzy.

Reviewed by:	kbowling
Approved by:	kbowling (ports)
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D31394
02 Aug 2021 13:25:10
 files touched by this commit commit hash:25902949f110b4fa9816100d945a60fb4102cf9e  1.1.2021073000
Ryan Moeller (freqlabs) search for other commits by this committer
devel/py-libzfs: Bump to version 1.1

Reviewed by:	kbowling
Approved by:	kbowling (ports)
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D31361
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  1.0.2020090900
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
10 Jan 2021 14:05:33
Original commit files touched by this commit Revision:561070  1.0.2020090900
rene search for other commits by this committer
Remove empty PY_ENUM34 from ports using Python 3.6+
28 Dec 2020 23:02:15
Original commit files touched by this commit Revision:559531  1.0.2020090900
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
09 Sep 2020 16:02:56
Original commit files touched by this commit Revision:548105  1.0.2020090900
freqlabs search for other commits by this committer
devel/py-libzfs: Take over as maintainer, bump for OpenZFS in base

Taking over as maintainer by request of wg@

Reviewed by:	kevans, wg
Approved by:	wg (ports)
Approved by:	wg (maintainer)
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D26325
20 Jan 2020 20:33:27
Original commit files touched by this commit Revision:523689  1.0.20191113
pkubaj search for other commits by this committer
devel/py-libzfs: fix build on GCC architectures

Builds fine with GCC9.

MFH:		2020Q1 (fix build blanket)
13 Jan 2020 14:34:13
Original commit files touched by this commit Revision:522895  1.0.20191113
asomers search for other commits by this committer
devel/py-libzfs: fix build with nonstandard SRC_BASE after r520716

Upstream git rev d801c5f59f20a1889a4e4c6366c9d12f2ee50b2f changed the name
of the env variable used to indicate the location of the FreeBSD source
tree.

CC @sonicaj

Approved by:	wg (maintainer)
MFH:		2020Q1
Sponsored by:	Axcient
Differential Revision:	https://reviews.freebsd.org/D23126
10 Jan 2020 12:40:31
Original commit files touched by this commit Revision:522566  1.0.20191113
pkubaj search for other commits by this committer
devel/py-libzfs: unbreak on powerpc64 elfv2

Builds fine.
23 Dec 2019 12:54:12
Original commit files touched by this commit Revision:520716  1.0.20191113
wg search for other commits by this committer
devel/py-libzfs: update to 1.0.20191113

PR:		242453
Reported by:	Juraj Lutter
22 Oct 2019 15:40:27
Original commit files touched by this commit Revision:515201  1.0.20181220
asomers search for other commits by this committer
devel/py-libzfs: fix build with nonstandard FreeBSD src dir

The current version of py-libzfs requires FREEBSD_SRC to be set during the
configure phase as well as during the build phase.

Approved by:	wg (maintainer)
Reviewed by:	wg
MFH:		2019Q4
Sponsored by:	Axcient
Differential Revision:	https://svnweb.freebsd.org/ports/branches/2019Q4/
20 Dec 2018 18:02:58
Original commit files touched by this commit Revision:487896  1.0.20181220
wg search for other commits by this committer
devel/py-libzfs: update to 1.0.20181220
13 Dec 2018 15:18:00
Original commit files touched by this commit Revision:487371  1.0.20181212
wg search for other commits by this committer
devel/py-libzfs: update to 1.0.20181212
12 Oct 2018 13:21:31
Original commit files touched by this commit Revision:481901  1.0.20181003
tobik search for other commits by this committer
devel/py-libzfs: Fix build on systems that are missing the /sys symlink

SRC_BASE is defined in bsd.port.mk and cannot be used in conditionals
earlier.

PR:		226858
Reported by:	skh1002@hotmail.com
Approved by:	wg (maintainer timeout, 6 months)
04 Oct 2018 13:11:09
Original commit files touched by this commit Revision:481220  1.0.20181003
wg search for other commits by this committer
devel/py-libzfs: update to 20181003
02 Jul 2018 00:47:14
Original commit files touched by this commit Revision:473692  1.0.20171215
linimon search for other commits by this committer
Mark various ports broken on mips64 and, where appropriate, mips.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
26 Feb 2018 22:31:46
Original commit files touched by this commit Revision:463077  1.0.20171215
sunpoet search for other commits by this committer
Simplify Makefile: use PY_ENUM34

With hat:	python
15 Dec 2017 18:36:40
Original commit files touched by this commit Revision:456413  1.0.20171215
wg search for other commits by this committer
dedvel/py-libzfs: fix build on 11-stable
30 Nov 2017 15:50:34
Original commit files touched by this commit Revision:455210  1.0.20171027  Sanity Test Failure
mat search for other commits by this committer
Convert Python ports to FLAVORS.

  Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
27 Oct 2017 15:58:02
Original commit files touched by this commit Revision:453009  1.0.20171027
wg search for other commits by this committer
devel/py-libzfs: update to 1.0.20171027
09 Oct 2017 17:35:03
Original commit files touched by this commit Revision:451627  1.0.20171009
wg search for other commits by this committer
devel/py-libzfs: fix build on HEAD

PR:		222679
16 Aug 2017 01:38:07
Original commit files touched by this commit Revision:448020  1.0.20170814
araujo search for other commits by this committer
Update to 11.0-U3.

Approved by:	wg (maintainer)
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D12032
06 Jun 2017 16:13:21
Original commit files touched by this commit Revision:442781  1.0.20170606
wg search for other commits by this committer
devel/py-libzfs: fix build on CURRENT

Reported by:	woodsb02
Differential Revision:	D11037
26 May 2017 19:42:35
Original commit files touched by this commit Revision:441811  1.0.20170525
wg search for other commits by this committer
devel/py-libzfs: update to 1.0.20170525
13 May 2017 03:35:51
Original commit files touched by this commit Revision:440746  1.0.20170319
linimon search for other commits by this committer
Mark some ports failing on power64.  In cases where the error message
was a stub, provide a real one.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
22 Mar 2017 19:30:12
Original commit files touched by this commit Revision:436722  1.0.20170319
antoine search for other commits by this committer
Fix PKGNAME collison between lang/cython and lang/cython3
22 Mar 2017 12:50:09
Original commit files touched by this commit Revision:436696  1.0.20170319
araujo search for other commits by this committer
Forgotten to remove BUILD_DEPENDS on my latest commit.

Pintyhat to:	myself
Approved by:	wg@ (maintainer implicit)
22 Mar 2017 12:26:51
Original commit files touched by this commit Revision:436694  1.0.20170319
araujo search for other commits by this committer
Create a python3 version of devel/py-libzfs.

Approved by:	wg@ (maintainer)
21 Mar 2017 15:46:42
Original commit files touched by this commit Revision:436612  1.0.20170319
wg search for other commits by this committer
devel/py-libzfs: update to 1.0.20170319
03 Jan 2017 11:01:06
Original commit files touched by this commit Revision:430454  1.0_5  Sanity Test Failure
mat search for other commits by this committer
Cleanup BROKEN/IGNORE for 10.3-

Sponsored by:	Absolight
20 Apr 2016 12:07:28
Original commit files touched by this commit Revision:413682  1.0_5
wg search for other commits by this committer
devel/py-libzfs: update to latest revision
01 Apr 2016 14:00:57
Original commit files touched by this commit Revision:412346  1.0_4
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
17 Nov 2015 15:30:04
Original commit files touched by this commit Revision:401817  1.0_4
wg search for other commits by this committer
devel/py-libzfs: at least 10.2 is required for this port
10 Nov 2015 23:01:33
Original commit files touched by this commit Revision:401220  1.0_4
wg search for other commits by this committer
devel/py-libzfs: update to latest
29 Jul 2015 12:48:13
Original commit files touched by this commit Revision:393156  1.0_3
wg search for other commits by this committer
devel/py-libzfs: update to lastest revision
01 Jul 2015 15:55:41
Original commit files touched by this commit Revision:391076  1.0_2
wg search for other commits by this committer
devel/py-libzfs: include support for dataset user properties

Submitted by:	bapt
25 Jun 2015 19:44:36
Original commit files touched by this commit Revision:390594  1.0_1
wg search for other commits by this committer
devel/py-libzfs: add missing run dependency

Reported by:	rm
23 Jun 2015 22:54:22
Original commit files touched by this commit Revision:390466  1.0
wg search for other commits by this committer
devel/py-libzfs: Python libzfs bindings using cython.

WWW: https://github.com/freenas/py-libzfs

Number of commits found: 46