sysutils/openzfs*: Minor port housekeeping

Update the WWW to the official openzfs/zfs github repo, since the ZoF
repo is no longer used after merging to ZoL and renaming to openzfs/zfs.

While here, make a few small changes suggested by portlint.

Approved by:	lwhsu (implicit)
PR:	267453
Sponsored by:	iXsystems, Inc.
This commit is contained in:
Ryan Moeller 2023-02-07 18:10:24 -05:00
parent d8b1d37342
commit 723f83e80d
3 changed files with 8 additions and 5 deletions

View file

@ -1,12 +1,13 @@
PORTNAME= openzfs
PORTVERSION= 2023012600
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= sysutils
PKGNAMESUFFIX?= -kmod
MAINTAINER= freqlabs@FreeBSD.org
COMMENT= OpenZFS kernel module for FreeBSD
WWW= https://github.com/zfsonfreebsd/ZoF
WWW= https://github.com/openzfs/zfs
LICENSE= CDDL

View file

@ -1,12 +1,12 @@
PORTNAME= openzfs
PORTVERSION= 2023012600
PORTREVISION= 1
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= sysutils
MAINTAINER= freqlabs@FreeBSD.org
COMMENT= OpenZFS userland for FreeBSD
WWW= https://github.com/zfsonfreebsd/ZoF
WWW= https://github.com/openzfs/zfs
LICENSE= CDDL
@ -35,6 +35,8 @@ USE_GITHUB= yes
GH_PROJECT= zfs
GH_TAGNAME= dc5c8006f
USE_LDCONFIG= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDEBUG}
@ -54,7 +56,7 @@ PYTHON_NO_DEPENDS=yes
post-extract:
# Change certain shebangs into something that shebang fix understands
cd ${WRKSRC} && sed -i '' '1s:@PYTHON_SHEBANG@:python3:' \
cd ${WRKSRC} && ${SED} -i '' '1s:@PYTHON_SHEBANG@:python3:' \
tests/test-runner/bin/zts-report.py.in \
tests/test-runner/bin/test-runner.py.in \
cmd/arcstat.in \

View file

@ -2,7 +2,7 @@
{ type: install
message: <<EOM
Ensure that any zfs-related commands, such as zpool, zfs, as used in scripts
and in your terminal sessions, use the correct path of /usr/local/sbin/ and
and in your terminal sessions, use the correct path of ${PREFIX}/sbin/ and
not the /sbin/ commands provided by the FreeBSD base system.
Consider setting this in your shell profile defaults!