Hi ports --

Attached is a simple update for benchmarks/iozone.

I saw an old message from Stuart here:
https://marc.info/?l=openbsd-ports&m=141665893929783&w=2

I may have gone a little conservative, but part of this diff enables a package to be made.

`iozone -a' completes on my amd64 laptop. I dare not try it anywhere else as only this machine has an SSD.

Not taking MAINTAINER. Just another mini portroach rampage.

OK?

~Brian

Index: Makefile
===================================================================
RCS file: /cvs/ports/benchmarks/iozone/Makefile,v
retrieving revision 1.48
diff -u -p -r1.48 Makefile
--- Makefile	20 Aug 2017 10:26:27 -0000	1.48
+++ Makefile	10 Sep 2018 02:08:39 -0000
@@ -2,7 +2,7 @@
 
 COMMENT=	performance test of sequential file I/O
 
-V =		3.465
+V =		3.482
 DISTNAME=	iozone${V:S/./_/}
 PKGNAME=	iozone-$V
 CATEGORIES=	benchmarks
@@ -11,9 +11,9 @@ EXTRACT_SUFX=	.tar
 
 HOMEPAGE=	http://www.iozone.org/
 
-PERMIT_PACKAGE_CDROM=	incomplete/bad license
-PERMIT_PACKAGE_FTP=	incomplete/bad license
-PERMIT_DISTFILES_FTP=	incomplete/bad license
+# Custom / License remain intact, no derivative works
+PERMIT_PACKAGE_CDROM=	no derivative works
+PERMIT_PACKAGE_FTP=	Yes
 
 WANTLIB += c pthread
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/benchmarks/iozone/distinfo,v
retrieving revision 1.12
diff -u -p -r1.12 distinfo
--- distinfo	20 Aug 2017 10:26:27 -0000	1.12
+++ distinfo	10 Sep 2018 02:08:39 -0000
@@ -1,2 +1,2 @@
-SHA256 (iozone3_465.tar) = Lj1ykW59c0CnxQX8DD0oVT/MX/La9B2BE2jlW9TmopM=
-SIZE (iozone3_465.tar) = 1843200
+SHA256 (iozone3_482.tar) = JzP+tjyW93F3xo89k48ilNU5TYVUsnZ8RcvhOLLzrjA=
+SIZE (iozone3_482.tar) = 1863680
Index: patches/patch-src_current_iozone_c
===================================================================
RCS file: patches/patch-src_current_iozone_c
diff -N patches/patch-src_current_iozone_c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_current_iozone_c	10 Sep 2018 02:08:39 -0000
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Fix formatting.
+
+Index: src/current/iozone.c
+--- src/current/iozone.c.orig
++++ src/current/iozone.c
+@@ -12639,7 +12639,7 @@ int shared_flag;
+ 		exit(122);
+ 	}
+ 	if(debug1)
+-		printf("Got shared memory for size %d\n",size1);
++		printf("Got shared memory for size %lld\n",size1);
+ 
+ 	return(addr);
+ #endif
Index: patches/patch-src_current_libbif_c
===================================================================
RCS file: /cvs/ports/benchmarks/iozone/patches/patch-src_current_libbif_c,v
retrieving revision 1.2
diff -u -p -r1.2 patch-src_current_libbif_c
--- patches/patch-src_current_libbif_c	31 Oct 2015 11:06:37 -0000	1.2
+++ patches/patch-src_current_libbif_c	10 Sep 2018 02:08:39 -0000
@@ -1,12 +1,13 @@
 $OpenBSD: patch-src_current_libbif_c,v 1.2 2015/10/31 11:06:37 benoit Exp $
---- src/current/libbif.c.orig	Tue Oct 20 16:12:13 2015
-+++ src/current/libbif.c	Sat Oct 31 11:51:45 2015
+Index: src/current/libbif.c
+--- src/current/libbif.c.orig
++++ src/current/libbif.c
 @@ -27,7 +27,7 @@
  #include <string.h>
  #endif
  
--#if defined(linux) || defined(__DragonFly__) || defined(IOZ_macosx) || defined(__NetBSD__)
-+#if defined(linux) || defined(__DragonFly__) || defined(IOZ_macosx) || defined(__NetBSD__) || defined(__OpenBSD__)
+-#if defined(linux) || defined(__DragonFly__) || defined(IOZ_macosx) || defined(__NetBSD__) || defined(Windows)
++#if defined(linux) || defined(__DragonFly__) || defined(IOZ_macosx) || defined(__NetBSD__) || defined(Windows) || defined(__OpenBSD__)
  #include <unistd.h>
  #include <stdlib.h>
  #endif

Reply via email to