mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 03:16:28 -04:00
FreeBSD 12 doesn't have userobj accounting or project quotas. OpenZFS master has a new flags parameter to many zfs_iter_* functions. Add checks for SPA_FEATURE_* enum values newer than what's in 12.3 and use this info to help generate zfs_userquota_prop_t and spa_feature_t appropriately. Add checks for the number of parameters to various zfs_iter_* functions and wrapper functions ZFS._iterate* to eat the flags. Approved by: lwhsu (implicit) Sponsored by: iXsystems, Inc.
31 lines
665 B
Makefile
31 lines
665 B
Makefile
PORTNAME= libzfs
|
|
PORTVERSION= 1.1.2023020700
|
|
CATEGORIES= devel python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= freqlabs@FreeBSD.org
|
|
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 <bsd.port.options.mk>
|
|
|
|
.if !exists(${SRC_BASE}/sys/Makefile)
|
|
IGNORE= requires kernel source files in ${SRC_BASE}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|