diff --git a/filesystems/py-libzfs/Makefile b/filesystems/py-libzfs/Makefile index 5297e6074fb7..892800055c2c 100644 --- a/filesystems/py-libzfs/Makefile +++ b/filesystems/py-libzfs/Makefile @@ -1,35 +1,41 @@ 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 LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= truenas GH_PROJECT= py-libzfs GH_TAGNAME= c1bd4a0 HAS_CONFIGURE= yes USES= compiler:c11 python USE_PYTHON= autoplist distutils cython CONFIGURE_ENV= freebsd_src=${SRC_BASE} MAKE_ENV= freebsd_src=${SRC_BASE} .include .if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1500018 || (${OSVERSION} >= 1401000 && ${OSVERSION} < 1500000)) EXTRA_PATCHES+= ${FILESDIR}/extra-zpool-add.patch .endif .if !exists(${SRC_BASE}/sys/Makefile) 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 diff --git a/filesystems/py-libzfs/distinfo b/filesystems/py-libzfs/distinfo index 3ae8f5fa9a4d..96872e080854 100644 --- a/filesystems/py-libzfs/distinfo +++ b/filesystems/py-libzfs/distinfo @@ -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