git: 10a1a6d06fe5 - main - benchmarks/iozone: Update to 3.493

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Fri, 17 Jun 2022 23:39:04 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=10a1a6d06fe5a52aa04539cfffb87331d8c0fbed

commit 10a1a6d06fe5a52aa04539cfffb87331d8c0fbed
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2022-06-17 23:32:27 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-06-17 23:38:47 +0000

    benchmarks/iozone: Update to 3.493
    
     - add license
     - switch pkg-descr WWW URL from http:// to https://
    
    ChangeLog: https://www.iozone.org/src/current/Changes.txt
---
 benchmarks/iozone/Makefile  | 23 ++++++++++++++---------
 benchmarks/iozone/distinfo  |  6 +++---
 benchmarks/iozone/pkg-descr |  2 +-
 3 files changed, 18 insertions(+), 13 deletions(-)

diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile
index 80ed9ef93023..ae2beba05374 100644
--- a/benchmarks/iozone/Makefile
+++ b/benchmarks/iozone/Makefile
@@ -1,8 +1,7 @@
 # Created by: jmz
 
 PORTNAME=	iozone
-DISTVERSION=	3_491
-PORTREVISION=	0
+DISTVERSION=	3_493
 CATEGORIES=	benchmarks
 MASTER_SITES=	http://www.iozone.org/src/current/
 DISTNAME=	${PORTNAME}${DISTVERSION}
@@ -10,27 +9,33 @@ DISTNAME=	${PORTNAME}${DISTVERSION}
 MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Performance Test of Sequential File I/O
 
-USES=		gmake tar
+LICENSE=	IOZONE
+LICENSE_NAME=	Iozone license
+LICENSE_FILE=	${WRKDIR}/${DISTNAME}/docs/License.txt
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-WRKSRC=		${WRKDIR}/${DISTNAME}/src/current
+USES=		gmake tar:tgz
 
 MAKEFILE=	makefile
 MAKE_ARGS=	${MAKE_ENV}
-ALL_TARGET=	freebsd
 MAKE_JOBS_UNSAFE=	yes
+ALL_TARGET=	freebsd
 
 CONFLICTS_INSTALL=	iozone21
 
-PLIST_FILES=	bin/iozone man/man1/iozone.1.gz
+WRKSRC_SUBDIR=	src/current
+
+PLIST_FILES=	bin/iozone \
+		man/man1/iozone.1.gz
 
-OPTIONS_DEFINE=	SSH THREADS
-OPTIONS_DEFAULT=SSH THREADS
+OPTIONS_DEFINE=		SSH THREADS
+OPTIONS_DEFAULT=	SSH THREADS
 
 SSH_DESC=	Use ssh in distributed measurement
 THREADS_DESC=	Enable threading (uses pthreads)
 
-THREADS_LDFLAGS=	-lpthread
 THREADS_CFLAGS_OFF=	-DNO_THREADS
+THREADS_LDFLAGS=	-lpthread
 
 post-patch-SSH-on:
 	@${REINPLACE_CMD} -e 's|shell\,\"rsh\"|shell\,\"ssh\"|' \
diff --git a/benchmarks/iozone/distinfo b/benchmarks/iozone/distinfo
index a747d7ad5850..c85dbdf719c4 100644
--- a/benchmarks/iozone/distinfo
+++ b/benchmarks/iozone/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1615479833
-SHA256 (iozone3_491.tar) = 2cc4842d382e46a585d1df9ae1e255695480dcc0fc05c3b1cb32ef3493d0ec9a
-SIZE (iozone3_491.tar) = 3153920
+TIMESTAMP = 1655422655
+SHA256 (iozone3_493.tgz) = 634c123600b4bb42e827483fa15b2afae6dada2907b784b14e01415933d43198
+SIZE (iozone3_493.tgz) = 831743
diff --git a/benchmarks/iozone/pkg-descr b/benchmarks/iozone/pkg-descr
index df3971a82159..777328eee220 100644
--- a/benchmarks/iozone/pkg-descr
+++ b/benchmarks/iozone/pkg-descr
@@ -6,4 +6,4 @@ system, operating system, C compiler, and C runtime library.  It
 produces a measurement which is the number of bytes per second that
 your system can read or write to a file.
 
-WWW: http://www.iozone.org/
+WWW: https://www.iozone.org/