I would like to contribute f3. Also present in Debian, Fedora, Ubuntu, ...
SUMMARY="Test real flash memory capacity" DESCRIPTION="f3 is a simple tool that tests flash cards capacity and performance to see if they live up to claimed specifications. It fills the device with pseudorandom data and then checks if it returns the same on reading. F3 stands for Fight Flash Fraud, or Fight Fake Flash." List of files: f3-8.0-1.tar.xz: usr/bin/f3read.exe usr/bin/f3write.exe usr/share/doc/f3/LICENSE usr/share/doc/f3/README.rst usr/share/doc/f3/changelog.gz usr/share/doc/f3/contribute.rst.gz usr/share/doc/f3/examples/f3write.h2w usr/share/doc/f3/examples/log-f3wr usr/share/doc/f3/history.rst.gz usr/share/doc/f3/usage.rst.gz usr/share/man/man1/f3read.1.gz usr/share/man/man1/f3write.1.gz f3-debuginfo-8.0-1.tar.xz: usr/lib/debug/usr/bin/f3read.exe.dbg usr/lib/debug/usr/bin/f3write.exe.dbg usr/src/debug/f3-8.0-1/f3read.c usr/src/debug/f3-8.0-1/f3write.c usr/src/debug/f3-8.0-1/libflow.c usr/src/debug/f3-8.0-1/libflow.h usr/src/debug/f3-8.0-1/utils.c usr/src/debug/f3-8.0-1/utils.h f3-8.0-1.src.tar.xz: f3-8.0-1.src/f3-8.0.tar.gz f3-8.0-1.src/f3.cygport The source package supports reproducible builds. -- Regards, Christian
# cygport script for f3 NAME=f3 VERSION=8.0 RELEASE=1 SOURCE_DATE="2024-02-17 13:00:00 UTC" SUMMARY="Test real flash memory capacity" DESCRIPTION="f3 is a simple tool that tests flash cards capacity and performance to see if they live up to claimed specifications. It fills the device with pseudorandom data and then checks if it returns the same on reading. F3 stands for Fight Flash Fraud, or Fight Fake Flash." LICENSE="GPL-3.0-only" # or GPL-3.0-or-later ? CATEGORY="Utils" REQUIRES="" # libargp BUILD_REQUIRES="binutils gcc-core gzip libargp-devel" # make HOMEPAGE="https://fight-flash-fraud.readthedocs.io/" SRC_URI="https://codeload.github.com/AltraMayor/f3/tar.gz/refs/tags/v${PV}#/${P}.tar.gz" export SOURCE_DATE_EPOCH=$(date -d "$SOURCE_DATE" +%s) src_compile() { cd ${B} lndirs cygmake PREFIX=/usr \ LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-Wl,--stack,4000000 -largp" } src_install() { cd ${B} cyginstall PREFIX=/usr cd ${S} dodoc changelog doc/{contribute,history,usage}.rst gzip -9 -n ${D}/usr/share/doc/${PN}/{changelog,*.rst} docinto examples dodoc f3write.h2w log-f3wr }