port for sysutils/fio update?

Ruslan Mahmatkhanov cvs-src at yandex.ru
Sun Oct 24 20:59:25 UTC 2010


25.10.2010 00:16, Julian Elischer пишет:
> The upstream source for sysutils/fio has been updated specifically to
> fix some problems with FreeBSD and now compiles with no required patches,
> (and also works better on FreeBSD)
>
> It would be a very simple update for anyone who knows the ports system.
>
> Julian

Please try attached patch:
cd /usr/ports/sysutils
patch -p0 < /path/to/fio-1.44.1.diff
cd fio
make install

I set port maintainer into cc:.

-- 
Regards,
Ruslan
-------------- next part --------------
diff -ruNa fio/Makefile fio/Makefile
--- fio/Makefile	2010-02-13 21:39:27.000000000 +0300
+++ fio/Makefile	2010-10-25 00:53:36.000000000 +0400
@@ -8,27 +8,24 @@
 #
 
 PORTNAME=	fio
-PORTVERSION=	1.25
+PORTVERSION=	1.44.1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://brick.kernel.dk/snaps/
 
 MAINTAINER=	luigi at FreeBSD.org
 COMMENT=	The program fio - flexible IO tester
 
-BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash
-
-SCRIPTS_ENV=	"SHELL=bash"
-WRKSRC=		${WRKDIR}/${PORTNAME}
-
 USE_GMAKE=	yes
 MAKEFILE=	Makefile.FreeBSD
 
-MAN1=	fio.1
+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/
 
 .include <bsd.port.pre.mk>
 
diff -ruNa fio/distinfo fio/distinfo
--- fio/distinfo	2010-02-13 21:39:27.000000000 +0300
+++ fio/distinfo	2010-10-25 00:47:30.000000000 +0400
@@ -1,3 +1,3 @@
-MD5 (fio-1.25.tar.gz) = de2689cb3af10eac6912b908ca4e0f4b
-SHA256 (fio-1.25.tar.gz) = 11d632542582aec55591555d53059b3a6793913469a8de8cb0883fff5f1f4a8d
-SIZE (fio-1.25.tar.gz) = 1468706
+MD5 (fio-1.44.1.tar.gz) = 88024867de9c439b9acc300e19deffae
+SHA256 (fio-1.44.1.tar.gz) = d0393f3ab98fcd8c3f23c9433a80c69731040e0ddecb3058bd5e2576223baff1
+SIZE (fio-1.44.1.tar.gz) = 204213
diff -ruNa fio/files/patch-01 fio/files/patch-01
--- fio.orig/files/patch-01	2009-02-14 22:32:30.000000000 +0300
+++ fio/files/patch-01	1970-01-01 03:00:00.000000000 +0300
@@ -1,8 +0,0 @@
---- fio_generate_plots.orig	2009-02-06 14:13:52.000000000 +0100
-+++ fio_generate_plots	2009-02-14 20:00:49.000000000 +0100
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!/usr/local/bin/bash
- 
- # Use gnuplot to generate plots from fio run with -l and/or -w
- 
diff -ruNa fio/pkg-plist fio/pkg-plist
--- fio/pkg-plist	2009-02-17 00:20:05.000000000 +0300
+++ fio/pkg-plist	1970-01-01 03:00:00.000000000 +0300
@@ -1,2 +0,0 @@
-bin/fio
-bin/fio_generate_plots


More information about the freebsd-ports mailing list