ports/154599: [UPDATE] sysutils/fio: update to 1.50.2 [feature safe]
Ruslan Mahmatkhanov
cvs-src at yandex.ru
Tue Feb 8 21:30:09 UTC 2011
>Number: 154599
>Category: ports
>Synopsis: [UPDATE] sysutils/fio: update to 1.50.2 [feature safe]
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 08 21:30:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Ruslan Mahmatkhanov
>Release: 8.2-PRERELEASE
>Organization:
>Environment:
8.2-PRERELEASE i386
>Description:
- update to 1.50.2
- add pkg-plist
- add examples
- remove unsupported FreeBSD versions
- add changes from ports/154360 by Bruce Cran (fix COMMENT, WWW)
I don't see any reason why we should not to update. The current version in ports uses Makefile.FreeBSD and 1.50.2 use the same file. When Makefile will be successfully unified (if it will) upstream, we'll just drop MAKEFILE knob when updating to some new version.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruNa fio.orig/Makefile fio/Makefile
--- fio.orig/Makefile 2011-01-26 15:00:36.000000000 +0300
+++ fio/Makefile 2011-02-09 00:15:54.000000000 +0300
@@ -8,12 +8,12 @@
#
PORTNAME= fio
-PORTVERSION= 1.44.3
+PORTVERSION= 1.50.2
CATEGORIES= sysutils benchmarks
MASTER_SITES= http://brick.kernel.dk/snaps/
MAINTAINER= luigi at FreeBSD.org
-COMMENT= The program fio - flexible IO tester
+COMMENT= FIO - flexible IO tester
USE_BZIP2= yes
USE_GMAKE= yes
@@ -24,13 +24,16 @@
OPTIONS= GNUPLOT "Support for plotting graphs" off
MAN1= fio.1 fio_generate_plots.1
-PLIST_FILES= bin/fio bin/fio_generate_plots
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fio ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/fio_generate_plots ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/fio.1 ${PREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/fio_generate_plots.1 ${PREFIX}/man/man1/
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+ @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
+.endif
.include <bsd.port.pre.mk>
@@ -38,10 +41,4 @@
RUN_DEPENDS+= ${LOCALBASE}/bin/gnuplot:${PORTSDIR}/math/gnuplot
.endif
-.if ${OSVERSION} < 700000
-.if ${ARCH} == "sparc64"
-BROKEN= Does not compile on sparc64-6
-.endif
-.endif
-
.include <bsd.port.post.mk>
diff -ruNa fio.orig/distinfo fio/distinfo
--- fio.orig/distinfo 2011-01-26 15:00:36.000000000 +0300
+++ fio/distinfo 2011-02-08 23:59:52.000000000 +0300
@@ -1,2 +1,2 @@
-SHA256 (fio-1.44.3.tar.bz2) = 740f9e91de9e0c5c96cb791b4426bc3d7fd2fc600aa503209c04089f02d62ae1
-SIZE (fio-1.44.3.tar.bz2) = 161797
+SHA256 (fio-1.50.2.tar.bz2) = ce0c3543047289090c490183aaf8a9cab8fab8d28a95c6914cb5f5128bd704c8
+SIZE (fio-1.50.2.tar.bz2) = 341877
diff -ruNa fio.orig/pkg-descr fio/pkg-descr
--- fio.orig/pkg-descr 2009-02-14 22:32:30.000000000 +0300
+++ fio/pkg-descr 2011-02-09 00:16:41.000000000 +0300
@@ -3,4 +3,5 @@
the user. Fio can be driven by a 'job file' describing the I/O
load one wants to simulate.
-WWW: http://git.kernel.dk/
+WWW: http://git.kernel.dk/?p=fio.git
+
diff -ruNa fio.orig/pkg-plist fio/pkg-plist
--- fio.orig/pkg-plist 1970-01-01 03:00:00.000000000 +0300
+++ fio/pkg-plist 2011-02-09 00:10:40.000000000 +0300
@@ -0,0 +1,12 @@
+bin/fio
+bin/fio_generate_plots
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/1mbs_clients
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/aio-read
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/disk-zone-profile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fsx
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/iometer-file-access-server
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/netio
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssd-test
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/surface-scan
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tiobench-example
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list