From 632d49652883972897de0acdc859e620ecd271e4 Mon Sep 17 00:00:00 2001 From: "Jason E. Hale" Date: Sat, 27 Sep 2014 01:46:53 +0000 Subject: 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 --- sysutils/f3/Makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 sysutils/f3/Makefile (limited to 'sysutils/f3/Makefile') diff --git a/sysutils/f3/Makefile b/sysutils/f3/Makefile new file mode 100644 index 000000000000..d4ee264b175a --- /dev/null +++ b/sysutils/f3/Makefile @@ -0,0 +1,32 @@ +# Created by: Uffe Jakobsen +# $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 -- cgit v1.2.3