Re: git: a40a51f0424b - main - sysutils/py-zfsstat: Add OpenZFS python tools

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Wed, 04 Nov 2026 14:11:32 UTC
Hi,

Why not pull these from GitHub (you can even pull these raw if you don't 
want to pull the complete repo) instead of hosting in tree which is less 
than ideal?
See https://cgit.freebsd.org/ports/tree/shells/bash-completion-zfs/Makefile

Best regards,
Daniel

On 2026-11-04 14:13, Bernard Spil wrote:
> The branch main has been updated by brnrd:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=a40a51f0424b40166578f022c5a3a9bd7a34d336
>
> commit a40a51f0424b40166578f022c5a3a9bd7a34d336
> Author:     Bernard Spil <brnrd@FreeBSD.org>
> AuthorDate: 2026-11-04 13:11:21 +0000
> Commit:     Bernard Spil <brnrd@FreeBSD.org>
> CommitDate: 2026-11-04 13:13:12 +0000
>
>      sysutils/py-zfsstat: Add OpenZFS python tools
>      
>      For OpenZFS Mastery book.
>      Anyone that has more stake in this, please take
>      ownership.
>      
>      See https://io.mwl.io/@mwl/117555657357834894
>      
>      Requested by:   Michael W. Lucas <@mwl@io.mwl.io>
> ---
>   sysutils/Makefile                     |    1 +
>   sysutils/py-zfsstat/Makefile          |   54 ++
>   sysutils/py-zfsstat/pkg-descr         |    3 +
>   sysutils/py-zfsstat/src/dbufstat.1    |  233 +++++++
>   sysutils/py-zfsstat/src/dbufstat.in   |  687 +++++++++++++++++++++
>   sysutils/py-zfsstat/src/zarcstat.1    |  427 +++++++++++++
>   sysutils/py-zfsstat/src/zarcstat.in   |  805 ++++++++++++++++++++++++
>   sysutils/py-zfsstat/src/zarcsummary   | 1076 +++++++++++++++++++++++++++++++++
>   sysutils/py-zfsstat/src/zarcsummary.1 |  179 ++++++
>   sysutils/py-zfsstat/src/zilstat.1     |  180 ++++++
>   sysutils/py-zfsstat/src/zilstat.in    |  556 +++++++++++++++++
>   11 files changed, 4201 insertions(+)
>
> diff --git a/sysutils/Makefile b/sysutils/Makefile
> index f4e509e8ceea..6055a2828fac 100644
> --- a/sysutils/Makefile
> +++ b/sysutils/Makefile
> @@ -1170,6 +1170,7 @@
>       SUBDIR += py-tldr
>       SUBDIR += py-tmuxp
>       SUBDIR += py-uptime
> +    SUBDIR += py-zfsstat
>       SUBDIR += qchroot
>       SUBDIR += qdirstat
>       SUBDIR += qflipper
> diff --git a/sysutils/py-zfsstat/Makefile b/sysutils/py-zfsstat/Makefile
> new file mode 100644
> index 000000000000..42c4563875f5
> --- /dev/null
> +++ b/sysutils/py-zfsstat/Makefile
> @@ -0,0 +1,54 @@
> +PORTNAME=	zfsstat
> +PORTVERSION=	2.4.4
> +CATEGORIES=	sysutils python
> +MASTER_SITES=	# none
> +PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
> +DISTFILES=	# none
> +