F3 (Fight Flash Fraud or Fight Fake Flash) tests the full capacity

of a flash card (flash drive, flash disk, pendrive).  It writes to
the card and then checks if it can read it.  It will assure that
you haven't been sold a card with a smaller capacity than stated.

WARNING: All data on the tested disk might be lost!

WWW: http://oss.digirati.com.br/f3

PR:		193779
Submitted by:	Uffe Jakobsen <uffe@uffe.org>
This commit is contained in:
Jason E. Hale 2014-09-27 01:46:53 +00:00
parent de84f46849
commit 632d496528
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369353
4 changed files with 43 additions and 0 deletions

View File

@ -217,6 +217,7 @@
SUBDIR += exfat-utils
SUBDIR += extipl
SUBDIR += ezjail
SUBDIR += f3
SUBDIR += fanout
SUBDIR += farbot
SUBDIR += fastest_cvsup

32
sysutils/f3/Makefile Normal file
View File

@ -0,0 +1,32 @@
# Created by: Uffe Jakobsen <uffe@uffe.org>
# $FreeBSD$
PORTNAME= f3
PORTVERSION= 4.0
CATEGORIES= sysutils
MAINTAINER= uffe@uffe.org
COMMENT= Fight Flash Fraud or Fight Fake Flash test tool
LICENSE= GPLv3
USE_GITHUB= yes
GH_ACCOUNT= AltraMayor
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT= 55d2017
USES= gmake pathfix shebangfix
SHEBANG_FILES= f3write.h2w log-f3wr
PLIST_FILES= bin/f3read bin/f3write bin/f3write.h2w \
bin/log-f3wr man/man1/f3read.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/f3read ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/f3write ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/f3write.h2w ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/log-f3wr ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/f3read.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>

2
sysutils/f3/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (f3-4.0.tar.gz) = 735e79d58c8be457f69d724989ee0ef81bc4a06248ed8d8b94b6615aa59018c5
SIZE (f3-4.0.tar.gz) = 21984

8
sysutils/f3/pkg-descr Normal file
View File

@ -0,0 +1,8 @@
F3 (Fight Flash Fraud or Fight Fake Flash) tests the full capacity
of a flash card (flash drive, flash disk, pendrive). It writes to
the card and then checks if it can read it. It will assure that
you haven't been sold a card with a smaller capacity than stated.
WARNING: All data on the tested disk might be lost!
WWW: http://oss.digirati.com.br/f3