pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
f3: Import f3-7.1 as sysutils/f3
Module Name: pkgsrc-wip
Committed By: Travis Paul <tr%vispaul.me@localhost>
Pushed By: tpaul
Date: Wed May 22 01:26:03 2019 +0800
Changeset: 8c93d6a2f12860b47eceda8c1297c6869f7c8566
Modified Files:
Makefile
Added Files:
f3/DESCR
f3/Makefile
f3/PLIST
f3/TODO
f3/distinfo
f3/patches/patch-Makefile
Log Message:
f3: Import f3-7.1 as sysutils/f3
f3 is a simple tool that tests flash cards capacity and performance to see
if they live up to claimed specifications.
F3 stands for Fight Flash Fraud, or Fight Fake Flash.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8c93d6a2f12860b47eceda8c1297c6869f7c8566
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
f3/DESCR | 4 ++++
f3/Makefile | 21 +++++++++++++++++++++
f3/PLIST | 5 +++++
f3/TODO | 9 +++++++++
f3/distinfo | 7 +++++++
f3/patches/patch-Makefile | 32 ++++++++++++++++++++++++++++++++
7 files changed, 79 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index aecb18324f..355f402c3d 100644
--- a/Makefile
+++ b/Makefile
@@ -759,6 +759,7 @@ SUBDIR+= exult-snapshot
SUBDIR+= ez-pine-gpg
SUBDIR+= ezbounce
SUBDIR+= f1spirit
+SUBDIR+= f3
SUBDIR+= faast
SUBDIR+= facedetect
SUBDIR+= fairymax
diff --git a/f3/DESCR b/f3/DESCR
new file mode 100644
index 0000000000..d1f93b2870
--- /dev/null
+++ b/f3/DESCR
@@ -0,0 +1,4 @@
+f3 is a simple tool that tests flash cards capacity and performance to see
+if they live up to claimed specifications.
+
+F3 stands for Fight Flash Fraud, or Fight Fake Flash.
diff --git a/f3/Makefile b/f3/Makefile
new file mode 100644
index 0000000000..3fbb509978
--- /dev/null
+++ b/f3/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+GITHUB_PROJECT= f3
+DISTNAME= v7.1
+PKGNAME= ${GITHUB_PROJECT}-7.1
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=AltraMayor/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+
+MAINTAINER= tpaul%NetBSD.org@localhost
+HOMEPAGE= http://oss.digirati.com.br/f3/
+COMMENT= Tests capacity and performance of flash media
+LICENSE= gnu-gpl-v3
+
+WRKSRC= ${WRKDIR}/f3-7.1
+
+NO_CONFIGURE= yes
+USE_TOOLS+= gmake
+
+.include "../../devel/argp/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/f3/PLIST b/f3/PLIST
new file mode 100644
index 0000000000..7b616e914c
--- /dev/null
+++ b/f3/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+bin/f3read
+bin/f3write
+man/man1/f3read.1
+man/man1/f3write.1
diff --git a/f3/TODO b/f3/TODO
new file mode 100644
index 0000000000..1d949ab483
--- /dev/null
+++ b/f3/TODO
@@ -0,0 +1,9 @@
+f3write on fails(?) on ffs:
+ Creating file 1.h2w ... 85.80% -- 178.17 MB/s -- 1s
+ [ 28376.7885906] /mnt: write failed, file system is full
+ OK!
+ Free space: 796.00 KB
+ Average writing speed: 176.36 MB/s
+
+f3read fails on FAT:
+ assertion "!fdatasync(fd)" failed: file "f3read.c", line 162, function
diff --git a/f3/distinfo b/f3/distinfo
new file mode 100644
index 0000000000..aea24ff4c8
--- /dev/null
+++ b/f3/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (f3/v7.1.tar.gz) = 0552423125ccc53eec5ccabb95615e9e17e4068c
+RMD160 (f3/v7.1.tar.gz) = 8a3d09d1772b802a7c27901eff4a7ac5dc9b1b13
+SHA512 (f3/v7.1.tar.gz) = d696bb96ebaefab13c50a4479be01c206365d8dcf7d3c3b1d906b68705b654fffabdbeee49ea208047383c117bcac2a85c2c5fb129cace82f8addc16f22d7514
+Size (f3/v7.1.tar.gz) = 67934 bytes
+SHA1 (patch-Makefile) = 48a85dd33248b6b506e49dbe5bfc10cd96681500
diff --git a/f3/patches/patch-Makefile b/f3/patches/patch-Makefile
new file mode 100644
index 0000000000..4419810aac
--- /dev/null
+++ b/f3/patches/patch-Makefile
@@ -0,0 +1,32 @@
+$NetBSD$
+
+- Allow setting PREFIX
+- manpages should be installed to $(PREFIX)/man
+
+Not yet upstreamed as other changes are likely needed.
+See TODO.
+
+--- Makefile.orig 2018-07-27 08:10:35.000000000 +0000
++++ Makefile
+@@ -4,7 +4,7 @@ CFLAGS += -std=c99 -Wall -Wextra -pedant
+ TARGETS = f3write f3read
+ EXTRA_TARGETS = f3probe f3brew f3fix
+
+-PREFIX = /usr/local
++PREFIX?= /usr/local
+ INSTALL = install
+ LN = ln
+
+@@ -23,9 +23,9 @@ extra: $(EXTRA_TARGETS)
+ install: all
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
+ $(INSTALL) -m755 $(TARGETS) $(DESTDIR)$(PREFIX)/bin
+- $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/man/man1
+- $(INSTALL) -m644 f3read.1 $(DESTDIR)$(PREFIX)/share/man/man1
+- $(LN) -sf f3read.1 $(DESTDIR)$(PREFIX)/share/man/man1/f3write.1
++ $(INSTALL) -d $(DESTDIR)$(PREFIX)/man/man1
++ $(INSTALL) -m644 f3read.1 $(DESTDIR)$(PREFIX)/man/man1
++ $(LN) -sf f3read.1 $(DESTDIR)$(PREFIX)/man/man1/f3write.1
+
+ install-extra: extra
+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
Home |
Main Index |
Thread Index |
Old Index