head 1.6; access; symbols pkgsrc-2026Q1:1.6.0.12 pkgsrc-2026Q1-base:1.6 pkgsrc-2025Q4:1.6.0.10 pkgsrc-2025Q4-base:1.6 pkgsrc-2025Q3:1.6.0.8 pkgsrc-2025Q3-base:1.6 pkgsrc-2025Q2:1.6.0.6 pkgsrc-2025Q2-base:1.6 pkgsrc-2025Q1:1.6.0.4 pkgsrc-2025Q1-base:1.6 pkgsrc-2024Q4:1.6.0.2 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.5.0.36 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.34 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.32 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.30 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.28 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.26 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.24 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.22 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.5.0.20 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.18 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.16 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.14 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.12 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.10 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.8 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.6 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.4 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.2 pkgsrc-2020Q2-base:1.5 pkgsrc-2019Q3:1.3.0.22 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.20 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.18 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.16 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.14 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.12 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.10 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.8 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.6 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.2 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.1.0.2 pkgsrc-2017Q1-base:1.1; locks; strict; comment @# @; 1.6 date 2024.12.02.07.50.52; author nia; state Exp; branches; next 1.5; commitid xqouJRJaQ8lWPTzF; 1.5 date 2020.04.30.09.42.27; author jperkin; state Exp; branches; next 1.4; commitid 91Grttxl9CYhmo6C; 1.4 date 2019.10.08.18.13.32; author maya; state dead; branches; next 1.3; commitid jqbWemDxCcy0M5GB; 1.3 date 2017.06.26.13.48.50; author wiedi; state Exp; branches; next 1.2; commitid 87ngyDlqiEIt7TWz; 1.2 date 2017.05.18.07.20.22; author fhajny; state Exp; branches; next 1.1; commitid Iy8eR3zmBJgHdQRz; 1.1 date 2017.02.04.12.50.23; author ryoon; state Exp; branches; next ; commitid uuuO71Cx71YpmDEz; desc @@ 1.6 log @fio: Honour PKGMANDIR. @ text @$NetBSD: patch-Makefile,v 1.5 2020/04/30 09:42:27 jperkin Exp $ Use pkgsrc install and PKGMANDIR. --- Makefile.orig 2020-03-12 17:12:50.000000000 +0000 +++ Makefile @@@@ -358,7 +358,7 @@@@ ifndef V endif endif -ifeq ($(CONFIG_TARGET_OS), SunOS) +ifeq ($(CONFIG_TARGET_OS), notSunOS) INSTALL = ginstall else INSTALL = install @@@@ -366,13 +366,8 @@@@ endif prefix = $(INSTALL_PREFIX) bindir = $(prefix)/bin -ifeq ($(CONFIG_TARGET_OS), Darwin) -mandir = /usr/share/man -sharedir = /usr/share/fio -else -mandir = $(prefix)/man +mandir = $(prefix)/$(PKGMANDIR) sharedir = $(prefix)/share/fio -endif all: $(PROGS) $(T_TEST_PROGS) $(UT_PROGS) $(SCRIPTS) FORCE @ 1.5 log @fio: Couple of SunOS fixes. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 Use pkgsrc install. d16 15 @ 1.4 log @fio: update to 3.16 changes not found. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.3 2017/06/26 13:48:50 wiedi Exp $ d3 1 a3 2 Convert the fmt(1) command to a tr(1) one (the fmt(1) old syntax command is not supported on all Unix systems). d5 1 a5 1 --- Makefile.orig 2017-04-04 14:30:59.000000000 +0000 d7 9 a15 60 @@@@ -293,13 +293,8 @@@@ endif prefix = $(INSTALL_PREFIX) bindir = $(prefix)/bin -ifeq ($(CONFIG_TARGET_OS), Darwin) -mandir = /usr/share/man -sharedir = /usr/share/fio -else -mandir = $(prefix)/man +mandir = $(prefix)/$(PKGMANDIR) sharedir = $(prefix)/share/fio -endif all: $(PROGS) $(T_TEST_PROGS) $(SCRIPTS) FORCE @@@@ -318,8 +313,8 @@@@ override CFLAGS += -DFIO_VERSION='"$(FIO @@$(CC) -MM $(CFLAGS) $(CPPFLAGS) $(SRCDIR)/$*.c > $*.d @@mv -f $*.d $*.d.tmp @@sed -e 's|.*:|$*.o:|' < $*.d.tmp > $*.d - @@sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | fmt -w 1 | \ - sed -e 's/^ *//' -e 's/$$/:/' >> $*.d + @@sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | tr -cs "[:graph:]" "\n" | \ + sed -e 's/^ *//' -e '/^$$/ d' -e 's/$$/:/' >> $*.d @@rm -f $*.d.tmp ifdef CONFIG_ARITHMETIC @@@@ -357,8 +352,8 @@@@ init.o: init.c FIO-VERSION-FILE @@$(CC) -MM $(CFLAGS) $(CPPFLAGS) $(SRCDIR)/$*.c > $*.d @@mv -f $*.d $*.d.tmp @@sed -e 's|.*:|$*.o:|' < $*.d.tmp > $*.d - @@sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | fmt -w 1 | \ - sed -e 's/^ *//' -e 's/$$/:/' >> $*.d + @@sed -e 's/.*://' -e 's/\\$$//' < $*.d.tmp | tr -cs "[:graph:]" "\n" | \ + sed -e 's/^ *//' -e '/^$$/ d' -e 's/$$/:/' >> $*.d @@rm -f $*.d.tmp gcompat.o: gcompat.c gcompat.h @@@@ -452,12 +447,13 @@@@ test: fio ./fio --minimal --thread --ioengine=null --runtime=1s --name=nulltest --rw=randrw --iodepth=2 --norandommap --random_generator=tausworthe64 --size=16T --name=verifynulltest --rw=write --verify=crc32c --verify_state_save=0 --size=100M install: $(PROGS) $(SCRIPTS) tools/plot/fio2gnuplot.1 FORCE - $(INSTALL) -m 755 -d $(DESTDIR)$(bindir) - $(INSTALL) $(PROGS) $(SCRIPTS) $(DESTDIR)$(bindir) - $(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man1 - $(INSTALL) -m 644 $(SRCDIR)/fio.1 $(DESTDIR)$(mandir)/man1 - $(INSTALL) -m 644 $(SRCDIR)/tools/fio_generate_plots.1 $(DESTDIR)$(mandir)/man1 - $(INSTALL) -m 644 $(SRCDIR)/tools/plot/fio2gnuplot.1 $(DESTDIR)$(mandir)/man1 - $(INSTALL) -m 644 $(SRCDIR)/tools/hist/fiologparser_hist.py.1 $(DESTDIR)$(mandir)/man1 - $(INSTALL) -m 755 -d $(DESTDIR)$(sharedir) - $(INSTALL) -m 644 $(SRCDIR)/tools/plot/*gpm $(DESTDIR)$(sharedir)/ + $(BSD_INSTALL_PROGRAM_DIR) -m 755 -d $(DESTDIR)$(bindir) + $(BSD_INSTALL_PROGRAM) $(PROGS) $(DESTDIR)$(bindir) + $(BSD_INSTALL_SCRIPT) $(SCRIPTS) $(DESTDIR)$(bindir) + $(BSD_INSTALL_MAN_DIR) -m 755 -d $(DESTDIR)$(mandir)/man1 + $(BSD_INSTALL_MAN) -m 644 $(SRCDIR)/fio.1 $(DESTDIR)$(mandir)/man1 + $(BSD_INSTALL_MAN) -m 644 $(SRCDIR)/tools/fio_generate_plots.1 $(DESTDIR)$(mandir)/man1 + $(BSD_INSTALL_MAN) -m 644 $(SRCDIR)/tools/plot/fio2gnuplot.1 $(DESTDIR)$(mandir)/man1 + $(BSD_INSTALL_MAN) -m 644 $(SRCDIR)/tools/hist/fiologparser_hist.py.1 $(DESTDIR)$(mandir)/man1 + $(BSD_INSTALL_DATA_DIR) -m 755 -d $(DESTDIR)$(sharedir) + $(BSD_INSTALL_DATA) -m 644 $(SRCDIR)/tools/plot/*gpm $(DESTDIR)$(sharedir)/ @ 1.3 log @add support for PKGMANDIR @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.2 2017/05/18 07:20:22 fhajny Exp $ @ 1.2 log @Use pkgsrc install scripts. Fixes installation on SunOS. Enable test target. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.1 2017/02/04 12:50:23 ryoon Exp $ d8 16 a23 1 @@@@ -318,8 +318,8 @@@@ override CFLAGS += -DFIO_VERSION='"$(FIO d34 1 a34 1 @@@@ -357,8 +357,8 @@@@ init.o: init.c FIO-VERSION-FILE d45 1 a45 1 @@@@ -452,12 +452,13 @@@@ test: fio @ 1.1 log @Import fio-2.17 as benchmarks/fio from pkgsrc-wip/fio. fio is a tool that will spawn a number of threads or processes doing a particular type of io action as specified by the user. fio takes a number of global parameters, each inherited by the thread unless otherwise parameters given to them overriding that setting is given. The typical use of fio is to write a job file matching the io load one wants to simulate. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.2 2015/07/16 08:57:32 leot1990 Exp $ d6 1 a6 1 --- Makefile.orig 2017-01-17 15:51:31.000000000 +0000 d8 1 a8 1 @@@@ -319,8 +319,8 @@@@ override CFLAGS += -DFIO_VERSION='"$(FIO d19 1 a19 1 @@@@ -358,8 +358,8 @@@@ init.o: init.c FIO-VERSION-FILE d30 23 @