Skip to content
Snippets Groups Projects
Commit fff0adf0 authored by Goran Mekić's avatar Goran Mekić Committed by Alan Somers
Browse files

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
parent 957da285
No related branches found
No related tags found
No related merge requests found
PORTNAME= libzfs
PORTVERSION= 1.1.2023020700
PORTREVISION= 1
CATEGORIES= filesystems devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= meka@tilda.center
COMMENT= Python libzfs bindings
WWW= https://github.com/freenas/py-libzfs
......@@ -32,4 +33,9 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-zpool-add.patch
IGNORE= requires kernel source files in ${SRC_BASE}
.endif
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES= 0b2ab0594997c44e80e3fdfe9d2add106d81149a.diff:-p1 # backport of https://github.com/truenas/py-libzfs/pull/251
.endif
.include <bsd.port.mk>
TIMESTAMP = 1675808317
TIMESTAMP = 1734977733
SHA256 (truenas-py-libzfs-1.1.2023020700-c1bd4a0_GH0.tar.gz) = 23b2d6e1b6ed78be2d12068f9b1b0b01270afaaf0f017817a5fb109d358aa818
SIZE (truenas-py-libzfs-1.1.2023020700-c1bd4a0_GH0.tar.gz) = 99656
SHA256 (0b2ab0594997c44e80e3fdfe9d2add106d81149a.diff) = 1fb37c3a678dbaadd47999f7d29631824a404561ca5f2237613d2b22b42fa138
SIZE (0b2ab0594997c44e80e3fdfe9d2add106d81149a.diff) = 1453
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment