-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
PORTNAME= libzfs | ||
PORTVERSION= 1.1.2023020700 | ||
PORTREVISION= 1 | ||
CATEGORIES= filesystems devel python | ||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||
|
||
MAINTAINER= [email protected] | ||
MAINTAINER= [email protected] | ||
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
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 |