debian/0000755000000000000000000000000012257327365007202 5ustar debian/compat0000644000000000000000000000000212150772132010364 0ustar 9 debian/README.source0000644000000000000000000000067712150772132011357 0ustar f3 for Debian --------------- The upstream doesn't provided a changelog. The changelog was file compiled using informations from F3 site and GIT repository. Please, visit the URLs below if you want to confirm all informations: http://oss.digirati.com.br/f3/ http://oss.digirati.com.br/f3/old-versions.html https://github.com/AltraMayor/f3/commits/master -- Joao Eriberto Mota Filho Thu, 11 Apr 2013 18:05:17 +0000 debian/copyright0000644000000000000000000000203712257323537011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: f3 Source: http://oss.digirati.com.br/f3 Files: * Copyright: 2010-2013 Digirati License: GPL-3.0 Files: debian/* Copyright: 2013 Joao Eriberto Mota Filho License: GPL-3.0 License: GPL-3.0 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/docs0000644000000000000000000000002512150772132010036 0ustar debian/README.source debian/patches/0000755000000000000000000000000012150772624010623 5ustar debian/patches/series0000644000000000000000000000001712150772132012030 0ustar Makefile.patch debian/patches/Makefile.patch0000644000000000000000000000117712150772132013361 0ustar Description: add GCC hardening. Author: Joao Eriberto Mota Filho Last-Update: 2013-04-23 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ linux: - gcc -Wall -c utils.c - gcc -Wall -c f3write.c - gcc -Wall -c f3read.c - gcc -o f3write utils.o f3write.o -lm - gcc -o f3read utils.o f3read.o + gcc -Wall $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c utils.c + gcc -Wall $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c f3write.c + gcc -Wall $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c f3read.c + gcc $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o f3write utils.o f3write.o -lm + gcc $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o f3read utils.o f3read.o mac: gcc -Wall -DAPPLE_MAC -c utils.c debian/man/0000755000000000000000000000000012150772132007741 5ustar debian/man/header.txt0000644000000000000000000000010212150772132011723 0ustar .TH F3 "1" "May 2013" "F3 2.2" "test real flash memory capacity" debian/man/f3read.10000644000000000000000000000235312150772132011172 0ustar .\"Text automatically generated by txt2man .TH F3 "1" "May 2013" "F3 2.2" "test real flash memory capacity" .SH NAME \fBf3write, f3read \fP- test real flash memory capacity .SH SYNOPSIS .nf .fam C \fBf3write\fP [\fB--start-at\fP=NUM] \fBf3read\fP [\fB--start-at\fP=NUM] .fam T .fi .fam T .fi .SH DESCRIPTION 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 can read it. It will assure you haven't been sold a card with a smaller capacity than stated. .PP When writing to flash drive, \fBf3write\fP fills the filesystem with 1GB files named N.fff, where N is a number (i.e. /[0-9]+/). .PP WARNING: all data on the tested disk will be lost!!! .SH OPTIONS .TP .B \fB--start-at\fP=NUM Initial number to files names. Default value is 1. .SH EXAMPLE To write over a flash drive mounted at /media/TEST: .PP .nf .fam C $ f3write /media/TEST .fam T .fi To read this flash drive: .PP .nf .fam C $ f3read /media/TEST .fam T .fi .SH AUTHOR f3 was written by Digirati . This manual page was written by Joao Eriberto Mota Filho for the Debian project (but may be used by others). debian/man/f3.txt0000644000000000000000000000177612150772132011025 0ustar NAME f3write, f3read - test real flash memory capacity SYNOPSIS f3write [--start-at=NUM] f3read [--start-at=NUM] DESCRIPTION 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 can read it. It will assure you haven't been sold a card with a smaller capacity than stated. When writing to flash drive, f3write fills the filesystem with 1GB files named N.fff, where N is a number (i.e. /[0-9]+/). WARNING: all data on the tested disk will be lost!!! OPTIONS --start-at=NUM Initial number to files names. Default value is 1. EXAMPLE To write over a flash drive mounted at /media/TEST: $ f3write /media/TEST To read this flash drive: $ f3read /media/TEST AUTHOR f3 was written by Digirati . This manual page was written by Joao Eriberto Mota Filho for the Debian project (but may be used by others). debian/source/0000755000000000000000000000000012257327244010476 5ustar debian/source/lintian-overrides0000644000000000000000000000014312257327261014054 0ustar # The upstream didn't provide a PGP/GPG signature. f3 source: debian-watch-may-check-gpg-signature debian/source/format0000644000000000000000000000001412150772132011674 0ustar 3.0 (quilt) debian/control0000644000000000000000000000133612257323757010611 0ustar Source: f3 Section: utils Priority: optional Maintainer: Joao Eriberto Mota Filho Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~) Standards-Version: 3.9.5 Homepage: http://oss.digirati.com.br/f3 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/f3.git Vcs-Git: git://anonscm.debian.org/collab-maint/f3.git Package: f3 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: test real flash memory capacity F3 (Fight Flash Fraud or Fight Fake Flash) tests the full capacity of a flash card (flash drive, flash disk, pendrive). . F3 writes to the card and then checks if can read it. It will assure you haven't been sold a card with a smaller capacity than stated. debian/changelog0000644000000000000000000000106512257327361011052 0ustar f3 (2.2-2) unstable; urgency=medium * Bumped Standards-Version from 3.9.4 to 3.9.5. * debian/control: fixed the Vcs-Browser field. * debian/copyright: fixed the upstream e-mail address (s/michael/michel/). * debian/source/: added an override to reply to check-gpg-signature. * debian/watch: improved. -- Joao Eriberto Mota Filho Fri, 27 Dec 2013 14:13:13 -0200 f3 (2.2-1) unstable; urgency=low * Initial release (Closes: #705176) -- Joao Eriberto Mota Filho Tue, 23 Apr 2013 11:47:05 -0300 debian/watch0000644000000000000000000000010612257324200010211 0ustar version=3 https://github.com/AltraMayor/f3/tags .*/v?(\d\S*)\.tar\.gz debian/changelog.upstream0000644000000000000000000000264312150772132012704 0ustar *** *** UNOFFICIAL CHANGELOG. PLEASE, SEE /usr/share/doc/f3/README.source. *** Version 2.2 - Feb 8, 2013 * add option parameter --start-at=NUM to F3. * remove arbitrary limit on filenames. * fix bug first reported by Martin Theiss. * minor code refinements. Version 2.1 - Mar 7, 2012 * report version and copyright in help message. * made f3write remove old F3 files in order. * refined flow control algorithm of f3write. * verify that "all" F3 files are present. * added a rough approximation of posix_fadvise for Macs. Version 2.0 - Dec 20, 2011 * added a very simple Makefile. * reviewed code. * added support for Macs. * f3write now reports proper progress. * added progress printout in f3read. * improved precision of speed measurements. * formated code following Linux's coding style. Version 1.1.3 - Sep 21, 2010 * fixes some warning issued by GCC when compiling f3read.c on 64bits machines. Nicolai Abruzzese was the first one to report this issue. Version 1.1.2 - Aug 31, 2010 * handles an I/O error reported by Misha Aizatulin. Version 1.1.1 - Aug 16, 2010 * fixes some warnings issued by gcc when the parameter -Wall is used to compile the source. Version 1.1 - Aug 10, 2010 * adds a nice report at the end of the output of f3read. * works fine with large memory cards. Version 1.0 - Aug 02, 2010 * Initial release. debian/f3.manpages0000644000000000000000000000002412150772132011207 0ustar debian/man/f3read.1 debian/rules0000755000000000000000000000032012150772132010241 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk %: dh $@ --parallel override_dh_installchangelogs: dh_installchangelogs debian/changelog.upstream debian/f3.links0000644000000000000000000000007712150772132010544 0ustar usr/share/man/man1/f3read.1.gz usr/share/man/man1/f3write.1.gz debian/gbp.conf0000644000000000000000000000006512150772132010606 0ustar [DEFAULT] debian-branch = debian pristine-tar = True debian/f3.install0000644000000000000000000000003712150772132011066 0ustar f3read usr/bin f3write usr/bin